[][src]Struct goblin::mach::load_command::DylibReference

#[repr(C)]
pub struct DylibReference {
    pub isym: [u8; 24],
    pub flags: u64,
}

The entries in the reference symbol table are used when loading the module (both by the static and dynamic link editors) and if the module is unloaded or replaced. Therefore all external symbols (defined and undefined) are listed in the module's reference table. The flags describe the type of reference that is being made. The constants for the flags are defined in <mach-o/nlist.h> as they are also used for symbol table entries.

Fields

isym: [u8; 24]

24 bits bit-field index into the symbol table

flags: u64

flags to indicate the type of reference

Trait Implementations

impl Clone for DylibReference[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Copy for DylibReference[src]

impl Debug for DylibReference[src]

impl FromCtx<Endian, [u8]> for DylibReference[src]

impl<'a> TryFromCtx<'a, Endian, [u8]> for DylibReference where
    DylibReference: 'a, 
[src]

type Error = Error

type Size = usize

impl<'a> IntoCtx<Endian, [u8]> for &'a DylibReference[src]

impl IntoCtx<Endian, [u8]> for DylibReference[src]

impl<'a> TryIntoCtx<Endian, [u8]> for &'a DylibReference[src]

type Error = Error

type Size = usize

impl TryIntoCtx<Endian, [u8]> for DylibReference[src]

type Error = Error

type Size = usize

impl SizeWith<Endian> for DylibReference[src]

type Units = usize

Auto Trait Implementations

Blanket Implementations

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

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

type Owned = T

The resulting type after obtaining ownership.

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.

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

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]