fragattacks/tests/fuzzing
Jouni Malinen 5dedbd582a tests: Fix wnm fuzzer build regression
Addition of MSCS support broke the test tool build due to references to
a functions from a new file. Fix this by bringing in that file to the
fuzzer build as well.

Signed-off-by: Jouni Malinen <j@w1.fi>
2020-08-22 11:12:17 +03:00
..
ap-mgmt tests/fuzzing: Fix build after CONFIG_IEEE80211N=y removal 2020-02-25 13:08:00 +02:00
asn1 tests: Fix fuzzing/asn1 build 2020-02-03 17:45:26 +02:00
dpp-uri DPP: Move TCP encapsulation into a separate source code file 2020-05-11 17:26:11 +03:00
eap-aka-peer Replace EapType typedef with enum eap_type 2019-08-17 11:36:20 +03:00
eap-mschapv2-peer tests: New style fuzzing tool for EAP-MSCHAPv2 peer processing 2019-12-24 10:59:22 +02:00
eap-sim-peer Replace EapType typedef with enum eap_type 2019-08-17 11:36:20 +03:00
eapol-key-auth tests/fuzzing: Update WPA set_key() handler prototype 2020-02-25 13:13:06 +02:00
eapol-key-supp tests/fuzzing: Update WPA set_key() handler prototype 2020-02-25 13:13:06 +02:00
eapol-supp tests: Fix eapol-supp fuzzing tool build 2020-06-02 23:48:37 +03:00
json tests: New style fuzzing tool for JSON parser 2019-06-02 13:00:39 +03:00
p2p tests: New style fuzzing tool for P2P frame processing 2019-06-02 13:00:39 +03:00
sae tests: Fix new fuzzer builds 2020-04-22 00:51:13 +03:00
tls-client tests: New style fuzzing tools for TLS client/server 2019-06-02 13:11:56 +03:00
tls-server tests: New style fuzzing tools for TLS client/server 2019-06-02 13:11:56 +03:00
wnm tests: Fix wnm fuzzer build regression 2020-08-22 11:12:17 +03:00
x509 tests: Add X.509v3 parsing example with invalid BasicConstraints 2019-06-22 18:15:22 +03:00
build-test.sh tests: Build test for new fuzzer tools 2019-06-02 13:00:39 +03:00
fuzzer-common.c tests: New style fuzzing tool for wpa_supplicant WNM handling 2019-06-02 13:00:36 +03:00
fuzzer-common.h tests: New style fuzzing tool for wpa_supplicant WNM handling 2019-06-02 13:00:36 +03:00
README tests: New style fuzzing tool for wpa_supplicant WNM handling 2019-06-02 13:00:36 +03:00
rules.include tests: Fix CFLAGS passing for new fuzzing tools 2019-06-11 06:34:19 +03:00

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