Searched refs:fault_addr (Results 1 – 3 of 3) sorted by relevance
/system/core/debuggerd/libdebuggerd/ |
D | tombstone_proto.cpp | 83 static std::optional<std::string> get_stack_overflow_cause(uint64_t fault_addr, uint64_t sp, in get_stack_overflow_cause() argument 87 if (sp >= fault_addr) { in get_stack_overflow_cause() 88 difference = sp - fault_addr; in get_stack_overflow_cause() 90 difference = fault_addr - sp; in get_stack_overflow_cause() 114 void set_human_readable_cause(Cause* cause, uint64_t fault_addr) { in set_human_readable_cause() argument 154 StringPrintf("[%s]: Unknown error occurred at 0x%" PRIx64 ".", tool_str, fault_addr)); in set_human_readable_cause() 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() [all …]
|
D | tombstone.cpp | 87 static std::string get_stack_overflow_cause(uint64_t fault_addr, uint64_t sp, in get_stack_overflow_cause() argument 91 if (sp >= fault_addr) { in get_stack_overflow_cause() 92 difference = sp - fault_addr; in get_stack_overflow_cause() 94 difference = fault_addr - sp; in get_stack_overflow_cause() 138 uint64_t fault_addr = reinterpret_cast<uint64_t>(si->si_addr); in dump_probable_cause() local 139 unwindstack::MapInfo* map_info = maps->Find(fault_addr); in dump_probable_cause() 143 cause = get_stack_overflow_cause(fault_addr, regs->sp(), maps); in dump_probable_cause()
|
/system/core/debuggerd/libdebuggerd/include/libdebuggerd/ |
D | tombstone.h | 73 void set_human_readable_cause(Cause* cause, uint64_t fault_addr);
|