From 6328e74b1e6673eb6a70548f6a71c3eca844dcdf Mon Sep 17 00:00:00 2001 From: DavidKorczynski Date: Mon, 23 May 2022 12:32:22 +0100 Subject: [PATCH] cel-go: fix libprotobuf-mutator (#7741) Ref: https://github.com/google/oss-fuzz/issues/7736 --- projects/cel-go/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/cel-go/build.sh b/projects/cel-go/build.sh index f27842b02..48ac7aeb9 100755 --- a/projects/cel-go/build.sh +++ b/projects/cel-go/build.sh @@ -18,8 +18,8 @@ mkdir fuzzlpm $SRC/LPM/external.protobuf/bin/protoc --cpp_out=fuzzlpm/ -I$SRC/ $SRC/cel-go-lpm.proto -$CXX $CXXFLAGS -c -I fuzzlpm/ -I $SRC/LPM/external.protobuf/include fuzzlpm/cel-go-lpm.pb.cc -$CXX $CXXFLAGS -c -I. -I ../libprotobuf-mutator/ -I $SRC/LPM/external.protobuf/include $SRC/go-lpm.cc +$CXX $CXXFLAGS -DNDEBUG -c -I fuzzlpm/ -I $SRC/LPM/external.protobuf/include fuzzlpm/cel-go-lpm.pb.cc +$CXX $CXXFLAGS -DNDEBUG -c -I. -I ../libprotobuf-mutator/ -I $SRC/LPM/external.protobuf/include $SRC/go-lpm.cc ( cd $SRC/go114-fuzz-build