Files
turso/fuzz
Nikita Sivukhin 16d4cb57af workspace: handle StepResult::Yield in all step-loop consumers
Teach every remaining StepResult consumer about the Yield variant ahead of
the producer change:

- bindings/javascript: map Yield to STEP_IO at the FFI boundary (JS side
  keeps pumping IO exactly as it does for yields surfaced as IO today)
- sync/engine: yield to the sync coroutine, same as IO
- sdk-kit: same treatment as IO for both sync and async step paths
- tools/dbhash, integration tests: re-step immediately or group with IO
- simulators: group with IO to keep schedules identical
- fuzz: route Yield to the IO arm instead of the unreachable wildcard

All arms are chosen to preserve current behavior exactly, since explicit
yields still surface as StepResult::IO until the producer flips.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-11 16:01:01 +02:00
..
2025-03-23 20:29:55 -03:00
2026-01-31 11:43:34 -05: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