Struct object::Elf
[−]
[src]
pub struct Elf<'a>(_);
An ELF object file.
Trait Implementations
impl<'a> Object<'a> for Elf<'a>
[src]
type Error = ()
An associated error type for when parsing or some other operation fails.
fn parse(input: &'a [u8]) -> Result<Elf<'a>, Self::Error>
Parse the raw object file data.
fn get_section(&self, section_name: &str) -> Option<&[u8]>
Get the contents of the section named section_name
, if such a section exists. Read more
fn is_little_endian(&self) -> bool
Return true if the file is little endian, false if it is big endian.