initial commit
Signed-off-by: Peter Siegmund <mars3142@noreply.mars3142.dev>
This commit is contained in:
12
libs/wxWidgets-3.3.1/tests/fuzz/ossfuzz.sh
Executable file
12
libs/wxWidgets-3.3.1/tests/fuzz/ossfuzz.sh
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash -eu
|
||||
|
||||
# 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 tests/fuzz/corpus/zip/*
|
||||
Reference in New Issue
Block a user