Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support analyse const values (dwarf.QualType) #90

Open
Zxilly opened this issue Jun 22, 2024 · 2 comments
Open

Support analyse const values (dwarf.QualType) #90

Zxilly opened this issue Jun 22, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@Zxilly
Copy link
Owner

Zxilly commented Jun 22, 2024

This can be helpful for program embed things with const string.

@Zxilly Zxilly added the enhancement New feature or request label Jun 22, 2024
@Zxilly Zxilly self-assigned this Jun 22, 2024
@bronze1man
Copy link

I need this. I have a package which have a const string with 55MB and the .rdata is largest in gsa result.
I find this big file by searching big files in my source code.

@Zxilly
Copy link
Owner Author

Zxilly commented Jul 24, 2024

I added this feature request, but I don't really have any ideas on how to implement it. The main problem is that the Go compiler will only output const tokens for int values in the dwarf, string types are ignored.

See golang/go#67744

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants