/external/valgrind/coregrind/m_sigframe/ |
D | sigframe-tilegx-linux.c | 79 sc->gregs[0] = tst->arch.vex.guest_r0; in setup_sigcontext2() 80 sc->gregs[1] = tst->arch.vex.guest_r1; in setup_sigcontext2() 81 sc->gregs[2] = tst->arch.vex.guest_r2; in setup_sigcontext2() 82 sc->gregs[3] = tst->arch.vex.guest_r3; in setup_sigcontext2() 83 sc->gregs[4] = tst->arch.vex.guest_r4; in setup_sigcontext2() 84 sc->gregs[5] = tst->arch.vex.guest_r5; in setup_sigcontext2() 85 sc->gregs[6] = tst->arch.vex.guest_r6; in setup_sigcontext2() 86 sc->gregs[7] = tst->arch.vex.guest_r7; in setup_sigcontext2() 87 sc->gregs[8] = tst->arch.vex.guest_r8; in setup_sigcontext2() 88 sc->gregs[9] = tst->arch.vex.guest_r9; in setup_sigcontext2() [all …]
|
D | sigframe-solaris.c | 151 frame->ucontext.uc_mcontext.gregs[VKI_REG_ERR] in VG_() 152 = siguc->uc_mcontext.gregs[VKI_REG_ERR]; in VG_() 154 (Addr)&frame->ucontext.uc_mcontext.gregs[VKI_REG_ERR], in VG_() 156 frame->ucontext.uc_mcontext.gregs[VKI_REG_TRAPNO] in VG_() 157 = siguc->uc_mcontext.gregs[VKI_REG_TRAPNO]; in VG_() 159 (Addr)&frame->ucontext.uc_mcontext.gregs[VKI_REG_TRAPNO], in VG_()
|
/external/libunwind/src/ppc32/ |
D | ucontext_i.h | 49 #define UC_MCONTEXT_GREGS_R0 ((void *)&dmy_ctxt.uc_mcontext.uc_regs->gregs[0] - (void *)&dmy_ctxt) 50 #define UC_MCONTEXT_GREGS_R1 ((void *)&dmy_ctxt.uc_mcontext.uc_regs->gregs[1] - (void *)&dmy_ctxt) 51 #define UC_MCONTEXT_GREGS_R2 ((void *)&dmy_ctxt.uc_mcontext.uc_regs->gregs[2] - (void *)&dmy_ctxt) 52 #define UC_MCONTEXT_GREGS_R3 ((void *)&dmy_ctxt.uc_mcontext.uc_regs->gregs[3] - (void *)&dmy_ctxt) 53 #define UC_MCONTEXT_GREGS_R4 ((void *)&dmy_ctxt.uc_mcontext.uc_regs->gregs[4] - (void *)&dmy_ctxt) 54 #define UC_MCONTEXT_GREGS_R5 ((void *)&dmy_ctxt.uc_mcontext.uc_regs->gregs[5] - (void *)&dmy_ctxt) 55 #define UC_MCONTEXT_GREGS_R6 ((void *)&dmy_ctxt.uc_mcontext.uc_regs->gregs[6] - (void *)&dmy_ctxt) 56 #define UC_MCONTEXT_GREGS_R7 ((void *)&dmy_ctxt.uc_mcontext.uc_regs->gregs[7] - (void *)&dmy_ctxt) 57 #define UC_MCONTEXT_GREGS_R8 ((void *)&dmy_ctxt.uc_mcontext.uc_regs->gregs[8] - (void *)&dmy_ctxt) 58 #define UC_MCONTEXT_GREGS_R9 ((void *)&dmy_ctxt.uc_mcontext.uc_regs->gregs[9] - (void *)&dmy_ctxt) [all …]
|
/external/valgrind/coregrind/m_syswrap/ |
D | syswrap-amd64-solaris.c | 104 uc->uc_mcontext.gregs[VKI_REG_RDI] = (UWord)tst; /* the parameter */ in ML_() 105 uc->uc_mcontext.gregs[VKI_REG_RIP] = (UWord)ML_(start_thread_NORETURN); in ML_() 106 uc->uc_mcontext.gregs[VKI_REG_RSP] = (UWord)stack; in ML_() 120 uc->uc_mcontext.gregs[VKI_REG_RIP] = tst->arch.vex.guest_RIP; in ML_() 122 (Addr)&uc->uc_mcontext.gregs[VKI_REG_RIP], sizeof(UWord)); in ML_() 123 uc->uc_mcontext.gregs[VKI_REG_RAX] = tst->arch.vex.guest_RAX; in ML_() 125 (Addr)&uc->uc_mcontext.gregs[VKI_REG_RAX], sizeof(UWord)); in ML_() 126 uc->uc_mcontext.gregs[VKI_REG_RBX] = tst->arch.vex.guest_RBX; in ML_() 128 (Addr)&uc->uc_mcontext.gregs[VKI_REG_RBX], sizeof(UWord)); in ML_() 129 uc->uc_mcontext.gregs[VKI_REG_RCX] = tst->arch.vex.guest_RCX; in ML_() [all …]
|
D | syswrap-x86-solaris.c | 112 uc->uc_mcontext.gregs[VKI_EIP] = (UWord)ML_(start_thread_NORETURN); in ML_() 113 uc->uc_mcontext.gregs[VKI_UESP] = (UWord)stack; in ML_() 125 uc->uc_mcontext.gregs[VKI_CS] = cs; in ML_() 126 uc->uc_mcontext.gregs[VKI_DS] = ds; in ML_() 127 uc->uc_mcontext.gregs[VKI_SS] = ss; in ML_() 128 uc->uc_mcontext.gregs[VKI_ES] = es; in ML_() 129 uc->uc_mcontext.gregs[VKI_FS] = fs; in ML_() 130 uc->uc_mcontext.gregs[VKI_GS] = gs; in ML_() 144 uc->uc_mcontext.gregs[VKI_EIP] = tst->arch.vex.guest_EIP; in ML_() 146 (Addr)&uc->uc_mcontext.gregs[VKI_EIP], sizeof(UWord)); in ML_() [all …]
|
/external/libunwind/src/sh/ |
D | Gresume.c | 44 regs[0] = uc->uc_mcontext.gregs[8]; in sh_local_resume() 45 regs[1] = uc->uc_mcontext.gregs[9]; in sh_local_resume() 46 regs[2] = uc->uc_mcontext.gregs[10]; in sh_local_resume() 47 regs[3] = uc->uc_mcontext.gregs[11]; in sh_local_resume() 48 regs[4] = uc->uc_mcontext.gregs[12]; in sh_local_resume() 49 regs[5] = uc->uc_mcontext.gregs[13]; in sh_local_resume() 50 regs[6] = uc->uc_mcontext.gregs[14]; in sh_local_resume() 51 regs[7] = uc->uc_mcontext.gregs[15]; in sh_local_resume() 81 sc->sc_regs[0] = uc->uc_mcontext.gregs[0]; in sh_local_resume() 82 sc->sc_regs[1] = uc->uc_mcontext.gregs[1]; in sh_local_resume() [all …]
|
/external/libchrome/base/debug/ |
D | stack_trace_posix.cc | 316 { " gs: ", context->uc_mcontext.gregs[REG_GS] }, in StackDumpSignalHandler() 317 { " fs: ", context->uc_mcontext.gregs[REG_FS] }, in StackDumpSignalHandler() 318 { " es: ", context->uc_mcontext.gregs[REG_ES] }, in StackDumpSignalHandler() 319 { " ds: ", context->uc_mcontext.gregs[REG_DS] }, in StackDumpSignalHandler() 320 { " edi: ", context->uc_mcontext.gregs[REG_EDI] }, in StackDumpSignalHandler() 321 { " esi: ", context->uc_mcontext.gregs[REG_ESI] }, in StackDumpSignalHandler() 322 { " ebp: ", context->uc_mcontext.gregs[REG_EBP] }, in StackDumpSignalHandler() 323 { " esp: ", context->uc_mcontext.gregs[REG_ESP] }, in StackDumpSignalHandler() 324 { " ebx: ", context->uc_mcontext.gregs[REG_EBX] }, in StackDumpSignalHandler() 325 { " edx: ", context->uc_mcontext.gregs[REG_EDX] }, in StackDumpSignalHandler() [all …]
|
/external/libunwind/src/x86_64/ |
D | Gos-linux.c | 113 case UNW_X86_64_R8: addr = &uc->uc_mcontext.gregs[REG_R8]; break; in x86_64_r_uc_addr() 114 case UNW_X86_64_R9: addr = &uc->uc_mcontext.gregs[REG_R9]; break; in x86_64_r_uc_addr() 115 case UNW_X86_64_R10: addr = &uc->uc_mcontext.gregs[REG_R10]; break; in x86_64_r_uc_addr() 116 case UNW_X86_64_R11: addr = &uc->uc_mcontext.gregs[REG_R11]; break; in x86_64_r_uc_addr() 117 case UNW_X86_64_R12: addr = &uc->uc_mcontext.gregs[REG_R12]; break; in x86_64_r_uc_addr() 118 case UNW_X86_64_R13: addr = &uc->uc_mcontext.gregs[REG_R13]; break; in x86_64_r_uc_addr() 119 case UNW_X86_64_R14: addr = &uc->uc_mcontext.gregs[REG_R14]; break; in x86_64_r_uc_addr() 120 case UNW_X86_64_R15: addr = &uc->uc_mcontext.gregs[REG_R15]; break; in x86_64_r_uc_addr() 121 case UNW_X86_64_RDI: addr = &uc->uc_mcontext.gregs[REG_RDI]; break; in x86_64_r_uc_addr() 122 case UNW_X86_64_RSI: addr = &uc->uc_mcontext.gregs[REG_RSI]; break; in x86_64_r_uc_addr() [all …]
|
/external/valgrind/memcheck/tests/amd64-solaris/ |
D | context_gpr.c | 25 ucp->uc_mcontext.gregs[REG_RCX] = x0; in sighandler() 28 *(uintptr_t*)&ucp->uc_mcontext.gregs[REG_RIP] = (uintptr_t)break_out; in sighandler() 79 uc.uc_mcontext.gregs[REG_RAX], uc.uc_mcontext.gregs[REG_RCX], in main() 80 uc.uc_mcontext.gregs[REG_RDX], uc.uc_mcontext.gregs[REG_RSI], in main() 81 uc.uc_mcontext.gregs[REG_RDI]); in main() 83 if (uc.uc_mcontext.gregs[REG_RBX]) in main()
|
D | context_rflags2.c | 34 *(uintptr_t*)&ucp->uc_mcontext.gregs[REG_RIP] = (uintptr_t)break_out; in sighandler() 80 if (!OBIT(uc.uc_mcontext.gregs[REG_RFL]) || in main() 81 !SBIT(uc.uc_mcontext.gregs[REG_RFL])) in main()
|
D | context_rflags.c | 59 OBIT(uc.uc_mcontext.gregs[REG_RFL]), in main() 60 SBIT(uc.uc_mcontext.gregs[REG_RFL])); in main()
|
/external/libunwind/src/x86/ |
D | Gos-linux.c | 258 case UNW_X86_GS: addr = &uc->uc_mcontext.gregs[REG_GS]; break; in x86_r_uc_addr() 259 case UNW_X86_FS: addr = &uc->uc_mcontext.gregs[REG_FS]; break; in x86_r_uc_addr() 260 case UNW_X86_ES: addr = &uc->uc_mcontext.gregs[REG_ES]; break; in x86_r_uc_addr() 261 case UNW_X86_DS: addr = &uc->uc_mcontext.gregs[REG_DS]; break; in x86_r_uc_addr() 262 case UNW_X86_EAX: addr = &uc->uc_mcontext.gregs[REG_EAX]; break; in x86_r_uc_addr() 263 case UNW_X86_EBX: addr = &uc->uc_mcontext.gregs[REG_EBX]; break; in x86_r_uc_addr() 264 case UNW_X86_ECX: addr = &uc->uc_mcontext.gregs[REG_ECX]; break; in x86_r_uc_addr() 265 case UNW_X86_EDX: addr = &uc->uc_mcontext.gregs[REG_EDX]; break; in x86_r_uc_addr() 266 case UNW_X86_ESI: addr = &uc->uc_mcontext.gregs[REG_ESI]; break; in x86_r_uc_addr() 267 case UNW_X86_EDI: addr = &uc->uc_mcontext.gregs[REG_EDI]; break; in x86_r_uc_addr() [all …]
|
/external/autotest/client/site_tests/security_SeccompSyscallFilters/src/ |
D | resumption.c | 155 ctx->uc_mcontext.gregs[REG_ARG0], in TRAP_action() 156 ctx->uc_mcontext.gregs[REG_ARG1], in TRAP_action() 157 ctx->uc_mcontext.gregs[REG_ARG2], in TRAP_action() 158 ctx->uc_mcontext.gregs[REG_ARG3], in TRAP_action() 159 ctx->uc_mcontext.gregs[REG_ARG4], in TRAP_action() 160 ctx->uc_mcontext.gregs[REG_ARG5]); in TRAP_action() 163 if (ctx->uc_mcontext.gregs[REG_IP] >= 0xffffffffff600000ULL && in TRAP_action() 164 ctx->uc_mcontext.gregs[REG_IP] < 0xffffffffff601000ULL) in TRAP_action() 168 ctx->uc_mcontext.gregs[REG_SP] -= sizeof(unsigned long); in TRAP_action() 169 *((unsigned long *)ctx->uc_mcontext.gregs[REG_SP]) = in TRAP_action() [all …]
|
D | sigsegv.c | 136 ctx->uc_mcontext.gregs[REG_ARG0], in TRAP_action() 137 ctx->uc_mcontext.gregs[REG_ARG1], in TRAP_action() 138 ctx->uc_mcontext.gregs[REG_ARG2], in TRAP_action() 139 ctx->uc_mcontext.gregs[REG_ARG3], in TRAP_action() 140 ctx->uc_mcontext.gregs[REG_ARG4], in TRAP_action() 141 ctx->uc_mcontext.gregs[REG_ARG5], in TRAP_action() 142 ALIGN(ctx->uc_mcontext.gregs[REG_IP], 4096)); in TRAP_action() 147 local_mprotect((void *)ctx->uc_mcontext.gregs[REG_IP], sysconf(_SC_PAGE_SIZE)); in TRAP_action()
|
/external/valgrind/memcheck/tests/solaris/ |
D | thr_daemon_exit_standalone.c | 152 : [STACK_SEG] "=r" (ucontext.uc_mcontext.gregs[SS]) in lwp_create() 155 ucontext.uc_mcontext.gregs[EIP] = (greg_t) thread_func; in lwp_create() 156 ucontext.uc_mcontext.gregs[UESP] = (greg_t) stack; in lwp_create() 157 ucontext.uc_mcontext.gregs[EBP] = (greg_t) stack; in lwp_create() 159 ucontext.uc_mcontext.gregs[REG_SS] = UDS_SEL; in lwp_create() 160 ucontext.uc_mcontext.gregs[REG_RIP] = (greg_t) thread_func; in lwp_create() 161 ucontext.uc_mcontext.gregs[REG_RSP] = (greg_t) stack; in lwp_create() 162 ucontext.uc_mcontext.gregs[REG_RBP] = (greg_t) stack; in lwp_create()
|
/external/valgrind/memcheck/tests/x86-solaris/ |
D | context_gpr.c | 21 ucp->uc_mcontext.gregs[ECX] = x0; in sighandler() 77 uc.uc_mcontext.gregs[EAX], uc.uc_mcontext.gregs[EDX], in main() 78 uc.uc_mcontext.gregs[ESI], uc.uc_mcontext.gregs[EDI]); in main() 80 if (uc.uc_mcontext.gregs[EBX]) in main()
|
D | context_eflags2.c | 25 *(uintptr_t*)&ucp->uc_mcontext.gregs[EIP] = (uintptr_t)break_out; in sighandler() 71 if (!OBIT(uc.uc_mcontext.gregs[EFL]) || !SBIT(uc.uc_mcontext.gregs[EFL])) in main()
|
/external/elfutils/backends/ |
D | aarch64_initreg.c | 59 struct user_regs_struct gregs; in aarch64_set_initial_registers_tid() 61 iovec.iov_base = &gregs; in aarch64_set_initial_registers_tid() 62 iovec.iov_len = sizeof (gregs); in aarch64_set_initial_registers_tid() 67 if (! setfunc (0, 32, (Dwarf_Word *) &gregs.regs[0], arg)) in aarch64_set_initial_registers_tid() 71 if (! setfunc (-1, 1, (Dwarf_Word *) &gregs.pc, arg)) in aarch64_set_initial_registers_tid()
|
D | arm_initreg.c | 74 struct user_regs_struct gregs; in arm_set_initial_registers_tid() 76 iovec.iov_base = &gregs; in arm_set_initial_registers_tid() 77 iovec.iov_len = sizeof (gregs); in arm_set_initial_registers_tid() 83 uint32_t *u32_ptr = (uint32_t *) &gregs.regs[0]; in arm_set_initial_registers_tid()
|
/external/v8/src/profiler/ |
D | sampler.cc | 94 uint64_t gregs[32]; member 122 uint32_t gregs[19]; member 141 uint64_t gregs[23]; member 449 state.pc = reinterpret_cast<Address>(mcontext.gregs[REG_EIP]); in HandleProfilerSignal() 450 state.sp = reinterpret_cast<Address>(mcontext.gregs[REG_ESP]); in HandleProfilerSignal() 451 state.fp = reinterpret_cast<Address>(mcontext.gregs[REG_EBP]); in HandleProfilerSignal() 453 state.pc = reinterpret_cast<Address>(mcontext.gregs[REG_RIP]); in HandleProfilerSignal() 454 state.sp = reinterpret_cast<Address>(mcontext.gregs[REG_RSP]); in HandleProfilerSignal() 455 state.fp = reinterpret_cast<Address>(mcontext.gregs[REG_RBP]); in HandleProfilerSignal() 460 state.pc = reinterpret_cast<Address>(mcontext.gregs[R15]); in HandleProfilerSignal() [all …]
|
/external/google-breakpad/src/client/solaris/handler/ |
D | minidump_generator.cc | 103 const prgregset_t *gregs = &(lsp->pr_reg); in IsLwpCrashedCallback() local 105 uintptr_t last_ebp = (*gregs)[R_FP]; in IsLwpCrashedCallback() 107 uintptr_t last_ebp = (*gregs)[EBP]; in IsLwpCrashedCallback() 156 int* regs = sig_ctx->uc_mcontext.gregs; in WriteContext() 171 context->g_r[i] = (uintptr_t)(sig_ctx->uc_mcontext.gregs[i + 3]); in WriteContext() 242 writer_args->sig_ctx->uc_mcontext.gregs[REG_O6], in WriteCrashedLwpStream() 256 writer_args->sig_ctx->uc_mcontext.gregs[UESP], in WriteCrashedLwpStream() 267 (int *)&writer_args->sig_ctx->uc_mcontext.gregs, in WriteCrashedLwpStream() 276 const prgregset_t *gregs = &(lsp->pr_reg); in WriteLwpStream() local 280 (*gregs)[R_SP], in WriteLwpStream() [all …]
|
/external/google-breakpad/src/common/android/ |
D | breakpad_getcontext_unittest.cc | 71 offsetof(ucontext_t,uc_mcontext.gregs)); in TEST() 74 offsetof(ucontext_t,uc_mcontext.gregs[REG_##x])) in TEST() 102 offsetof(ucontext_t,uc_mcontext.gregs)); in TEST() 116 offsetof(ucontext_t,uc_mcontext.gregs), in TEST() 120 offsetof(ucontext_t,uc_mcontext.gregs[REG_##x]), reg_##x) in TEST() 179 offsetof(ucontext_t,uc_mcontext.gregs)); in TEST()
|
/external/google-breakpad/src/client/linux/dump_writer_common/ |
D | ucontext_reader.cc | 44 return uc->uc_mcontext.gregs[REG_ESP]; in GetStackPointer() 48 return uc->uc_mcontext.gregs[REG_EIP]; in GetInstructionPointer() 53 const greg_t* regs = uc->uc_mcontext.gregs; in FillCPUContext() 92 return uc->uc_mcontext.gregs[REG_RSP]; 96 return uc->uc_mcontext.gregs[REG_RIP]; 101 const greg_t* regs = uc->uc_mcontext.gregs; 214 return uc->uc_mcontext.gregs[MD_CONTEXT_MIPS_REG_SP]; 225 out->iregs[i] = uc->uc_mcontext.gregs[i];
|
/external/valgrind/none/tests/x86-linux/ |
D | sigcontext.c | 16 if (uc->uc_mcontext.gregs[REG_EAX] != 0) in handler1() 17 printf("FAILED: handler2 expected eax == 0, not %d\n", uc->uc_mcontext.gregs[REG_EAX]); in handler1() 18 uc->uc_mcontext.gregs[REG_EAX] = VAL1; in handler1()
|
/external/ltrace/sysdeps/linux-gnu/aarch64/ |
D | fetch.c | 38 struct user_pt_regs gregs; member 49 if (aarch64_read_gregs(proc, &context->gregs) < 0 in context_init() 56 context->nsaa = (arch_addr_t) (uintptr_t) context->gregs.sp; in context_init() 74 uint64_t u = context->gregs.regs[context->ngrn++]; in fetch_next_gpr() 314 context->x8 = (arch_addr_t) (uintptr_t) context->gregs.regs[8]; in arch_fetch_arg_init()
|