mirror of https://github.com/google/oss-fuzz.git
[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:
parent
25e212436a
commit
c21680d835
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
|
@ -7,6 +7,7 @@ auto_ccs:
|
|||
- "kaleb.himes@gmail.com"
|
||||
- "levi@wolfssl.com"
|
||||
- "testing@wolfssl.com"
|
||||
- "guidovranken@gmail.com"
|
||||
fuzzing_engines:
|
||||
- libfuzzer
|
||||
- afl
|
||||
|
|
Loading…
Reference in New Issue