Struct goblin::mach::load_command::Section64
source · #[repr(C)]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
for 64-bit architectures
Fields§
§sectname: [u8; 16]
name of this section
segname: [u8; 16]
segment this section goes in
addr: u64
memory address of this section
size: u64
size in bytes of this section
offset: u32
file offset of this section
align: u32
section alignment (power of 2)
reloff: u32
file offset of relocation entries
nreloc: u32
number of relocation entries
flags: u32
flags (section type and attributes
reserved1: u32
reserved (for offset or index)
reserved2: u32
reserved (for count or sizeof)
reserved3: u32
reserved
Trait Implementations§
source§impl<'a> TryIntoCtx<Endian> for &'a Section64
impl<'a> TryIntoCtx<Endian> for &'a Section64
source§impl TryIntoCtx<Endian> for Section64
impl TryIntoCtx<Endian> for Section64
impl Copy for Section64
Auto Trait Implementations§
impl RefUnwindSafe for Section64
impl Send for Section64
impl Sync for Section64
impl Unpin 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