FRET-LibAFL/fuzzers/forkserver_simple
syheliel 2504b6dae3
Add rustfmt.toml (#722)
* add `rustfmt.toml`

* format fix

Co-authored-by: syheliel <syheliel@gmail.com>
2022-08-12 02:28:32 +02:00
..
2021-05-25 13:40:00 +02:00
2022-08-12 02:28:32 +02:00
2022-08-12 02:28:32 +02:00
2022-07-29 09:54:16 +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.