pub struct ImportTable<'data> { /* private fields */ }
Expand description
Information for parsing a PE import table.
Implementations
Create a new import table parser.
The import descriptors start at import_address
.
The size declared in the IMAGE_DIRECTORY_ENTRY_IMPORT
data directory is
ignored by the Windows loader, and so 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::ImageImportDescriptor::name
.
Return a list of thunks given its address.
This address may be from pe::ImageImportDescriptor::original_first_thunk
or pe::ImageImportDescriptor::first_thunk
.
Parse a thunk.
Trait Implementations
Auto Trait Implementations
impl<'data> RefUnwindSafe for ImportTable<'data>
impl<'data> Send for ImportTable<'data>
impl<'data> Sync for ImportTable<'data>
impl<'data> Unpin for ImportTable<'data>
impl<'data> UnwindSafe for ImportTable<'data>
Blanket Implementations
Mutably borrows from an owned value. Read more