Enum object::read::pe::ExportTarget
source · pub enum ExportTarget<'data> {
Address(u32),
ForwardByOrdinal(&'data [u8], u32),
ForwardByName(&'data [u8], &'data [u8]),
}
Expand description
Where an export is pointing to.
Variants§
Address(u32)
The address of the export, relative to the image base.
ForwardByOrdinal(&'data [u8], u32)
Forwarded to an export ordinal in another DLL.
This gives the name of the DLL, and the ordinal.
ForwardByName(&'data [u8], &'data [u8])
Forwarded to an export name in another DLL.
This gives the name of the DLL, and the export name.
Implementations§
source§impl<'data> ExportTarget<'data>
impl<'data> ExportTarget<'data>
sourcepub fn is_address(&self) -> bool
pub fn is_address(&self) -> bool
Returns true if the target is an address.
sourcepub fn is_forward(&self) -> bool
pub fn is_forward(&self) -> bool
Returns true if the export is forwarded to another DLL.
Trait Implementations§
source§impl<'data> Clone for ExportTarget<'data>
impl<'data> Clone for ExportTarget<'data>
source§fn clone(&self) -> ExportTarget<'data>
fn clone(&self) -> ExportTarget<'data>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more