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

Synthesize sections from section map (fixes #153) #154

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

vvuk
Copy link

@vvuk vvuk commented May 22, 2024

This adds support for synthesizing section info from the section map/OMF segment map if there are no section headers in the pdb file. These PDB files are generated from the .NET "crossgen2" tool for precompiled .NET code. This PR is sufficient for tools like pdb-addr2line to read symbols from those files (typically always ending in ".ni.pdb"). There may be more that could be inferred from the section map info, but I tried to be fairly conservative here.

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