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
This commit is contained in:
Florian Mayer 2023-12-13 22:21:16 +00:00
parent d1d9b0ef8a
commit cdf55585a7

View file

@ -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);
}