mirror of https://github.com/google/oss-fuzz.git
12 lines
328 B
Bash
12 lines
328 B
Bash
|
#!/bin/bash -eu
|
||
|
|
||
|
cmake . -DBUILD_SHARED_LIBS=OFF -DBUILD_TESTING=OFF
|
||
|
make clean
|
||
|
make -j$(nproc) brotlidec
|
||
|
|
||
|
$CXX $CXXFLAGS -std=c++11 -I. \
|
||
|
fuzz/decode_fuzzer.cc -I./include -o $OUT/decode_fuzzer \
|
||
|
-lFuzzingEngine ./libbrotlidec.a ./libbrotlicommon.a
|
||
|
|
||
|
cp java/integration/fuzz_data.zip $OUT/decode_fuzzer_seed_corpus.zip
|