Searched defs:memory (Results 1 - 6 of 6) sorted by relevance

/system/core/libcorkscrew/
H A Dptrace.c38 void init_memory(memory_t* memory, const map_info_t* map_info_list) { argument
39 memory->tid = -1;
40 memory->map_info_list = map_info_list;
43 void init_memory_ptrace(memory_t* memory, pid_t tid) { argument
44 memory->tid = tid;
45 memory->map_info_list = NULL;
48 bool try_get_word(const memory_t* memory, uintptr_t ptr, uint32_t* out_value) { argument
55 if (memory->tid < 0) {
56 if (!is_readable_map(memory->map_info_list, ptr)) {
67 *out_value = ptrace(PTRACE_PEEKTEXT, memory
78 memory_t memory; local
[all...]
H A Dbacktrace.c71 memory_t memory; member in struct:__anon383
82 add_backtrace_entry(rewind_pc_arch(&state->memory, pc), state->backtrace,
100 init_memory(&state.memory, milist);
/system/core/sh/
H A Dredir.c103 * stdout, is saved in memory.
114 char memory[10]; /* file descriptors to write to memory */ local
117 memory[i] = 0;
118 memory[1] = flags & REDIR_BACKQ;
143 openredirect(n, memory, flags);
165 openredirect(n, memory, flags);
167 if (memory[1])
169 if (memory[2])
175 openredirect(union node *redir, char memory[1 argument
[all...]
/system/core/libcorkscrew/arch-mips/
H A Dbacktrace-mips.c64 uintptr_t rewind_pc_arch(const memory_t* memory, uintptr_t pc) { argument
72 static ssize_t unwind_backtrace_common(const memory_t* memory, argument
80 uintptr_t pc = index ? rewind_pc_arch(memory, state->pc) : state->pc;
97 if (!try_get_word(memory, addr, &op))
128 if (!try_get_word(memory, state->sp + ra_offset, &next_ra))
168 memory_t memory; local
169 init_memory(&memory, map_info_list);
170 return unwind_backtrace_common(&memory, map_info_list,
190 memory_t memory; local
191 init_memory_ptrace(&memory, ti
[all...]
/system/core/libcorkscrew/arch-x86/
H A Dbacktrace-x86.c90 uintptr_t rewind_pc_arch(const memory_t* memory __attribute__((unused)), uintptr_t pc) {
95 static ssize_t unwind_backtrace_common(const memory_t* memory, argument
104 index ? rewind_pc_arch(memory, state->eip) : state->eip,
115 if (!try_get_word(memory, state->ebp + 4, &state->eip)
116 || !try_get_word(memory, state->ebp, &state->ebp)
135 memory_t memory; local
136 init_memory(&memory, map_info_list);
137 return unwind_backtrace_common(&memory, map_info_list,
153 memory_t memory; local
154 init_memory_ptrace(&memory, ti
[all...]
/system/core/libcorkscrew/arch-arm/
H A Dbacktrace-arm.c121 static uintptr_t get_exception_handler(const memory_t* memory, argument
131 if (memory->tid < 0) {
156 if (!try_get_word(memory, entry, &entry_prel_pc)) {
168 if (!try_get_word(memory, next_entry, &next_entry_prel_pc)) {
181 if (!try_get_word(memory, entry_handler_ptr, &entry_handler)) {
210 static bool try_next_byte(const memory_t* memory, byte_stream_t* stream, uint8_t* out_value) { argument
214 if (!try_get_word(memory, stream->ptr, &stream->word)) {
244 static bool try_pop_registers(const memory_t* memory, unwind_state_t* state, uint32_t mask) { argument
250 if (!try_get_word(memory, sp, &value)) {
279 static bool execute_personality_routine(const memory_t* memory, argument
441 try_get_half_word(const memory_t* memory, uint32_t pc, uint16_t* out_value) argument
450 rewind_pc_arch(const memory_t* memory, uintptr_t pc) argument
486 unwind_backtrace_common(const memory_t* memory, const map_info_t* map_info_list, unwind_state_t* state, backtrace_frame_t* backtrace, size_t ignore_depth, size_t max_depth) argument
579 memory_t memory; local
597 memory_t memory; local
[all...]

Completed in 1137 milliseconds