From 80d214878ccc074c4d10d9c5a400014cb592aed3 Mon Sep 17 00:00:00 2001 From: sleevi Date: Mon, 10 Aug 2020 15:49:33 -0400 Subject: [PATCH] [boringssl] Fix BoringSSL build break (#4294) The upstream LPM-based fuzzer changed its layout, so update the build files to reflect this. This may make sense as a separate .a file in the future to avoid these breaks. Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=24776 --- projects/boringssl/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/boringssl/build.sh b/projects/boringssl/build.sh index ca252ba54..7e6302fad 100755 --- a/projects/boringssl/build.sh +++ b/projects/boringssl/build.sh @@ -62,11 +62,11 @@ if [[ $CFLAGS != *sanitize=memory* ]]; then echo "Building fuzzer $fuzzerName" $CXX $CXXFLAGS -I genfiles -I . -I $SRC/libprotobuf-mutator/ -I $SRC/LPM/external.protobuf/include -I include $LIB_FUZZING_ENGINE \ -I $SRC/boringssl/include \ - $F genfiles/asn1_pdu.pb.cc $SRC/asn1_pdu_to_der.cc \ + $F genfiles/asn1_pdu.pb.cc $SRC/asn1_pdu_to_der.cc $SRC/common.cc \ ./ssl/libssl.a ./crypto/libcrypto.a \ $SRC/LPM/src/libfuzzer/libprotobuf-mutator-libfuzzer.a \ $SRC/LPM/src/libprotobuf-mutator.a \ $SRC/LPM/external.protobuf/lib/libprotobuf.a \ -o $OUT/"${fuzzerName}_lpm" done -fi \ No newline at end of file +fi