dldota 0.1.0

Load shared libraries from statically linked programs by bootstrapping the system's own dynamic loader
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! Thread pointer access, the bootstrap jump, and call trampolines.

#[cfg(target_arch = "aarch64")]
mod aarch64;
#[cfg(target_arch = "x86_64")]
mod x86_64;

#[cfg(target_arch = "aarch64")]
#[allow(unused_imports)]
pub(crate) use aarch64::*;
#[cfg(target_arch = "x86_64")]
#[allow(unused_imports)]
pub(crate) use x86_64::*;

#[cfg(not(any(target_arch = "x86_64", target_arch = "aarch64")))]
compile_error!("dldota supports x86_64 and aarch64");