mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-02 03:12:20 +00:00
![]() * The header + expr fuzzers can both be run again (header fuzzer had regressed). * I ran the expr fuzzer for ~60 seconds with no additional panics uncovered * "tab_crash" hit supposedly unreachable code in blankspace.rs - and I went to the liberty of dramatically simplifying all that code, rather than just trying to fix the bug * Other failures were straight-forward error cases that should have been handled (and passed up the chain) instead of panicking |
||
---|---|---|
.. | ||
fuzz_targets | ||
.gitignore | ||
Cargo.lock | ||
Cargo.toml | ||
dict.txt | ||
README.md |
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=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.