-
-
Notifications
You must be signed in to change notification settings - Fork 624
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
[Q] Is it true that StringHeap must always be present in a portable PDB metadata? #665
Comments
No that's a bug :) |
Alright :) thank you for the quick answer. Shall I do the fix? |
@ivanpovazan that would be great! Thank you! |
ivanpovazan
pushed a commit
to ivanpovazan/cecil
that referenced
this issue
May 14, 2020
…data when computing table information (jbevain#665)
You're welcome :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In the following section of the code, StringHeap is treated as it will always be present in the metadata, while for Guid and Blob heaps that is not the case:
https://github.com/jbevain/cecil/blob/f74703c36e9a7626ef435399c45d27a84b246864/Mono.Cecil.PE/ImageReader.cs#L480#L486
I am working on a tool for creating portable PDB metadata (and verifying it with Cecil library), and in some cases when StringHeap is not present in the portable PDB metadata, Cecil library throws null exception at:
cecil/Mono.Cecil.PE/ImageReader.cs
Line 484 in f74703c
Does StringHeap have to be present in portable PDB metadata in all cases?
And if so, is this requirement documented anywhere?
Thank you
The text was updated successfully, but these errors were encountered: