pub struct DelayLoadImportTable<'data> { /* private fields */ }
Expand description

Information for parsing a PE delay-load import table.

Implementations§

Create a new delay load import table parser.

The import descriptors start at import_address. This table works in the same way the import table does: descriptors will be parsed until a null entry.

section_data should be from the section containing import_address, and section_address should be the address of that section. Pointers within the descriptors and thunks may point to anywhere within the section data.

Return an iterator for the import descriptors.

Return a library name given its address.

This address may be from pe::ImageDelayloadDescriptor::dll_name_rva.

Return a list of thunks given its address.

This address may be from the INT, i.e. from pe::ImageDelayloadDescriptor::import_name_table_rva.

Please note that others RVA values from pe::ImageDelayloadDescriptor are used by the delay loader at runtime to store values, and thus do not point inside the same section as the INT. Calling this function on those addresses will fail.

Parse a thunk.

Return the hint and name at the given address.

This address may be from pe::ImageThunkData32 or pe::ImageThunkData64.

The hint is an index into the export name pointer table in the target library.

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

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

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.