Addison Crump d6e72560dc
Add test case minimising stage (tmin) (#735)
* add test case minimising stage

* general purpose minimiser impl, with fuzzer example

* reorganise, document, and other cleanup

* correct python API return value

* correct some docs

* nit: versioning in fuzzers

* ise -> ize
2022-08-29 13:37:55 +02:00

436 B

Baby fuzzer

This is a minimalistic example about how to create a libafl based fuzzer which leverages minimisation.

The fuzzer steps until a crash occurs, minimising each corpus entry as it is discovered. Then, once a solution is found, it attempts to minimise that as well.

The tested program is a simple Rust function without any instrumentation. For real fuzzing, you will want to add some sort to add coverage or other feedback.