ddbug_parser 0.4.0

Unified debug information parser
Documentation

A library for parsing debuginfo.

Example usage

# fn main() -> Result<(), Box<dyn std::error::Error>> {
# let a_file_path = String::new();
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(())
}