Struct elfkit::elf::Elf [] [src]

pub struct Elf {
    pub header: Header,
    pub segments: Vec<SegmentHeader>,
    pub sections: Vec<Section>,
    // some fields omitted
}

Fields

Methods

impl Elf
[src]

[src]

[src]

[src]

[src]

[src]

write out everything to linked sections, such as string tables after calling this function, size() is reliable for all sections

[src]

[src]

[src]

[src]

impl Elf
[src]

[src]

check if a global defined symbol is exported from the elf file. can be used to avoid load_all if a particular elf file doesn't contain the symbol you need anyway. It uses the cheapest possible method to determine the result which is currently loading symtab into a hashmap TODO should be replaced with checking HASH and GNU_HASH

Trait Implementations

impl Default for Elf
[src]

[src]

Returns the "default value" for a type. Read more