Module lief::pdb

Expand description

Module for processing PDB file

This module exposes an API similar to the crate::dwarf module to process PDB files.

One can instantiate a crate::pdb::DebugInfo using either crate::generic::Binary::debug_info or crate::pdb::load.

fn read_pdb(file: &str) {
    let pdb = lief::pdb::load(file).unwrap();
    for symbol in pdb.public_symbols() {
        println!("name: {}", symbol.name());
    }
}

Modules

Structs

  • This structure represents a CompilationUnit (or Module) in a PDB file
  • Main interface over a PDB.
  • This class provides general information (RVA, name) about a symbol from the PDB’s public symbol stream (or Public symbol hash stream)

Enums

Functions

  • Load a PDB from its file path