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

#[repr(C)]
pub struct RoutinesCommand32 {
    pub cmd: u32,
    pub cmdsize: u32,
    pub init_address: u32,
    pub init_module: u32,
    pub reserved1: u32,
    pub reserved2: u32,
    pub reserved3: u32,
    pub reserved4: u32,
    pub reserved5: u32,
    pub reserved6: u32,
}

The routines command contains the address of the dynamic shared library initialization routine and an index into the module table for the module that defines the routine. Before any modules are used from the library the dynamic linker fully binds the module that defines the initialization routine and then calls it. This gets called before any module initialization routines (used for C++ static constructors) in the library.

Fields

cmd: u32

LC_ROUTINES

cmdsize: u32

total size of this command

init_address: u32

address of initialization routine

init_module: u32

index into the module table that the init routine is defined in

reserved1: u32reserved2: u32reserved3: u32reserved4: u32reserved5: u32reserved6: u32

Trait Implementations

impl Copy for RoutinesCommand32[src]

impl Clone for RoutinesCommand32[src]

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

Performs copy-assignment from source. Read more

impl Debug for RoutinesCommand32[src]

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

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

type Error = Error

type Size = usize

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

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

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

type Error = Error

type Size = usize

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

type Error = Error

type Size = usize

impl SizeWith<Endian> for RoutinesCommand32[src]

type Units = usize

Auto Trait Implementations

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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.

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

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

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