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]

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

impl<'data> Clone for ObjectMap<'data>[src]

impl<'data> Debug for ObjectMap<'data>[src]

impl<'data> Default for ObjectMap<'data>[src]

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> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.