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
#[cfg(target_arch = "x86_64")]
pub(crate) use super::x86_64::object::{PLT_ENTRY, PLT_ENTRY_SIZE};

#[cfg(not(target_arch = "x86_64"))]
pub(crate) const PLT_ENTRY_SIZE: usize = 16;

#[cfg(not(target_arch = "x86_64"))]
pub(crate) const PLT_ENTRY: [u8; PLT_ENTRY_SIZE] = [
    0xf3, 0x0f, 0x1e, 0xfa, 0xff, 0x25, 0, 0, 0, 0, 0xcc, 0xcc, 0xcc, 0xcc, 0xcc, 0xcc,
];