Skip to content

Commit 25d3033

Browse files
authored
Merge branch 'master' into feat/abseil-ubuntu-migration
2 parents dc27372 + e2e0de9 commit 25d3033

File tree

7 files changed

+12
-22
lines changed

7 files changed

+12
-22
lines changed

projects/quiche-cloudflare/Dockerfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,4 @@ FROM gcr.io/oss-fuzz-base/base-builder-rust
1717

1818
RUN git clone --recursive --depth 1 https://github.com/cloudflare/quiche quiche
1919
COPY build.sh $SRC/
20-
ENV RUSTUP_TOOLCHAIN nightly-2025-01-10
21-
RUN rustup update
2220
WORKDIR $SRC/quiche

projects/skia/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ SKIA_ARGS="skia_build_fuzzers=true
9090
skia_use_freetype=true
9191
skia_use_system_freetype2=false
9292
skia_use_wuffs=true
93-
skia_use_libfuzzer_defaults=false"
93+
skia_provide_default_fuzz_engine=false"
9494

9595
# Even though GPU is "enabled" for all these builds, none really
9696
# uses the gpu except for api_mock_gpu_canvas.

projects/timestamp-authority/Dockerfile

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,5 @@ RUN git clone --depth=1 https://github.com/dvyukov/go-fuzz-corpus
2121
# For json dictionary
2222
RUN git clone --depth=1 https://github.com/rc0r/afl-fuzz
2323

