mirror of https://github.com/google/oss-fuzz.git
[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
This commit is contained in:
parent
70c5df7cfd
commit
80d214878c
|
@ -62,11 +62,11 @@ if [[ $CFLAGS != *sanitize=memory* ]]; then
|
||||||
echo "Building fuzzer $fuzzerName"
|
echo "Building fuzzer $fuzzerName"
|
||||||
$CXX $CXXFLAGS -I genfiles -I . -I $SRC/libprotobuf-mutator/ -I $SRC/LPM/external.protobuf/include -I include $LIB_FUZZING_ENGINE \
|
$CXX $CXXFLAGS -I genfiles -I . -I $SRC/libprotobuf-mutator/ -I $SRC/LPM/external.protobuf/include -I include $LIB_FUZZING_ENGINE \
|
||||||
-I $SRC/boringssl/include \
|
-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 \
|
./ssl/libssl.a ./crypto/libcrypto.a \
|
||||||
$SRC/LPM/src/libfuzzer/libprotobuf-mutator-libfuzzer.a \
|
$SRC/LPM/src/libfuzzer/libprotobuf-mutator-libfuzzer.a \
|
||||||
$SRC/LPM/src/libprotobuf-mutator.a \
|
$SRC/LPM/src/libprotobuf-mutator.a \
|
||||||
$SRC/LPM/external.protobuf/lib/libprotobuf.a \
|
$SRC/LPM/external.protobuf/lib/libprotobuf.a \
|
||||||
-o $OUT/"${fuzzerName}_lpm"
|
-o $OUT/"${fuzzerName}_lpm"
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue