Struct goblin::mach::exports::ExportTrie
source · pub struct ExportTrie<'a> { /* private fields */ }
Expand description
An export trie efficiently encodes all of the symbols exported by this binary for dynamic linking
Implementations§
source§impl<'a> ExportTrie<'a>
impl<'a> ExportTrie<'a>
sourcepub fn exports(&self, libs: &[&'a str]) -> Result<Vec<Export<'a>>>
pub fn exports(&self, libs: &[&'a str]) -> Result<Vec<Export<'a>>>
Walk the export trie for symbols exported by this binary, using the provided libs
to resolve re-exports
sourcepub fn new(bytes: &'a [u8], command: &DyldInfoCommand) -> Self
pub fn new(bytes: &'a [u8], command: &DyldInfoCommand) -> Self
Create a new, lazy, zero-copy export trie from the DyldInfo
command
Trait Implementations§
Auto Trait Implementations§
impl<'a> RefUnwindSafe for ExportTrie<'a>
impl<'a> Send for ExportTrie<'a>
impl<'a> Sync for ExportTrie<'a>
impl<'a> Unpin for ExportTrie<'a>
impl<'a> UnwindSafe for ExportTrie<'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