History log of /system/core/rootdir/asan.options
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
ce30d07b117fedcc78b6cbf549677237a2a042d0 09-Aug-2017 Ryan Campbell <ryanjcampbell@google.com> Include asan options from data partition.

Look for asan options under /data/asan so that multi-process coverage
can be enabled on a newly-started remote process without disabling
verity and without forcing it to be always-on.

Test: adb shell echo "include_if_exists=/data/asan/asan.options.%b" >>
/system/asan.options && adb shell echo
"coverage=1\ncoverage_dir=/data/misc/trace" >
/data/asan/asan.options.android.hardware.light@2.0-service && adb shell killall
android.hardware.light@2.0-service
Bug: 64019182

Change-Id: I241ad8478439323681dc1cfde2fa0770f030ae75
/system/core/rootdir/asan.options
67b7e85b1868392526def50c1ec20e53af348aa0 17-Aug-2016 Andreas Gampe <agampe@google.com> Asan.options: Use abort_on_error

Use abort to have debuggerd act and create a tombstone.

Bug: 30775464
Change-Id: I359c7c7c094880b7b55304cd2aa3f4b360b729d8
/system/core/rootdir/asan.options
8ccc1ad0f71d0587edfbc4c637d6d8de196fe7df 23-Jun-2016 Andreas Gampe <agampe@google.com> Rootdir: Add more asan.options support

Extend the asan.options file to read binary-specific configuration
from files out of /system. For early services, the system image
location is important as /data may not be available when they are
started.

Add a template that turns most sanitization off. At this point in
time, it is, however, impossible to get to a zero overhead state
after the fact. The template is meant to adapt a build after the
fact, and work around issues with LOCAL_SANITIZE := never.

Add a Make variable and rule copying the template to the path and
name expected by ASAN. Add SANITIZE_LITE to automatically add a
large set of options files.

Bug: 29498013
Change-Id: I8e9e6929a55cee3f3fa0acb377a886bfa7006c91
/system/core/rootdir/asan.options
f3009f21d5e7600d6e7ecede7e27cbd9b446d5d5 23-Oct-2015 Evgenii Stepanov <eugenis@google.com> Disable container overflow detect on target.

Container overflow annotations may cause false positives in partially
instrumented binaries.

Bug: 25228125, 25212198
Change-Id: Ic587d41698c02e306dece4ad7c6a2a8810c52dbd
/system/core/rootdir/asan.options
0d2dde57fef4db0d0e51369a1d9d9cfa5deb7235 08-Aug-2015 Evgenii Stepanov <eugenis@google.com> Read global ASAN_OPTIONS from a file.

Instead of setting global ASAN_OPTIONS in immutable init.environ.rc,
load them from a file that can be changed later. The file has to be
on the /system partition to both be editable and available at the
early stages of boot.

Also add allocator_may_return_null=1 as that is closer to the
non-ASan allocator behavior.

Bug: 22846541
Change-Id: Ib0f41393c528f2e7cb398470e41f50abf5f4f455
/system/core/rootdir/asan.options