From 1e9d8d25fddec1a3a846a6d52cfe2e8a01bca419 Mon Sep 17 00:00:00 2001 From: Abhishek Arya Date: Mon, 6 Mar 2017 10:05:31 -0800 Subject: [PATCH] Enable AddressUseAfterScope everywhere, fix #426 --- infra/base-images/base-builder/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infra/base-images/base-builder/Dockerfile b/infra/base-images/base-builder/Dockerfile index b4433f2ca..b21dd308b 100644 --- a/infra/base-images/base-builder/Dockerfile +++ b/infra/base-images/base-builder/Dockerfile @@ -19,7 +19,7 @@ MAINTAINER mike.aizatsky@gmail.com RUN apt-get install -y git subversion jq python3 zip make # Default build flags for various sanitizers. -ENV SANITIZER_FLAGS_address "-fsanitize=address" +ENV SANITIZER_FLAGS_address "-fsanitize=address -fsanitize-address-use-after-scope" ENV SANITIZER_FLAGS_undefined "-fsanitize=bool,function,signed-integer-overflow,shift,vla-bound,vptr -fno-sanitize-recover=undefined" ENV SANITIZER_FLAGS_memory "-fsanitize=memory -fsanitize-memory-track-origins"