pub struct Exception<'a, P> { /* private fields */ }
Expand description

Exception Directory.

For more information see the module-level documentation.

Implementations

Gets the PE instance.

Returns the functions slice.

Checks if the function table is sorted.

The PE specification says that the list of runtime functions should be sorted to allow binary search. This function checks if the runtime functions are actually sorted, if not then lookups may fail unexpectedly.

Gets an iterator over the function records.

Finds the index of the function for the given program counter.

source

pub fn lookup_function_entry(&self, pc: Rva) -> Option<Function<'a, P>>

Finds the function for the given ‘program counter’ address.

The function records are sorted by their address allowing binary search for the record.

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.