Home
last modified time | relevance | path

Searched refs:map_info_t (Results 1 – 14 of 14) sorted by relevance

/system/core/include/corkscrew/
Dmap_info.h39 } map_info_t; typedef
42 map_info_t* load_map_info_list(pid_t tid);
45 void free_map_info_list(map_info_t* milist);
48 const map_info_t* find_map_info(const map_info_t* milist, uintptr_t addr);
51 bool is_readable_map(const map_info_t* milist, uintptr_t addr);
53 bool is_writable_map(const map_info_t* milist, uintptr_t addr);
55 bool is_executable_map(const map_info_t* milist, uintptr_t addr);
60 map_info_t* acquire_my_map_info_list();
64 void release_my_map_info_list(map_info_t* milist);
Dptrace.h36 map_info_t* map_info_list;
42 const map_info_t* map_info_list;
84 void init_memory(memory_t* memory, const map_info_t* map_info_list);
128 uintptr_t addr, const map_info_t** out_map_info, const symbol_t** out_symbol);
/system/core/libcorkscrew/
Dmap_info.c35 static map_info_t* parse_maps_line(const char* line) in parse_maps_line()
55 map_info_t* mi = calloc(1, sizeof(map_info_t) + name_len + 1); in parse_maps_line()
73 map_info_t* load_map_info_list(pid_t tid) { in load_map_info_list()
77 map_info_t* milist = NULL; in load_map_info_list()
83 map_info_t* mi = parse_maps_line(line); in load_map_info_list()
94 void free_map_info_list(map_info_t* milist) { in free_map_info_list()
96 map_info_t* next = milist->next; in free_map_info_list()
102 const map_info_t* find_map_info(const map_info_t* milist, uintptr_t addr) { in find_map_info()
103 const map_info_t* mi = milist; in find_map_info()
110 bool is_readable_map(const map_info_t* milist, uintptr_t addr) { in is_readable_map()
[all …]
Dptrace.c38 void init_memory(memory_t* memory, const map_info_t* map_info_list) { in init_memory()
83 static void load_ptrace_map_info_data(pid_t pid, map_info_t* mi) { in load_ptrace_map_info_data()
106 for (map_info_t* mi = context->map_info_list; mi; mi = mi->next) { in load_ptrace_context()
113 static void free_ptrace_map_info_data(map_info_t* mi) { in free_ptrace_map_info_data()
128 for (map_info_t* mi = context->map_info_list; mi; mi = mi->next) { in free_ptrace_context()
136 uintptr_t addr, const map_info_t** out_map_info, const symbol_t** out_symbol) { in find_symbol_ptrace()
137 const map_info_t* mi = find_map_info(context->map_info_list, addr); in find_symbol_ptrace()
Dptrace-arch.h42 void load_ptrace_map_info_data_arch(pid_t pid, map_info_t* mi, map_info_data_t* data);
43 void free_ptrace_map_info_data_arch(map_info_t* mi, map_info_data_t* data);
Dbacktrace.c90 map_info_t* milist = acquire_my_map_info_list(); in unwind_backtrace()
118 const map_info_t* map_info_list;
158 map_info_t* milist = acquire_my_map_info_list(); in unwind_backtrace_thread()
245 map_info_t* milist = acquire_my_map_info_list(); in get_backtrace_symbols()
251 const map_info_t* mi = find_map_info(milist, frame->absolute_pc); in get_backtrace_symbols()
277 const map_info_t* mi; in get_backtrace_symbols_ptrace()
Dbacktrace-arch.h35 const map_info_t* map_info_list,
/system/core/libcorkscrew/arch-mips/
Dptrace-mips.c24 void load_ptrace_map_info_data_arch(pid_t pid, map_info_t* mi, map_info_data_t* data) { in load_ptrace_map_info_data_arch()
27 void free_ptrace_map_info_data_arch(map_info_t* mi, map_info_data_t* data) { in free_ptrace_map_info_data_arch()
Dbacktrace-mips.c73 const map_info_t* map_info_list, in unwind_backtrace_common()
157 const map_info_t* map_info_list, in unwind_backtrace_signal_arch()
/system/core/libcorkscrew/arch-x86/
Dptrace-x86.c26 static void load_eh_frame_hdr(pid_t pid, map_info_t* mi, uintptr_t *eh_frame_hdr) { in load_eh_frame_hdr()
58 void load_ptrace_map_info_data_arch(pid_t pid, map_info_t* mi, map_info_data_t* data) { in load_ptrace_map_info_data_arch()
62 void free_ptrace_map_info_data_arch(map_info_t* mi __attribute__((unused)), in free_ptrace_map_info_data_arch()
Dbacktrace-x86.c238 const map_info_t* map_info_list, uintptr_t pc) { in find_fde()
243 const map_info_t* mi = find_map_info(map_info_list, pc); in find_fde()
548 const map_info_t* map_info_list, in execute_fde()
755 const map_info_t* map_info_list, in unwind_backtrace_common()
817 const map_info_t* map_info_list, in unwind_backtrace_signal_arch()
/system/core/libcorkscrew/arch-arm/
Dptrace-arm.c29 static void load_exidx_header(pid_t pid, map_info_t* mi, in load_exidx_header()
68 void load_ptrace_map_info_data_arch(pid_t pid, map_info_t* mi, map_info_data_t* data) { in load_ptrace_map_info_data_arch()
72 void free_ptrace_map_info_data_arch(map_info_t* mi, map_info_data_t* data) { in free_ptrace_map_info_data_arch()
Dbacktrace-arm.c122 const map_info_t* map_info_list, uintptr_t pc) { in get_exception_handler()
130 const map_info_t* mi; in get_exception_handler()
487 const map_info_t* map_info_list, in unwind_backtrace_common()
556 const map_info_t* map_info_list, in unwind_backtrace_signal_arch()
/system/core/debuggerd/
Dtombstone.c258 const map_info_t* mi; in dump_stack_segment()
360 static void dump_map(log_t* log, map_info_t* m, const char* what, int scopeFlags) { in dump_map()
397 map_info_t* map = context->map_info_list; in dump_nearby_maps()
398 map_info_t *next = NULL; in dump_nearby_maps()
399 map_info_t *prev = NULL; in dump_nearby_maps()