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

Program segment type

Flags for this segment

Offset into the ELF file where this segment begins

Virtual address where this segment should be loaded

Physical address where this segment should be loaded

Size of this segment in the file

Size of this segment in memory

file and memory alignment

Trait Implementations

impl Copy for ProgramHeader
[src]

impl Clone for ProgramHeader
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for ProgramHeader
[src]

Formats the value using the given formatter. Read more

impl Display for ProgramHeader
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations