We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e570065 + a77af68 commit 16413c2Copy full SHA for 16413c2
tests/ossfuzz.sh
@@ -18,9 +18,15 @@
18
# This script is meant to be run by
19
# https://github.com/google/oss-fuzz/blob/master/projects/miniz/Dockerfile
20
21
+cat << "EOF" > miniz_export.h
22
+#ifndef MINIZ_EXPORT
23
+#define MINIZ_EXPORT
24
+#endif
25
+EOF
26
+
27
mkdir build
28
cd build
-cmake .. -DAMALGAMATE_SOURCES=ON -DBUILD_SHARED_LIBS=OFF -DBUILD_FUZZERS=ON
29
+cmake .. -DAMALGAMATE_SOURCES=ON -DBUILD_SHARED_LIBS=OFF -DBUILD_FUZZERS=ON -DBUILD_TESTS=OFF
30
make -j$(nproc)
31
cd ..
32
@@ -39,4 +45,4 @@ done
39
45
rm -f $OUT/zip_fuzzer_seed_corpus.zip
40
46
zip $OUT/zip_fuzzer_seed_corpus.zip $OUT/seed_corpus.zip
41
47
42
-cp tests/zip.dict $OUT/zip_fuzzer.dict
48
+cp tests/zip.dict $OUT/zip_fuzzer.dict
0 commit comments