#[repr(C)]pub struct Elf32Phdr {
pub stype: u32,
pub offset: u32,
pub vaddr: u32,
_paddr: u32,
pub filesz: u32,
pub memsz: u32,
pub flags: u32,
_align: u32,
}Expand description
The program segment header structure. The members are defined in the same order as in the actual elf file.
Fields§
§stype: u32The segment type.
offset: u32The segment offset.
vaddr: u32The virtual address of the segment.
_paddr: u32The physical address of the segment.
filesz: u32The segment size in file.
memsz: u32The segment size in memory.
flags: u32The segment flag.
_align: u32The segment alignment.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Elf32Phdr
impl RefUnwindSafe for Elf32Phdr
impl Send for Elf32Phdr
impl Sync for Elf32Phdr
impl Unpin for Elf32Phdr
impl UnwindSafe for Elf32Phdr
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dst: *mut u8)
unsafe fn clone_to_uninit(&self, dst: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)