pub struct LcDylinker {
pub offset: u32,
pub name: Vec<u8>,
pub tail_padding: Vec<u8>,
}Expand description
Body of LC_LOAD_DYLINKER (and the analogous LC_ID_DYLINKER
— same shape). The offset is from the start of the command
(including the cmd/cmdsize prefix), which in the canonical
linker output is 0xc — i.e. the name begins at body offset
4. name holds the C string up to (but not including) the
first NUL; tail_padding carries the NUL + any trailing
alignment NULs verbatim, so the encoded length always matches
the original.
Fields§
§offset: u32§name: Vec<u8>§tail_padding: Vec<u8>Implementations§
Trait Implementations§
Source§impl Clone for LcDylinker
impl Clone for LcDylinker
Source§fn clone(&self) -> LcDylinker
fn clone(&self) -> LcDylinker
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LcDylinker
impl Debug for LcDylinker
Source§impl PartialEq for LcDylinker
impl PartialEq for LcDylinker
Source§fn eq(&self, other: &LcDylinker) -> bool
fn eq(&self, other: &LcDylinker) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for LcDylinker
impl StructuralPartialEq for LcDylinker
Auto Trait Implementations§
impl Freeze for LcDylinker
impl RefUnwindSafe for LcDylinker
impl Send for LcDylinker
impl Sync for LcDylinker
impl Unpin for LcDylinker
impl UnsafeUnpin for LcDylinker
impl UnwindSafe for LcDylinker
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