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§
Source§impl<'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§
Source§impl<'a> Debug for ExportData<'a>
impl<'a> Debug for ExportData<'a>
Source§impl<'a> Default for ExportData<'a>
impl<'a> Default for ExportData<'a>
Source§fn default() -> ExportData<'a>
fn default() -> ExportData<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> Freeze for ExportData<'a>
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§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more