I've discovered today that some PDB files do not parse properly. It appears that the problem PDBs are having their section maps in stream #10. The current PdbReader code checks stream #9 and #8 only.
Adding #10 as a candidate in CPdbReader::GetSectionMapStream seems to address the issue. However it would be nice to have a elegant way to detect the correct stream ID for section map.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I've discovered today that some PDB files do not parse properly. It appears that the problem PDBs are having their section maps in stream #10. The current PdbReader code checks stream #9 and #8 only.
Adding #10 as a candidate in CPdbReader::GetSectionMapStream seems to address the issue. However it would be nice to have a elegant way to detect the correct stream ID for section map.