Struct lief::macho::ExportInfo
pub struct ExportInfo<'a> { /* private fields */ }
Expand description
This structure represents an export (info) in a Mach-O binary
Implementations§
§impl ExportInfo<'_>
impl ExportInfo<'_>
pub fn node_offset(&self) -> u64
pub fn node_offset(&self) -> u64
Original offset in the export Trie
pub fn flags(&self) -> Flags
pub fn other(&self) -> u64
pub fn alias(&self) -> Option<Symbol<'_>>
pub fn alias(&self) -> Option<Symbol<'_>>
If the export is a re-export (Flags::REEXPORT
) this function returns
the symbol being re-exported
pub fn alias_library(&self) -> Option<Dylib<'_>>
pub fn alias_library(&self) -> Option<Dylib<'_>>
If the export is a re-export (Flags::REEXPORT
) this function returns
the library from which the symbol is re-exported
Trait Implementations§
Auto Trait Implementations§
impl<'a> RefUnwindSafe for ExportInfo<'a>
impl<'a> !Send for ExportInfo<'a>
impl<'a> !Sync for ExportInfo<'a>
impl<'a> Unpin for ExportInfo<'a>
impl<'a> UnwindSafe for ExportInfo<'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