feat: support gc root mask to avoid dwarf search missing memory #77
Annotations
9 errors and 3 warnings
staticcheck
invalid operation: ptrMask[i / 8] |= mask << (8 * (7 - (i % 8))) (mismatched types uint64 and byte)","code":{"value":"compile","url":"https://staticcheck.io/docs/checks#compile"},"location":{"path":"","range":{"start":{"line":0,"column":0},"end":{"line":0,"column":0}}},"related_locations":[],"severity":"ERROR"}
|
staticcheck
invalid operation: ptrMask[i / 8] |= mask << (8 * (7 - (i % 8))) (mismatched types uint64 and byte)","code":{"value":"compile","url":"https://staticcheck.io/docs/checks#compile"},"location":{"path":"","range":{"start":{"line":0,"column":0},"end":{"line":0,"column":0}}},"related_locations":[],"severity":"ERROR"}
|
staticcheck
[staticcheck] reported by reviewdog 🐶
# github.com/cloudwego/goref/pkg/proc
pkg/proc/pcfunc.go:294:8: invalid operation: ptrMask[i / 8] |= mask << (8 * (7 - (i % 8))) (mismatched types uint64 and byte)
Raw Output:
{"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"# github.com/cloudwego/goref/pkg/proc\npkg/proc/pcfunc.go:294:8: invalid operation: ptrMask[i / 8] |= mask << (8 * (7 - (i % 8))) (mismatched types uint64 and byte)","code":{"value":"compile","url":"https://staticcheck.io/docs/checks#compile"},"location":{"path":"","range":{"start":{"line":0,"column":0},"end":{"line":0,"column":0}}},"related_locations":[],"severity":"ERROR"}
|
staticcheck
[staticcheck] reported by reviewdog 🐶
# github.com/cloudwego/goref/pkg/proc [github.com/cloudwego/goref/pkg/proc.test]
pkg/proc/pcfunc.go:294:8: invalid operation: ptrMask[i / 8] |= mask << (8 * (7 - (i % 8))) (mismatched types uint64 and byte)
Raw Output:
{"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"# github.com/cloudwego/goref/pkg/proc [github.com/cloudwego/goref/pkg/proc.test]\npkg/proc/pcfunc.go:294:8: invalid operation: ptrMask[i / 8] |= mask << (8 * (7 - (i % 8))) (mismatched types uint64 and byte)","code":{"value":"compile","url":"https://staticcheck.io/docs/checks#compile"},"location":{"path":"","range":{"start":{"line":0,"column":0},"end":{"line":0,"column":0}}},"related_locations":[],"severity":"ERROR"}
|
staticcheck
Process completed with exit code 1.
|
lint:
cmd/grf/cmds/commands.go#L28
could not import github.com/cloudwego/goref/pkg/proc (-: # github.com/cloudwego/goref/pkg/proc
|
lint:
pkg/proc/pcfunc.go#L294
invalid operation: ptrMask[i / 8] |= mask << (8 * (7 - (i % 8))) (mismatched types uint64 and byte)) (typecheck)
|
lint:
pkg/proc/pcfunc.go#L294
invalid operation: ptrMask[i / 8] |= mask << (8 * (7 - (i % 8))) (mismatched types uint64 and byte) (typecheck)
|
lint
issues found
|
compliant
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
staticcheck
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
lint
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v3, golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|