#linux #vdso #no-std

no-std linux-raw-vdso

Linux vDSO parser for all the architectures

5 releases

0.1.4 Jul 21, 2023
0.1.3 Jul 7, 2023
0.1.2 Jun 13, 2023
0.1.1 Jun 13, 2023
0.1.0 Jun 4, 2023

#308 in #linux

43 downloads per month
Used in 2 crates (via linux-syscalls)

MIT license

475KB
3.5K SLoC

Rust 3K SLoC // 0.0% comments Shell 306 SLoC // 0.1% comments C 130 SLoC

Contains (ELF lib, 71KB) fake/powerpc64.so, (ELF lib, 70KB) fake/powerpc.so, (ELF lib, 71KB) fake/powerpc64le.so, (ELF lib, 21KB) fake/loongarch64.so, (ELF lib, 9KB) fake/aarch64.so, (ELF lib, 8KB) fake/arm.so and 8 more.

linux-vdso-raw

GitHub Workflow Status (with branch) Crates.io docs.rs Crates.io

Cross-arch implementation of vDSO parsing. For more informations about vDSO and why it's important in Linux you can see here.

#![no_std]

This library is entirely no_std.

Platforms

arch implemented tested
aarch64
aarch64_be
arm
armeb
loongarch64
mips
mipsel
mips64
mips64el
mips64n32
mips64n32el
powerpc
powerpc64
powerpc64le
riscv32
riscv64
s390x
x86_64
x86
x32

Code generation

All the code in src/arch is generated by the inner crate in the vdso-gen directory so don't touch auto generated files please. If you need to add or change something look in defs directory instead.

MSRV

1.38.0

riscv64: 1.42.0

loongarch64: nightly

No runtime deps