Lines Matching refs:vex

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;
80 regs->r_sp = (ULong)VG_(threads)[tid].arch.vex.guest_GPR1;
82 = VG_(threads)[tid].arch.vex.guest_LR;
84 regs->r_pc = VG_(threads)[tid].arch.vex.guest_CIA;
85 regs->r_sp = VG_(threads)[tid].arch.vex.guest_GPR1;
87 = VG_(threads)[tid].arch.vex.guest_LR;
89 regs->r_pc = (ULong)VG_(threads)[tid].arch.vex.guest_R15T;
90 regs->r_sp = (ULong)VG_(threads)[tid].arch.vex.guest_R13;
92 = VG_(threads)[tid].arch.vex.guest_R14;
94 = VG_(threads)[tid].arch.vex.guest_R12;
96 = VG_(threads)[tid].arch.vex.guest_R11;
98 = VG_(threads)[tid].arch.vex.guest_R7;
100 regs->r_pc = VG_(threads)[tid].arch.vex.guest_PC;
101 regs->r_sp = VG_(threads)[tid].arch.vex.guest_XSP;
102 regs->misc.ARM64.x29 = VG_(threads)[tid].arch.vex.guest_X29;
103 regs->misc.ARM64.x30 = VG_(threads)[tid].arch.vex.guest_X30;
105 regs->r_pc = (ULong)VG_(threads)[tid].arch.vex.guest_IA;
106 regs->r_sp = (ULong)VG_(threads)[tid].arch.vex.guest_SP;
108 = VG_(threads)[tid].arch.vex.guest_FP;
110 = VG_(threads)[tid].arch.vex.guest_LR;
112 regs->r_pc = VG_(threads)[tid].arch.vex.guest_PC;
113 regs->r_sp = VG_(threads)[tid].arch.vex.guest_r29;
115 = VG_(threads)[tid].arch.vex.guest_r30;
117 = VG_(threads)[tid].arch.vex.guest_r31;
119 = VG_(threads)[tid].arch.vex.guest_r28;
121 regs->r_pc = VG_(threads)[tid].arch.vex.guest_PC;
122 regs->r_sp = VG_(threads)[tid].arch.vex.guest_r29;
124 = VG_(threads)[tid].arch.vex.guest_r30;
126 = VG_(threads)[tid].arch.vex.guest_r31;
128 = VG_(threads)[tid].arch.vex.guest_r28;
130 regs->r_pc = VG_(threads)[tid].arch.vex.guest_pc;
131 regs->r_sp = VG_(threads)[tid].arch.vex.guest_r54;
133 = VG_(threads)[tid].arch.vex.guest_r52;
135 = VG_(threads)[tid].arch.vex.guest_r55;
157 case 0: src = (void*)(((Addr)&(tst->arch.vex)) + offset); break;
181 case 0: dst = (void*)(((Addr)&(tst->arch.vex)) + offset); break;
193 VexGuestArchState* vex = &(VG_(get_ThreadState)(tid)->arch.vex);
196 (*f)(tid, "EAX", vex->guest_EAX);
197 (*f)(tid, "ECX", vex->guest_ECX);
198 (*f)(tid, "EDX", vex->guest_EDX);
199 (*f)(tid, "EBX", vex->guest_EBX);
200 (*f)(tid, "ESI", vex->guest_ESI);
201 (*f)(tid, "EDI", vex->guest_EDI);
202 (*f)(tid, "ESP", vex->guest_ESP);
203 (*f)(tid, "EBP", vex->guest_EBP);
205 (*f)(tid, "RAX", vex->guest_RAX);
206 (*f)(tid, "RCX", vex->guest_RCX);
207 (*f)(tid, "RDX", vex->guest_RDX);
208 (*f)(tid, "RBX", vex->guest_RBX);
209 (*f)(tid, "RSI", vex->guest_RSI);
210 (*f)(tid, "RDI", vex->guest_RDI);
211 (*f)(tid, "RSP", vex->guest_RSP);
212 (*f)(tid, "RBP", vex->guest_RBP);
213 (*f)(tid, "R8" , vex->guest_R8 );
214 (*f)(tid, "R9" , vex->guest_R9 );
215 (*f)(tid, "R10", vex->guest_R10);
216 (*f)(tid, "R11", vex->guest_R11);
217 (*f)(tid, "R12", vex->guest_R12);
218 (*f)(tid, "R13", vex->guest_R13);
219 (*f)(tid, "R14", vex->guest_R14);
220 (*f)(tid, "R15", vex->guest_R15);
222 (*f)(tid, "GPR0" , vex->guest_GPR0 );
223 (*f)(tid, "GPR1" , vex->guest_GPR1 );
224 (*f)(tid, "GPR2" , vex->guest_GPR2 );
225 (*f)(tid, "GPR3" , vex->guest_GPR3 );
226 (*f)(tid, "GPR4" , vex->guest_GPR4 );
227 (*f)(tid, "GPR5" , vex->guest_GPR5 );
228 (*f)(tid, "GPR6" , vex->guest_GPR6 );
229 (*f)(tid, "GPR7" , vex->guest_GPR7 );
230 (*f)(tid, "GPR8" , vex->guest_GPR8 );
231 (*f)(tid, "GPR9" , vex->guest_GPR9 );
232 (*f)(tid, "GPR10", vex->guest_GPR10);
233 (*f)(tid, "GPR11", vex->guest_GPR11);
234 (*f)(tid, "GPR12", vex->guest_GPR12);
235 (*f)(tid, "GPR13", vex->guest_GPR13);
236 (*f)(tid, "GPR14", vex->guest_GPR14);
237 (*f)(tid, "GPR15", vex->guest_GPR15);
238 (*f)(tid, "GPR16", vex->guest_GPR16);
239 (*f)(tid, "GPR17", vex->guest_GPR17);
240 (*f)(tid, "GPR18", vex->guest_GPR18);
241 (*f)(tid, "GPR19", vex->guest_GPR19);
242 (*f)(tid, "GPR20", vex->guest_GPR20);
243 (*f)(tid, "GPR21", vex->guest_GPR21);
244 (*f)(tid, "GPR22", vex->guest_GPR22);
245 (*f)(tid, "GPR23", vex->guest_GPR23);
246 (*f)(tid, "GPR24", vex->guest_GPR24);
247 (*f)(tid, "GPR25", vex->guest_GPR25);
248 (*f)(tid, "GPR26", vex->guest_GPR26);
249 (*f)(tid, "GPR27", vex->guest_GPR27);
250 (*f)(tid, "GPR28", vex->guest_GPR28);
251 (*f)(tid, "GPR29", vex->guest_GPR29);
252 (*f)(tid, "GPR30", vex->guest_GPR30);
253 (*f)(tid, "GPR31", vex->guest_GPR31);
254 (*f)(tid, "CTR" , vex->guest_CTR );
255 (*f)(tid, "LR" , vex->guest_LR );
257 (*f)(tid, "R0" , vex->guest_R0 );
258 (*f)(tid, "R1" , vex->guest_R1 );
259 (*f)(tid, "R2" , vex->guest_R2 );
260 (*f)(tid, "R3" , vex->guest_R3 );
261 (*f)(tid, "R4" , vex->guest_R4 );
262 (*f)(tid, "R5" , vex->guest_R5 );
263 (*f)(tid, "R6" , vex->guest_R6 );
264 (*f)(tid, "R8" , vex->guest_R8 );
265 (*f)(tid, "R9" , vex->guest_R9 );
266 (*f)(tid, "R10", vex->guest_R10);
267 (*f)(tid, "R11", vex->guest_R11);
268 (*f)(tid, "R12", vex->guest_R12);
269 (*f)(tid, "R13", vex->guest_R13);
270 (*f)(tid, "R14", vex->guest_R14);
272 (*f)(tid, "r0" , vex->guest_r0 );
273 (*f)(tid, "r1" , vex->guest_r1 );
274 (*f)(tid, "r2" , vex->guest_r2 );
275 (*f)(tid, "r3" , vex->guest_r3 );
276 (*f)(tid, "r4" , vex->guest_r4 );
277 (*f)(tid, "r5" , vex->guest_r5 );
278 (*f)(tid, "r6" , vex->guest_r6 );
279 (*f)(tid, "r7" , vex->guest_r7 );
280 (*f)(tid, "r8" , vex->guest_r8 );
281 (*f)(tid, "r9" , vex->guest_r9 );
282 (*f)(tid, "r10", vex->guest_r10);
283 (*f)(tid, "r11", vex->guest_r11);
284 (*f)(tid, "r12", vex->guest_r12);
285 (*f)(tid, "r13", vex->guest_r13);
286 (*f)(tid, "r14", vex->guest_r14);
287 (*f)(tid, "r15", vex->guest_r15);
289 (*f)(tid, "r0" , vex->guest_r0 );
290 (*f)(tid, "r1" , vex->guest_r1 );
291 (*f)(tid, "r2" , vex->guest_r2 );
292 (*f)(tid, "r3" , vex->guest_r3 );
293 (*f)(tid, "r4" , vex->guest_r4 );
294 (*f)(tid, "r5" , vex->guest_r5 );
295 (*f)(tid, "r6" , vex->guest_r6 );
296 (*f)(tid, "r7" , vex->guest_r7 );
297 (*f)(tid, "r8" , vex->guest_r8 );
298 (*f)(tid, "r9" , vex->guest_r9 );
299 (*f)(tid, "r10", vex->guest_r10);
300 (*f)(tid, "r11", vex->guest_r11);
301 (*f)(tid, "r12", vex->guest_r12);
302 (*f)(tid, "r13", vex->guest_r13);
303 (*f)(tid, "r14", vex->guest_r14);
304 (*f)(tid, "r15", vex->guest_r15);
305 (*f)(tid, "r16", vex->guest_r16);
306 (*f)(tid, "r17", vex->guest_r17);
307 (*f)(tid, "r18", vex->guest_r18);
308 (*f)(tid, "r19", vex->guest_r19);
309 (*f)(tid, "r20", vex->guest_r20);
310 (*f)(tid, "r21", vex->guest_r21);
311 (*f)(tid, "r22", vex->guest_r22);
312 (*f)(tid, "r23", vex->guest_r23);
313 (*f)(tid, "r24", vex->guest_r24);
314 (*f)(tid, "r25", vex->guest_r25);
315 (*f)(tid, "r26", vex->guest_r26);
316 (*f)(tid, "r27", vex->guest_r27);
317 (*f)(tid, "r28", vex->guest_r28);
318 (*f)(tid, "r29", vex->guest_r29);
319 (*f)(tid, "r30", vex->guest_r30);
320 (*f)(tid, "r31", vex->guest_r31);
322 (*f)(tid, "x0" , vex->guest_X0 );
323 (*f)(tid, "x1" , vex->guest_X1 );
324 (*f)(tid, "x2" , vex->guest_X2 );
325 (*f)(tid, "x3" , vex->guest_X3 );
326 (*f)(tid, "x4" , vex->guest_X4 );
327 (*f)(tid, "x5" , vex->guest_X5 );
328 (*f)(tid, "x6" , vex->guest_X6 );
329 (*f)(tid, "x7" , vex->guest_X7 );
330 (*f)(tid, "x8" , vex->guest_X8 );
331 (*f)(tid, "x9" , vex->guest_X9 );
332 (*f)(tid, "x10", vex->guest_X10);
333 (*f)(tid, "x11", vex->guest_X11);
334 (*f)(tid, "x12", vex->guest_X12);
335 (*f)(tid, "x13", vex->guest_X13);
336 (*f)(tid, "x14", vex->guest_X14);
337 (*f)(tid, "x15", vex->guest_X15);
338 (*f)(tid, "x16", vex->guest_X16);
339 (*f)(tid, "x17", vex->guest_X17);
340 (*f)(tid, "x18", vex->guest_X18);
341 (*f)(tid, "x19", vex->guest_X19);
342 (*f)(tid, "x20", vex->guest_X20);
343 (*f)(tid, "x21", vex->guest_X21);
344 (*f)(tid, "x22", vex->guest_X22);
345 (*f)(tid, "x23", vex->guest_X23);
346 (*f)(tid, "x24", vex->guest_X24);
347 (*f)(tid, "x25", vex->guest_X25);
348 (*f)(tid, "x26", vex->guest_X26);
349 (*f)(tid, "x27", vex->guest_X27);
350 (*f)(tid, "x28", vex->guest_X28);
351 (*f)(tid, "x29", vex->guest_X29);
352 (*f)(tid, "x30", vex->guest_X30);
354 (*f)(tid, "r0", vex->guest_r0 );
355 (*f)(tid, "r1", vex->guest_r1 );
356 (*f)(tid, "r2", vex->guest_r2 );
357 (*f)(tid, "r3", vex->guest_r3 );
358 (*f)(tid, "r4", vex->guest_r4 );
359 (*f)(tid, "r5", vex->guest_r5 );
360 (*f)(tid, "r6", vex->guest_r6 );
361 (*f)(tid, "r7", vex->guest_r7 );
362 (*f)(tid, "r8", vex->guest_r8 );
363 (*f)(tid, "r9", vex->guest_r9 );
364 (*f)(tid, "r10", vex->guest_r10);
365 (*f)(tid, "r11", vex->guest_r11);
366 (*f)(tid, "r12", vex->guest_r12);
367 (*f)(tid, "r13", vex->guest_r13);
368 (*f)(tid, "r14", vex->guest_r14);
369 (*f)(tid, "r15", vex->guest_r15);
370 (*f)(tid, "r16", vex->guest_r16);
371 (*f)(tid, "r17", vex->guest_r17);
372 (*f)(tid, "r18", vex->guest_r18);
373 (*f)(tid, "r19", vex->guest_r19);
374 (*f)(tid, "r20", vex->guest_r20);
375 (*f)(tid, "r21", vex->guest_r21);
376 (*f)(tid, "r22", vex->guest_r22);
377 (*f)(tid, "r23", vex->guest_r23);
378 (*f)(tid, "r24", vex->guest_r24);
379 (*f)(tid, "r25", vex->guest_r25);
380 (*f)(tid, "r26", vex->guest_r26);
381 (*f)(tid, "r27", vex->guest_r27);
382 (*f)(tid, "r28", vex->guest_r28);
383 (*f)(tid, "r29", vex->guest_r29);
384 (*f)(tid, "r30", vex->guest_r30);
385 (*f)(tid, "r31", vex->guest_r31);
386 (*f)(tid, "r32", vex->guest_r32);
387 (*f)(tid, "r33", vex->guest_r33);
388 (*f)(tid, "r34", vex->guest_r34);
389 (*f)(tid, "r35", vex->guest_r35);
390 (*f)(tid, "r36", vex->guest_r36);
391 (*f)(tid, "r37", vex->guest_r37);
392 (*f)(tid, "r38", vex->guest_r38);
393 (*f)(tid, "r39", vex->guest_r39);
394 (*f)(tid, "r40", vex->guest_r40);
395 (*f)(tid, "r41", vex->guest_r41);
396 (*f)(tid, "r42", vex->guest_r42);
397 (*f)(tid, "r43", vex->guest_r43);
398 (*f)(tid, "r44", vex->guest_r44);
399 (*f)(tid, "r45", vex->guest_r45);
400 (*f)(tid, "r46", vex->guest_r46);
401 (*f)(tid, "r47", vex->guest_r47);
402 (*f)(tid, "r48", vex->guest_r48);
403 (*f)(tid, "r49", vex->guest_r49);
404 (*f)(tid, "r50", vex->guest_r50);
405 (*f)(tid, "r51", vex->guest_r51);
406 (*f)(tid, "r52", vex->guest_r52);
407 (*f)(tid, "r53", vex->guest_r53);
408 (*f)(tid, "r54", vex->guest_r54);
409 (*f)(tid, "r55", vex->guest_r55);