roc/crates/compiler/test_syntax/fuzz
Joshua Warner 4f32f43048
Implement block / indent based parsing
... and enforce that defs can only occur in blocks (or, inside parenthesized expressions)
2024-07-27 13:34:16 -07:00
..
fuzz_targets Implement block / indent based parsing 2024-07-27 13:34:16 -07:00
Cargo.toml Implement block / indent based parsing 2024-07-27 13:34:16 -07:00
dict.txt New module header 2024-05-01 10:39:12 -03:00
README.md Move syntax tests to a dedicated crate 2022-12-26 22:50:24 -08:00

fuzz

To setup fuzzing you will need to install cargo-fuzz and run with rust nightly:

$ cargo install cargo-fuzz
$ cargo +nightly fuzz run -j<cores> <target> -- -dict=../parse/fuzz/dict.txt

The different targets can be found by running cargo fuzz list.

When a bug is found, it will be reported with commands to run it again and look for a minimized version. If you are going to file a bug, please minimize the input before filing the bug.