Struct goblin::elf::Elf [] [src]

pub struct Elf {
    pub header: Header,
    pub program_headers: Vec<ProgramHeader>,
    pub dynamic: Option<Vec<Dyn>>,
    pub symtab: Vec<Sym>,
    pub rela: Vec<Rela>,
    pub pltrela: Vec<Rela>,
    pub strtab: Vec<String>,
    pub soname: Option<String>,
    pub interpreter: Option<String>,
    pub libraries: Vec<String>,
    pub is_lib: bool,
    pub size: usize,
    pub entry: usize,
}

Fields

header: Header program_headers: Vec<ProgramHeader> dynamic: Option<Vec<Dyn>> symtab: Vec<Sym> rela: Vec<Rela> pltrela: Vec<Rela> strtab: Vec<String> soname: Option<String> interpreter: Option<String> libraries: Vec<String> is_lib: bool size: usize entry: usize

Methods

impl Elf
[src]

fn from_path<'a>(path: &Path) -> Result<Elf>

Trait Implementations

impl Debug for Elf
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.