limbo/fuzz
Pekka Enberg 12131babae Move UUID extension to core
We want to bundle the UUID extension by default so move the code to core.
2025-06-30 09:54:13 +03:00
..
fuzz_targets Rename limbo_core crate to turso_core 2025-06-29 09:59:17 +03:00
.gitignore introduce libFuzzer 2025-03-23 20:29:55 -03:00
Cargo.lock Move UUID extension to core 2025-06-30 09:54:13 +03:00
Cargo.toml Rename limbo_core crate to turso_core 2025-06-29 09:59:17 +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