Files
turso/fuzz
Daniel Karlsson 7ae1693131 fuzz: supply the SQLite dialect when opening the schema database
Database::open_file now requires an explicit dialect. Select the SQLite
dialect so the schema target builds and can execute its comparisons
against SQLite again.

Tests: cargo +nightly fuzz build --dev schema; eight fixed inputs covering
table creation, indexes, and renames. LeakSanitizer reports retained core
CompletionGroup allocations during these runs; no SQL assertions failed.
2026-09-10 19:24:27 +02:00
..
2025-03-23 20:29:55 -03:00
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