pub struct ExportData<'a> {
pub name: Option<&'a str>,
pub export_directory_table: ExportDirectoryTable,
pub export_name_pointer_table: ExportNamePointerTable,
pub export_ordinal_table: ExportOrdinalTable,
pub export_address_table: ExportAddressTable,
}
Expand description
Export data contains the dll
name which other libraries can import symbols by (two-level namespace), as well as other important indexing data allowing symbol lookups
Fields
name: Option<&'a str>
export_directory_table: ExportDirectoryTable
export_name_pointer_table: ExportNamePointerTable
export_ordinal_table: ExportOrdinalTable
export_address_table: ExportAddressTable
Implementations
sourceimpl<'a> ExportData<'a>
impl<'a> ExportData<'a>
pub fn parse(
bytes: &'a [u8],
dd: DataDirectory,
sections: &[SectionTable],
file_alignment: u32
) -> Result<ExportData<'a>>
pub fn parse_with_opts(
bytes: &'a [u8],
dd: DataDirectory,
sections: &[SectionTable],
file_alignment: u32,
opts: &ParseOptions
) -> Result<ExportData<'a>>
Trait Implementations
sourceimpl<'a> Debug for ExportData<'a>
impl<'a> Debug for ExportData<'a>
sourceimpl<'a> Default for ExportData<'a>
impl<'a> Default for ExportData<'a>
sourcefn default() -> ExportData<'a>
fn default() -> ExportData<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl<'a> RefUnwindSafe for ExportData<'a>
impl<'a> Send for ExportData<'a>
impl<'a> Sync for ExportData<'a>
impl<'a> Unpin for ExportData<'a>
impl<'a> UnwindSafe for ExportData<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more