Skip to content

Include start/end virtual addresses for extracted Go strings#84

Open
anushkasharmaa1 wants to merge 1 commit intomandiant:masterfrom
anushkasharmaa1:patch-2
Open

Include start/end virtual addresses for extracted Go strings#84
anushkasharmaa1 wants to merge 1 commit intomandiant:masterfrom
anushkasharmaa1:patch-2

Conversation

@anushkasharmaa1
Copy link

This change updates ExtractMetadata.Strings to return objfile.GoString
instead of []string, allowing extracted Go strings to include their
start and end virtual addresses.

This builds on the existing -strings implementation and enables
downstream tooling (e.g. IDA / Binary Ninja plugins) to place string
literals at precise locations.

No behavioral changes when -strings is not used.

Include start/end virtual addresses for extracted Go strings
@google-cla
Copy link

google-cla bot commented Mar 2, 2026

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

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