aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorPhilippe Antoine <contact@catenacyber.fr>2020-01-22 16:36:12 +0100
committerPhilippe Antoine <contact@catenacyber.fr>2020-01-22 16:36:12 +0100
commit1d024ece7a7ce165e5fd8c7e048b9a4058a0b6d7 (patch)
treeb4fadd8d0c2dc62c872e61723a2d9a9f35cf4f0d /tests
parent5a40f9b7fd50a53a55e0d842672b68abb5543190 (diff)
Adds fuzz targets build and run to travis
Build comes with the different sanitizers
Diffstat (limited to 'tests')
-rwxr-xr-xtests/do.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/do.sh b/tests/do.sh
index 40b93e063..5c7ea452e 100755
--- a/tests/do.sh
+++ b/tests/do.sh
@@ -13,6 +13,10 @@ build_results() {
CMD="$READER -q -i pcap/$f -w result/$f.out -v 2"
$CMD
fi
+ # test fuzz target built with sanitizer on input from corpus
+ if [ -f ../fuzz/fuzz_ndpi_reader ]; then
+ ../fuzz/fuzz_ndpi_reader pcap/$f
+ fi
done
}