roc/crates/compiler/test_syntax/fuzz
2024-11-27 00:42:56 +01:00
..
fuzz_targets PR: old code not fmt'd 2024-11-27 00:42:56 +01:00
Cargo.toml PR: add libfuzzer-sys back, test_syntax-fuzz to ws 2024-11-26 23:05:23 +01: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.