
* make use of clap derive in forkserver_simple * (re)introduce use_shmem_testcase flag to ForkserverExecutor * set use_shmem_testcase flag automatically based on forkserver handshake * remove illegal_state and just .unwrap instead as the None case is unreachable * fix: removed pub method * cargo fmt * remove illegal_state #2 and just .unwrap instead as the None case is unreachable * change shmem unwrap to unwrap_unchecked * fix double mut * removed @@ warning
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.