Struct object::read::ObjectMap [−][src]
pub struct ObjectMap<'data> { /* fields omitted */ }
A map from addresses to symbol names and object files.
This is derived from STAB entries in Mach-O files.
Implementations
impl<'data> ObjectMap<'data>
[src]
impl<'data> ObjectMap<'data>
[src]pub fn get(&self, address: u64) -> Option<&ObjectMapEntry<'data>>
[src]
Get the entry containing the given address.
pub fn symbols(&self) -> &[ObjectMapEntry<'data>]
[src]
Get all symbols in the map.
pub fn objects(&self) -> &[&'data [u8]]
[src]
Get all objects in the map.
Trait Implementations
Auto Trait Implementations
impl<'data> Send for ObjectMap<'data>
impl<'data> Sync for ObjectMap<'data>
impl<'data> Unpin for ObjectMap<'data>
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
The resulting type after obtaining ownership.