From cdf55585a788d5b7ad4e4804046549c54d5c1791 Mon Sep 17 00:00:00 2001 From: Florian Mayer Date: Wed, 13 Dec 2023 22:21:16 +0000 Subject: [PATCH] Use correct stack depot size in __scudo_get_error This is a no-op but will be used in upcoming scudo changes that allow to change the depot size at process startup time, and as such we will no longer be able to call __scudo_get_stack_depot_size in debuggerd. Bug: 309446692 Change-Id: Ib64b9d042b2a2088484ec5e61944c089a1d85314 --- debuggerd/libdebuggerd/scudo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debuggerd/libdebuggerd/scudo.cpp b/debuggerd/libdebuggerd/scudo.cpp index cff43f8d5..3fa3bd032 100644 --- a/debuggerd/libdebuggerd/scudo.cpp +++ b/debuggerd/libdebuggerd/scudo.cpp @@ -81,7 +81,7 @@ ScudoCrashData::ScudoCrashData(unwindstack::Memory* process_memory, } __scudo_get_error_info(&error_info_, process_info.maybe_tagged_fault_address, stack_depot.get(), - __scudo_get_stack_depot_size(), region_info.get(), ring_buffer.get(), + process_info.scudo_stack_depot_size, region_info.get(), ring_buffer.get(), process_info.scudo_ring_buffer_size, memory.get(), memory_tags.get(), memory_begin, memory_end - memory_begin); }