From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "identification" |
|---|
| subject | "Format:Portable PDB" |
|---|
| claim | "A PE CodeView debug entry (type 2, RSDS) refers to a Portable PDB when its MinorVersion is 0x504D ('PM'); MajorVersion is the Portable PDB format version (0x0100), Age is 1 and the PDB is matched by GUID + the entry's TimeDateStamp. Minor version 0 means a Windows (MSF) PDB." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:Portable PDB" |
|---|
| observed_in | | "Format:PE (Portable Executable)" |
|
|---|
|
|---|
| data | | method | "read IMAGE_DEBUG_DIRECTORY entries of type 2" |
|---|
| indicator | "MinorVersion == 0x504D" |
|---|
| table | | minor | "0x0000" |
|---|
| pdb | "Windows PDB (MSF 7.00)" |
|---|
|
| minor | "0x504D" |
|---|
| pdb | "Portable PDB" |
|---|
|
|
|---|
|
|---|
| evidence | | type | "documentation" |
|---|
| detail | "Portable CodeView entry" |
|---|
| repo | "https://github.com/dotnet/runtime" |
|---|
| commit | "d80abfc4b04f85722596e8d83af7f9a61dcf49da" |
|---|
| path | "docs/design/specs/PE-COFF.md" |
|---|
| lines | "15-34" |
|---|
|
| type | "source" |
|---|
| detail | "PortableCodeViewVersionMagic = 0x504D" |
|---|
| repo | "https://github.com/0xd4d/dnlib" |
|---|
| commit | "9ab9b58ab31b99b3f6cdef36efec613fc11ddbe2" |
|---|
| path | "src/DotNet/Writer/PortablePdbConstants.cs" |
|---|
| lines | "19" |
|---|
|
| type | "runtime_test" |
|---|
| detail | "1867 assemblies of the .NET SDK 10.0.400 and shared frameworks have a 0x0100.0x504D CodeView entry, all with age 1; ReadyToRun ones often add a Windows-PDB entry (minor 0) naming <name>.ni.pdb" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "Portable CodeView entry" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-17T15:23:47.061Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T10:08:55.965Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read dotnet/runtime PE-COFF.md 10-34 at d80abfc (Major=0 Minor=0 Windows, Minor=0x504d Portable, Age shall be 1, GUID + TimeDateStamp) and dnlib PortablePdbConstants.cs 19 (0x504D). Assembly counts not re-checked." |
|---|
|
|
|---|