mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-25 16:58:41 -05:00
065e6e7010
This is a newer version of tests/wnm-fuzzer tool as the initial step in creating a more uniform set of fuzzing tools that can be used with both libFuzzer and afl-fuzz. Signed-off-by: Jouni Malinen <j@w1.fi>
24 lines
673 B
Plaintext
24 lines
673 B
Plaintext
hostap.git fuzz testing
|
|
-----------------------
|
|
|
|
These tools can be used for fuzz testing of various components used
|
|
within wpa_supplicant and hostapd. Each directory contains a fuzzing
|
|
tool that focuses on one input handler. Each tool can be compiled either
|
|
to work with the libFuzzer or as a separate tool that reads the input
|
|
from a file specified on the command line, e.g., for American fuzzy lop
|
|
(afl-fuzz). Example test corpus is included in */corpus directory.
|
|
|
|
Example fuzzing with libFuzzer
|
|
|
|
cd @TOOL@
|
|
make clean
|
|
make LIBFUZZER=y
|
|
./@TOOL@ corpus
|
|
|
|
Example fuzzing with afl-fuzz
|
|
|
|
cd @TOOL@
|
|
make clean
|
|
CC=afl-gcc make
|
|
afl-fuzz -i corpus -o findings -- $PWD/@TOOL@ @@
|