wazabin-binary
Binary container-format abstractions and architecture metadata for binary
analysis tools. It provides the BinaryFormat trait and implementations or
supporting types for blob, ELF, and PE inputs.
Usage
use ;
let bytes = read?;
let binary = load?; // Box<dyn BinaryFormat>, ELF or PE by magic
println!;
for section in binary.sections
if let Some = binary.symbol_address
Match on Format::detect and call elf::ElfBinary::parse or pe::PeBinary::parse
directly to keep the concrete type and its format-specific tables.