Skip to main content

Fuzz Testing your Project

Last Updated: 27, July 2020 at 09:35:49

Platform tools: Bun

Overview

Fuzz testing (or fuzzing) is a way to find test cases that break your code programmatically using instrumented binaries. This can extremely useful for complex parsers or protocols which are expected to cope with a large variety of inputs.

To get started with fuzzing your project you will need to do the following:

  1. Install AFL on your machine
  2. Install an AFL variant of the OCaml compiler into a new switch
  3. Install crowbar and bun using opam

This Github repository and the accompanying article found in the resource tag are a great place to start.

NathanReb/ocaml-afl-examples

Real World Examples

Edit this page on Github