grass/fuzz/README.md
Midas Lambrichts d240151f8c
Add fuzzing (#36)
* Add fuzzing

Fuzzing can be useful to find crashes on random input.
Running this for a short while should already result in a crash, proving
it's usefulness.
2020-08-20 08:52:42 -04:00

28 lines
476 B
Markdown

# Fuzz
Fuzzing targets for the grass library.
## Installing
You'll need `cargo-fuzz` for this to work, simply do:
```
cargo install cargo-fuzz
```
## Running
Get a list of available targets with:
```
cargo fuzz list
```
And run a available target simply with:
```
cargo fuzz run <target>
```
You might have to use nightly:
```
cargo +nightly fuzz run <target>
```
## More info about fuzzing
Consult the [fuzzing book](https://rust-fuzz.github.io/book/introduction.html).