[][src]Trait pelite::pe64::exports::GetProcAddress

pub trait GetProcAddress<'a, T>: Pe<'a> {
    fn get_export(self, name: T) -> Result<Export<'a>>;

    fn get_proc_address(self, name: T) -> Result<Va> { ... }
}

Convenient way to get an exported address.

Required methods

fn get_export(self, name: T) -> Result<Export<'a>>

Convenient method to get an exported function.

Note that calling this method many times is less efficient than caching a By instance, such is the trade-off for convenience.

Loading content...

Provided methods

fn get_proc_address(self, name: T) -> Result<Va>

Convenient method to get the address of an exported function.

Note that this method does not support forwarded exports and will return Err(Null) instead.

Note that calling this method many times is less efficient than caching a By instance, such is the trade-off for convenience.

Loading content...

Implementors

impl<'a, P: Pe<'a>> GetProcAddress<'a, u16> for P[src]

impl<'b, 'a, P: Pe<'a>> GetProcAddress<'a, Import<'b>> for P[src]

impl<'b, 'a, P: Pe<'a>, S: AsRef<[u8]> + ?Sized> GetProcAddress<'a, &'b S> for P[src]

Loading content...