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
.dynamicsection - Map memory to address space
- The original elf object
- The Memory mapping of elf object
Structs§
- An unrelocated dynamic library
- The elf object loader
- A dynamic library that has been relocated
- A symbol from dynamic library
- User-defined data associated with the loaded ELF file
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