rainers / cv2pdb

converter of DMD CodeView/DWARF debug information to PDB files
Artistic License 2.0
472 stars 109 forks source link

RSDS files not parsed. #20

Closed ruslanu closed 7 years ago

ruslanu commented 7 years ago

When trying to parse RSDS signature files, program reports "no codeview debug entries found". It's because only NB09/NB11 signatures supported. Function PEImage::initCVPtr() should return false and try DWARF segments if signature not supported: if (memcmp(sig->Signature, "NB09", 4) != 0 && memcmp(sig->Signature, "NB11", 4) != 0) { // return setError("can only handle debug info of type NB09 and NB11"); dirHeader = 0; dirEntry = 0; return false; }

rainers commented 7 years ago

Thanks for the report. What program created a binary with both CV signature and DWARF?

Not sure why it was returning success, but it's been that way since the first commit. I changed it in master, next build will contain it.