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

Provide a "reference list" for a symbol #25

Open
jonwis opened this issue Jul 28, 2023 · 0 comments
Open

Provide a "reference list" for a symbol #25

jonwis opened this issue Jul 28, 2023 · 0 comments

Comments

@jonwis
Copy link
Member

jonwis commented Jul 28, 2023

While tracking down mysterious binary bloat, I found a bunch of new .rdata in my DLL. They are all strings that look like symbols of code, but my binary has RTTI turned off.

It took a bit of digging:

  • Use the RVA from sizebench
  • Use link -dump -disasm -all -bytes thedll.dll > myfile.asm
  • Search for the RVA in the asm file to get a symbolic name
  • Search for the symbol in the asm file to find references

So two features in one:

Show the RVA symbolic name if it exists

In the view for the item, show both the gross-name and the decoded name if possible.

Provide a clickable link of functions that reference the symbol

This might be very costly to produce, but it would have made my life very easy. If the RVA is referenced in code, provide a link to the function disassembly that uses it. Bonus points for scrolling the listing and highlighting HERE IT IS for easy finding.

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

No branches or pull requests

1 participant