HomeSort by relevance Sort by last modified time
    Searched refs:vex (Results 1 - 25 of 36) sorted by null

1 2

  /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);
110 VexGuestAMD64State *vex = (VexGuestAMD64State *)vex_generic; local
172 VexGuestAMD64State *vex = (VexGuestAMD64State *)vex_generic; local
295 VexGuestAMD64State *vex = &tst->arch.vex; local
390 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 310 syscallno, &tst->arch.vex,
317 VG_DARWIN_SYSNO_FOR_KERNEL(syscallno), &tst->arch.vex,
323 VG_DARWIN_SYSNO_FOR_KERNEL(syscallno), &tst->arch.vex,
329 VG_DARWIN_SYSNO_FOR_KERNEL(syscallno), &tst->arch.vex,
    [all...]
syswrap-x86-linux.c 255 ctst->arch.vex.guest_EAX = 0;
258 ctst->arch.vex.guest_ESP = esp;
314 ptst->arch.vex.guest_ESP,
315 ctst->arch.vex.guest_FS, ctst->arch.vex.guest_GS);
502 static void deallocate_LGDTs_for_thread ( VexGuestX86State* vex )
509 vex->guest_LDT, vex->guest_GDT );
511 if (vex->guest_LDT != (HWord)NULL) {
512 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;
371 ctst->arch.vex.guest_GPR13 = child_tls;
422 child->vex = parent->vex;
    [all...]
syswrap-amd64-linux.c 244 ctst->arch.vex.guest_RAX = 0;
247 ctst->arch.vex.guest_RSP = rsp;
297 ctst->arch.vex.guest_FS_ZERO = tlsaddr;
339 child->vex = parent->vex;
505 tst->arch.vex.guest_RSP -= sizeof(Addr);
543 tst->arch.vex.guest_FS_ZERO = ARG2;
548 *(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
    [all...]
m_stacktrace.c 471 Word hsp = VG_(threads)[tid_if_known].arch.vex.guest_REDIR_SP;
475 .arch.vex.guest_REDIR_STACK[hsp-1];
549 .arch.vex.guest_REDIR_SP;
554 .arch.vex.guest_REDIR_STACK[hsp-1];
pub_core_threadstate.h 101 /* --- BEGIN vex-mandated guest state --- */
110 VexGuestArchState vex __attribute__((aligned(16))); member in struct:__anon14009
119 /* --- END vex-mandated guest state --- */
  /external/valgrind/main/coregrind/m_sigframe/
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-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-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-amd64-darwin.c 57 and return. However .. for now .. just stick the vex guest state
145 frame->gst = tst->arch.vex;
172 tst->arch.vex.guest_RDI = (ULong) sigNo;
173 tst->arch.vex.guest_RSI = (Addr) &frame->fake_siginfo;/* oh well */
174 tst->arch.vex.guest_RDX = (Addr) &frame->fake_ucontext; /* oh well */
215 tst->arch.vex = frame->gst;
225 tid, tst->arch.vex.guest_RIP);
sigframe-x86-darwin.c 57 and return. However .. for now .. just stick the vex guest state
148 frame->gst = tst->arch.vex;
215 tst->arch.vex = frame->gst;
225 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 47 #define rFromVEX2of3(vex) (((~(vex)) & 0x80) >> 7)
48 #define xFromVEX2of3(vex) (((~(vex)) & 0x40) >> 6)
49 #define bFromVEX2of3(vex) (((~(vex)) & 0x20) >> 5)
50 #define mmmmmFromVEX2of3(vex) ((vex) & 0x1f)
51 #define wFromVEX3of3(vex) (((vex) & 0x80) >> 7
    [all...]
  /external/valgrind/main/coregrind/m_initimg/
initimg-linux.c 964 adjustments to its initial image. Also we need to set up the VEX
    [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/none/tests/
cmdline2.stdout.exp 108 Vex options for all Valgrind tools:
109 --vex-iropt-verbosity=<0..9> [0]
110 --vex-iropt-level=<0..2> [2]
111 --vex-iropt-precise-memory-exns=no|yes [no]
112 --vex-iropt-unroll-thresh=<0..400> [120]
113 --vex-guest-max-insns=<1..100> [50]
114 --vex-guest-chase-thresh=<0..99> [10]
115 --vex-guest-chase-cond=no|yes [no]
  /external/valgrind/main/none/tests/s390x/
op_exception.stderr.exp 2 vex s390->IR: unknown insn: FFFF FFFF FFFF
  /external/valgrind/main/coregrind/m_scheduler/
scheduler.c 626 Specifically, check that what we have matches Vex's guest state
634 Addr a_vex = (Addr) & tst->arch.vex;
638 UInt sz_vex = (UInt) sizeof tst->arch.vex;
688 vg_assert(VG_IS_16_ALIGNED(& tst->arch.vex.guest_VSR0));
692 vg_assert(VG_IS_16_ALIGNED(& tst->arch.vex.guest_VSR1));
700 vg_assert(VG_IS_8_ALIGNED(& tst->arch.vex.guest_D0));
704 vg_assert(VG_IS_8_ALIGNED(& tst->arch.vex.guest_D1));
774 trc = (UInt)VG_(run_innerloop)( (void*)&tst->arch.vex,
849 argblock[1] = (UWord)&VG_(threads)[tid].arch.vex;
    [all...]

Completed in 1116 milliseconds

1 2