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

Fix: pdbparse DBI - real number of references is in the sum of cRefCnt #7

Merged
merged 1 commit into from
Jul 31, 2024

Conversation

psrok1
Copy link
Member

@psrok1 psrok1 commented Jul 30, 2024

In theory: cRef is supposed to contain the number of source files, but 16-bits is too short for having more than 64K source files. The real number of names is sum of cRefCnt

Fixes failing combase.dll with GUID 6c146f310d333559974d1d5d3fa2e4da1

Source: https://llvm.org/docs/PDB/DbiStream.html#file-info-substream

@psrok1 psrok1 merged commit 05715a6 into master Jul 31, 2024
@psrok1 psrok1 deleted the fix/pdbparse-dbi-modfilecounts branch July 31, 2024 10:17
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