Struct xmas_elf::program::ProgramHeader32
[−]
[src]
#[repr(C)]pub struct ProgramHeader32 { pub type_: Type_, pub offset: u32, pub virtual_addr: u32, pub physical_addr: u32, pub file_size: u32, pub mem_size: u32, pub flags: Flags, pub align: u32, }
Fields
type_: Type_
offset: u32
virtual_addr: u32
physical_addr: u32
file_size: u32
mem_size: u32
flags: Flags
align: u32
Methods
impl ProgramHeader32[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 ProgramHeader32[src]
impl Clone for ProgramHeader32[src]
fn clone(&self) -> ProgramHeader32[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 ProgramHeader32[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl Default for ProgramHeader32[src]
fn default() -> ProgramHeader32[src]
Returns the "default value" for a type. Read more