hostap/tests/fuzzing
Jouni Malinen 5e6ab36df8 tests: Add X.509v3 parsing example with invalid BasicConstraints
This is a regression test based on an input data from OSS-Fuzz.

Signed-off-by: Jouni Malinen <j@w1.fi>
2019-06-22 18:15:22 +03:00
..
ap-mgmt tests: Fix ap-mgmt 'make clean' 2019-06-03 13:51:41 +03:00
asn1
eap-aka-peer
eap-sim-peer
eapol-key-auth tests: Fix eapol-key-auth memory use for the callback pointer struct 2019-06-07 23:54:20 +03:00
eapol-key-supp
eapol-supp
json
p2p
tls-client
tls-server
wnm
x509 tests: Add X.509v3 parsing example with invalid BasicConstraints 2019-06-22 18:15:22 +03:00
build-test.sh
fuzzer-common.c
fuzzer-common.h
README
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@ @@