From d3060019de533cc1e1ccf444c80b37ebb3490c9f Mon Sep 17 00:00:00 2001 From: Peter Collingbourne Date: Wed, 1 Apr 2020 19:54:48 -0700 Subject: Introduce a new heap tagging level, M_HEAP_TAGGING_LEVEL_SYNC. The SYNC tagging level enables stack trace collection for allocations and deallocations, which allows allocation and deallocation stack traces to appear in tombstones when encountering a tag check fault in synchronous tag checking mode. Bug: 135772972 Change-Id: Ibda9f51b29d2c8e2c993fc74425dea7bfa23ab1e --- linker/linker_debuggerd_android.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'linker') diff --git a/linker/linker_debuggerd_android.cpp b/linker/linker_debuggerd_android.cpp index 6a816736f..203e44159 100644 --- a/linker/linker_debuggerd_android.cpp +++ b/linker/linker_debuggerd_android.cpp @@ -40,6 +40,8 @@ static debugger_process_info get_process_info() { .fdsan_table = &__libc_shared_globals()->fd_table, .gwp_asan_state = __libc_shared_globals()->gwp_asan_state, .gwp_asan_metadata = __libc_shared_globals()->gwp_asan_metadata, + .scudo_stack_depot = __libc_shared_globals()->scudo_stack_depot, + .scudo_region_info = __libc_shared_globals()->scudo_region_info, }; } #endif -- cgit v1.2.3