mirror of https://github.com/google/oss-fuzz.git
[libvpx] Add zip file for fuzzer seed file (#2025)
Modify build.sh to copy file to output for processing
This commit is contained in:
parent
834c12dc13
commit
47a3c6425b
|
@ -18,5 +18,6 @@ FROM gcr.io/oss-fuzz-base/base-builder
|
|||
MAINTAINER jzern@google.com
|
||||
RUN apt-get update && apt-get install -y yasm wget gcc
|
||||
RUN git clone https://chromium.googlesource.com/webm/libvpx
|
||||
ADD https://storage.googleapis.com/downloads.webmproject.org/test_data/fuzzer/vpx_fuzzer_seed_corpus.zip $SRC/
|
||||
COPY build.sh vpx_dec_fuzzer.dict $SRC/
|
||||
WORKDIR libvpx
|
||||
|
|
|
@ -54,6 +54,6 @@ for decoder in "${fuzzer_decoders[@]}"; do
|
|||
$SRC/libvpx/examples/${fuzzer_src_name}.cc -o $OUT/${fuzzer_name} \
|
||||
${build_dir}/libvpx.a ${build_dir}/tools_common.c.o \
|
||||
-Wl,--end-group
|
||||
|
||||
cp $SRC/vpx_fuzzer_seed_corpus.zip $OUT/${fuzzer_name}_seed_corpus.zip
|
||||
cp $SRC/vpx_dec_fuzzer.dict $OUT/${fuzzer_name}.dict
|
||||
done
|
||||
|
|
Loading…
Reference in New Issue