hostap/tests/fuzzing
Jouni Malinen 581dfcc413 tests: Fix p2p fuzzer build after API change
Commit 7b121af26a ("P2P: Delay P2P scan when an external scan is in
progress") added a new argument to p2p_scan_res_handled(), but did not
update this test tool. Fix this by using hardcoded value 0 for the new
delay argument.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2020-12-23 14:09:52 +02:00
..
ap-mgmt build: Put archive files into build/ folder too 2020-10-11 11:16:00 +03:00
asn1 build: Put archive files into build/ folder too 2020-10-11 11:16:00 +03:00
dpp-uri build: Put archive files into build/ folder too 2020-10-11 11:16:00 +03:00
eap-aka-peer build: Put archive files into build/ folder too 2020-10-11 11:16:00 +03:00
eap-mschapv2-peer build: Put archive files into build/ folder too 2020-10-11 11:16:00 +03:00
eap-sim-peer build: Put archive files into build/ folder too 2020-10-11 11:16:00 +03:00
eapol-key-auth build: Put archive files into build/ folder too 2020-10-11 11:16:00 +03:00
eapol-key-supp build: Put archive files into build/ folder too 2020-10-11 11:16:00 +03:00
eapol-supp build: Put archive files into build/ folder too 2020-10-11 11:16:00 +03:00
json build: Put archive files into build/ folder too 2020-10-11 11:16:00 +03:00
p2p tests: Fix p2p fuzzer build after API change 2020-12-23 14:09:52 +02:00
sae build: Put archive files into build/ folder too 2020-10-11 11:16:00 +03:00
tls-client build: Put archive files into build/ folder too 2020-10-11 11:16:00 +03:00
tls-server build: Put archive files into build/ folder too 2020-10-11 11:16:00 +03:00
wnm build: Put archive files into build/ folder too 2020-10-11 11:16:00 +03:00
x509 build: Put archive files into build/ folder too 2020-10-11 11:16:00 +03:00
build-test.sh tests: Build test for new fuzzer tools 2019-06-02 13:00:39 +03:00
fuzzer-common.c
fuzzer-common.h
README
rules.include build: Put archive files into build/ folder too 2020-10-11 11:16:00 +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@ @@