]> git.ipfire.org Git - thirdparty/hostap.git/blame - tests/fuzzing/README
tests: New style fuzzing tools for EAPOL-Key frame processing
[thirdparty/hostap.git] / tests / fuzzing / README
CommitLineData
065e6e70
JM
1hostap.git fuzz testing
2-----------------------
3
4These tools can be used for fuzz testing of various components used
5within wpa_supplicant and hostapd. Each directory contains a fuzzing
6tool that focuses on one input handler. Each tool can be compiled either
7to work with the libFuzzer or as a separate tool that reads the input
8from a file specified on the command line, e.g., for American fuzzy lop
9(afl-fuzz). Example test corpus is included in */corpus directory.
10
11Example fuzzing with libFuzzer
12
13cd @TOOL@
14make clean
15make LIBFUZZER=y
16./@TOOL@ corpus
17
18Example fuzzing with afl-fuzz
19
20cd @TOOL@
21make clean
22CC=afl-gcc make
23afl-fuzz -i corpus -o findings -- $PWD/@TOOL@ @@