Enum xmas_elf::sections::SectionHeader
[−]
[src]
pub enum SectionHeader<'a> { Sh32(&'a SectionHeader_<P32>), Sh64(&'a SectionHeader_<P64>), }
Variants
Sh32(&'a SectionHeader_<P32>)
Sh64(&'a SectionHeader_<P64>)
Methods
impl<'a> SectionHeader<'a>
[src]
fn get_name(&self, elf_file: &ElfFile<'a>) -> Result<&'a str, &'static str>
fn get_type(&self) -> Result<ShType, &'static str>
fn get_data(
&self,
elf_file: &ElfFile<'a>
) -> Result<SectionData<'a>, &'static str>
&self,
elf_file: &ElfFile<'a>
) -> Result<SectionData<'a>, &'static str>
fn raw_data(&self, elf_file: &ElfFile<'a>) -> &'a [u8]
fn flags(&self) -> u64
fn name(&self) -> u32
fn address(&self) -> u64
fn offset(&self) -> u64
fn size(&self) -> u64
fn type_(&self) -> ShType_
Trait Implementations
impl<'a> Clone for SectionHeader<'a>
[src]
fn clone(&self) -> SectionHeader<'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