diff options
author | 2019-12-17 02:57:56 +0100 | |
---|---|---|
committer | 2019-12-16 17:57:56 -0800 | |
commit | 1a6f401773fec4a80a1c8a05b25320b2d03caf20 (patch) | |
tree | aed5c7c0e1c0511da5e3176413be55b7bebe4c57 /projects/wxwidgets | |
parent | 2c05fb229fe9d7c915947ea2802f2b8bc111117d (diff) |
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.
Diffstat (limited to 'projects/wxwidgets')
-rwxr-xr-x | projects/wxwidgets/build.sh | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/projects/wxwidgets/build.sh b/projects/wxwidgets/build.sh index bb45c4e3..e90bd397 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 |