From 366da3eb14165d8c7c957e954ca2b60b1066108c Mon Sep 17 00:00:00 2001 From: "Adi (Suissa) Peleg" Date: Fri, 17 Feb 2023 15:29:51 -0500 Subject: [PATCH] Envoy: remove memory sanitizer (#9742) In PR #9719 I accidentally added the memory sanitizer, which brakes the oss-fuzz build: ``` Step #23 - "compile-libfuzzer-memory-x86_64": ld.lld: error: undefined symbol: __msan_param_tls Step #23 - "compile-libfuzzer-memory-x86_64": >>> referenced by gtest-internal.h:522 (external/com_google_googletest/googletest/include/gtest/internal/gtest-internal.h:522) Step #23 - "compile-libfuzzer-memory-x86_64": >>> bazel-out/k8-fastbuild-ST-d2373e19ffe2/bin/test/common/router/_objs/config_impl_test_lib/config_impl_test.pic.o:(testing::internal::SuiteApiResolver::GetSetUpCaseOrSuite(char const*, int)) Step #23 - "compile-libfuzzer-memory-x86_64": >>> referenced by gtest-internal.h:543 (external/com_google_googletest/googletest/include/gtest/internal/gtest-internal.h:543) Step #23 - "compile-libfuzzer-memory-x86_64": >>> bazel-out/k8-fastbuild-ST-d2373e19ffe2/bin/test/common/router/_objs/config_impl_test_lib/config_impl_test.pic.o:(testing::internal::SuiteApiResolver::GetTearDownCaseOrSuite(char const*, int)) Step #23 - "compile-libfuzzer-memory-x86_64": >>> referenced by gtest-internal.h:522 (external/com_google_googletest/googletest/include/gtest/internal/gtest-internal.h:522) Step #23 - "compile-libfuzzer-memory-x86_64": >>> bazel-out/k8-fastbuild-ST-d2373e19ffe2/bin/test/common/router/_objs/config_impl_test_lib/config_impl_test.pic.o:(testing::internal::SuiteApiResolver::GetSetUpCaseOrSuite(char const*, int)) Step #23 - "compile-libfuzzer-memory-x86_64": >>> referenced 377754 more times ``` This PR keeps the address and undefined sanitizer. Signed-off-by: Adi Suissa-Peleg --- projects/envoy/project.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/projects/envoy/project.yaml b/projects/envoy/project.yaml index 3192ac0e2..25a2ba506 100644 --- a/projects/envoy/project.yaml +++ b/projects/envoy/project.yaml @@ -25,7 +25,6 @@ coverage_extra_args: -ignore-filename-regex=.*\.cache.*envoy_deps_cache.* main_repo: 'https://github.com/envoyproxy/envoy.git' sanitizers: - address - - memory - undefined fuzzing_engines: - libfuzzer