Fuzzing Test Suite
This test suite contains fuzzing tests for libFuzzer fuzzing engine.
Getting Started
Each fuzzing test is an executable. It can run fuzzing to search for new failures and save reproducer in a file. You can later run a fuzzing test with a reproducer to debug a failure found.
Pre-requisites
There are no special pre-requisites to reproduce and debug failures.
To run fuzzing you will need LLVM components:
- Clang and co.
- libFuzzer
- lld (linker)
- libc++
Reproducing Failure Found by Fuzzing
- Build
fuzztest target:
cmake -DENABLE_TESTS=ON .. && ninja fuzz
- Run fuzzing test passing a failure reproducer as a command-line argument:
./read_network-fuzzer crash-reproducer