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: u32reserved2: u32reserved3: u32reserved4: u32reserved5: u32reserved6: u32

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.