#[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§
Source§impl Clone for RoutinesCommand32
impl Clone for RoutinesCommand32
Source§fn clone(&self) -> RoutinesCommand32
fn clone(&self) -> RoutinesCommand32
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for RoutinesCommand32
impl Debug for RoutinesCommand32
Source§impl FromCtx<Endian> for RoutinesCommand32
impl FromCtx<Endian> for RoutinesCommand32
Source§impl<'a> IntoCtx<Endian> for &'a RoutinesCommand32
impl<'a> IntoCtx<Endian> for &'a RoutinesCommand32
Source§impl IntoCtx<Endian> for RoutinesCommand32
impl IntoCtx<Endian> for RoutinesCommand32
Source§impl<'a> TryFromCtx<'a, Endian> for RoutinesCommand32where
RoutinesCommand32: 'a,
impl<'a> TryFromCtx<'a, Endian> for RoutinesCommand32where
RoutinesCommand32: 'a,
Source§impl<'a> TryIntoCtx<Endian> for &'a RoutinesCommand32
impl<'a> TryIntoCtx<Endian> for &'a RoutinesCommand32
Source§impl TryIntoCtx<Endian> for RoutinesCommand32
impl TryIntoCtx<Endian> for RoutinesCommand32
impl Copy for RoutinesCommand32
Auto Trait Implementations§
impl Freeze for RoutinesCommand32
impl RefUnwindSafe for RoutinesCommand32
impl Send for RoutinesCommand32
impl Sync for RoutinesCommand32
impl Unpin for RoutinesCommand32
impl UnwindSafe for RoutinesCommand32
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more