/system/core/debuggerd/mips/ |
D | machine.c | 39 static void dump_memory(log_t* log, pid_t tid, uintptr_t addr, int scopeFlags) { in dump_memory() argument 95 _LOG(log, scopeFlags, " %s %s\n", code_buffer, ascii_buffer); in dump_memory() 110 int scopeFlags = at_fault ? SCOPE_AT_FAULT : 0; in dump_memory_and_code() local 133 _LOG(log, scopeFlags | SCOPE_SENSITIVE, "\nmemory near %.2s:\n", ®_NAMES[reg * 2]); in dump_memory_and_code() 134 dump_memory(log, tid, addr, scopeFlags | SCOPE_SENSITIVE); in dump_memory_and_code() 141 _LOG(log, scopeFlags, "\ncode around pc:\n"); in dump_memory_and_code() 142 dump_memory(log, tid, (uintptr_t)pc, scopeFlags); in dump_memory_and_code() 145 _LOG(log, scopeFlags, "\ncode around ra:\n"); in dump_memory_and_code() 146 dump_memory(log, tid, (uintptr_t)ra, scopeFlags); in dump_memory_and_code() 154 int scopeFlags = at_fault ? SCOPE_AT_FAULT : 0; in dump_registers() local [all …]
|
/system/core/debuggerd/arm/ |
D | machine.c | 45 static void dump_memory(log_t* log, pid_t tid, uintptr_t addr, int scopeFlags) { in dump_memory() argument 105 _LOG(log, scopeFlags, " %s %s\n", code_buffer, ascii_buffer); in dump_memory() 120 int scopeFlags = at_fault ? SCOPE_AT_FAULT : 0; in dump_memory_and_code() local 137 _LOG(log, scopeFlags | SCOPE_SENSITIVE, "\nmemory near %.2s:\n", ®_NAMES[reg * 2]); in dump_memory_and_code() 138 dump_memory(log, tid, addr, scopeFlags | SCOPE_SENSITIVE); in dump_memory_and_code() 143 _LOG(log, scopeFlags, "\ncode around pc:\n"); in dump_memory_and_code() 144 dump_memory(log, tid, (uintptr_t)regs.ARM_pc, scopeFlags); in dump_memory_and_code() 147 _LOG(log, scopeFlags, "\ncode around lr:\n"); in dump_memory_and_code() 148 dump_memory(log, tid, (uintptr_t)regs.ARM_lr, scopeFlags); in dump_memory_and_code() 156 int scopeFlags = at_fault ? SCOPE_AT_FAULT : 0; in dump_registers() local [all …]
|
/system/core/debuggerd/x86/ |
D | machine.c | 41 int scopeFlags = (at_fault ? SCOPE_AT_FAULT : 0); in dump_registers() local 44 _LOG(log, scopeFlags, "cannot get registers: %s\n", strerror(errno)); in dump_registers() 50 _LOG(log, scopeFlags, " eax %08x ebx %08x ecx %08x edx %08x\n", in dump_registers() 52 _LOG(log, scopeFlags, " esi %08x edi %08x\n", in dump_registers() 54 _LOG(log, scopeFlags, " xcs %08x xds %08x xes %08x xfs %08x xss %08x\n", in dump_registers() 56 _LOG(log, scopeFlags, " eip %08x ebp %08x esp %08x flags %08x\n", in dump_registers()
|
/system/core/debuggerd/ |
D | tombstone.c | 236 int scopeFlags = at_fault ? SCOPE_AT_FAULT : 0; in dump_backtrace() local 237 _LOG(log, scopeFlags, "\nbacktrace:\n"); in dump_backtrace() 245 _LOG(log, scopeFlags, " %s\n", line); in dump_backtrace() 251 int scopeFlags, uintptr_t* sp, size_t words, int label) { in dump_stack_segment() argument 268 _LOG(log, scopeFlags, " #%02d %08x %08x %s (%s+%u)\n", in dump_stack_segment() 271 _LOG(log, scopeFlags, " #%02d %08x %08x %s (%s)\n", in dump_stack_segment() 276 _LOG(log, scopeFlags, " %08x %08x %s (%s+%u)\n", in dump_stack_segment() 279 _LOG(log, scopeFlags, " %08x %08x %s (%s)\n", in dump_stack_segment() 286 _LOG(log, scopeFlags, " #%02d %08x %08x %s\n", in dump_stack_segment() 289 _LOG(log, scopeFlags, " %08x %08x %s\n", in dump_stack_segment() [all …]
|
D | utility.c | 50 void _LOG(log_t* log, int scopeFlags, const char *fmt, ...) { in _LOG() argument 62 want_log_write = IS_AT_FAULT(scopeFlags) && (!log || !log->quiet); in _LOG() 63 want_amfd_write = IS_AT_FAULT(scopeFlags) && !IS_SENSITIVE(scopeFlags) && log && log->amfd >= 0; in _LOG()
|
D | utility.h | 35 void _LOG(log_t* log, int scopeFlags, const char *fmt, ...)
|