HOWTO 361 B

12345678910
  1. - Install AFL and the requirements for LLVM mode (see docs)
  2. - Compile the fuzzing target, e.g.
  3. AFL_HARDEN=1 afl-clang-fast main.c -o fuzz-target -O3
  4. (other options, like using ASan or MSan are possible as well)
  5. - Add additional test cases to testcase_dir
  6. - Run afl, easiest (but inefficient) way;
  7. afl-fuzz -i testcase_dir -o findings_dir ./fuzz-target