ruff/python/py-fuzzer
Brent Westbrook b3243b5e2a
Run fuzzer with --preview (#17210)
Summary
--

Updates `fuzz.py` to run with `--preview`, which should allow it to
catch semantic syntax errors.

Test Plan
--

@AlexWaygood and I temporarily made any named expression a semantic
syntax error and checked that this led to fuzzing errors. We also tested
that reverting the `--preview` addition did not show any errors.

We also ran the fuzzer on 500 seeds on `main` but didn't find any
issues, (un)fortunately.
2025-04-04 15:13:59 -04:00
..
fuzz.py Run fuzzer with --preview (#17210) 2025-04-04 15:13:59 -04:00
pyproject.toml
README.md
uv.lock

py-fuzzer

A fuzzer script to run Ruff executables on randomly generated (but syntactically valid) Python source-code files.

Run uvx --from ./python/py-fuzzer fuzz -h from the repository root for more information and example invocations (requires uv to be installed).