Skip to content

Latest commit

 

History

History

00-fuzzing

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

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