File tree Expand file tree Collapse file tree 3 files changed +8
-21
lines changed
Expand file tree Collapse file tree 3 files changed +8
-21
lines changed Original file line number Diff line number Diff line change @@ -18,13 +18,10 @@ FROM gcr.io/oss-fuzz-base/base-builder
1818RUN apt-get update && apt-get install -y make
1919RUN git clone --depth 1 https://github.com/openssl/openssl.git
2020RUN cd $SRC/openssl/ && git submodule update --init fuzz/corpora
21- RUN git clone --depth 1 --branch openssl-3.0 https://github.com/openssl/openssl.git openssl30
22- RUN git clone --depth 1 --branch openssl-3.2 https://github.com/openssl/openssl.git openssl32
2321RUN git clone --depth 1 --branch openssl-3.3 https://github.com/openssl/openssl.git openssl33
2422RUN git clone --depth 1 --branch openssl-3.4 https://github.com/openssl/openssl.git openssl34
2523RUN git clone --depth 1 --branch openssl-3.5 https://github.com/openssl/openssl.git openssl35
2624RUN git clone --depth 1 --branch openssl-3.6 https://github.com/openssl/openssl.git openssl36
27- RUN cd $SRC/openssl32/ && git submodule update --init fuzz/corpora
2825RUN cd $SRC/openssl33/ && git submodule update --init fuzz/corpora
2926RUN cd $SRC/openssl34/ && git submodule update --init fuzz/corpora
3027RUN cd $SRC/openssl35/ && git submodule update --init fuzz/corpora
Original file line number Diff line number Diff line change 1717
1818export FUZZ_INTROSPECTOR_CONFIG=$SRC /openssl/fuzz/fuzz_introspector_exclusion.config
1919
20- CONFIGURE_FLAGS=" --debug enable-fuzz-libfuzzer -DPEDANTIC -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION no-shared enable-tls1_3 enable-rc5 enable-md2 enable-nextprotoneg enable-weak-ssl-ciphers --with-fuzzer-lib=/usr/lib/libFuzzingEngine $CFLAGS -fno-sanitize=alignment enable-unit-test"
20+ CONFIGURE_FLAGS=" --debug enable-fuzz-libfuzzer -DPEDANTIC -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION no-shared enable-tls1_3 enable-rc5 enable-md2 enable-nextprotoneg enable-weak-ssl-ciphers --with-fuzzer-lib=/usr/lib/libFuzzingEngine $CFLAGS -fno-sanitize=alignment enable-unit-test no-apps no-tests "
2121if [[ $CFLAGS = * sanitize= memory* ]]
2222then
2323 CONFIGURE_FLAGS=" $CONFIGURE_FLAGS no-asm"
@@ -45,6 +45,8 @@ function build_fuzzers() {
4545 ./config $CONFIGURE_FLAGS
4646 fi
4747
48+ df -h
49+
4850 make -j$( nproc) LDCMD=" $CXX $CXXFLAGS "
4951
5052 fuzzers=$( find fuzz -executable -type f ' !' -name \* .py ' !' -name \* -test ' !' -name \* .pl ' !' -name \* .sh)
@@ -71,38 +73,26 @@ function build_fuzzers() {
7173 fi
7274 find $SOURCES -type f -a \( -name ' *.[ch]' -o -name ' *.inc' \) -exec cp --parents ' {}' $DESTDIR / \;
7375 fi
76+
77+ df -h
78+ git clean -dfx
79+ df -h
7480}
7581
7682cd $SRC /openssl/
7783build_fuzzers " "
78- make clean
7984
8085# In introspector, indexer builds and when capturing replay builds, only build
8186# the master branch
8287if [[ " $SANITIZER " == introspector || -n " ${INDEXER_BUILD:- } " || -n " ${CAPTURE_REPLAY_SCRIPT:- } " ]]; then
8388 exit 0
8489fi
8590
86- cd $SRC /openssl30/
87- build_fuzzers " _30"
88- make clean
89-
90- cd $SRC /openssl32/
91- build_fuzzers " _32"
92- make clean
93-
9491cd $SRC /openssl33/
9592build_fuzzers " _33"
96- make clean
97-
9893cd $SRC /openssl34/
9994build_fuzzers " _34"
100- make clean
101-
10295cd $SRC /openssl35/
10396build_fuzzers " _35"
104- make clean
105-
10697cd $SRC /openssl36/
10798build_fuzzers " _36"
108- make clean
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ auto_ccs:
1414 - " viktor@openssl.org"
1515 - " andrewd@openssl.org"
1616 - " nikolap@openssl.org"
17- - " mbroz @openssl.org"
17+ - " milanb @openssl.org"
1818sanitizers :
1919 - address
2020 - memory :
You can’t perform that action at this time.
0 commit comments