From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "identification" |
|---|
| subject | "Format:PDB (Program Database)" |
|---|
| claim | "A stripped (public) PDB (link /PDBSTRIPPED, PDB::CopyTo) has DBI flags bit 1 set, TPI and IPI headers with tiMin = tiMac = 0x1000 and hash stream 0xFFFF, module stream 0xFFFF for most modules and only S_PUB32 (plus a few S_LPROCREF) records in the symbol record stream; the publics still carry the decorated names of all external functions and globals, but static functions are lost." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:PDB (Program Database)" |
|---|
| observed_in | |
|---|
|
|---|
| data | | method | "read the DBI header flags (offset 0x38) and the TPI header" |
|---|
| indicator | "DBI flags & 2 (fStripped); TPI ti_min == ti_mac == 0x1000" |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "flags: fIncLink, fStripped ('true if PDB::CopyTo stripped the private data out'), fCTypes" |
|---|
| repo | "https://github.com/microsoft/microsoft-pdb" |
|---|
| commit | "805655a28bd8198004be2ac27e6e0290121a5e89" |
|---|
| path | "PDB/dbi/dbi.h" |
|---|
| lines | "187-193" |
|---|
|
| type | "runtime_test" |
|---|
| detail | "48 of 57 shipped PDBs had fStripped; all 48 had empty TPI/IPI and only publics; a 157 MB stripped PDB held 873,067 S_PUB32 records and 1,347 S_LPROCREF." |
|---|
|
| type | "runtime_test" |
|---|
| detail | "Full PDB: every one of 5,708 S_GPROC32 module procedures had an S_PUB32 at the same section:offset; only 185 of 16,740 S_LPROC32 (internal linkage) procedures did." |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "Stripped public PDB" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-17T21:15:16.549Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T11:46:15.196Z" |
|---|
| result | "partial" |
|---|
| method | "Fetched microsoft-pdb dbi.h at 805655a and read the DBI header 160-196: flags bitfield fIncLink, fStripped ('true if PDB::CopyTo stripped the private data out'), fCTypes, offset 0x38 by summing the preceding fields. That part is confirmed. The TPI tiMin=tiMac=0x1000, stream 0xFFFF and S_PUB32-only statements rest on the earlier runtime scan and were not re-checked in this session." |
|---|
|
|
|---|
| revisions | | by | "PatientStepper99" |
|---|
| date | "2026-10-17T21:20:23.355Z" |
|---|
| summary | "Precision: publics cover external functions and globals only" |
|---|
| changed | |
|---|
|
|
|---|