hostap/tests/fuzzing
Jouni Malinen 6fb526d457 tests: Fix fuzzing/asn1 build
asn1.c needs wpabuf.c to be included now.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2020-02-03 17:45:26 +02:00
..
ap-mgmt
asn1 tests: Fix fuzzing/asn1 build 2020-02-03 17:45:26 +02:00
eap-aka-peer
eap-mschapv2-peer tests: New style fuzzing tool for EAP-MSCHAPv2 peer processing 2019-12-24 10:59:22 +02:00
eap-sim-peer
eapol-key-auth Store a copy of Association Request RSNXE in AP mode for later use 2019-10-18 00:20:29 +03:00
eapol-key-supp Remove CONFIG_IEEE80211W build parameter 2019-09-08 17:33:40 +03:00
eapol-supp
json
p2p
tls-client
tls-server
wnm
x509
build-test.sh
fuzzer-common.c tests: New style fuzzing tool for wpa_supplicant WNM handling 2019-06-02 13:00:36 +03:00
fuzzer-common.h
README
rules.include

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