#[repr(C)]pub struct Elf64Phdr {
pub p_type: u32,
pub p_flags: u32,
pub p_offset: u64,
pub p_vaddr: u64,
pub p_paddr: u64,
pub p_filesz: u64,
pub p_memsz: u64,
pub p_align: u64,
}Expand description
Represents an ELF64 program header table entry.
Describes a segment of the program to be loaded into memory.
Fields§
§p_type: u32Segment type (e.g., PT_LOAD, PT_DYNAMIC).
p_flags: u32Segment flags (e.g., executable, writable).
p_offset: u64File offset of the segment.
p_vaddr: u64Virtual address where the segment is loaded.
p_paddr: u64Physical address (usually ignored on modern systems).
p_filesz: u64Size of the segment in the file.
p_memsz: u64Size of the segment in memory.
p_align: u64Alignment constraints for this segment.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Elf64Phdr
impl RefUnwindSafe for Elf64Phdr
impl Send for Elf64Phdr
impl Sync for Elf64Phdr
impl Unpin for Elf64Phdr
impl UnwindSafe for Elf64Phdr
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