Dongjia "toka" Zhang 133a0ffe7a
Merge LlmpEventManager and LlmpRestartingEventManager (#2891)
* add

* add 2

* feature

* fix nyx launcher

* a bit of doc

* addressing comments
2025-01-26 13:43:04 +01:00

947 B

Fuzzbench Harness

This folder contains an example fuzzer tailored for fuzzbench. It uses the best possible setting, with the exception of a SimpleRestartingEventManager instead of an LlmpRestartingEventManager - since fuzzbench is single threaded. Real fuzz campaigns should consider using multithreaded LlmpRestaringtEventManager, see the other examples.

Build

To build this example, run cargo build --release. This will build the fuzzer compilers (libafl_cc and libafl_cpp) with src/lib.rs as fuzzer. The fuzzer uses the libfuzzer compatibility layer and the SanitizerCoverage runtime functions for coverage feedback.

These can then be used to build libfuzzer harnesses in the software project of your choice. Finally, just run the resulting binary with out_dir, in_dir.

In any real-world scenario, you should use taskset to pin each client to an empty CPU core, the lib does not pick an empty core automatically (yet).