dldota 0.1.0

Load shared libraries from statically linked programs by bootstrapping the system's own dynamic loader
Documentation
  • Coverage
  • 80.95%
    17 out of 21 items documented0 out of 6 items with examples
  • Size
  • Source code size: 37.8 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.1 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 2s Average build duration of successful builds.
  • all releases: 5s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • KarpelesLab/dldota
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • MagicalTux

dldota

CI crates.io docs.rs License: MIT

Load the system's shared libraries from a statically linked program.

dldota maps the system's own dynamic loader (ld-linux-*.so, ld-musl-*.so) into the process, boots it as the kernel would, and exposes its dlopen/dlsym. Calls into loaded code go through trampolines that switch the thread pointer, so the host runtime and the system libc can coexist.

Status: scaffolding. See docs/design.md.

  • Rust: dldota::Context
  • C: include/dldota.h + libdldota.a (build with cargo build --release --target x86_64-unknown-linux-musl, or the -gnu target when linking into a static glibc program)

Supported: Linux on x86_64 and aarch64. MSRV 1.95.