2 stable releases
new 1.0.7 | May 4, 2025 |
---|---|
1.0.4 | Apr 4, 2025 |
1.0.3 |
|
#420 in Unix APIs
179 downloads per month
Used in emdumper
21KB
144 lines
Contains (ELF exe/lib, 12KB) assets/emd_ebpf_prebuild
emd
The eBPF memory dumper is able to dump the physical memory on a linux machine, using an eBPF filter.
This works even the kernel is in lock down mode (integrity) or /proc/kcore is not available on system.
You need root privileges to use this tool.
Prerequisites
- stable rust toolchains:
rustup toolchain install stable
- nightly rust toolchains:
rustup toolchain install nightly --component rust-src
- bpf-linker:
cargo install bpf-linker
build
cargo build --release
install via cargo
cargo install emdumper
usage
sudo ./emd -o output-file.bin
to show all options, you can use
./emd -h
Dependencies
~3.5–6MB
~112K SLoC