[−][src]Struct pelite::pe64::exports::Exports
Export directory.
For more information see the module-level documentation.
Methods
impl<'a, P: Pe<'a>> Exports<'a, P>
[src]
pub fn pe(&self) -> P
[src]
Gets the PE instance.
pub fn image(&self) -> &'a IMAGE_EXPORT_DIRECTORY
[src]
Returns the underlying export directory image.
pub fn dll_name(&self) -> Result<&'a CStr>
[src]
Gets the export directory's name for this library.
pub fn ordinal_base(&self) -> Ordinal
[src]
Gets the ordinal base for the exported functions.
pub fn functions(&self) -> Result<&'a [Rva]>
[src]
Gets the export address table.
pub fn names(&self) -> Result<&'a [Rva]>
[src]
Gets the name address table.
The values are RVAs to the exported function's name, to find its export look at the name index table with the same index.
The names are sorted allowing binary search lookup.
pub fn name_indices(&self) -> Result<&'a [u16]>
[src]
Gets the name index table.
The values are indices (not ordinals!) into the export address table matching name with the same index in the name address table.
pub fn by(&self) -> Result<By<'a, P>>
[src]
Query the exports.
This specifically validates whether the functions, names and name indices are valid.
Trait Implementations
impl<'a, P: Clone> Clone for Exports<'a, P>
[src]
impl<'a, P: Copy> Copy for Exports<'a, P>
[src]
impl<'a, P: Pe<'a>> Debug for Exports<'a, P>
[src]
impl<'a, P: Pe<'a>> Serialize for Exports<'a, P>
[src]
Auto Trait Implementations
impl<'a, P> Sync for Exports<'a, P> where
P: Sync,
P: Sync,
impl<'a, P> Send for Exports<'a, P> where
P: Send,
P: Send,
impl<'a, P> Unpin for Exports<'a, P> where
P: Unpin,
P: Unpin,
impl<'a, P> UnwindSafe for Exports<'a, P> where
P: UnwindSafe,
P: UnwindSafe,
impl<'a, P> RefUnwindSafe for Exports<'a, P> where
P: RefUnwindSafe,
P: RefUnwindSafe,
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,