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 Turn the fuzz-parser script into a properly packaged Python project (#14606) 2024-11-27 08:09:04 +00:00
README.md py-fuzzer: recommend using uvx rather than uv run to run the fuzzer (#14645) 2024-11-27 22:19:52 +00:00
uv.lock Turn the fuzz-parser script into a properly packaged Python project (#14606) 2024-11-27 08:09:04 +00:00

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).