You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
hostap/tests/fuzzing
Jouni Malinen e55dedbf6e tests/fuzzing: Fix build after CONFIG_IEEE80211N=y removal
Commit f3bcd69603 ("Remove CONFIG_IEEE80211N build option") broke
couple of fuzzing test tools due to missing wpa_scan_results_free(). Fix
that by pulling in driver_common.o.

Signed-off-by: Jouni Malinen <j@w1.fi>
4 years ago
..
ap-mgmt tests/fuzzing: Fix build after CONFIG_IEEE80211N=y removal 4 years ago
asn1 tests: Fix fuzzing/asn1 build 4 years ago
eap-aka-peer Replace EapType typedef with enum eap_type 5 years ago
eap-mschapv2-peer tests: New style fuzzing tool for EAP-MSCHAPv2 peer processing 5 years ago
eap-sim-peer Replace EapType typedef with enum eap_type 5 years ago
eapol-key-auth tests/fuzzing: Fix build after CONFIG_IEEE80211N=y removal 4 years ago
eapol-key-supp Remove CONFIG_IEEE80211W build parameter 5 years ago
eapol-supp tests: New style fuzzing tool for EAPOL frame processing (supplicant) 5 years ago
json tests: New style fuzzing tool for JSON parser 5 years ago
p2p tests: New style fuzzing tool for P2P frame processing 5 years ago
tls-client tests: New style fuzzing tools for TLS client/server 5 years ago
tls-server tests: New style fuzzing tools for TLS client/server 5 years ago
wnm tests: New style fuzzing tool for wpa_supplicant WNM handling 5 years ago
x509 tests: Add X.509v3 parsing example with invalid BasicConstraints 5 years ago
README tests: New style fuzzing tool for wpa_supplicant WNM handling 5 years ago
build-test.sh tests: Build test for new fuzzer tools 5 years ago
fuzzer-common.c tests: New style fuzzing tool for wpa_supplicant WNM handling 5 years ago
fuzzer-common.h tests: New style fuzzing tool for wpa_supplicant WNM handling 5 years ago
rules.include tests: Fix CFLAGS passing for new fuzzing tools 5 years ago

README

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