Compiler/source code fuzzing tool using AFL instrumentation
Switch branches/tags
Nothing to show
Clone or download

Program fuzzer


Very WIP/PoC code. Proceed with caution.

Many thanks to lcamtuf, the AFL people, John Regehr and the C-Reduce people, and the GCC people.


  1. Download AFL to the current directory.
  2. Build it.
  3. Build your compiler using afl-gcc.
  4. Change $AFL_PATH in if necessary.
  5. Look for execlp in and point it to your instrumented compiler.
  6. Run
  7. Run ./main.


The project includes snippets from AFL (Apache 2.0) and gcc (GPL 3), therefore this project is naturally GPL 3 as well.

Reported bugs