[][src]Struct falcon::loader::Pe

pub struct Pe { /* fields omitted */ }

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]

Auto Trait Implementations

impl !RefUnwindSafe for Pe

impl Send for Pe

impl Sync for Pe

impl Unpin for Pe

impl !UnwindSafe for Pe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.