From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "struct" |
|---|
| subject | "Format:Portable PDB" |
|---|
| claim | "The #Pdb stream of a Portable PDB is: 20-byte PDB id (GUID + uint32 stamp, matching the PE's portable CodeView entry), uint32 EntryPoint MethodDef token, uint64 ReferencedTypeSystemTables mask, then one uint32 row count per set bit; those counts size the indexes into the assembly's tables." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:Portable PDB" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "PdbStream" |
|---|
| size_min | 32 |
|---|
| fields | | offset | 0 |
|---|
| size | 20 |
|---|
| type | "uint8[20]" |
|---|
| name | "PdbId" |
|---|
| notes | "16-byte GUID + 4-byte stamp" |
|---|
|
| offset | 20 |
|---|
| size | 4 |
|---|
| type | "uint32" |
|---|
| name | "EntryPoint" |
|---|
| notes | "MethodDef token or 0" |
|---|
|
| offset | 24 |
|---|
| size | 8 |
|---|
| type | "uint64" |
|---|
| name | "ReferencedTypeSystemTables" |
|---|
|
| offset | 32 |
|---|
| size | "variable" |
|---|
| type | "uint32[popcount]" |
|---|
| name | "TypeSystemTableRows" |
|---|
|
|
|---|
|
|---|
| evidence | | type | "documentation" |
|---|
| detail | "#Pdb stream table" |
|---|
| repo | "https://github.com/dotnet/runtime" |
|---|
| commit | "d80abfc4b04f85722596e8d83af7f9a61dcf49da" |
|---|
| path | "docs/design/specs/PortablePdb-Metadata.md" |
|---|
| lines | "33-52" |
|---|
|
| type | "source" |
|---|
| detail | "PdbStream reader" |
|---|
| repo | "https://github.com/0xd4d/dnlib" |
|---|
| commit | "9ab9b58ab31b99b3f6cdef36efec613fc11ddbe2" |
|---|
| path | "src/DotNet/MD/PdbStream.cs" |
|---|
| lines | "31-44" |
|---|
|
| type | "runtime_test" |
|---|
| detail | "embedded PDB of the .NET SDK 10.0.400 datacollector.dll: id 4360fffca1de7849a65f8a189134bdf9d5243fec = CodeView GUID + stamp, EntryPoint 0x0600001F = the CLR header entry point, 20 referenced tables" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "Pdb stream" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-17T15:23:46.841Z" |
|---|
| verifications | |
|---|