[][src]Struct metagoblin::mach::imports::BindInterpreter

pub struct BindInterpreter<'a> { /* fields omitted */ }

An interpreter for mach BIND opcodes. Runs on prebound (non lazy) symbols (usually dylib extern consts and extern variables), and lazy symbols (usually dylib functions)

Implementations

impl<'a> BindInterpreter<'a>[src]

pub fn new(bytes: &'a [u8], command: &DyldInfoCommand) -> BindInterpreter<'a>[src]

Construct a new import binding interpreter from bytes and the load command

pub fn imports(
    &self,
    libs: &[&'a str],
    segments: &[Segment<'_>],
    ctx: Ctx
) -> Result<Vec<Import<'a>, Global>, Error>
[src]

Return the imports in this binary

Trait Implementations

impl<'a> Debug for BindInterpreter<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for BindInterpreter<'a>

impl<'a> Send for BindInterpreter<'a>

impl<'a> Sync for BindInterpreter<'a>

impl<'a> Unpin for BindInterpreter<'a>

impl<'a> UnwindSafe for BindInterpreter<'a>

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, 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.