Trait falcon::loader::Loader [] [src]

pub trait Loader: Clone {
    fn memory(&self) -> Result<Memory>;
fn function_entries(&self) -> Result<Vec<FunctionEntry>>;
fn program_entry(&self) -> u64;
fn architecture(&self) -> Result<Architecture>; fn function(&self, address: u64) -> Result<Function> { ... }
fn program(&self) -> Result<Program> { ... } }

Generic trait for all loaders

Required Methods

Get a model of the memory contained in the binary

Get addresses for known function entries

The address program execution should begin at

Get the architecture of the binary

Provided Methods

Lift just one function from the executable

Lift executable into an il::Program

Implementors