Struct elrond::Elf [] [src]

pub struct Elf {
    pub header: ElfHeader,
    pub sections: Vec<Section>,
    pub progheader: Vec<ProgramHeaderTable>,
}

Holds the ELF Data

Fields

Methods

impl Elf
[src]

[src]

Parse a buffer.

This function will extract the Section and ProgramHeaderTable information. It does not try to extract their full binary/data information. You can all the individual Section and/or ProgramHeaderTable for that. They expose the read_data and borrow_data functions which can fetch the contents the header is referencing.

Trait Implementations

impl Debug for Elf
[src]

[src]

Formats the value using the given formatter.