Searched refs:vex (Results 1 - 25 of 36) sorted by relevance

12

/external/valgrind/main/coregrind/m_syswrap/
H A Dsyswrap-amd64-darwin.c68 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);
67 x86_thread_state64_from_vex(x86_thread_state64_t *mach, VexGuestAMD64State *vex) argument
96 x86_float_state64_from_vex(x86_float_state64_t *mach, VexGuestAMD64State *vex) argument
125 VexGuestAMD64State *vex = (VexGuestAMD64State *)vex_generic; local
144 x86_thread_state64_to_vex(const x86_thread_state64_t *mach, VexGuestAMD64State *vex) argument
173 x86_float_state64_to_vex(const x86_float_state64_t *mach, VexGuestAMD64State *vex) argument
202 VexGuestAMD64State *vex = (VexGuestAMD64State *)vex_generic; local
325 VexGuestAMD64State *vex = &tst->arch.vex; local
420 VexGuestAMD64State *vex; local
[all...]
H A Dsyswrap-x86-darwin.c66 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
65 x86_thread_state32_from_vex(i386_thread_state_t *mach, VexGuestX86State *vex) argument
87 x86_float_state32_from_vex(i386_float_state_t *mach, VexGuestX86State *vex) argument
101 VexGuestX86State *vex = (VexGuestX86State *)vex_generic; local
120 x86_thread_state32_to_vex(const i386_thread_state_t *mach, VexGuestX86State *vex) argument
142 x86_float_state32_to_vex(const i386_float_state_t *mach, VexGuestX86State *vex) argument
156 VexGuestX86State *vex = (VexGuestX86State *)vex_generic; local
282 VexGuestX86State *vex = &tst->arch.vex; local
385 VexGuestX86State *vex; local
[all...]
H A Dsyswrap-main.c311 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,
1380 getSyscallArgsFromGuestState( &sci->orig_args, &tst->arch.vex, trc );
1408 tst->arch.vex.guest_SC_CLASS = VG_DARWIN_SYSNO_CLASS(sysno);
1549 putSyscallArgsIntoGuestState( &sci->args, &tst->arch.vex );
1582 getSyscallStatusFromGuestState( &sci->status, &tst->arch.vex );
1638 putSyscallStatusIntoGuestState( tid, &sci->status, &tst->arch.vex );
1695 getSyscallStatusFromGuestState( &test_status, &tst->arch.vex );
[all...]
H A Dsyswrap-x86-linux.c256 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
[all...]
H A Dsyswrap-ppc64-linux.c313 { 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;
1060 //tst->arch.vex.guest_ESP -= sizeof(Addr);
/external/valgrind/main/coregrind/
H A Dm_debugger.c49 static Int ptrace_setregs(Int pid, VexGuestArchState* vex) argument
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
[all...]
H A Dm_machine.c44 #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
203 VexGuestArchState* vex = &(VG_(get_ThreadState)(tid)->arch.vex); local
[all...]
H A Dpub_core_threadstate.h103 /* --- BEGIN vex-mandated guest state --- */
112 VexGuestArchState vex __attribute__((aligned(16))); member in struct:__anon14989
121 /* --- END vex-mandated guest state --- */
/external/valgrind/main/coregrind/m_sigframe/
H A Dsigframe-mips32-linux.c126 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
[all...]
H A Dsigframe-s390x-linux.c65 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
[all...]
H A Dsigframe-amd64-linux.c103 VexGuestAMD64State vex; member in struct:vg_sigframe
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;
523 tst->arch.vex
[all...]
H A Dsigframe-ppc64-linux.c121 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...]
H A Dsigframe-x86-linux.c109 VexGuestX86State vex; member in struct:vg_sigframe
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...]
H A Dsigframe-arm-linux.c56 /* 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
[all...]
H A Dsigframe-ppc32-linux.c123 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...]
H A Dsigframe-amd64-darwin.c57 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);
H A Dsigframe-x86-darwin.c57 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/
H A Dcoredump-elf.c252 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
[all...]
/external/llvm/lib/Target/X86/Disassembler/
H A DX86DisassemblerDecoder.h48 #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)
[all...]
/external/valgrind/main/coregrind/m_initimg/
H A Dinitimg-linux.c992 LibVEX_GuestX86_initialise(&arch->vex);
999 arch->vex.guest_ESP = iifii.initial_client_SP;
1000 arch->vex.guest_EIP = iifii.initial_client_IP;
1004 asm volatile("movw %%cs, %0" : : "m" (arch->vex.guest_CS));
1005 asm volatile("movw %%ds, %0" : : "m" (arch->vex.guest_DS));
1006 asm volatile("movw %%ss, %0" : : "m" (arch->vex.guest_SS));
1007 asm volatile("movw %%es, %0" : : "m" (arch->vex.guest_ES));
1014 LibVEX_GuestAMD64_initialise(&arch->vex);
1021 arch->vex.guest_RSP = iifii.initial_client_SP;
1022 arch->vex
[all...]
H A Dinitimg-darwin.c592 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/
H A Dscheduler.c685 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,
884 tst->arch.vex
[all...]
/external/valgrind/main/none/tests/s390x/
H A Dop_exception.stderr.exp2 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/
H A Dcmdline2.stdout.exp120 --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]
/external/valgrind/main/VEX/switchback/
H A Dbinary_switchback.pl15 # This script can't handle other vex output,
243 if ($line =~ /^vex /) { next; }

Completed in 283 milliseconds

12