Searched refs:heap_object (Results 1 – 4 of 4) sorted by relevance
/system/core/debuggerd/libdebuggerd/ |
D | scudo.cpp | 85 HeapObject* heap_object = memory_error->mutable_heap(); in FillInCause() local 103 heap_object->set_address(report->allocation_address); in FillInCause() 104 heap_object->set_size(report->allocation_size); in FillInCause() 107 heap_object->set_allocation_tid(report->allocation_tid); in FillInCause() 110 BacktraceFrame* f = heap_object->add_allocation_backtrace(); in FillInCause() 114 heap_object->set_deallocation_tid(report->deallocation_tid); in FillInCause() 119 BacktraceFrame* f = heap_object->add_deallocation_backtrace(); in FillInCause()
|
D | gwp_asan.cpp | 114 HeapObject* heap_object = memory_error->mutable_heap(); in AddCauseProtos() local 138 heap_object->set_address(__gwp_asan_get_allocation_address(responsible_allocation_)); in AddCauseProtos() 139 heap_object->set_size(__gwp_asan_get_allocation_size(responsible_allocation_)); in AddCauseProtos() 144 heap_object->set_allocation_tid(__gwp_asan_get_allocation_thread_id(responsible_allocation_)); in AddCauseProtos() 149 BacktraceFrame* f = heap_object->add_allocation_backtrace(); in AddCauseProtos() 153 heap_object->set_deallocation_tid(__gwp_asan_get_deallocation_thread_id(responsible_allocation_)); in AddCauseProtos() 158 BacktraceFrame* f = heap_object->add_deallocation_backtrace(); in AddCauseProtos()
|
D | tombstone_proto.cpp | 120 const HeapObject& heap_object = memory_error.heap(); in set_human_readable_cause() local 161 if (fault_addr < heap_object.address()) { in set_human_readable_cause() 164 diff = heap_object.address() - fault_addr; in set_human_readable_cause() 165 } else if (fault_addr - heap_object.address() < heap_object.size()) { in set_human_readable_cause() 168 diff = fault_addr - heap_object.address(); in set_human_readable_cause() 172 diff = fault_addr - heap_object.address() - heap_object.size(); in set_human_readable_cause() 183 error_type_str, diff, byte_suffix, location_str, heap_object.size(), heap_object.address())); in set_human_readable_cause()
|
D | tombstone_proto_to_text.cpp | 344 const HeapObject& heap_object = cause.memory_error().heap(); in print_main_thread() local 346 if (heap_object.deallocation_backtrace_size() != 0) { in print_main_thread() 348 CBL("deallocated by thread %" PRIu64 ":", heap_object.deallocation_tid()); in print_main_thread() 349 print_backtrace(callback, tombstone, heap_object.deallocation_backtrace(), true); in print_main_thread() 352 if (heap_object.allocation_backtrace_size() != 0) { in print_main_thread() 354 CBL("allocated by thread %" PRIu64 ":", heap_object.allocation_tid()); in print_main_thread() 355 print_backtrace(callback, tombstone, heap_object.allocation_backtrace(), true); in print_main_thread()
|