Trait elrond::prelude::ElfHeader [] [src]

pub trait ElfHeader<'a>: ElfMagicNumber + Arch + FileType + BufferBorrow<'a> + 'a {
    fn duplicate(&self) -> ElfHeaderBase<'a>;
fn e_version(&self) -> usize;
fn e_entry(&self) -> VarSize;
fn e_phoff(&self) -> usize;
fn e_shoff(&self) -> usize;
fn e_flags(&self) -> VarSize;
fn e_ehsize(&self) -> usize;
fn e_phentsize(&self) -> usize;
fn e_phnum(&self) -> usize;
fn e_shentsize(&self) -> usize;
fn e_shnum(&self) -> usize;
fn e_shstrndx(&self) -> usize; fn has_program_headers(&self) -> bool { ... }
fn has_section_headers(&self) -> bool { ... }
fn get_phdr(&self) -> Result<Box<[Box<PHDR<'a> + 'a>]>, Fault> { ... }
fn get_sections(&self) -> Result<Sections<'a>, Fault> { ... } }

Header of an elf file

Required Methods

Provided Methods

Implementors