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.h38 } map_info_t; typedef
41 map_info_t* load_map_info_list(pid_t tid);
44 void free_map_info_list(map_info_t* milist);
47 const map_info_t* find_map_info(const map_info_t* milist, uintptr_t addr);
50 bool is_readable_map(const map_info_t* milist, uintptr_t addr);
53 bool is_executable_map(const map_info_t* milist, uintptr_t addr);
58 map_info_t* acquire_my_map_info_list();
62 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()
71 map_info_t* load_map_info_list(pid_t tid) { in load_map_info_list()
75 map_info_t* milist = NULL; in load_map_info_list()
81 map_info_t* mi = parse_maps_line(line); in load_map_info_list()
92 void free_map_info_list(map_info_t* milist) { in free_map_info_list()
94 map_info_t* next = milist->next; in free_map_info_list()
100 const map_info_t* find_map_info(const map_info_t* milist, uintptr_t addr) { in find_map_info()
101 const map_info_t* mi = milist; in find_map_info()
108 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()
135 uintptr_t addr, const map_info_t** out_map_info, const symbol_t** out_symbol) { in find_symbol_ptrace()
136 const map_info_t* mi = find_map_info(context->map_info_list, addr); in find_symbol_ptrace()
Dptrace-arch.h40 void load_ptrace_map_info_data_arch(pid_t pid, map_info_t* mi, map_info_data_t* data);
41 void free_ptrace_map_info_data_arch(map_info_t* mi, map_info_data_t* data);
Dbacktrace.c92 map_info_t* milist = acquire_my_map_info_list(); in unwind_backtrace()
120 const map_info_t* map_info_list;
160 map_info_t* milist = acquire_my_map_info_list(); in unwind_backtrace_thread()
247 map_info_t* milist = acquire_my_map_info_list(); in get_backtrace_symbols()
253 const map_info_t* mi = find_map_info(milist, frame->absolute_pc); in get_backtrace_symbols()
281 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()
156 const map_info_t* map_info_list, in unwind_backtrace_signal_arch()
/system/core/libcorkscrew/arch-x86/
Dptrace-x86.c25 map_info_t* mi __attribute__((unused)), in load_ptrace_map_info_data_arch()
29 void free_ptrace_map_info_data_arch(map_info_t* mi __attribute__((unused)), in free_ptrace_map_info_data_arch()
Dbacktrace-x86.c96 const map_info_t* map_info_list __attribute__((unused)), in unwind_backtrace_common()
126 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.c228 const map_info_t* mi; in dump_stack_segment()
354 map_info_t* map = context->map_info_list; in dump_nearby_maps()
355 map_info_t *next = NULL; in dump_nearby_maps()
356 map_info_t *prev = NULL; in dump_nearby_maps()