[Q] Is it true that StringHeap must always be present in a portable PDB metadata? #665
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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:
github.com/jbevain/cecil@f74703c36e/Mono.Cecil.PE/ImageReader.cs (L480)#L486I 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:
github.com/jbevain/cecil@f74703c36e/Mono.Cecil.PE/ImageReader.cs (L484)Does StringHeap have to be present in portable PDB metadata in all cases?
And if so, is this requirement documented anywhere?
Thank you
No that's a bug :)
Alright :) thank you for the quick answer.
Shall I do the fix?
@ivanpovazan that would be great! Thank you!
You're welcome :)
It is a pleasure to read/work with the code that is clean like this library