Searched refs:heap_object (Results 1 – 4 of 4) sorted by relevance
/aosp14/system/core/debuggerd/libdebuggerd/ |
H A D | gwp_asan.cpp | 117 HeapObject* heap_object = memory_error->mutable_heap(); in AddCauseProtos() local 141 heap_object->set_address(__gwp_asan_get_allocation_address(responsible_allocation_)); in AddCauseProtos() 142 heap_object->set_size(__gwp_asan_get_allocation_size(responsible_allocation_)); in AddCauseProtos() 146 heap_object->set_allocation_tid(__gwp_asan_get_allocation_thread_id(responsible_allocation_)); in AddCauseProtos() 151 BacktraceFrame* f = heap_object->add_allocation_backtrace(); in AddCauseProtos() 155 heap_object->set_deallocation_tid(__gwp_asan_get_deallocation_thread_id(responsible_allocation_)); in AddCauseProtos() 160 BacktraceFrame* f = heap_object->add_deallocation_backtrace(); in AddCauseProtos()
|
H A D | scudo.cpp | 91 HeapObject* heap_object = memory_error->mutable_heap(); in FillInCause() local 109 heap_object->set_address(report->allocation_address); in FillInCause() 110 heap_object->set_size(report->allocation_size); in FillInCause() 112 heap_object->set_allocation_tid(report->allocation_tid); in FillInCause() 115 BacktraceFrame* f = heap_object->add_allocation_backtrace(); in FillInCause() 119 heap_object->set_deallocation_tid(report->deallocation_tid); in FillInCause() 124 BacktraceFrame* f = heap_object->add_deallocation_backtrace(); in FillInCause()
|
H A D | tombstone_proto.cpp | 132 const HeapObject& heap_object = memory_error.heap(); in set_human_readable_cause() local 173 if (fault_addr < heap_object.address()) { in set_human_readable_cause() 176 diff = heap_object.address() - fault_addr; in set_human_readable_cause() 177 } else if (fault_addr - heap_object.address() < heap_object.size()) { in set_human_readable_cause() 180 diff = fault_addr - heap_object.address(); in set_human_readable_cause() 184 diff = fault_addr - heap_object.address() - heap_object.size(); in set_human_readable_cause() 195 error_type_str, diff, byte_suffix, location_str, heap_object.size(), heap_object.address())); in set_human_readable_cause()
|
H A D | tombstone_proto_to_text.cpp | 453 const HeapObject& heap_object = cause.memory_error().heap(); in print_main_thread() local 455 if (heap_object.deallocation_backtrace_size() != 0) { in print_main_thread() 457 CBL("deallocated by thread %" PRIu64 ":", heap_object.deallocation_tid()); in print_main_thread() 458 print_backtrace(callback, tombstone, heap_object.deallocation_backtrace(), true); in print_main_thread() 461 if (heap_object.allocation_backtrace_size() != 0) { in print_main_thread() 463 CBL("allocated by thread %" PRIu64 ":", heap_object.allocation_tid()); in print_main_thread() 464 print_backtrace(callback, tombstone, heap_object.allocation_backtrace(), true); in print_main_thread()
|