/system/core/libcorkscrew/arch-arm/ |
D | backtrace-arm.c | 123 static uintptr_t get_exception_handler(const memory_t* memory, in get_exception_handler() argument 133 if (memory->tid < 0) { in get_exception_handler() 158 if (!try_get_word(memory, entry, &entry_prel_pc)) { in get_exception_handler() 170 if (!try_get_word(memory, next_entry, &next_entry_prel_pc)) { in get_exception_handler() 183 if (!try_get_word(memory, entry_handler_ptr, &entry_handler)) { in get_exception_handler() 212 static bool try_next_byte(const memory_t* memory, byte_stream_t* stream, uint8_t* out_value) { in try_next_byte() argument 216 if (!try_get_word(memory, stream->ptr, &stream->word)) { in try_next_byte() 246 static bool try_pop_registers(const memory_t* memory, unwind_state_t* state, uint32_t mask) { in try_pop_registers() argument 252 if (!try_get_word(memory, sp, &value)) { in try_pop_registers() 281 static bool execute_personality_routine(const memory_t* memory, in execute_personality_routine() argument [all …]
|
/system/core/libcorkscrew/ |
D | ptrace.c | 37 void init_memory(memory_t* memory, const map_info_t* map_info_list) { in init_memory() argument 38 memory->tid = -1; in init_memory() 39 memory->map_info_list = map_info_list; in init_memory() 42 void init_memory_ptrace(memory_t* memory, pid_t tid) { in init_memory_ptrace() argument 43 memory->tid = tid; in init_memory_ptrace() 44 memory->map_info_list = NULL; in init_memory_ptrace() 47 bool try_get_word(const memory_t* memory, uintptr_t ptr, uint32_t* out_value) { in try_get_word() argument 54 if (memory->tid < 0) { in try_get_word() 55 if (!is_readable_map(memory->map_info_list, ptr)) { in try_get_word() 66 *out_value = ptrace(PTRACE_PEEKTEXT, memory->tid, (void*)ptr, NULL); in try_get_word() [all …]
|
D | backtrace-arch.h | 32 uintptr_t rewind_pc_arch(const memory_t* memory, uintptr_t pc);
|
D | backtrace.c | 46 memory_t memory; member 57 add_backtrace_entry(rewind_pc_arch(&state->memory, pc), state->backtrace, in unwind_backtrace_callback() 75 init_memory(&state.memory, milist); in unwind_backtrace()
|
/system/core/libcorkscrew/arch-x86/ |
D | backtrace-x86.c | 76 uintptr_t rewind_pc_arch(const memory_t* memory, uintptr_t pc) { in rewind_pc_arch() argument 81 static ssize_t unwind_backtrace_common(const memory_t* memory, in unwind_backtrace_common() argument 90 index ? rewind_pc_arch(memory, state->eip) : state->eip, in unwind_backtrace_common() 101 if (!try_get_word(memory, state->ebp + 4, &state->eip) in unwind_backtrace_common() 102 || !try_get_word(memory, state->ebp, &state->ebp) in unwind_backtrace_common() 121 memory_t memory; in unwind_backtrace_signal_arch() local 122 init_memory(&memory, map_info_list); in unwind_backtrace_signal_arch() 123 return unwind_backtrace_common(&memory, map_info_list, in unwind_backtrace_signal_arch() 139 memory_t memory; in unwind_backtrace_ptrace_arch() local 140 init_memory_ptrace(&memory, tid); in unwind_backtrace_ptrace_arch() [all …]
|
/system/core/sh/ |
D | redir.c | 114 char memory[10]; /* file descriptors to write to memory */ in redirect() local 117 memory[i] = 0; in redirect() 118 memory[1] = flags & REDIR_BACKQ; in redirect() 143 openredirect(n, memory, flags); in redirect() 165 openredirect(n, memory, flags); in redirect() 167 if (memory[1]) in redirect() 169 if (memory[2]) in redirect() 175 openredirect(union node *redir, char memory[10], int flags) in openredirect() 188 memory[fd] = 0; in openredirect() 223 if (memory[redir->ndup.dupfd]) in openredirect() [all …]
|
D | TOUR | 99 which call error when there is no memory left. It also defines a 100 stack oriented memory allocation scheme. Allocating off a stack 103 to free up the memory in use at the time of the exception is to 147 cuments in memory typically results in significantly better per- 222 quotes. It saves the result in memory if the command is a buil- 333 which is to be stored in memory. This last is used when a buil-
|
/system/core/include/corkscrew/ |
D | ptrace.h | 70 void init_memory(memory_t* memory, const map_info_t* map_info_list); 76 void init_memory_ptrace(memory_t* memory, pid_t tid); 83 bool try_get_word(const memory_t* memory, uintptr_t ptr, uint32_t* out_value);
|
/system/core/libcutils/ |
D | Android.mk | 133 LOCAL_SRC_FILES += memory.c atomic-android-sh.c 137 LOCAL_SRC_FILES += arch-x86/android_memset16.S arch-x86/android_memset32.S memory.c 139 LOCAL_SRC_FILES += memory.c 160 LOCAL_SRC_FILES := str_parms.c hashmap.c memory.c
|