From f8315f073ff5ce00b2fb1afa6957d3b7f97d9230 Mon Sep 17 00:00:00 2001 From: Tom Cherry Date: Wed, 5 Dec 2018 13:37:26 -0800 Subject: [PATCH] init: disable asan Asan requires /proc to be mounted, which means it fundamentally cannot be used with first stage init. Given that second stage init now contains the logic for first stage init, asan must be disabled on all of init until this can be resolved. Bug: 120424438 Bug: 120561310 Test: Asan builds boot Change-Id: I24d1a0c8ecb5eb3f77435e6e36432c7b4cb97c6a --- init/Android.bp | 1 + 1 file changed, 1 insertion(+) diff --git a/init/Android.bp b/init/Android.bp index ea66ac63b..e7b851665 100644 --- a/init/Android.bp +++ b/init/Android.bp @@ -19,6 +19,7 @@ cc_defaults { cpp_std: "experimental", sanitize: { misc_undefined: ["signed-integer-overflow"], + address: false, // TODO(b/120561310): Fix ASAN to work without /proc mounted and re-enable. }, cflags: [ "-DLOG_UEVENTS=0",