/external/qemu/ |
D | cpu-exec.c | 855 # define EIP_sig(context) (*((unsigned long*)&(context)->uc_mcontext->ss.eip)) 856 # define TRAP_sig(context) ((context)->uc_mcontext->es.trapno) 857 # define ERROR_sig(context) ((context)->uc_mcontext->es.err) 862 # define EIP_sig(context) ((context)->uc_mcontext.__gregs[_REG_EIP]) 863 # define TRAP_sig(context) ((context)->uc_mcontext.__gregs[_REG_TRAPNO]) 864 # define ERROR_sig(context) ((context)->uc_mcontext.__gregs[_REG_ERR]) 869 # define EIP_sig(context) (*((unsigned long*)&(context)->uc_mcontext.mc_eip)) 870 # define TRAP_sig(context) ((context)->uc_mcontext.mc_trapno) 871 # define ERROR_sig(context) ((context)->uc_mcontext.mc_err) 879 # define EIP_sig(context) ((context)->uc_mcontext.gregs[REG_EIP]) [all …]
|
/external/valgrind/main/coregrind/m_sigframe/ |
D | sigframe-ppc64-linux.c | 246 # define DO(gpr) frame->uc.uc_mcontext.gp_regs[VKI_PT_R0+gpr] \ in VG_() 254 frame->uc.uc_mcontext.gp_regs[VKI_PT_NIP] = tst->arch.vex.guest_CIA; in VG_() 255 frame->uc.uc_mcontext.gp_regs[VKI_PT_MSR] = 0xf032; /* pretty arbitrary */ in VG_() 256 frame->uc.uc_mcontext.gp_regs[VKI_PT_ORIG_R3] = tst->arch.vex.guest_GPR3; in VG_() 257 frame->uc.uc_mcontext.gp_regs[VKI_PT_CTR] = tst->arch.vex.guest_CTR; in VG_() 258 frame->uc.uc_mcontext.gp_regs[VKI_PT_LNK] = tst->arch.vex.guest_LR; in VG_() 259 frame->uc.uc_mcontext.gp_regs[VKI_PT_XER] = LibVEX_GuestPPC64_get_XER( in VG_() 261 frame->uc.uc_mcontext.gp_regs[VKI_PT_CCR] = LibVEX_GuestPPC64_get_CR( in VG_() 359 = frame->uc.uc_mcontext.gp_regs[VKI_PT_R0+gpr] in VG_() 366 tst->arch.vex.guest_CIA = frame->uc.uc_mcontext.gp_regs[VKI_PT_NIP]; in VG_() [all …]
|
D | sigframe-x86-linux.c | 356 struct vki_sigcontext *sc = &uc->uc_mcontext; in synth_ucontext() 496 trapno = siguc->uc_mcontext.trapno; in build_sigframe() 497 err = siguc->uc_mcontext.err; in build_sigframe() 505 VG_(memcpy)(&frame->sigContext, &uc.uc_mcontext, in build_sigframe() 553 trapno = siguc->uc_mcontext.trapno; in build_rt_sigframe() 554 err = siguc->uc_mcontext.err; in build_rt_sigframe() 690 restore_sigcontext(tst, &frame->uContext.uc_mcontext, &frame->fpstate); in restore_rt_sigframe()
|
D | sigframe-arm-linux.c | 128 struct vki_sigcontext *sc = &uc->uc_mcontext; in synth_ucontext() 179 trapno = siguc->uc_mcontext.trap_no; in build_sigframe() 180 err = siguc->uc_mcontext.error_code; in build_sigframe() 290 mc = &frame->sig.uc.uc_mcontext; in VG_() 297 mc = &frame->uc.uc_mcontext; in VG_()
|
D | sigframe-amd64-linux.c | 332 struct vki_sigcontext *sc = &uc->uc_mcontext; in synth_ucontext() 471 trapno = siguc->uc_mcontext.trapno; in build_rt_sigframe() 472 err = siguc->uc_mcontext.err; in build_rt_sigframe() 602 restore_sigcontext(tst, &frame->uContext.uc_mcontext, &frame->fpstate); in restore_rt_sigframe()
|
D | sigframe-ppc32-linux.c | 732 ucp->uc_regs = &ucp->uc_mcontext; in VG_() 738 stack_mcontext(&ucp->uc_mcontext, tst, True/*use_rt_sigreturn*/, faultaddr); in VG_() 904 mc = &frame->ucontext.uc_mcontext; in VG_()
|
D | sigframe-s390x-linux.c | 410 save_sigregs(tst, &frame->uc.uc_mcontext); in build_rt_sigframe() 528 restore_sigregs(tst, &frame->uc.uc_mcontext); in restore_rt_sigframe()
|
/external/valgrind/main/coregrind/ |
D | m_signals.c | 271 # define VG_UCONTEXT_INSTR_PTR(uc) ((uc)->uc_mcontext.eip) 272 # define VG_UCONTEXT_STACK_PTR(uc) ((uc)->uc_mcontext.esp) 275 VG_(mk_SysRes_x86_linux)( (uc)->uc_mcontext.eax ) 277 { (srP)->r_pc = (ULong)((uc)->uc_mcontext.eip); \ 278 (srP)->r_sp = (ULong)((uc)->uc_mcontext.esp); \ 279 (srP)->misc.X86.r_ebp = (uc)->uc_mcontext.ebp; \ 283 # define VG_UCONTEXT_INSTR_PTR(uc) ((uc)->uc_mcontext.rip) 284 # define VG_UCONTEXT_STACK_PTR(uc) ((uc)->uc_mcontext.rsp) 287 VG_(mk_SysRes_amd64_linux)( (uc)->uc_mcontext.rax ) 289 { (srP)->r_pc = (uc)->uc_mcontext.rip; \ [all …]
|
/external/compiler-rt/lib/asan/ |
D | asan_linux.cc | 57 *pc = ucontext->uc_mcontext.arm_pc; in GetPcSpBp() 58 *bp = ucontext->uc_mcontext.arm_fp; in GetPcSpBp() 59 *sp = ucontext->uc_mcontext.arm_sp; in GetPcSpBp() 62 *pc = ucontext->uc_mcontext.gregs[REG_RIP]; in GetPcSpBp() 63 *bp = ucontext->uc_mcontext.gregs[REG_RBP]; in GetPcSpBp() 64 *sp = ucontext->uc_mcontext.gregs[REG_RSP]; in GetPcSpBp() 67 *pc = ucontext->uc_mcontext.gregs[REG_EIP]; in GetPcSpBp() 68 *bp = ucontext->uc_mcontext.gregs[REG_EBP]; in GetPcSpBp() 69 *sp = ucontext->uc_mcontext.gregs[REG_ESP]; in GetPcSpBp()
|
D | asan_mac.cc | 43 *pc = ucontext->uc_mcontext->__ss.__rip; in GetPcSpBp() 44 *bp = ucontext->uc_mcontext->__ss.__rbp; in GetPcSpBp() 45 *sp = ucontext->uc_mcontext->__ss.__rsp; in GetPcSpBp() 47 *pc = ucontext->uc_mcontext->__ss.__eip; in GetPcSpBp() 48 *bp = ucontext->uc_mcontext->__ss.__ebp; in GetPcSpBp() 49 *sp = ucontext->uc_mcontext->__ss.__esp; in GetPcSpBp()
|
/external/chromium/base/ |
D | process_util_posix.cc | 129 context->uc_mcontext->__ss.__eax, in StackDumpSignalHandler() 130 context->uc_mcontext->__ss.__ebx, in StackDumpSignalHandler() 131 context->uc_mcontext->__ss.__ecx, in StackDumpSignalHandler() 132 context->uc_mcontext->__ss.__edx)); in StackDumpSignalHandler() 138 context->uc_mcontext->__ss.__edi, in StackDumpSignalHandler() 139 context->uc_mcontext->__ss.__esi, in StackDumpSignalHandler() 140 context->uc_mcontext->__ss.__ebp, in StackDumpSignalHandler() 141 context->uc_mcontext->__ss.__esp, in StackDumpSignalHandler() 142 context->uc_mcontext->__ss.__ss, in StackDumpSignalHandler() 143 context->uc_mcontext->__ss.__eflags)); in StackDumpSignalHandler() [all …]
|
/external/valgrind/main/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/valgrind/main/memcheck/tests/amd64-linux/ |
D | int3-amd64.c | 15 mcontext_t *mc = &(uc->uc_mcontext); in int_handler()
|
/external/valgrind/main/memcheck/tests/x86-linux/ |
D | int3-x86.c | 15 mcontext_t *mc = &(uc->uc_mcontext); in int_handler()
|
/external/v8/src/ |
D | platform-linux.cc | 959 mcontext_t uc_mcontext; member 992 mcontext_t uc_mcontext; member 1011 mcontext_t uc_mcontext; member 1050 mcontext_t& mcontext = ucontext->uc_mcontext; in ProfilerSignalHandler()
|
/external/valgrind/main/VEX/test/ |
D | test-i386.c | 1340 uc->uc_mcontext.gregs[REG_TRAPNO], 1341 uc->uc_mcontext.gregs[REG_ERR]); 1342 printf(" EIP=0x%08x", uc->uc_mcontext.gregs[REG_EIP]); 1515 printf("EIP=0x%08x\n", uc->uc_mcontext.gregs[REG_EIP]);
|
D | test-amd64.c | 1380 uc->uc_mcontext.gregs[REG_TRAPNO], 1381 uc->uc_mcontext.gregs[REG_ERR]); 1382 printf(" EIP=0x%08x", uc->uc_mcontext.gregs[REG_EIP]); 1555 printf("EIP=0x%08x\n", uc->uc_mcontext.gregs[REG_EIP]);
|
/external/valgrind/main/docs/internals/ |
D | porting-to-ARM.txt | 152 # define VG_UCONTEXT_INSTR_PTR(uc) ((uc)->uc_mcontext.arm_pc) 153 # define VG_UCONTEXT_STACK_PTR(uc) ((uc)->uc_mcontext.arm_sp) 154 # define VG_UCONTEXT_FRAME_PTR(uc) ((uc)->uc_mcontext.arm_fp) 155 # define VG_UCONTEXT_SYSCALL_NUM(uc) ((uc)->uc_mcontext.arm_r0) 758 struct vki_sigcontext uc_mcontext;
|
/external/valgrind/main/include/vki/ |
D | vki-amd64-linux.h | 515 struct vki_sigcontext uc_mcontext; member
|
D | vki-ppc32-linux.h | 751 struct vki_mcontext uc_mcontext; member
|
D | vki-s390x-linux.h | 791 _vki_sigregs uc_mcontext; member
|
D | vki-arm-linux.h | 599 struct vki_sigcontext uc_mcontext; member
|
D | vki-x86-linux.h | 619 struct vki_sigcontext uc_mcontext; member
|
D | vki-ppc64-linux.h | 659 struct vki_sigcontext uc_mcontext; /* last for extensibility */ member
|
/external/flac/libFLAC/ |
D | cpu.c | 134 ((ucontext_t*)uc)->uc_mcontext.gregs[14/*REG_EIP*/] += 3 + 3 + 6; in sigill_handler_sse_os()
|