limbo/fuzz
Jussi Saurio c25e8c685d
Some checks failed
Run long fuzz tests on Btree / run-long-tests (push) Has been cancelled
Run long fuzz tests on Btree / simple-stress-test (push) Has been cancelled
let fuzz still have its own workspace
2025-08-11 15:13:58 +03:00
..
fuzz_targets fix: add fuzz to CI checks 2025-07-08 13:41:05 -03:00
.gitignore introduce libFuzzer 2025-03-23 20:29:55 -03:00
Cargo.lock fix: add fuzz to CI checks 2025-07-08 13:41:05 -03:00
Cargo.toml let fuzz still have its own workspace 2025-08-11 15:13:58 +03:00
README.md feat: add guide on fuzing 2025-03-23 20:44:09 -03:00

Limbo Fuzzing

Prerequisites

Ensure you have the following installed:

  • Nightly Rust toolchain (required for cargo-fuzz unless using Nix)
  • cargo-fuzz (install it using cargo install cargo-fuzz)
  • Nix (if using a flake.nix setup)

Using Nix

nix develop .#fuzz

This will set up the required environment with the nightly toolchain and dependencies.

Running the Fuzzer

If using Nix:

cargo fuzz run <fuzz_target>

If using rustup without Nix:

cargo +nightly fuzz run <fuzz_target>

This will compile the fuzz target and start fuzzing with libFuzzer.

Example

Run the expression target with:

cargo fuzz run expression