Skip to content

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)
        // 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);
Last updated on