24-
RUN wget https://go.dev/dl/go1.24.0.linux-amd64.tar.gz \
25-
&& mkdir temp-go \
26-
&& rm -rf /root/.go/* \
27-
&& tar -C temp-go/ -xzf go1.24.0.linux-amd64.tar.gz \
28-
&& mv temp-go/go/* /root/.go/
29-
3024
COPY build.sh $SRC/
3125
WORKDIR $SRC/timestamp-authority

projects/timestamp-authority/build.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,5 @@
1515
#
1616
################################################################################
1717

18-
export CXX="${CXX} -lresolv"
19-
2018
./test/fuzz/oss_fuzz_build.sh
2119

projects/wolfssl/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ RUN apt-get update && apt-get install -y make autoconf automake libtool zip wget
2020
RUN git clone --depth 1 https://github.com/wolfssl/wolfssl $SRC/wolfssl
2121
RUN git clone --depth 1 https://github.com/wolfSSL/wolfsm
2222
RUN git clone --depth 1 https://github.com/wolfSSL/wolfssh.git
23-
RUN git clone --depth 1 https://github.com/guidovranken/fuzzing-headers.git
23+
RUN git clone --depth 1 https://github.com/JacobBarthelmeh/fuzzing-headers.git
2424
RUN git clone --depth 1 https://github.com/JacobBarthelmeh/wolf-ssl-ssh-fuzzers
2525
RUN git clone --depth 1 https://github.com/MozillaSecurity/cryptofuzz
2626
RUN git clone --depth 1 https://github.com/google/wycheproof.git

projects/wolfssl/build.sh

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ then
6161
./configure $WOLFCRYPT_CONFIGURE_PARAMS --enable-opensslall --enable-opensslextra
6262
fi
6363
make -j$(nproc)
64-
export CXXFLAGS="$CXXFLAGS -DCRYPTOFUZZ_NO_OPENSSL -DCRYPTOFUZZ_WOLFCRYPT_OPENSSL"
64+
export CXXFLAGS="$CXXFLAGS -DCRYPTOFUZZ_NO_OPENSSL -DCRYPTOFUZZ_WOLFCRYPT_OPENSSL -Wno-deprecated-literal-operator"
6565
export WOLFCRYPT_LIBWOLFSSL_A_PATH="$SRC/wolfssl-openssl-api/src/.libs/libwolfssl.a"
6666
export WOLFCRYPT_INCLUDE_PATH="$SRC/wolfssl-openssl-api/"
6767
cd $SRC/cryptofuzz-openssl-api/modules/wolfcrypt-openssl
@@ -118,7 +118,7 @@ then
118118
./configure $WOLFCRYPT_CONFIGURE_PARAMS --disable-asm
119119
fi
120120
make -j$(nproc)
121-
export CXXFLAGS="$CXXFLAGS -DCRYPTOFUZZ_NO_OPENSSL -DCRYPTOFUZZ_WOLFCRYPT"
121+
export CXXFLAGS="$CXXFLAGS -DCRYPTOFUZZ_NO_OPENSSL -DCRYPTOFUZZ_WOLFCRYPT -Wno-deprecated-literal-operator"
122122
export WOLFCRYPT_LIBWOLFSSL_A_PATH="$SRC/wolfssl-normal-math/src/.libs/libwolfssl.a"
123123
export WOLFCRYPT_INCLUDE_PATH="$SRC/wolfssl-normal-math/"
124124
cd $SRC/cryptofuzz-normal-math/modules/wolfcrypt
@@ -139,7 +139,7 @@ then
139139
CFLAGS="$CFLAGS -DHAVE_AES_ECB -DWOLFSSL_DES_ECB -DHAVE_ECC_SECPR2 -DHAVE_ECC_SECPR3 -DHAVE_ECC_BRAINPOOL -DHAVE_ECC_KOBLITZ -DWOLFSSL_ECDSA_SET_K -DWOLFSSL_ECDSA_SET_K_ONE_LOOP -DWOLFSSL_SP_INT_NEGATIVE"
140140
./configure $WOLFCRYPT_CONFIGURE_PARAMS --enable-sp-math-all
141141
make -j$(nproc)
142-
export CXXFLAGS="$CXXFLAGS -DCRYPTOFUZZ_NO_OPENSSL -DCRYPTOFUZZ_WOLFCRYPT"
142+
export CXXFLAGS="$CXXFLAGS -DCRYPTOFUZZ_NO_OPENSSL -DCRYPTOFUZZ_WOLFCRYPT -Wno-deprecated-literal-operator"
143143
export WOLFCRYPT_LIBWOLFSSL_A_PATH="$SRC/wolfssl-sp-math-all/src/.libs/libwolfssl.a"
144144
export WOLFCRYPT_INCLUDE_PATH="$SRC/wolfssl-sp-math-all/"
145145
cd $SRC/cryptofuzz-sp-math-all/modules/wolfcrypt
@@ -160,7 +160,7 @@ then
160160
CFLAGS="$CFLAGS -DHAVE_AES_ECB -DWOLFSSL_DES_ECB -DHAVE_ECC_SECPR2 -DHAVE_ECC_SECPR3 -DHAVE_ECC_BRAINPOOL -DHAVE_ECC_KOBLITZ -DWOLFSSL_ECDSA_SET_K -DWOLFSSL_ECDSA_SET_K_ONE_LOOP -DSP_WORD_SIZE=8 -DWOLFSSL_SP_INT_NEGATIVE"
161161
./configure $WOLFCRYPT_CONFIGURE_PARAMS --enable-sp-math-all
162162
make -j$(nproc)
163-
export CXXFLAGS="$CXXFLAGS -DCRYPTOFUZZ_NO_OPENSSL -DCRYPTOFUZZ_WOLFCRYPT"
163+
export CXXFLAGS="$CXXFLAGS -DCRYPTOFUZZ_NO_OPENSSL -DCRYPTOFUZZ_WOLFCRYPT -Wno-deprecated-literal-operator"
164164
export WOLFCRYPT_LIBWOLFSSL_A_PATH="$SRC/wolfssl-sp-math-all-8bit/src/.libs/libwolfssl.a"
165165
export WOLFCRYPT_INCLUDE_PATH="$SRC/wolfssl-sp-math-all-8bit/"
166166
cd $SRC/cryptofuzz-sp-math-all-8bit/modules/wolfcrypt
@@ -192,7 +192,7 @@ then
192192
./configure $WOLFCRYPT_CONFIGURE_PARAMS_SP_MATH --enable-sp --enable-sp-math
193193
fi
194194
make -j$(nproc)
195-
export CXXFLAGS="$CXXFLAGS -DCRYPTOFUZZ_NO_OPENSSL -DCRYPTOFUZZ_WOLFCRYPT"
195+
export CXXFLAGS="$CXXFLAGS -DCRYPTOFUZZ_NO_OPENSSL -DCRYPTOFUZZ_WOLFCRYPT -Wno-deprecated-literal-operator"
196196
export WOLFCRYPT_LIBWOLFSSL_A_PATH="$SRC/wolfssl-sp-math/src/.libs/libwolfssl.a"
197197
export WOLFCRYPT_INCLUDE_PATH="$SRC/wolfssl-sp-math/"
198198
cd $SRC/cryptofuzz-sp-math/modules/wolfcrypt
@@ -213,7 +213,7 @@ then
213213
CFLAGS="$CFLAGS -DHAVE_AES_ECB -DWOLFSSL_DES_ECB -DHAVE_ECC_SECPR2 -DHAVE_ECC_SECPR3 -DHAVE_ECC_BRAINPOOL -DHAVE_ECC_KOBLITZ -DWOLFSSL_ECDSA_SET_K -DWOLFSSL_ECDSA_SET_K_ONE_LOOP"
214214
./configure $WOLFCRYPT_CONFIGURE_PARAMS --enable-fastmath
215215
make -j$(nproc)
216-
export CXXFLAGS="$CXXFLAGS -DCRYPTOFUZZ_NO_OPENSSL -DCRYPTOFUZZ_WOLFCRYPT"
216+
export CXXFLAGS="$CXXFLAGS -DCRYPTOFUZZ_NO_OPENSSL -DCRYPTOFUZZ_WOLFCRYPT -Wno-deprecated-literal-operator"
217217
export WOLFCRYPT_LIBWOLFSSL_A_PATH="$SRC/wolfssl-fastmath/src/.libs/libwolfssl.a"
218218
export WOLFCRYPT_INCLUDE_PATH="$SRC/wolfssl-fastmath/"
219219
cd $SRC/cryptofuzz-fastmath/modules/wolfcrypt
@@ -234,7 +234,7 @@ then
234234
CFLAGS="$CFLAGS -DHAVE_AES_ECB -DWOLFSSL_DES_ECB -DHAVE_ECC_SECPR2 -DHAVE_ECC_SECPR3 -DHAVE_ECC_BRAINPOOL -DHAVE_ECC_KOBLITZ -DWOLFSSL_ECDSA_SET_K -DWOLFSSL_ECDSA_SET_K_ONE_LOOP"
235235
./configure $WOLFCRYPT_CONFIGURE_PARAMS --enable-heapmath
236236
make -j$(nproc)
237-
export CXXFLAGS="$CXXFLAGS -DCRYPTOFUZZ_NO_OPENSSL -DCRYPTOFUZZ_WOLFCRYPT"
237+
export CXXFLAGS="$CXXFLAGS -DCRYPTOFUZZ_NO_OPENSSL -DCRYPTOFUZZ_WOLFCRYPT -Wno-deprecated-literal-operator"
238238
export WOLFCRYPT_LIBWOLFSSL_A_PATH="$SRC/wolfssl-heapmath/src/.libs/libwolfssl.a"
239239
export WOLFCRYPT_INCLUDE_PATH="$SRC/wolfssl-heapmath/"
240240
cd $SRC/cryptofuzz-heapmath/modules/wolfcrypt
@@ -250,8 +250,8 @@ then
250250
mkdir $SRC/cryptofuzz-seed-corpus/
251251

252252
# Convert Wycheproof test vectors to Cryptofuzz corpus format
253-
find $SRC/wycheproof/testvectors/ -type f -name 'ecdsa_*' -exec $SRC/cryptofuzz-fastmath/cryptofuzz --from-wycheproof={},$SRC/cryptofuzz-seed-corpus/ \;
254-
find $SRC/wycheproof/testvectors/ -type f -name 'ecdh_*' -exec $SRC/cryptofuzz-fastmath/cryptofuzz --from-wycheproof={},$SRC/cryptofuzz-seed-corpus/ \;
253+
find $SRC/wycheproof/testvectors_v1/ -type f -name 'ecdsa_*' -exec $SRC/cryptofuzz-fastmath/cryptofuzz --from-wycheproof={},$SRC/cryptofuzz-seed-corpus/ \;
254+
find $SRC/wycheproof/testvectors_v1/ -type f -name 'ecdh_*' -exec $SRC/cryptofuzz-fastmath/cryptofuzz --from-wycheproof={},$SRC/cryptofuzz-seed-corpus/ \;
255255

256256
# Unpack corpora from other projects
257257
unzip -n $SRC/corpus_bearssl.zip -d $SRC/cryptofuzz_seed_corpus/ >/dev/null

projects/wolfssl/project.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ auto_ccs:
99
- "testing@wolfssl.com"
1010
- "dgarske80@gmail.com"
1111
- "douzzer@mega.nu"
12-
- "guidovranken@gmail.com"
1312
- "jordan@wolfssl.com"
1413
- "jordanjphillips1@gmail.com"
1514
- "anthony@wolfssl.com"
1615
- "anthony.hu.76@gmail.com"
1716
- "kareem@wolfssl.com"
17+
- "sean@wolfssl.com"
1818
fuzzing_engines:
1919
- libfuzzer
2020
- honggfuzz

0 commit comments

Comments
 (0)