FRET-LibAFL/fuzzers/forkserver_simple
Lukas Seidel 17a0d9e8f0
Forkserver: Add file input support (#880)
* 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
2022-11-10 15:25:52 +01:00
..
2021-05-25 13:40:00 +02:00
2022-08-12 02:28:32 +02:00
2021-12-04 16:17:38 +01:00

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.