Struct xmas_elf::program::ProgramHeader64
[−]
[src]
#[repr(C)]pub struct ProgramHeader64 { pub type_: Type_, pub flags: Flags, pub offset: u64, pub virtual_addr: u64, pub physical_addr: u64, pub file_size: u64, pub mem_size: u64, pub align: u64, }
Fields
type_: Type_
flags: Flags
offset: u64
virtual_addr: u64
physical_addr: u64
file_size: u64
mem_size: u64
align: u64
Methods
impl ProgramHeader64[src]
pub fn get_type(&self) -> Result<Type, &'static str>[src]
pub fn get_data<'a>(
&self,
elf_file: &ElfFile<'a>
) -> Result<SegmentData<'a>, &'static str>[src]
&self,
elf_file: &ElfFile<'a>
) -> Result<SegmentData<'a>, &'static str>
pub fn raw_data<'a>(&self, elf_file: &ElfFile<'a>) -> &'a [u8][src]
Trait Implementations
impl Copy for ProgramHeader64[src]
impl Clone for ProgramHeader64[src]
fn clone(&self) -> ProgramHeader64[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Debug for ProgramHeader64[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl Default for ProgramHeader64[src]
fn default() -> ProgramHeader64[src]
Returns the "default value" for a type. Read more