elf_loader 0.15.1

A no_std-friendly ELF loader, runtime linker, and JIT linker for Rust.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
mod support;

use support::binding::{BindingFixture, BindingKind};

#[test]
fn eager_binding_matches_fixture() {
    let scenario = BindingFixture::new().load(BindingKind::Eager);

    scenario.assert_single_dependency();
    scenario.assert_non_plt_relocations();
    scenario.assert_relative_relocations();
    scenario.assert_eager_jump_slots();
    scenario.assert_plt_helpers_work();
    #[cfg(feature = "tls")]
    scenario.assert_tls_relocations();
}