Struct goblin::mach::load_command::RoutinesCommand32 [−][src]
#[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, }
Expand description
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: u32
reserved2: u32
reserved3: u32
reserved4: u32
reserved5: u32
reserved6: u32
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for RoutinesCommand32
impl Send for RoutinesCommand32
impl Sync for RoutinesCommand32
impl Unpin for RoutinesCommand32
impl UnwindSafe for RoutinesCommand32
Blanket Implementations
Mutably borrows from an owned value. Read more