Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ce30d07b authored by Ryan Campbell's avatar Ryan Campbell
Browse files

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
parent f602dd4c
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -5,3 +5,4 @@ allocator_may_return_null=1
detect_container_overflow=0
abort_on_error=1
include_if_exists=/system/asan.options.%b
include_if_exists=/data/asan/system/asan.options.%b