Struct ObjectMap

struct ObjectMap<'data> { ... }

A map from addresses to symbol names and object files.

This is derived from STAB entries in Mach-O files.

Returned by Object::object_map.

Implementations

impl<'data> ObjectMap<'data>

fn get(self: &Self, address: u64) -> Option<&ObjectMapEntry<'data>>

Get the entry containing the given address.

fn symbols(self: &Self) -> &[ObjectMapEntry<'data>]

Get all symbols in the map.

fn objects(self: &Self) -> &[ObjectMapFile<'data>]

Get all objects in the map.

impl<'data> Clone for ObjectMap<'data>

fn clone(self: &Self) -> ObjectMap<'data>

impl<'data> Debug for ObjectMap<'data>

fn fmt(self: &Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Result

impl<'data> Default for ObjectMap<'data>

fn default() -> ObjectMap<'data>

impl<'data> Freeze for ObjectMap<'data>

impl<'data> RefUnwindSafe for ObjectMap<'data>

impl<'data> Send for ObjectMap<'data>

impl<'data> Sync for ObjectMap<'data>

impl<'data> Unpin for ObjectMap<'data>

impl<'data> UnwindSafe for ObjectMap<'data>

impl<T> Any for ObjectMap<'data>

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for ObjectMap<'data>

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for ObjectMap<'data>

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> CloneToUninit for ObjectMap<'data>

unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)

impl<T> From for ObjectMap<'data>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> ToOwned for ObjectMap<'data>

fn to_owned(self: &Self) -> T
fn clone_into(self: &Self, target: &mut T)

impl<T, U> Into for ObjectMap<'data>

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom for ObjectMap<'data>

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for ObjectMap<'data>

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>