Skip to content

Commit e18956b

Browse files
authored
link to an example of differential fuzzing harness
1 parent 565c9ea commit e18956b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Naturally, this is conditional on the same operation run twice returning the sam
3232
1. Clone this repository, run `make`; this will build libdiffuzz.so
3333
1. Make sure [this code](https://gist.github.com/Shnatsel/0c024a51b64c6e0b6c6e66f991904816) doesn't reliably crash when run on its own, but does crash when you run it like this: `LD_PRELOAD=/path/to/libdiffuzz.so target/release/membleed`
3434
1. If you haven't done regular fuzzing yet - do set up fuzzing with AFL. [It's not that hard.](https://fuzz.rs/book/afl/setup.html)
35-
1. In your fuzz target run the same operation twice and `assert!` that they produce the same result. **TODO:** example
35+
1. In your fuzz target run the same operation twice and `assert!` that they produce the same result. See [example code for Claxon](https://github.com/Shnatsel/claxon-differential-fuzzing) for reference.
3636
1. Add the following to your fuzz harness:
3737
```rust
3838
// Use the system allocator so we can substitute it with a custom one via LD_PRELOAD

0 commit comments

Comments
 (0)