Crate ddbug_parser

source ·
Expand description

A library for parsing debuginfo.

§Example usage

let ctx = ddbug_parser::File::parse(a_file_path)?;
let file = ctx.file();
for unit in file.units() {
    for function in unit.functions() {
        if let Some(name) = function.name() {
            println!("{}", name);
        }
    }
}
Ok(())
}

Structs§

Enums§

Type Aliases§

  • A CFI directive and the function offset it applies to.
  • A parsing result.