Struct object::File
[−]
[src]
pub struct File<'a> { /* fields omitted */ }An object file.
Methods
impl<'a> File<'a>[src]
fn parse(data: &'a [u8]) -> Result<Self, &'static str>
Parse the raw object file data.
fn get_section(&self, section_name: &str) -> Option<&'a [u8]>
Get the contents of the section named section_name, if such
a section exists.
fn is_little_endian(&self) -> bool
Return true if the file is little endian, false if it is big endian.