Skip to content

Latest commit

 

History

History
23 lines (19 loc) · 488 Bytes

File metadata and controls

23 lines (19 loc) · 488 Bytes

Lesson 00 - Fuzzing with AFL++

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 @@