Struct goblin::elf::program_header::ProgramHeader [−][src]
pub struct ProgramHeader { 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
A unified ProgramHeader - convertable to and from 32-bit and 64-bit variants
Fields
p_type: u32
p_flags: u32
p_offset: u64
p_vaddr: u64
p_paddr: u64
p_filesz: u64
p_memsz: u64
p_align: u64
Implementations
Returns this program header’s file offset range
Sets the executable flag
Whether this program header is executable
Trait Implementations
Returns the “default value” for a type. Read more
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ProgramHeader
impl Send for ProgramHeader
impl Sync for ProgramHeader
impl Unpin for ProgramHeader
impl UnwindSafe for ProgramHeader
Blanket Implementations
Mutably borrows from an owned value. Read more