Enum xmas_elf::program::ProgramHeader [] [src]

pub enum ProgramHeader<'a> {
    Ph32(&'a ProgramHeader32),
    Ph64(&'a ProgramHeader64),
}

Variants

Ph32(&'a ProgramHeader32)Ph64(&'a ProgramHeader64)

Methods

impl<'a> ProgramHeader<'a>
[src]

fn get_type(&self) -> Result<Type, &'static str>

fn get_data(&self, elf_file: &ElfFile<'a>) -> Result<SegmentData<'a>, &'static str>

fn align(&self) -> u64

fn file_size(&self) -> u64

fn mem_size(&self) -> u64

fn offset(&self) -> u64

fn physical_addr(&self) -> u64

fn virtual_addr(&self) -> u64

fn flags(&self) -> u32

Trait Implementations

impl<'a> Debug for ProgramHeader<'a>
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl<'a> Clone for ProgramHeader<'a>
[src]

fn clone(&self) -> ProgramHeader<'a>

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl<'a> Copy for ProgramHeader<'a>
[src]

impl<'a> Display for ProgramHeader<'a>
[src]

fn fmt(&self, f: &mut Formatter) -> Result

Formats the value using the given formatter.