Searched refs:memory (Results 1 - 18 of 18) 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-arch.h32 uintptr_t rewind_pc_arch(const memory_t* memory, uintptr_t pc);
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/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...]
/system/core/include/corkscrew/
H A Dptrace.h39 /* Describes how to access memory from a process. */
82 * Initializes a memory structure for accessing memory from this process.
84 void init_memory(memory_t* memory, const map_info_t* map_info_list);
87 * Initializes a memory structure for accessing memory from another process
90 void init_memory_ptrace(memory_t* memory, pid_t tid);
93 * Reads a word of memory safely.
94 * If the memory is local, ensures that the address is readable before dereferencing it.
97 bool try_get_word(const memory_t* memory, uintptr_
[all...]
/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/libcutils/
H A Dmemory.c17 #include <cutils/memory.h>
H A DAndroid.mk135 LOCAL_SRC_FILES += arch-x86/android_memset16.S arch-x86/android_memset32.S memory.c
137 LOCAL_SRC_FILES += memory.c
157 LOCAL_SRC_FILES := str_parms.c hashmap.c memory.c
H A Dstr_parms.c29 #include <cutils/memory.h>
/system/core/adb/
H A Dtest_track_devices.c7 #include <memory.h>
H A Dtest_track_jdwp.c7 #include <memory.h>
/system/core/init/
H A Dlogo.c31 #include <cutils/memory.h>
/system/core/libpixelflinger/
H A Dclear.cpp18 #include <cutils/memory.h>
H A Dtrap.cpp26 #include <cutils/memory.h>
948 * If this happens, the code below won't corrupt memory but the
H A Dscanline.cpp26 #include <cutils/memory.h>
/system/core/libmincrypt/
H A Dsha.c36 #include <memory.h>

Completed in 190 milliseconds