PdbInfoStream
Description
Borrowed handle to the decoded PDB Info stream (stream #1). Cross- namespace readers (PdbCache, …) compare (guid, age) against the PE’s CodeView record to confirm the PDB matches; this is the public seam they go through instead of reaching at self->info directly.
Usage example (Cross-references)
Usage examples (Cross-references)
- In
PdbCache.c:82:
// disagree the names are probably stale -- worse than no symbols.
const PeCodeViewInfo *pe_cv = PeCodeView(&entry->pe);
const PdbInfo *pdb_inf = PdbInfoStream(&entry->pdb);
if (pe_cv->age != pdb_inf->age || MemCompare(pe_cv->guid, pdb_inf->guid, 16) != 0) {
LOG_ERROR("PdbCache: GUID/age mismatch between PE and PDB for {}", entry->module_path);- In
Pdb.c:2277:
}
const PdbInfo *pi = PdbInfoStream(&pdb);
ok = pi->version == 0x01020304;
ok = ok && pi->signature == 0x05060708;
Last updated on