Skip to main content

Module elf

Module elf 

Source
Expand description

Support for writing ELF files.

Provides Writer for low level writing of ELF files. This is also used to provide ELF support for write::Object.

Structs§

AttributesWriter
A helper for writing an attributes section.
Encoder
A helper for encoding headers and data when writing an ELF file.
FileHeader
Native endian version of elf::FileHeader64.
FileHeaderLayout
Native endian layout-related fields of elf::FileHeader64.
GnuHashTable
Information required for writing elf::GnuHashHeader.
ProgramHeader
Native endian version of elf::ProgramHeader64.
Rel
Unified native endian version of elf::Rel64 and elf::Rela64.
SectionHeader
Native endian version of elf::SectionHeader64.
SectionIndex
The index of an ELF section.
SinglePhase
Single-phase writing mode for Writer.
Sym
Native endian version of elf::Sym64.
SymbolIndex
The index of an ELF symbol.
TwoPhase
Two-phase writing mode for Writer.
Verdef
Information required for writing elf::Verdef.
Vernaux
Information required for writing elf::Vernaux.
Verneed
Information required for writing elf::Verneed.
Writer
A helper for writing ELF files.

Constants§

ALIGN_GNU_VERDEF
Alignment for .gnu.version_d
ALIGN_GNU_VERNEED
Alignment for .gnu.version_r
ALIGN_GNU_VERSYM
Alignment for .gnu.version
ALIGN_HASH
Alignment for .hash
ALIGN_SYMTAB_SHNDX
Alignment for .symtab_shndx.

Traits§

Mode
The writing mode of a Writer.

Type Aliases§

SinglePhaseWriter
Single-phase writer for ELF files.