Usage
use BinDiff;
License
MIT Copyright (c) 2025 blacktop
use bindiff::BinDiff;
fn main() -> anyhow::Result<()> {
let input_path = std::env::args().nth(1)
.ok_or_else(|| anyhow::anyhow!("Please provide a path to a BinDiff file"))?;
let bd = BinDiff::open(&input_path)?;
// Read function matches
let func_matches = bd.read_function_matches()?;
for func_match in func_matches {
println!("{:#?}", func_match);
}
Ok(())
}
MIT Copyright (c) 2025 blacktop