[][src]Module object::read::elf

Support for reading ELF files.

Defines traits to abstract over the difference between ELF32/ELF64, and implements read functionality in terms of these traits.

Also provides ElfFile and related types which implement the Object trait.

Structs

ElfFile

A partially parsed ELF file.

ElfNote

A parsed NoteHeader.

ElfNoteIterator

An iterator over the notes in an ElfSegment or ElfSection.

ElfRelocationIterator

An iterator over the relocations for an ElfSection.

ElfSection

A section of an ElfFile.

ElfSectionIterator

An iterator over the sections of an ElfFile.

ElfSegment

A segment of an ElfFile.

ElfSegmentIterator

An iterator over the segments of an ElfFile.

ElfSymbolIterator

An iterator over the symbols of an ElfFile.

RelocationSections

A mapping from section index to associated relocation sections.

SectionTable

The table of section headers in an ELF file.

SymbolTable

A table of symbol entries in an ELF file.

Traits

CompressionHeader

A trait for generic access to CompressionHeader32 and CompressionHeader64.

FileHeader

A trait for generic access to FileHeader32 and FileHeader64.

NoteHeader

A trait for generic access to NoteHeader32 and NoteHeader64.

ProgramHeader

A trait for generic access to ProgramHeader32 and ProgramHeader64.

Rela

A trait for generic access to Rela32 and Rela64.

SectionHeader

A trait for generic access to SectionHeader32 and SectionHeader64.

Sym

A trait for generic access to Sym32 and Sym64.

Type Definitions

ElfFile32

A 32-bit ELF object file.

ElfFile64

A 64-bit ELF object file.

ElfNote32

A parsed NoteHeader32.

ElfNote64

A parsed NoteHeader64.

ElfRelocationIterator32

An iterator over the relocations for an ElfSection32.

ElfRelocationIterator64

An iterator over the relocations for an ElfSection64.

ElfSection32

A section of an ElfFile32.

ElfSection64

A section of an ElfFile64.

ElfSectionIterator32

An iterator over the sections of an ElfFile32.

ElfSectionIterator64

An iterator over the sections of an ElfFile64.

ElfSegment32

A segment of an ElfFile32.

ElfSegment64

A segment of an ElfFile64.

ElfSegmentIterator32

An iterator over the segments of an ElfFile32.

ElfSegmentIterator64

An iterator over the segments of an ElfFile64.

ElfSymbolIterator32

An iterator over the symbols of an ElfFile32.

ElfSymbolIterator64

An iterator over the symbols of an ElfFile64.