pub struct Section64 {
pub sectname: [u8; 16],
pub segname: [u8; 16],
pub addr: u64,
pub size: u64,
pub offset: u32,
pub align: u32,
pub reloff: u32,
pub nreloc: u32,
pub flags: u32,
pub reserved1: u32,
pub reserved2: u32,
pub reserved3: u32,
}Expand description
A section_64 entry within an LC_SEGMENT_64. Field naming
matches Apple’s struct verbatim.
Fields§
§sectname: [u8; 16]Null-padded section name (__text, __cstring, …).
segname: [u8; 16]Null-padded enclosing segment name (__TEXT, …).
addr: u64§size: u64§offset: u32§align: u32§reloff: u32§nreloc: u32§flags: u32§reserved1: u32§reserved2: u32§reserved3: u32Implementations§
Trait Implementations§
impl Eq for Section64
impl StructuralPartialEq for Section64
Auto Trait Implementations§
impl Freeze for Section64
impl RefUnwindSafe for Section64
impl Send for Section64
impl Sync for Section64
impl Unpin for Section64
impl UnsafeUnpin for Section64
impl UnwindSafe for Section64
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