elf_loader 0.16.0

A no_std-friendly ELF loader and runtime linker for Rust.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! Lazy PLT binding support.
//!
//! The [`LazyBinder`] trait lets callers install target-specific lazy binding
//! entries. With the `lazy-binding` feature enabled, `NativeLazyBinder` provides
//! the same-process native binder used for ordinary host execution.

mod defs;
#[cfg(feature = "lazy-binding")]
mod native;
mod traits;

pub use defs::{LazyBindingEntries, LazyBindingSlots, LazyPltReloc, LazyRuntime};
#[cfg(feature = "lazy-binding")]
pub use native::NativeLazyBinder;
#[cfg(feature = "lazy-binding")]
pub(crate) use native::dl_fixup;
pub use traits::{LazyBinder, SupportLazy};
pub(crate) use traits::{prepare_plt, relocate_jump_slot};