FRET-LibAFL/fuzzers/forkserver_simple
Andrea Fioraldi 7b0039606b
Forksrv adaptive map size and AFL++ CmpLog support (#896)
* AFL++ cmplog map

* map size opt in forkserver

* MapObserver::downsize_map and adaptive map size in forkserver

* fix fokserver_simple cmd opts

* clippy

* fuzzbench forkserver with cmplog

* delete makefile in fuzzbench forkserver

* fuzzbench_forkserver is persistent

* ForkserverExecutorBuilder::build_dynamic_map

* fix

* clippy

* fix

* fix macos

* fix compilation

* fix bugs

* fixes

Co-authored-by: Dominik Maier <domenukk@gmail.com>
Co-authored-by: Dominik Maier <dmnk@google.com>
2022-11-22 10:33:15 +01:00
..
2021-05-25 13:40:00 +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.