I know that there are many libraries that parse PDB files and allow extracting debug information from them.

For a project I am working on, I need to generate PDB files. Are there any publicly available libraries that can do that?


microsoft recently released some headers in github to help the clang / llvm toolset take a look Microsoft Pdb Information in GitHub
clang llvm codeview emission rfc mailing list thread


If you manage to produce CodeView info (which is partially documented/RE'd) or DWARF, you can try this project: https://github.com/rainers/cv2pdb

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.