Struct lief::pe::DelayImport

pub struct DelayImport<'a> { /* private fields */ }

Implementations§

§

impl DelayImport<'_>

pub fn attribute(&self) -> u32

According to the official PE specifications, this value is reserved and should be set to 0

pub fn name(&self) -> String

Return the library’s name (e.g. kernel32.dll)

pub fn handle(&self) -> u32

The RVA of the module handle (in the .data section). It is used for storage by the routine that is supplied to manage delay-loading.

pub fn iat(&self) -> u32

RVA of the delay-load import address table.

pub fn names_table(&self) -> u32

RVA of the delay-load import names table.

The content of this table has the layout as the Import lookup table

pub fn biat(&self) -> u32

RVA of the bound delay-load import address table or 0 if the table does not exist.

pub fn uiat(&self) -> u32

RVA of the unload delay-load import address table or 0 if the table does not exist.

According to the PE specifications, this table is an exact copy of the delay import address table that can be used to to restore the original IAT the case of unloading.

pub fn timestamp(&self) -> u32

The timestamp of the DLL to which this image has been bound.

pub fn entries(&self) -> Entries<'_>

Iterator over the DelayImport’s entries (DelayImportEntry)

Trait Implementations§

§

impl Debug for DelayImport<'_>

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl<'a> RefUnwindSafe for DelayImport<'a>

§

impl<'a> !Send for DelayImport<'a>

§

impl<'a> !Sync for DelayImport<'a>

§

impl<'a> Unpin for DelayImport<'a>

§

impl<'a> UnwindSafe for DelayImport<'a>

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.