aboutsummaryrefslogtreecommitdiff
path: root/projects/dropbear
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2021-03-07 22:21:39 +0800
committerGitHub <noreply@github.com>2021-03-07 06:21:39 -0800
commitccfbc216768257d1d420bbde747446ab316be907 (patch)
treeb8532a660053e23963708e4a2bed8381a6aecc3e /projects/dropbear
parent6c544d176044a97684025bccb505dbc1eebfbbc4 (diff)
downloadoss-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/Dockerfile2
-rw-r--r--projects/dropbear/build.sh6
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/