Nefarius.Shared.PdbUtils 1.0.0
Nefarius.Shared.PdbUtils
Shared utilities for parsing Microsoft Program Database (PDB) files, based on kaitai-pdb. Used internally by Nefarius.Utilities.ETW for WPP Software Tracing symbol resolution.
Features
- Cross-platform PDB parsing via a Kaitai Struct-generated binary reader
- Extension method to extract the original PDB file name from the DBI stream
- Targets
.NET Standard 2.0,.NET 8,.NET 9and.NET 10
Documentation
Usage
Parse a PDB file
using Kaitai;
using Nefarius.Shared.PdbUtils.Extensions;
// open and parse the PDB binary
MsPdb pdb = MsPdb.FromFile(@"C:\path\to\my.pdb");
// retrieve the original PDB file name stored in the DBI stream
string? name = pdb.GetOriginalPdbName();
Console.WriteLine(name); // e.g. "my.pdb"
Sources & 3rd party credits
No packages depend on Nefarius.Shared.PdbUtils.
.NET 10.0
- KaitaiStruct.Runtime.CSharp (>= 0.11.0)
.NET 8.0
- KaitaiStruct.Runtime.CSharp (>= 0.11.0)
.NET 9.0
- KaitaiStruct.Runtime.CSharp (>= 0.11.0)
.NET Standard 2.0
- KaitaiStruct.Runtime.CSharp (>= 0.11.0)
- System.Memory (>= 4.6.3)
- System.Runtime.CompilerServices.Unsafe (>= 6.1.2)
| Version | Downloads | Last updated |
|---|---|---|
| 1.0.0 | 2 | 05/24/2026 |
| 1.0.0-pre002 | 1,448 | 08/03/2025 |
| 1.0.0-pre001 | 103 | 08/03/2025 |