Struct elfio::Elfio[][src]

pub struct Elfio { /* fields omitted */ }
Expand description

Elfio - the main struct of the library. All access to ELF files attributes starts from this object. The object provides functions to access ELF file header attributes as well as the list of segments and sections of this file.

Implementations

Create a new instance

Create a new instance with defined encoding and endianess

Returns a reference for an endianess converter used for the current file

Load the ELF file from input stream

Retrieve all ELF file sections

Retrieve all ELF file segments

Retrieve ELF file section by its name

Retrieve ELF file section by its index

Read access to the corresponding ELF header field

Read access to the corresponding ELF header field

Read access to the corresponding ELF header field

Read access to the corresponding ELF header field

pub fn get_section_entry_size(&self) -> ElfHalf

Read access to the corresponding ELF header field

pub fn get_segment_entry_size(&self) -> ElfHalf

Read access to the corresponding ELF header field

Read access to the corresponding ELF header field

Write access to the corresponding ELF header field

Read access to the corresponding ELF header field

Write access to the corresponding ELF header field

Read access to the corresponding ELF header field

Write access to the corresponding ELF header field

Read access to the corresponding ELF header field

Write access to the corresponding ELF header field

Read access to the corresponding ELF header field

Write access to the corresponding ELF header field

Read access to the corresponding ELF header field

Write access to the corresponding ELF header field

pub fn get_entry(&self) -> Elf64Addr

Read access to the corresponding ELF header field

pub fn set_entry(&mut self, value: Elf64Addr)

Write access to the corresponding ELF header field

Read access to the corresponding ELF header field

Write access to the corresponding ELF header field

Read access to the corresponding ELF header field

Write access to the corresponding ELF header field

Read access to the corresponding ELF header field

Write access to the corresponding ELF header field

Read access to the corresponding ELF header field

Write access to the corresponding ELF header field

Read access to the corresponding ELF header field

Write access to the corresponding ELF header field

Trait Implementations

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.