camden-smallwood/pdb-decompiler

ERROR: could not decompile PDB because it does not contain a string table: StreamNameNotFound

x-0D opened this issue · 3 comments

x-0D commented

using official Microsoft pdb file for mmc.exe link
Running in Github CodeSpaces
image

mmc.pdb (notepad++ opened)
image

EDIT: I can take a look today and see if there are any workarounds. If not, the only thing I can say is that this is expected behavior, because a string table is required to decompile.

x-0D commented

Thank you, i'll waiting for your answer

So after spending a day attempting to find a workaround, I've determined that due to the lack of a string table (missing the /names stream), this .PDB file is essentially just a symbol map and cannot be decompiled. To be sure, I dumped the file using the cvdump utility and found that there is no source line information, no embedded types, and all of the functions have a NONE return type, which means this PDB has been effectively stripped. The most it could be used for is labeling functions when debugging or reverse-engineering the mmc.exe binary. I've included the text dump for reference. Sorry, I tried.

mmc_pdb_dump.txt

image