Run the fuzzing script from the main wxWidgets repository (#3138)

This will make it simpler to extend and maintain the script, e.g. by
adding more fuzz targets.
This commit is contained in:
VZ 2019-12-17 02:57:56 +01:00 committed by Abhishek Arya
parent 2c05fb229f
commit 1a6f401773
1 changed files with 3 additions and 10 deletions

View File

@ -15,13 +15,6 @@
#
################################################################################
# build project
./configure --without-subdirs --disable-shared --disable-sys-libs --disable-gui LDFLAGS="$CXXFLAGS"
make -j$(nproc)
# build fuzzers
$CXX $CXXFLAGS -o $OUT/zip ./tests/fuzz/zip.cpp \
$LIB_FUZZING_ENGINE `./wx-config --cxxflags --libs base`
# and copy their corpora
zip -j $OUT/zip_seed_corpus.zip $SRC/wxwidgets/tests/fuzz/corpus/zip/*
pushd $SRC/wxwidgets
./tests/fuzz/ossfuzz.sh
popd