elf_loader 0.16.0

A no_std-friendly ELF loader and runtime linker for Rust.
Documentation
//! Loading entry points and customization hooks.
//!
//! This module centers on [`Loader`], the main entry point for mapping ELF inputs
//! into memory. A loader reads ELF metadata, maps segments, builds raw image types,
//! and prepares them for relocation.
//!
//! It also exposes the main customization points used during loading:
//!
//! - [`crate::observer::LoadObserver`] for observing program headers and loaded dynamic images
//! - [`crate::observer::RelocationObserver`] events for lifecycle and relocation customization
//! - `with_data` for selecting dynamic-image user data
//! - `with_*` builder methods for swapping the memory-mapping backend or TLS resolver

mod builder;
mod defs;
mod handle;
mod run;

pub(crate) use builder::{ImageBuilder, ScanBuilder};
pub(crate) use defs::{ElfBuf, ExpectedElf};
pub use handle::Loader;
pub use run::LoaderRun;