diff options
author | Matt Johnston <matt@ucc.asn.au> | 2021-03-07 22:21:39 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-07 06:21:39 -0800 |
commit | ccfbc216768257d1d420bbde747446ab316be907 (patch) | |
tree | b8532a660053e23963708e4a2bed8381a6aecc3e /projects/dropbear | |
parent | 6c544d176044a97684025bccb505dbc1eebfbbc4 (diff) | |
download | oss-fuzz-ccfbc216768257d1d420bbde747446ab316be907.tar.gz |
dropbear: move corpus out of the source checkout (#5315)
This should fix cifuzz which replaces the checkout
Diffstat (limited to 'projects/dropbear')
-rw-r--r-- | projects/dropbear/Dockerfile | 2 | ||||
-rw-r--r-- | projects/dropbear/build.sh | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/projects/dropbear/Dockerfile b/projects/dropbear/Dockerfile index c42d17bb0..f2c235486 100644 --- a/projects/dropbear/Dockerfile +++ b/projects/dropbear/Dockerfile @@ -16,8 +16,8 @@ FROM gcr.io/oss-fuzz-base/base-builder RUN apt-get update && apt-get install -y libz-dev autoconf mercurial +RUN hg clone https://hg.ucc.asn.au/dropbear-fuzzcorpus dropbear-corpus RUN git clone https://github.com/mkj/dropbear dropbear -RUN hg clone https://hg.ucc.asn.au/dropbear-fuzzcorpus dropbear/corpus WORKDIR dropbear COPY build.sh *.options $SRC/ diff --git a/projects/dropbear/build.sh b/projects/dropbear/build.sh index d3d89e87e..973211069 100644 --- a/projects/dropbear/build.sh +++ b/projects/dropbear/build.sh @@ -27,9 +27,9 @@ make -j$(nproc) fuzz-targets FUZZLIB=$LIB_FUZZING_ENGINE TARGETS="$(make list-fuzz-targets)" -make -C $SRC/dropbear/corpus +make -C $SRC/dropbear-corpus cp -v $TARGETS $OUT/ cp -v *.options $OUT/ -cp -v $SRC/dropbear/corpus/*.zip $OUT/ -cp -v $SRC/dropbear/corpus/*.dict $OUT/ +cp -v $SRC/dropbear-corpus/*.zip $OUT/ +cp -v $SRC/dropbear-corpus/*.dict $OUT/ |