GitHunt
SM

smx-smx/PDBSharp

Fast and cross-platform parser for Microsoft PDB files

PDBSharp

NOTE: I'm working on a new and more robust parser based on the Kaitai struct language.
You can find the project at the following link: https://github.com/smx-smx/kaitai-pdb
The new parser is probably not as efficient or convenient as a hand-written parser, but the newly gained knowledge and fixes could be eventually added back to PDBSharp.

C# Library and Tools to read Program DataBase (PDB) files created by MSVC

The library supports reading:

  • PDB 7.0 files, also called "DS"
  • PDB 2.0 files, also called "JG"
  • PDB 1.0 files, also called "JG". They contain types information (TPI) only.

Writing PDB files is not implemented yet. You will find some code around the repository, but it's not usable yet at this stage.

The main goal is to create a stable PDB Reader first, then write unit tests to ensure the reader works properly.
Writing these unit tests will lead to the creation of a corresponding writer to generate PDB files that the reader can work on

Build status Join the chat at https://gitter.im/smx-smx/PDBSharp

Languages

C#100.0%Dockerfile0.0%

Contributors

Mozilla Public License 2.0
Created October 1, 2018
Updated January 19, 2026
smx-smx/PDBSharp | GitHunt