Struct lief::pe::import::ImportEntry
pub struct ImportEntry<'a> { /* private fields */ }
Expand description
Structure that represents an entry (i.e. an import) in the regular import table.
It implements the generic::Symbol
trait that exposes generic::Symbol::name
and
generic::Symbol::value
.
Implementations§
§impl ImportEntry<'_>
impl ImportEntry<'_>
pub fn is_ordinal(&self) -> bool
pub fn is_ordinal(&self) -> bool
True
if it is an import by ordinal
pub fn hint_name_rva(&self) -> u64
pub fn iat_value(&self) -> u64
pub fn iat_value(&self) -> u64
Value of the current entry in the Import Address Table. It should match the lookup table value
pub fn iat_address(&self) -> u64
pub fn iat_address(&self) -> u64
Original address of the entry in the Import Address Table
pub fn demangled_name(&self) -> String
pub fn demangled_name(&self) -> String
Demangled representation of the symbol or an empty string if it can’t be demangled
Trait Implementations§
§impl Debug for ImportEntry<'_>
impl Debug for ImportEntry<'_>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for ImportEntry<'a>
impl<'a> !Send for ImportEntry<'a>
impl<'a> !Sync for ImportEntry<'a>
impl<'a> Unpin for ImportEntry<'a>
impl<'a> UnwindSafe for ImportEntry<'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