/external/qemu/memcheck/ |
memcheck_api.h | 46 extern target_ulong* gen_opc_tpc2gpc_ptr; 61 int memcheck_is_checked(target_ulong addr, uint32_t size); 73 int memcheck_validate_ld(target_ulong addr, 75 target_ulong retaddr); 89 int memcheck_validate_st(target_ulong addr, 92 target_ulong retaddr); 99 void memcheck_on_call(target_ulong pc, target_ulong ret); 105 void memcheck_on_ret(target_ulong pc);
|
memcheck_util.h | 45 target_ulong guest_address, 55 void memcheck_set_guest_buffer(target_ulong guest_address, 69 target_ulong guest_str, 82 target_ulong guest_str, 98 target_ulong guest_address) 111 memcheck_set_malloc_descriptor(target_ulong guest_address, 126 target_ulong guest_address) 140 target_ulong guest_address) 153 void memcheck_fail_alloc(target_ulong guest_address); 162 void memcheck_fail_free(target_ulong guest_address) [all...] |
memcheck.h | 65 void memcheck_guest_alloc(target_ulong guest_address); 77 void memcheck_guest_free(target_ulong guest_address); 88 void memcheck_guest_query_malloc(target_ulong guest_address); 96 void memcheck_guest_print_str(target_ulong str); 168 void memcheck_mmap_exepath(target_ulong vstart, 169 target_ulong vend, 170 target_ulong exec_offset, 181 void memcheck_unmap(target_ulong vstart, target_ulong vend);
|
memcheck_mmrange_map.h | 86 target_ulong start, 87 target_ulong end); 102 target_ulong start, 103 target_ulong end,
|
memcheck_common.h | 94 target_ulong ptr; 150 target_ulong ptr; 172 target_ulong desc; 216 target_ulong* call_stack; 244 target_ulong map_start; 247 target_ulong map_end; 250 target_ulong exec_offset; 278 target_ulong* addr; 294 static inline target_ulong 318 static inline target_ulong [all...] |
memcheck_proc_management.h | 79 target_ulong call_address; 82 target_ulong call_address_rel; 84 target_ulong ret_address; 87 target_ulong ret_address_rel; 235 target_ulong address, 249 procdesc_find_malloc(ProcDesc* proc, target_ulong address) 262 procdesc_pull_malloc(ProcDesc* proc, target_ulong address, MallocDescEx* pulled) 288 procdesc_find_mapentry(const ProcDesc* proc, target_ulong addr) 302 procdesc_get_range_desc(const ProcDesc* proc, target_ulong addr) 317 procdesc_get_module_path(const ProcDesc* proc, target_ulong addr [all...] |
memcheck_util.c | 95 target_ulong guest_address, 112 memcheck_set_guest_buffer(target_ulong guest_address, 126 target_ulong guest_str, 145 target_ulong guest_str, 167 memcheck_fail_alloc(target_ulong guest_address) 173 memcheck_fail_free(target_ulong guest_address) 179 memcheck_fail_query(target_ulong guest_address) 189 invalidate_tlb_cache(target_ulong start, target_ulong end) 191 target_ulong index = (start >> TARGET_PAGE_BITS) & (CPU_TLB_SIZE - 1) [all...] |
memcheck_malloc_map.h | 93 target_ulong address, 110 int allocmap_pull(AllocMap* map, target_ulong address, MallocDescEx* pulled);
|
memcheck.c | 69 av_invalid_pointer(ProcDesc* proc, target_ulong ptr, int routine) 98 target_ulong addr, 101 target_ulong retaddr, 104 target_ulong vaddr; 171 addr < (target_ulong)mallocdesc_get_user_ptr(&desc->malloc_desc) ? 194 memcheck_common_access_validation(target_ulong addr, 200 target_ulong validating_range_end; 201 target_ulong user_range_end; 270 procdesc_contains_allocs(ProcDesc* proc, target_ulong addr, uint32_t buf_size) { 273 const target_ulong end_page = (addr + buf_size - 1) & TARGET_PAGE_MASK [all...] |
memcheck_mmrange_map.c | 53 const target_ulong start1 = d1->desc.map_start; 54 const target_ulong start2 = d2->desc.map_start; 108 target_ulong start, 109 target_ulong end) 154 mmrangemap_find(const MMRangeMap* map, target_ulong start, target_ulong end) 162 target_ulong start, 163 target_ulong end,
|
memcheck_malloc_map.c | 55 static inline target_ulong 68 static inline target_ulong 91 const target_ulong start1 = allocmapentry_alloc_begins(d1); 92 const target_ulong start2 = allocmapentry_alloc_begins(d2); 147 target_ulong address, 193 allocmap_find(const AllocMap* map, target_ulong address, uint32_t block_size) 200 allocmap_pull(AllocMap* map, target_ulong address, MallocDescEx* pulled) 247 qemu_malloc(entry->desc.call_stack_count * sizeof(target_ulong)); 249 entry->desc.call_stack_count * sizeof(target_ulong));
|
/external/qemu/ |
softmmu_defs.h | 4 uint8_t REGPARM __ldb_mmu(target_ulong addr, int mmu_idx); 5 void REGPARM __stb_mmu(target_ulong addr, uint8_t val, int mmu_idx); 6 uint16_t REGPARM __ldw_mmu(target_ulong addr, int mmu_idx); 7 void REGPARM __stw_mmu(target_ulong addr, uint16_t val, int mmu_idx); 8 uint32_t REGPARM __ldl_mmu(target_ulong addr, int mmu_idx); 9 void REGPARM __stl_mmu(target_ulong addr, uint32_t val, int mmu_idx); 10 uint64_t REGPARM __ldq_mmu(target_ulong addr, int mmu_idx); 11 void REGPARM __stq_mmu(target_ulong addr, uint64_t val, int mmu_idx); 13 uint8_t REGPARM __ldb_cmmu(target_ulong addr, int mmu_idx); 14 void REGPARM __stb_cmmu(target_ulong addr, uint8_t val, int mmu_idx) [all...] |
disas.h | 8 void target_disas(FILE *out, target_ulong code, target_ulong size, int flags); 13 target_ulong pc, int nb_insn, int is_physical, int flags); 17 const char *lookup_symbol(target_ulong orig_addr);
|
softmmu_outside_jit.h | 35 uint8_t REGPARM __ldb_outside_jit(target_ulong addr, int mmu_idx); 36 void REGPARM __stb_outside_jit(target_ulong addr, uint8_t val, int mmu_idx); 37 uint16_t REGPARM __ldw_outside_jit(target_ulong addr, int mmu_idx); 38 void REGPARM __stw_outside_jit(target_ulong addr, uint16_t val, int mmu_idx); 39 uint32_t REGPARM __ldl_outside_jit(target_ulong addr, int mmu_idx); 40 void REGPARM __stl_outside_jit(target_ulong addr, uint32_t val, int mmu_idx); 41 uint64_t REGPARM __ldq_outside_jit(target_ulong addr, int mmu_idx); 42 void REGPARM __stq_outside_jit(target_ulong addr, uint64_t val, int mmu_idx);
|
exec-all.h | 51 extern target_ulong gen_opc_pc[OPC_BUF_SIZE]; 52 extern target_ulong gen_opc_npc[OPC_BUF_SIZE]; 56 extern target_ulong gen_opc_jump_pc[2]; 79 target_ulong pc, target_ulong cs_base, int flags, 83 int page_unprotect(target_ulong address, unsigned long pc, void *puc); 86 void tb_invalidate_page_range(target_ulong start, target_ulong end); 87 void tlb_flush_page(CPUState *env, target_ulong addr); 89 int tlb_set_page_exec(CPUState *env, target_ulong vaddr [all...] |
cpu-defs.h | 42 /* target_ulong is the type of a virtual address */ 45 typedef uint32_t target_ulong; typedef 51 typedef uint64_t target_ulong; typedef 93 target_ulong addr_read; 94 target_ulong addr_write; 95 target_ulong addr_code; 106 (sizeof(target_ulong) * 3 + 107 ((-sizeof(target_ulong) * 3) & (sizeof(target_phys_addr_t) - 1)) + 127 target_ulong pc; 133 target_ulong vaddr [all...] |
kvm.h | 57 int kvm_insert_breakpoint(CPUState *current_env, target_ulong addr, 58 target_ulong len, int type); 59 int kvm_remove_breakpoint(CPUState *current_env, target_ulong addr, 60 target_ulong len, int type); 98 target_ulong pc; 99 target_ulong saved_insn; 109 target_ulong pc); 117 int kvm_arch_insert_hw_breakpoint(target_ulong addr, 118 target_ulong len, int type); 119 int kvm_arch_remove_hw_breakpoint(target_ulong addr [all...] |
gdbstub.h | 14 target_ulong ret, target_ulong err);
|
translate-all.c | 39 target_ulong gen_opc_pc[OPC_BUF_SIZE]; 45 target_ulong gen_opc_npc[OPC_BUF_SIZE]; 46 target_ulong gen_opc_jump_pc[2]; 61 static target_ulong gen_opc_tpc2gpc[OPC_BUF_SIZE * 2]; 62 target_ulong* gen_opc_tpc2gpc_ptr = &gen_opc_tpc2gpc[0]; 148 qemu_malloc(gen_opc_tpc2gpc_pairs * 2 * sizeof(target_ulong)); 151 gen_opc_tpc2gpc_pairs * 2 * sizeof(target_ulong));
|
softmmu_header.h | 82 static inline RES_TYPE glue(glue(ld, USUFFIX), MEMSUFFIX)(target_ulong ptr) 86 target_ulong addr; 104 static inline int glue(glue(lds, SUFFIX), MEMSUFFIX)(target_ulong ptr) 107 target_ulong addr; 129 static inline void glue(glue(st, SUFFIX), MEMSUFFIX)(target_ulong ptr, RES_TYPE v) 132 target_ulong addr; 153 static inline float64 glue(ldfq, MEMSUFFIX)(target_ulong ptr) 163 static inline void glue(stfq, MEMSUFFIX)(target_ulong ptr, float64 v) 175 static inline float32 glue(ldfl, MEMSUFFIX)(target_ulong ptr) 185 static inline void glue(stfl, MEMSUFFIX)(target_ulong ptr, float32 v [all...] |
softmmu_template.h | 63 static DATA_TYPE glue(glue(slow_ld, SUFFIX), MMUSUFFIX)(target_ulong addr, 67 target_ulong addr, 96 DATA_TYPE REGPARM glue(glue(__ld, SUFFIX), MMUSUFFIX)(target_ulong addr, 101 target_ulong tlb_addr; 127 memcheck_validate_ld(addr, DATA_SIZE, (target_ulong)GETPC())) { 147 (target_ulong)GETPC()); 188 static DATA_TYPE glue(glue(slow_ld, SUFFIX), MMUSUFFIX)(target_ulong addr, 195 target_ulong tlb_addr, addr1, addr2; 239 static void glue(glue(slow_st, SUFFIX), MMUSUFFIX)(target_ulong addr, 246 target_ulong addr [all...] |
softmmu-semi.h | 63 static void softmmu_unlock_user(CPUState *env, void *p, target_ulong addr, 64 target_ulong len)
|
arm-semi.c | 119 static target_ulong arm_semi_syscall_len; 122 static target_ulong syscall_err; 125 static void arm_semi_cb(CPUState *env, target_ulong ret, target_ulong err) 131 if (ret == (target_ulong)-1) { 155 static void arm_semi_flen_cb(CPUState *env, target_ulong ret, target_ulong err) 171 target_ulong __arg; \ 179 target_ulong args;
|
/external/qemu/target-arm/ |
memcheck_arm_helpers.h | 94 is_thumb_bl_or_blx(uint16_t insn, target_ulong pc, target_ulong* ret_off) 130 register_ret_address(CPUState* env, target_ulong addr) 154 const target_ulong phys_pc = get_phys_addr_code(env, addr); 155 const target_ulong phys_page1 = phys_pc & TARGET_PAGE_MASK; 173 is_ret_address(CPUState* env, target_ulong addr) 184 set_on_call(target_ulong pc, target_ulong ret) 197 set_on_ret(target_ulong ret)
|
/external/qemu/hw/ |
goldfish_trace.h | 62 extern void vstrcpy(target_ulong ptr, char *buf, int max);
|