/external/valgrind/main/coregrind/m_syswrap/ |
syswrap-amd64-darwin.c | 68 VexGuestAMD64State *vex) 70 mach->__rax = vex->guest_RAX; 71 mach->__rbx = vex->guest_RBX; 72 mach->__rcx = vex->guest_RCX; 73 mach->__rdx = vex->guest_RDX; 74 mach->__rdi = vex->guest_RDI; 75 mach->__rsi = vex->guest_RSI; 76 mach->__rbp = vex->guest_RBP; 77 mach->__rsp = vex->guest_RSP; 78 mach->__rflags = LibVEX_GuestAMD64_get_rflags(vex); 125 VexGuestAMD64State *vex = (VexGuestAMD64State *)vex_generic; local 202 VexGuestAMD64State *vex = (VexGuestAMD64State *)vex_generic; local 325 VexGuestAMD64State *vex = &tst->arch.vex; local 420 VexGuestAMD64State *vex; local [all...] |
syswrap-x86-darwin.c | 66 VexGuestX86State *vex) 68 mach->__eax = vex->guest_EAX; 69 mach->__ebx = vex->guest_EBX; 70 mach->__ecx = vex->guest_ECX; 71 mach->__edx = vex->guest_EDX; 72 mach->__edi = vex->guest_EDI; 73 mach->__esi = vex->guest_ESI; 74 mach->__ebp = vex->guest_EBP; 75 mach->__esp = vex->guest_ESP; 76 mach->__ss = vex->guest_SS 101 VexGuestX86State *vex = (VexGuestX86State *)vex_generic; local 156 VexGuestX86State *vex = (VexGuestX86State *)vex_generic; local 282 VexGuestX86State *vex = &tst->arch.vex; local 385 VexGuestX86State *vex; local [all...] |
syswrap-main.c | 311 syscallno, &tst->arch.vex, 318 VG_DARWIN_SYSNO_FOR_KERNEL(syscallno), &tst->arch.vex, 324 VG_DARWIN_SYSNO_FOR_KERNEL(syscallno), &tst->arch.vex, 330 VG_DARWIN_SYSNO_FOR_KERNEL(syscallno), &tst->arch.vex, [all...] |
syswrap-x86-linux.c | 256 ctst->arch.vex.guest_EAX = 0; 259 ctst->arch.vex.guest_ESP = esp; 316 ptst->arch.vex.guest_ESP, 317 ctst->arch.vex.guest_FS, ctst->arch.vex.guest_GS); 504 static void deallocate_LGDTs_for_thread ( VexGuestX86State* vex ) 511 vex->guest_LDT, vex->guest_GDT ); 513 if (vex->guest_LDT != (HWord)NULL) { 514 free_LDT_or_GDT( (VexGuestX86SegDescr*)vex->guest_LDT ) [all...] |
syswrap-ppc64-linux.c | 313 { UInt old_cr = LibVEX_GuestPPC64_get_CR( &ctst->arch.vex ); 315 ctst->arch.vex.guest_GPR3 = 0; 317 LibVEX_GuestPPC64_put_CR( old_cr & ~(1<<28), &ctst->arch.vex ); 321 ctst->arch.vex.guest_GPR1 = sp; 372 ctst->arch.vex.guest_GPR13 = child_tls; 423 child->vex = parent->vex; [all...] |
syswrap-amd64-linux.c | 245 ctst->arch.vex.guest_RAX = 0; 248 ctst->arch.vex.guest_RSP = rsp; 299 ctst->arch.vex.guest_FS_ZERO = tlsaddr; 341 child->vex = parent->vex; 521 tst->arch.vex.guest_RSP -= sizeof(Addr); 559 tst->arch.vex.guest_FS_ZERO = ARG2; 564 *(unsigned long *)ARG2 = tst->arch.vex.guest_FS_ZERO; [all...] |
/external/valgrind/main/coregrind/ |
m_debugger.c | 49 static Int ptrace_setregs(Int pid, VexGuestArchState* vex) 54 regs.cs = vex->guest_CS; 55 regs.ss = vex->guest_SS; 56 regs.ds = vex->guest_DS; 57 regs.es = vex->guest_ES; 58 regs.fs = vex->guest_FS; 59 regs.gs = vex->guest_GS; 60 regs.eax = vex->guest_EAX; 61 regs.ebx = vex->guest_EBX; 62 regs.ecx = vex->guest_ECX [all...] |
m_machine.c | 44 #define INSTR_PTR(regs) ((regs).vex.VG_INSTR_PTR) 45 #define STACK_PTR(regs) ((regs).vex.VG_STACK_PTR) 46 #define FRAME_PTR(regs) ((regs).vex.VG_FRAME_PTR) 69 regs->r_pc = (ULong)VG_(threads)[tid].arch.vex.guest_EIP; 70 regs->r_sp = (ULong)VG_(threads)[tid].arch.vex.guest_ESP; 72 = VG_(threads)[tid].arch.vex.guest_EBP; 74 regs->r_pc = VG_(threads)[tid].arch.vex.guest_RIP; 75 regs->r_sp = VG_(threads)[tid].arch.vex.guest_RSP; 77 = VG_(threads)[tid].arch.vex.guest_RBP; 79 regs->r_pc = (ULong)VG_(threads)[tid].arch.vex.guest_CIA 203 VexGuestArchState* vex = &(VG_(get_ThreadState)(tid)->arch.vex); local [all...] |
pub_core_threadstate.h | 103 /* --- BEGIN vex-mandated guest state --- */ 112 VexGuestArchState vex __attribute__((aligned(16))); member in struct:__anon16948 121 /* --- END vex-mandated guest state --- */
|
/external/valgrind/main/coregrind/m_sigframe/ |
sigframe-mips32-linux.c | 126 sc->sc_regs[1] = tst->arch.vex.guest_r1; 127 sc->sc_regs[2] = tst->arch.vex.guest_r2; 128 sc->sc_regs[3] = tst->arch.vex.guest_r3; 129 sc->sc_regs[4] = tst->arch.vex.guest_r4; 130 sc->sc_regs[5] = tst->arch.vex.guest_r5; 131 sc->sc_regs[6] = tst->arch.vex.guest_r6; 132 sc->sc_regs[7] = tst->arch.vex.guest_r7; 133 sc->sc_regs[8] = tst->arch.vex.guest_r8; 134 sc->sc_regs[9] = tst->arch.vex.guest_r9; 135 sc->sc_regs[10] = tst->arch.vex.guest_r10 [all...] |
sigframe-s390x-linux.c | 65 do { zztst->arch.vex.guest_r##zzn = (unsigned long)(zzval); \ 106 VexGuestS390XState vex; member in struct:vg_sigframe 147 sigregs->regs.gprs[0] = tst->arch.vex.guest_r0; 148 sigregs->regs.gprs[1] = tst->arch.vex.guest_r1; 149 sigregs->regs.gprs[2] = tst->arch.vex.guest_r2; 150 sigregs->regs.gprs[3] = tst->arch.vex.guest_r3; 151 sigregs->regs.gprs[4] = tst->arch.vex.guest_r4; 152 sigregs->regs.gprs[5] = tst->arch.vex.guest_r5; 153 sigregs->regs.gprs[6] = tst->arch.vex.guest_r6; 154 sigregs->regs.gprs[7] = tst->arch.vex.guest_r7 [all...] |
sigframe-amd64-linux.c | 103 VexGuestAMD64State vex; member in struct:vg_sigframe 323 Vex guest state. NOTE: does not fill in the FP or SSE 344 # define SC2(reg,REG) sc->reg = tst->arch.vex.guest_##REG 363 sc->eflags = LibVEX_GuestAMD64_get_rflags(&tst->arch.vex); 432 frame->vex = tst->arch.vex; 483 = (void*)tst->arch.vex.guest_RIP; 520 tst->arch.vex.guest_RIP = (Addr) handler; 521 tst->arch.vex.guest_RDI = (ULong) siginfo->si_signo; 522 tst->arch.vex.guest_RSI = (Addr) &frame->sigInfo [all...] |
sigframe-ppc64-linux.c | 121 do { tst->arch.vex.guest_LR = (zzval); \ 128 do { tst->arch.vex.guest_GPR##zzn = (zzval); \ 225 *(Addr *)sp = tst->arch.vex.guest_GPR1; 232 faultaddr = tst->arch.vex.guest_CIA; 247 = tst->arch.vex.guest_GPR##gpr 254 frame->uc.uc_mcontext.gp_regs[VKI_PT_NIP] = tst->arch.vex.guest_CIA; 256 frame->uc.uc_mcontext.gp_regs[VKI_PT_ORIG_R3] = tst->arch.vex.guest_GPR3; 257 frame->uc.uc_mcontext.gp_regs[VKI_PT_CTR] = tst->arch.vex.guest_CTR; 258 frame->uc.uc_mcontext.gp_regs[VKI_PT_LNK] = tst->arch.vex.guest_LR; 260 &tst->arch.vex); [all...] |
sigframe-x86-linux.c | 109 VexGuestX86State vex; member in struct:vg_sigframe 347 Vex guest state. NOTE: does not fill in the FP or SSE 368 # define SC2(reg,REG) sc->reg = tst->arch.vex.guest_##REG 385 sc->eflags = LibVEX_GuestX86_get_eflags(&tst->arch.vex); 452 frame->vex = tst->arch.vex; 567 = (void*)tst->arch.vex.guest_EIP; 607 tst->arch.vex.guest_EIP = (Addr) handler; 614 esp, tst->arch.vex.guest_EIP, tst->status); 643 tst->arch.vex = frame->vex [all...] |
sigframe-arm-linux.c | 56 /* This uses the hack of dumping the vex guest state along with both 68 VexGuestARMState vex; member in struct:vg_sig_private 137 # define SC2(reg,REG) sc->arm_##reg = tst->arch.vex.guest_##REG 193 priv->vex = tst->arch.vex; 241 rsf->info._sifields._sigfault._addr = (Addr *) (tst)->arch.vex.guest_R12; /* IP */ 248 tst->arch.vex.guest_R1 = (Addr)&rsf->info; 249 tst->arch.vex.guest_R2 = (Addr)&rsf->sig.uc; 259 tst->arch.vex.guest_R0 = sigNo; 262 tst->arch.vex.guest_R14 = (Addr)restorer; [all...] |
sigframe-ppc32-linux.c | 123 do { tst->arch.vex.guest_LR = (zzval); \ 130 do { tst->arch.vex.guest_GPR##zzn = (zzval); \ 146 # define DO(gpr) mc->mc_gregs[VKI_PT_R0+gpr] = tst->arch.vex.guest_GPR##gpr 153 mc->mc_gregs[VKI_PT_NIP] = tst->arch.vex.guest_CIA; 155 mc->mc_gregs[VKI_PT_ORIG_R3] = tst->arch.vex.guest_GPR3; 156 mc->mc_gregs[VKI_PT_CTR] = tst->arch.vex.guest_CTR; 157 mc->mc_gregs[VKI_PT_LNK] = tst->arch.vex.guest_LR; 158 mc->mc_gregs[VKI_PT_XER] = LibVEX_GuestPPC32_get_XER(&tst->arch.vex); 159 mc->mc_gregs[VKI_PT_CCR] = LibVEX_GuestPPC32_get_CR(&tst->arch.vex); 213 //:: VexGuestPPC32State vex; [all...] |
sigframe-amd64-darwin.c | 57 and return. However .. for now .. just stick the vex guest state 147 frame->gst = tst->arch.vex; 174 tst->arch.vex.guest_RDI = (ULong) sigNo; 175 tst->arch.vex.guest_RSI = (Addr) &frame->fake_siginfo;/* oh well */ 176 tst->arch.vex.guest_RDX = (Addr) &frame->fake_ucontext; /* oh well */ 221 tst->arch.vex = frame->gst; 232 tid, tst->arch.vex.guest_RIP);
|
sigframe-x86-darwin.c | 57 and return. However .. for now .. just stick the vex guest state 150 frame->gst = tst->arch.vex; 221 tst->arch.vex = frame->gst; 232 tid, tst->arch.vex.guest_EIP);
|
/external/valgrind/main/coregrind/m_coredump/ |
coredump-elf.c | 252 regs->eflags = LibVEX_GuestX86_get_eflags( &arch->vex ); 253 regs->esp = arch->vex.guest_ESP; 254 regs->eip = arch->vex.guest_EIP; 256 regs->ebx = arch->vex.guest_EBX; 257 regs->ecx = arch->vex.guest_ECX; 258 regs->edx = arch->vex.guest_EDX; 259 regs->esi = arch->vex.guest_ESI; 260 regs->edi = arch->vex.guest_EDI; 261 regs->ebp = arch->vex.guest_EBP; 262 regs->eax = arch->vex.guest_EAX [all...] |
/external/llvm/lib/Target/X86/Disassembler/ |
X86DisassemblerDecoder.h | 48 #define rFromVEX2of3(vex) (((~(vex)) & 0x80) >> 7) 49 #define xFromVEX2of3(vex) (((~(vex)) & 0x40) >> 6) 50 #define bFromVEX2of3(vex) (((~(vex)) & 0x20) >> 5) 51 #define mmmmmFromVEX2of3(vex) ((vex) & 0x1f) 52 #define wFromVEX3of3(vex) (((vex) & 0x80) >> 7 [all...] |
/external/valgrind/main/coregrind/m_initimg/ |
initimg-linux.c | [all...] |
initimg-darwin.c | 576 adjustments to its initial image. Also we need to set up the VEX 592 LibVEX_GuestX86_initialise(&arch->vex); 599 arch->vex.guest_ESP = iifii.initial_client_SP; 600 arch->vex.guest_EIP = iifii.initial_client_IP; 607 LibVEX_GuestAMD64_initialise(&arch->vex); 614 arch->vex.guest_RSP = iifii.initial_client_SP; 615 arch->vex.guest_RIP = iifii.initial_client_IP;
|
/external/valgrind/main/coregrind/m_scheduler/ |
scheduler.c | 677 Specifically, check that what we have matches Vex's guest state 685 Addr a_vex = (Addr) & tst->arch.vex; 689 UInt sz_vex = (UInt) sizeof tst->arch.vex; 759 vg_assert(VG_IS_16_ALIGNED(& tst->arch.vex.guest_VSR0)); 763 vg_assert(VG_IS_16_ALIGNED(& tst->arch.vex.guest_VSR1)); 771 vg_assert(VG_IS_16_ALIGNED(& tst->arch.vex.guest_D0)); 775 vg_assert(VG_IS_8_ALIGNED(& tst->arch.vex.guest_D1)); 853 UInt cno = (UInt)VG_TT_FAST_HASH((Addr)tst->arch.vex.VG_INSTR_PTR); 854 if (LIKELY(VG_(tt_fast)[cno].guest == (Addr)tst->arch.vex.VG_INSTR_PTR)) 862 (Addr)tst->arch.vex.VG_INSTR_PTR [all...] |
/external/valgrind/main/none/tests/s390x/ |
op_exception.stderr.exp | 2 vex s390->IR: unknown insn: 0000 15 vex s390->IR: unknown insn: 0000 28 vex s390->IR: unknown insn: FFFF FFFF FFFF 41 vex s390->IR: unknown insn: 0000
|
/external/valgrind/main/none/tests/ |
cmdline2.stdout.exp | 119 Vex options for all Valgrind tools: 120 --vex-iropt-verbosity=<0..9> [0] 121 --vex-iropt-level=<0..2> [2] 122 --vex-iropt-register-updates=unwindregs-at-mem-access 125 --vex-iropt-unroll-thresh=<0..400> [120] 126 --vex-guest-max-insns=<1..100> [50] 127 --vex-guest-chase-thresh=<0..99> [10] 128 --vex-guest-chase-cond=no|yes [no]
|