From 2998db4fa55b18959e5362c2204ed1face9d1949 Mon Sep 17 00:00:00 2001 From: Abhishek Arya Date: Sat, 3 Feb 2018 08:33:30 -0800 Subject: [PATCH] Disable UBSan vptr (#1130) --- projects/envoy/build.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/projects/envoy/build.sh b/projects/envoy/build.sh index 3d5fe5718..1358f54c5 100755 --- a/projects/envoy/build.sh +++ b/projects/envoy/build.sh @@ -15,6 +15,10 @@ # ################################################################################ +# Disable UBSan vptr since target built with -fno-rtti. +export CFLAGS="$CFLAGS -fno-sanitize=vptr" +export CXXFLAGS="$CXXFLAGS -fno-sanitize=vptr" + FUZZER_TARGETS="\ test/common/common:base64_fuzz_test \ "