mirror of https://github.com/google/oss-fuzz.git
Update build script (#860)
This commit is contained in:
parent
bf16050624
commit
84d20d9ac9
|
@ -1,12 +1,12 @@
|
|||
#!/bin/bash -eu
|
||||
|
||||
cmake . -DBUILD_SHARED_LIBS=OFF -DBUILD_TESTING=OFF
|
||||
cmake . -DBUILD_TESTING=OFF
|
||||
make clean
|
||||
make -j$(nproc) brotlidec
|
||||
make -j$(nproc) brotlidec-static
|
||||
|
||||
$CXX $CXXFLAGS -std=c++11 -I. \
|
||||
c/fuzz/decode_fuzzer.cc -I./c/include -o $OUT/decode_fuzzer \
|
||||
-lFuzzingEngine ./libbrotlidec.a ./libbrotlicommon.a
|
||||
-lFuzzingEngine ./libbrotlidec-static.a ./libbrotlicommon-static.a
|
||||
|
||||
cp java/org/brotli/integration/fuzz_data.zip $OUT/decode_fuzzer_seed_corpus.zip
|
||||
chmod a-x $OUT/decode_fuzzer_seed_corpus.zip # we will try to run it otherwise
|
||||
|
|
Loading…
Reference in New Issue