lief

Module elf

Expand description

Module for the ELF file format support in LIEF.

The Binary structure exposes the main API to inspect an ELF file. It can be instantiated, using either: crate::elf::parse, crate::elf::Binary::parse or crate::Binary::parse

let elf = lief::elf::parse("/bin/ls").unwrap();
for section in elf.sections() {
    println!("section: {}", section.name());
}

Modules§

Structs§

Enums§

  • Enum that represents the different variants of a dynamic entry
  • The different notes recognized and supported by LIEF
  • Strategy used for relocating the PHDR table
  • Strategy for inserting a new section

Functions§