Build target program with instrumentation to capture run-time information like code-coverage
afl-clang-lto -w program.c -o program
Create corpus directory and initial seed
mkdir input
echo -ne "\x00" > input/seed0
Fuzz the program
afl-fuzz -i input -o output -- ./program
File input
afl-clang-lto -w -DFILE_INPUT program.c -o program_file_input
afl-fuzz -i input -o output -- ./program_file_input @@