Add fuzzing script.

This commit is contained in:
Ian Gulliver
2016-02-26 14:34:53 -08:00
parent a9cfb590e1
commit 207cd1e3a1

8
adsbus/fuzz.sh Executable file
View File

@@ -0,0 +1,8 @@
#!/bin/sh
set -x
set -e
test -d findings || mkdir findings
make clean
COMP=afl-clang make
afl-fuzz -i testcase/ -o findings/ ./adsbus --stdin --stdout=airspy_adsb --stdout=beast --stdout=json --stdout=proto --stdout=raw --stdout=stats