From 1a6f401773fec4a80a1c8a05b25320b2d03caf20 Mon Sep 17 00:00:00 2001 From: VZ Date: Tue, 17 Dec 2019 02:57:56 +0100 Subject: [PATCH] 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. --- projects/wxwidgets/build.sh | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/projects/wxwidgets/build.sh b/projects/wxwidgets/build.sh index bb45c4e38..e90bd397d 100755 --- a/projects/wxwidgets/build.sh +++ b/projects/wxwidgets/build.sh @@ -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