aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLuca Deri <lucaderi@users.noreply.github.com>2020-01-23 18:36:40 +0100
committerGitHub <noreply@github.com>2020-01-23 18:36:40 +0100
commitcedbf3b636ebd318aa38aeb08a588fbf8a4eb096 (patch)
treeda71485e5ea1dc6d68f57fa9708fbc7883f6f612 /tests
parent5f6fd8d2a57d5f004e9661b7ce658aff7dc6ece0 (diff)
parentcbb755666eb719731d29fa6860948638c1e00478 (diff)
Merge pull request #832 from catenacyber/travisfuzz
Adds fuzz targets build and run to travis
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
}