Struct elfloader::elf::ProgramHeader [−][src]
pub struct ProgramHeader { pub progtype: ProgType, pub flags: ProgFlag, pub offset: u64, pub vaddr: usize, pub paddr: u64, pub filesz: u64, pub memsz: u64, pub align: u64, }
Encapsulates the contents of an ELF Program Header
The program header table is an array of program header structures describing the various segments for program execution.
Fields
progtype: ProgType
Program segment type
flags: ProgFlag
Flags for this segment
offset: u64
Offset into the ELF file where this segment begins
vaddr: usize
Virtual address where this segment should be loaded
paddr: u64
Physical address where this segment should be loaded
filesz: u64
Size of this segment in the file
memsz: u64
Size of this segment in memory
align: u64
file and memory alignment
Trait Implementations
impl Copy for ProgramHeader
[src]
impl Copy for ProgramHeader
impl Clone for ProgramHeader
[src]
impl Clone for ProgramHeader
fn clone(&self) -> ProgramHeader
[src]
fn clone(&self) -> ProgramHeader
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for ProgramHeader
[src]
impl Debug for ProgramHeader
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Display for ProgramHeader
[src]
impl Display for ProgramHeader
Auto Trait Implementations
impl Send for ProgramHeader
impl Send for ProgramHeader
impl Sync for ProgramHeader
impl Sync for ProgramHeader