[wolfssl] Add more wolfSSL and wolfSSH fuzzers (#4468)

* [wolfssl] Add more wolfSSL and wolfSSH fuzzers

* [wolfssl] Don't build new fuzzers with dataflow

Same issue as https://github.com/google/oss-fuzz/issues/4402
Try again after that issue is resolved.
This commit is contained in:
Guido Vranken 2020-09-22 20:33:27 +02:00 committed by GitHub
parent 25e212436a
commit c21680d835
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 13 additions and 0 deletions

View File

@ -18,6 +18,9 @@ FROM gcr.io/oss-fuzz-base/base-builder
RUN apt-get update && apt-get install -y make autoconf automake libtool zip
RUN git clone https://github.com/wolfssl/wolfssl --depth 1 $SRC/wolfssl
RUN git clone --depth 1 https://github.com/wolfSSL/wolfssh.git
RUN git clone --depth 1 https://github.com/guidovranken/fuzzing-headers.git
RUN git clone --depth 1 https://github.com/guidovranken/wolf-ssl-ssh-fuzzers
RUN git clone https://github.com/wolfssl/oss-fuzz-targets --depth 1 $SRC/fuzz-targets
WORKDIR wolfssl

View File

@ -15,6 +15,15 @@
#
################################################################################
if [[ $CFLAGS != *sanitize=dataflow* ]]
then
NEW_SRC=$SRC/wolf-ssl-ssh-fuzzers/oss-fuzz/projects/wolf-ssl-ssh/
cp -R $SRC/wolfssl/ $NEW_SRC
cp -R $SRC/wolfssh/ $NEW_SRC
cp -R $SRC/fuzzing-headers/ $NEW_SRC
OSS_FUZZ_BUILD=1 SRC="$NEW_SRC" $NEW_SRC/build.sh
fi
# target_dir determined by Dockerfile
target_dir="$SRC/fuzz-targets"

View File

@ -7,6 +7,7 @@ auto_ccs:
- "kaleb.himes@gmail.com"
- "levi@wolfssl.com"
- "testing@wolfssl.com"
- "guidovranken@gmail.com"
fuzzing_engines:
- libfuzzer
- afl