pub struct LoadCommandData<'data, E: Endian> { /* private fields */ }
Expand description
The data for a LoadCommand
.
Implementations
Return the cmd
field of the LoadCommand
.
This is one of the LC_
constants.
Parse a load command string value.
Strings used by load commands are specified by offsets that are relative to the load command header.
Parse the command data according to the cmd
field.
Try to parse this command as a SegmentCommand32
.
Returns the segment command and the data containing the sections.
Try to parse this command as a SymtabCommand
.
Returns the segment command and the data containing the sections.
Try to parse this command as a DysymtabCommand
.
Try to parse this command as a DylibCommand
.
Try to parse this command as a UuidCommand
.
Try to parse this command as a SegmentCommand64
.
Try to parse this command as a DyldInfoCommand
.
Try to parse this command as an EntryPointCommand
.
Trait Implementations
Auto Trait Implementations
impl<'data, E> RefUnwindSafe for LoadCommandData<'data, E> where
E: RefUnwindSafe,
impl<'data, E> Send for LoadCommandData<'data, E> where
E: Send,
impl<'data, E> Sync for LoadCommandData<'data, E> where
E: Sync,
impl<'data, E> Unpin for LoadCommandData<'data, E> where
E: Unpin,
impl<'data, E> UnwindSafe for LoadCommandData<'data, E> where
E: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more