Free module
Fuzzing
Find bugs in your own C code before release: AFL++ and libFuzzer harnesses, sanitizers, coverage, crash triage and a fuzz job in CI.
The lessons
Each lesson is free and interactive. Press Start lab to run its commands in a live lab and to sit its quizzes and tasks, with no account needed.
1 · Virtual machine lab
What fuzzing finds that tests miss
I can use a fuzzer to find an input that breaks my own code.
Read the lesson2 · Virtual machine lab
Writing your first fuzz harness
I can write a harness that lets libFuzzer test one C function.
Read the lesson3 · Virtual machine lab
Sanitizers turn quiet bugs into reports
I can choose a sanitizer that reports the kind of bug I am hunting.
Read the lesson4 · Virtual machine lab
Seeds, corpus and coverage
I can use coverage to judge whether a fuzzer is reaching all of my code.
Read the lesson5 · Virtual machine lab
Triage: from crash files to fixes
I can sort a pile of crash files into distinct bugs and fix each one.
Read the lesson6 · Virtual machine lab
Fuzzing in a CI pipeline
I can add a short fuzz job to a CI pipeline that fails when a fixed bug returns.
Read the lesson
Worked in a real lab
Every lesson of this module is worked in a lab started for you alone. The labs it uses:
Teaching a class? Set this module for your students with a teacher guide, marked assignments and a lab for every student.