Dongjia Zhang 30f8fd44ef
Better forkserver example (#399)
* better example

* fmt
2021-12-04 16:17:38 +01:00

598 B

Simple Forkserver Fuzzer

This is a simple example fuzzer to fuzz a executable instrumented by afl-cc.

Usage

You can build this example by cargo build --release.
This downloads AFLplusplus/AFLplusplus and compiles the example harness program in src/program.c with afl-cc

Run

After you build it you can run
cp ./target/release/forkserver_simple . to copy the fuzzer into this directory,
and you can run
taskset -c 1 ./forkserver_simple ./target/release/program ./corpus/ -t 1000 to run the fuzzer. taskset binds this process to a specific core to improve the throughput.