Fixed panic feature in baby_fuzzer example (#1656)
* Fixed panic feature in baby_fuzzer example * Fixed typo
This commit is contained in:
parent
c9e147de8c
commit
6089cc21ce
@ -61,7 +61,7 @@ fn main() {
|
|||||||
/* ANCHOR_END: event_manager */
|
/* ANCHOR_END: event_manager */
|
||||||
|
|
||||||
/* ANCHOR: scheduler_fuzzer */
|
/* ANCHOR: scheduler_fuzzer */
|
||||||
// A queue policy to get testcasess from the corpus
|
// A queue policy to get testcases from the corpus
|
||||||
let scheduler = QueueScheduler::new();
|
let scheduler = QueueScheduler::new();
|
||||||
|
|
||||||
// A fuzzer with feedbacks and a corpus scheduler
|
// A fuzzer with feedbacks and a corpus scheduler
|
||||||
|
@ -57,7 +57,7 @@ To start, we create the closure that we want to fuzz. It takes a buffer as input
|
|||||||
To test the crash manually, you can add a feature in `Cargo.toml` that enables the call that triggers the panic:
|
To test the crash manually, you can add a feature in `Cargo.toml` that enables the call that triggers the panic:
|
||||||
|
|
||||||
```toml
|
```toml
|
||||||
{{#include ../../listings/baby_fuzzer/listing-03/Cargo.toml:22:23}}
|
{{#include ../../listings/baby_fuzzer/listing-03/Cargo.toml:22:24}}
|
||||||
```
|
```
|
||||||
|
|
||||||
And then run the program with that feature activated:
|
And then run the program with that feature activated:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user