[−][src]Struct falcon::loader::Pe
Loader for a single ELf file.
Methods
impl Pe
[src]
pub fn new(bytes: Vec<u8>) -> Result<Pe>
[src]
Create a new Elf from the given bytes. This Elf will be rebased to the given base address.
pub fn from_file(filename: &Path) -> Result<Pe>
[src]
Load an elf from a file and use the base address of 0.
Trait Implementations
impl Debug for Pe
[src]
impl Loader for Pe
[src]
fn memory(&self) -> Result<Memory>
[src]
fn function_entries(&self) -> Result<Vec<FunctionEntry>>
[src]
fn program_entry(&self) -> u64
[src]
fn architecture(&self) -> &dyn Architecture
[src]
fn as_any(&self) -> &dyn Any
[src]
fn symbols(&self) -> Vec<Symbol>
[src]
fn function(&self, address: u64) -> Result<Function>
[src]
fn symbols_map(&self) -> HashMap<u64, Symbol>
[src]
fn program(&self) -> Result<Program>
[src]
fn program_verbose(
&self
) -> Result<(Program, Vec<(FunctionEntry, Error)>), Error>
[src]
&self
) -> Result<(Program, Vec<(FunctionEntry, Error)>), Error>
fn program_recursive(&self) -> Result<Program>
[src]
fn program_recursive_verbose(
&self
) -> Result<(Program, Vec<(FunctionEntry, Error)>), Error>
[src]
&self
) -> Result<(Program, Vec<(FunctionEntry, Error)>), Error>
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,