roc/crates/compiler/test_syntax/fuzz
2023-03-06 19:47:57 -08:00
..
fuzz_targets Move syntax tests to a dedicated crate 2022-12-26 22:50:24 -08:00
.gitignore Move syntax tests to a dedicated crate 2022-12-26 22:50:24 -08:00
Cargo.toml run a toml formatter and then clean it up a bit 2023-03-06 19:47:57 -08:00
dict.txt Move syntax tests to a dedicated crate 2022-12-26 22:50:24 -08: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.