Adds fuzz targets build and run to travis

Build comes with the different sanitizers
This commit is contained in:
Philippe Antoine
2020-01-22 16:36:12 +01:00
parent 5a40f9b7fd
commit 1d024ece7a
2 changed files with 17 additions and 1 deletions
+4
View File
@@ -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
}