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]
pub fn get_name(&self, elf_file: &ElfFile<'a>) -> Result<&'a str, &'static str>[src]
pub fn get_type(&self) -> Result<ShType, &'static str>[src]
pub fn get_data(
&self,
elf_file: &ElfFile<'a>
) -> Result<SectionData<'a>, &'static str>[src]
&self,
elf_file: &ElfFile<'a>
) -> Result<SectionData<'a>, &'static str>
pub fn raw_data(&self, elf_file: &ElfFile<'a>) -> &'a [u8][src]
pub fn flags(&self) -> u64[src]
pub fn name(&self) -> u32[src]
pub fn address(&self) -> u64[src]
pub fn offset(&self) -> u64[src]
pub fn size(&self) -> u64[src]
pub fn type_(&self) -> ShType_[src]
pub fn link(&self) -> u32[src]
pub fn info(&self) -> u32[src]
Trait Implementations
impl<'a> Clone for SectionHeader<'a>[src]
fn clone(&self) -> SectionHeader<'a>[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<'a> Copy for SectionHeader<'a>[src]
impl<'a> Debug for SectionHeader<'a>[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more