elf_loader 0.17.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
//! Observer traits and event payloads for load and relocation hooks.

mod event;
mod traits;

pub use crate::relocation::HandleResult;
pub(crate) use event::LifecycleRunner;
pub use event::{
    AfterDynamicLoadEvent, BeforeLoadEvent, DynamicRelocatedEvent, LifecycleEvent,
    LifecycleHandlers, LinkerRelocationEvent, RelocationEvent, SymbolBindingEvent,
};
#[cfg(feature = "object")]
pub use event::{
    AfterObjectLoadEvent, BeforeObjectLoadEvent, ObjectRelocatedEvent, SectionGroup, SectionGroups,
    SectionLayoutEvent, SectionLifetime,
};
pub use traits::{LinkerObserver, LoadObserver, RelocationObserver};