summaryrefslogtreecommitdiff
path: root/init/action_parser.cpp
diff options
context:
space:
mode:
authorTom Cherry <tomcherry@google.com>2018-10-19 11:16:27 -0700
committerTom Cherry <tomcherry@google.com>2018-10-19 11:18:58 -0700
commite0042419f8785ccb6fc02ee26d15e9b9b7805d57 (patch)
tree157b2f122315dc605883953203efd05d3ac5f7da /init/action_parser.cpp
parent30fa1b786418b6a47fb7e605134bc71a2414e412 (diff)
init: Add some ASAN helpers
Init is special. It starts early and does not pick up the Android ASAN options provided on the environment. Therefore we pull in /system/asan.options in explicitly if it exists. We provide sane defaults that will allow the system to boot otherwise. Logging is complicated because it needs to go to the kernel log. So use sanitizer functions to install log functions. Bug: 117879229 Test: m && m SANITIZE_TARGET=address Test: init boots with ASAN enabled Change-Id: I72c033a1f86ba5d6b2e4f943e7a3acd0d399c8bf
Diffstat (limited to 'init/action_parser.cpp')
0 files changed, 0 insertions, 0 deletions