mirror of https://github.com/google/oss-fuzz.git
expand the vorbis initial corpus (#1254)
This commit is contained in:
parent
688aadaf44
commit
e18de5fac3
|
@ -16,10 +16,10 @@
|
||||||
|
|
||||||
FROM gcr.io/oss-fuzz-base/base-builder
|
FROM gcr.io/oss-fuzz-base/base-builder
|
||||||
MAINTAINER paul.l.kehrer@mail.com
|
MAINTAINER paul.l.kehrer@mail.com
|
||||||
RUN apt-get update && apt-get install -y make autoconf automake libtool pkg-config
|
RUN apt-get update && apt-get install -y make autoconf automake libtool pkg-config wget
|
||||||
RUN git clone https://git.xiph.org/ogg.git
|
RUN git clone https://git.xiph.org/ogg.git
|
||||||
RUN git clone https://git.xiph.org/vorbis.git
|
RUN git clone https://git.xiph.org/vorbis.git
|
||||||
ADD decode_fuzzer.cc $SRC/
|
ADD decode_fuzzer.cc $SRC/
|
||||||
ADD https://upload.wikimedia.org/wikipedia/commons/f/f9/Beep_example.ogg $SRC/sample.ogg
|
RUN wget --cut-dirs 3 --recursive --level=1 -A ".ogg" https://people.xiph.org/~xiphmont/test-vectors/vorbis/
|
||||||
WORKDIR vorbis
|
WORKDIR vorbis
|
||||||
COPY build.sh $SRC/
|
COPY build.sh $SRC/
|
||||||
|
|
|
@ -17,8 +17,7 @@
|
||||||
|
|
||||||
cd $SRC
|
cd $SRC
|
||||||
|
|
||||||
mkdir decode_corpus
|
mv people.xiph.org decode_corpus
|
||||||
mv sample.ogg decode_corpus/
|
|
||||||
zip -r "$OUT/decode_fuzzer_seed_corpus.zip" decode_corpus/
|
zip -r "$OUT/decode_fuzzer_seed_corpus.zip" decode_corpus/
|
||||||
|
|
||||||
cd $SRC/ogg
|
cd $SRC/ogg
|
||||||
|
|
Loading…
Reference in New Issue