Crate elf_loader

Source
Expand description

§elf_loader

A lightweight, extensible, and high-performance library for loading ELF files.

§Usage

It implements the general steps for loading ELF files and leaves extension interfaces, allowing users to implement their own customized loaders.

§Example

This repository provides an example of a mini-loader implemented using elf_loader. The miniloader can load PIE files and currently only supports x86_64.

Modules§

  • Contains ELF constants defined in the ELF gABI and various extensions
  • Contains content related to the CPU instruction set
  • Parsing .dynamic section
  • Map memory to address space
  • The original elf object
  • The Memory mapping of elf object

Structs§

Enums§

  • elf_loader error types

Traits§

  • Handles the parts of the elf file related to thread local storage
  • Handle the parts of the elf file related to the ehframe

Type Aliases§