mirror of https://github.com/google/oss-fuzz.git
[qcms] build seed corpus automatically (#1771)
* build corpus automatically * faster hg clone
This commit is contained in:
parent
6166c33657
commit
ed900e11a7
|
@ -17,7 +17,6 @@
|
|||
FROM gcr.io/oss-fuzz-base/base-builder
|
||||
MAINTAINER pdknsk@gmail.com
|
||||
RUN apt-get update && apt-get install -y mercurial
|
||||
RUN hg clone https://hg.mozilla.org/mozilla-central/
|
||||
ADD http://cdn.pwmon.org/oss-fuzz/qcms/fuzz_seed_corpus.zip $SRC/
|
||||
RUN hg clone --uncompressed https://hg.mozilla.org/mozilla-central/
|
||||
COPY build.sh $SRC/
|
||||
WORKDIR mozilla-central/gfx/qcms
|
||||
|
|
|
@ -32,5 +32,6 @@ $CXX $CXXFLAGS -std=c++11 \
|
|||
-lFuzzingEngine \
|
||||
fuzztest/qcms_fuzzer.cpp -o $OUT/fuzz
|
||||
|
||||
find fuzztest -iname "*.icc" \
|
||||
-type f -exec zip -qju $OUT/fuzz_seed_corpus.zip "{}" \;
|
||||
cp fuzztest/qcms_fuzzer.dict $OUT/fuzz.dict
|
||||
cp $SRC/fuzz_seed_corpus.zip $OUT
|
||||
|
|
Loading…
Reference in New Issue