Struct object::Elf [] [src]

pub struct Elf(_);

Trait Implementations

impl Object for Elf
[src]

fn open<P>(path: P) -> Self where P: AsRef<Path>

Open and parse the object file at the given path.

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.