Skip to content

fix(utils): read native integer pointer data types - #11963

Open
embrace897 wants to merge 1 commit into
deepflowio:mainfrom
embrace897:codex/main-native-int-pointer
Open

embrace897 wants to merge 1 commit into
deepflowio:mainfrom
embrace897:codex/main-native-int-pointer

Conversation

@embrace897

Copy link
Copy Markdown

ToDataType recognizes *int and *uint, but GetValueByOffsetAndKind does not handle DATATYPE_IntPtr or DATATYPE_UintPtr and returns nil. Add the two pointer-reading cases, consistent with the existing fixed-width integer cases.

Validation: the isolated production-function harness fails for non-nil and typed nil native integer pointers before the patch and passes afterward. gofmt and diff checks pass. Full utils package testing is blocked by missing local gopsutil dependencies; server and exporter integration tests were not run. Production-field reachability has not been established.

Prepared with AI assistance.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant