fuzzing
Installation
SKILL.md
OpenVMM Fuzzer Guide
Prerequisites
- Linux only — libfuzzer-sys doesn't support Windows.
- Nightly toolchain:
rustup toolchain install nightly - cargo-fuzz:
cargo install cargo-fuzz - lldb (for debugging):
sudo apt-get install -y lldb - aarch64 RUSTFLAGS: On aarch64, set
RUSTFLAGS="-Ctarget-feature=+lse,+neon"or builds fail with atomics errors. Not needed on x86_64.
Fuzz targets
Fuzz targets live in <crate>/fuzz/ directories alongside the crate they test.
Each has a Cargo.toml with cargo-fuzz = true metadata and a fuzz_<name>.rs
binary. Find all targets:
cargo xtask fuzz list