/external/valgrind/VEX/priv/ |
D | guest_ppc_helpers.c | 224 UInt LibVEX_GuestPPC32_get_CR ( /*IN*/const VexGuestPPC32State* vex_state ) in LibVEX_GuestPPC32_get_CR() argument 228 ( (vex_state->guest_CR##_n##_321 & (7<<1)) \ in LibVEX_GuestPPC32_get_CR() 229 | (vex_state->guest_CR##_n##_0 & 1) \ in LibVEX_GuestPPC32_get_CR() 245 UInt LibVEX_GuestPPC64_get_CR ( /*IN*/const VexGuestPPC64State* vex_state ) in LibVEX_GuestPPC64_get_CR() argument 249 ( (vex_state->guest_CR##_n##_321 & (7<<1)) \ in LibVEX_GuestPPC64_get_CR() 250 | (vex_state->guest_CR##_n##_0 & 1) \ in LibVEX_GuestPPC64_get_CR() 266 /*OUT*/VexGuestPPC32State* vex_state ) in LibVEX_GuestPPC32_put_CR() argument 273 vex_state->guest_CR##_n##_0 = toUChar(t & 1); \ in LibVEX_GuestPPC32_put_CR() 274 vex_state->guest_CR##_n##_321 = toUChar(t & (7<<1)); \ in LibVEX_GuestPPC32_put_CR() 293 /*OUT*/VexGuestPPC64State* vex_state ) in LibVEX_GuestPPC64_put_CR() argument [all …]
|
D | guest_mips_helpers.c | 69 void LibVEX_GuestMIPS32_initialise( /*OUT*/ VexGuestMIPS32State * vex_state) in LibVEX_GuestMIPS32_initialise() argument 71 vex_state->guest_r0 = 0; /* Hardwired to 0 */ in LibVEX_GuestMIPS32_initialise() 72 vex_state->guest_r1 = 0; /* Assembler temporary */ in LibVEX_GuestMIPS32_initialise() 73 vex_state->guest_r2 = 0; /* Values for function returns ... */ in LibVEX_GuestMIPS32_initialise() 74 vex_state->guest_r3 = 0; /* ...and expression evaluation */ in LibVEX_GuestMIPS32_initialise() 75 vex_state->guest_r4 = 0; /* Function arguments */ in LibVEX_GuestMIPS32_initialise() 76 vex_state->guest_r5 = 0; in LibVEX_GuestMIPS32_initialise() 77 vex_state->guest_r6 = 0; in LibVEX_GuestMIPS32_initialise() 78 vex_state->guest_r7 = 0; in LibVEX_GuestMIPS32_initialise() 79 vex_state->guest_r8 = 0; /* Temporaries */ in LibVEX_GuestMIPS32_initialise() [all …]
|
D | guest_tilegx_helpers.c | 56 void LibVEX_GuestTILEGX_initialise ( VexGuestTILEGXState * vex_state ) in LibVEX_GuestTILEGX_initialise() argument 58 vex_state->guest_r0 = 0; in LibVEX_GuestTILEGX_initialise() 59 vex_state->guest_r1 = 0; in LibVEX_GuestTILEGX_initialise() 60 vex_state->guest_r2 = 0; in LibVEX_GuestTILEGX_initialise() 61 vex_state->guest_r3 = 0; in LibVEX_GuestTILEGX_initialise() 62 vex_state->guest_r4 = 0; in LibVEX_GuestTILEGX_initialise() 63 vex_state->guest_r5 = 0; in LibVEX_GuestTILEGX_initialise() 64 vex_state->guest_r6 = 0; in LibVEX_GuestTILEGX_initialise() 65 vex_state->guest_r7 = 0; in LibVEX_GuestTILEGX_initialise() 66 vex_state->guest_r8 = 0; in LibVEX_GuestTILEGX_initialise() [all …]
|
D | guest_arm_helpers.c | 947 /*OUT*/VexGuestARMState* vex_state ) 955 vex_state->guest_CC_OP = ARMG_CC_OP_COPY; 956 vex_state->guest_CC_DEP1 = flags_native; 957 vex_state->guest_CC_DEP2 = 0; 958 vex_state->guest_CC_NDEP = 0; 963 UInt LibVEX_GuestARM_get_cpsr ( /*IN*/const VexGuestARMState* vex_state ) in LibVEX_GuestARM_get_cpsr() argument 968 vex_state->guest_CC_OP, in LibVEX_GuestARM_get_cpsr() 969 vex_state->guest_CC_DEP1, in LibVEX_GuestARM_get_cpsr() 970 vex_state->guest_CC_DEP2, in LibVEX_GuestARM_get_cpsr() 971 vex_state->guest_CC_NDEP in LibVEX_GuestARM_get_cpsr() [all …]
|
D | guest_x86_helpers.c | 716 UInt LibVEX_GuestX86_get_eflags ( /*IN*/const VexGuestX86State* vex_state ) in LibVEX_GuestX86_get_eflags() argument 719 vex_state->guest_CC_OP, in LibVEX_GuestX86_get_eflags() 720 vex_state->guest_CC_DEP1, in LibVEX_GuestX86_get_eflags() 721 vex_state->guest_CC_DEP2, in LibVEX_GuestX86_get_eflags() 722 vex_state->guest_CC_NDEP in LibVEX_GuestX86_get_eflags() 724 UInt dflag = vex_state->guest_DFLAG; in LibVEX_GuestX86_get_eflags() 728 if (vex_state->guest_IDFLAG == 1) in LibVEX_GuestX86_get_eflags() 730 if (vex_state->guest_ACFLAG == 1) in LibVEX_GuestX86_get_eflags() 739 /*MOD*/VexGuestX86State* vex_state ) in LibVEX_GuestX86_put_eflags() argument 743 vex_state->guest_DFLAG = 0xFFFFFFFF; in LibVEX_GuestX86_put_eflags() [all …]
|
D | guest_amd64_helpers.c | 894 ULong LibVEX_GuestAMD64_get_rflags ( /*IN*/const VexGuestAMD64State* vex_state ) in LibVEX_GuestAMD64_get_rflags() argument 897 vex_state->guest_CC_OP, in LibVEX_GuestAMD64_get_rflags() 898 vex_state->guest_CC_DEP1, in LibVEX_GuestAMD64_get_rflags() 899 vex_state->guest_CC_DEP2, in LibVEX_GuestAMD64_get_rflags() 900 vex_state->guest_CC_NDEP in LibVEX_GuestAMD64_get_rflags() 902 Long dflag = vex_state->guest_DFLAG; in LibVEX_GuestAMD64_get_rflags() 906 if (vex_state->guest_IDFLAG == 1) in LibVEX_GuestAMD64_get_rflags() 908 if (vex_state->guest_ACFLAG == 1) in LibVEX_GuestAMD64_get_rflags() 917 /*MOD*/VexGuestAMD64State* vex_state ) in LibVEX_GuestAMD64_put_rflags() argument 921 vex_state->guest_DFLAG = -1; in LibVEX_GuestAMD64_put_rflags() [all …]
|
D | guest_arm64_helpers.c | 1158 ULong LibVEX_GuestARM64_get_nzcv ( /*IN*/const VexGuestARM64State* vex_state ) in LibVEX_GuestARM64_get_nzcv() argument 1163 vex_state->guest_CC_OP, in LibVEX_GuestARM64_get_nzcv() 1164 vex_state->guest_CC_DEP1, in LibVEX_GuestARM64_get_nzcv() 1165 vex_state->guest_CC_DEP2, in LibVEX_GuestARM64_get_nzcv() 1166 vex_state->guest_CC_NDEP in LibVEX_GuestARM64_get_nzcv() 1196 ULong LibVEX_GuestARM64_get_fpsr ( const VexGuestARM64State* vex_state ) in LibVEX_GuestARM64_get_fpsr() argument 1198 UInt w32 = vex_state->guest_QCFLAG[0] | vex_state->guest_QCFLAG[1] in LibVEX_GuestARM64_get_fpsr() 1199 | vex_state->guest_QCFLAG[2] | vex_state->guest_QCFLAG[3]; in LibVEX_GuestARM64_get_fpsr() 1207 void LibVEX_GuestARM64_set_fpsr ( /*MOD*/VexGuestARM64State* vex_state, in LibVEX_GuestARM64_set_fpsr() argument 1211 vex_state->guest_QCFLAG[0] = (UInt)((fpsr >> 27) & 1); in LibVEX_GuestARM64_set_fpsr() [all …]
|
/external/valgrind/VEX/useful/ |
D | x87_to_vex_and_back.c | 46 static void x87_to_vex ( /*IN*/UChar* x87_state, /*OUT*/UChar* vex_state ) in x87_to_vex() argument 50 Double* vexRegs = (Double*)(vex_state + OFFB_F0); in x87_to_vex() 51 UChar* vexTags = (UChar*)(vex_state + OFFB_FTAG0); in x87_to_vex() 71 *(UInt*)(vex_state + OFFB_FTOP) = ftop; in x87_to_vex() 80 static void vex_to_x87 ( /*IN*/UChar* vex_state, /*OUT*/UChar* x87_state ) in vex_to_x87() argument 84 Double* vexRegs = (Double*)(vex_state + OFFB_F0); in vex_to_x87() 85 UChar* vexTags = (UChar*)(vex_state + OFFB_FTAG0); in vex_to_x87() 87 UInt ftop = *(UInt*)(vex_state + OFFB_FTOP); in vex_to_x87() 115 static void printVexState ( UChar* vex_state ); 124 UChar* vex_state ) in capture_convert_show() argument [all …]
|
/external/valgrind/VEX/pub/ |
D | libvex_guest_x86.h | 275 void LibVEX_GuestX86_initialise ( /*OUT*/VexGuestX86State* vex_state ); 281 UInt LibVEX_GuestX86_get_eflags ( /*IN*/const VexGuestX86State* vex_state ); 286 /*MOD*/VexGuestX86State* vex_state ); 293 /*MOD*/VexGuestX86State* vex_state ); 299 void LibVEX_GuestX86_get_x87 ( /*IN*/VexGuestX86State* vex_state, 306 /*MOD*/VexGuestX86State* vex_state); 310 UInt LibVEX_GuestX86_get_mxcsr ( /*IN*/VexGuestX86State* vex_state ); 316 /*MOD*/VexGuestX86State* vex_state);
|
D | libvex_guest_amd64.h | 188 void LibVEX_GuestAMD64_initialise ( /*OUT*/VexGuestAMD64State* vex_state ); 194 ULong LibVEX_GuestAMD64_get_rflags ( /*IN*/const VexGuestAMD64State* vex_state ); 199 /*MOD*/VexGuestAMD64State* vex_state ); 206 /*MOD*/VexGuestAMD64State* vex_state );
|
D | libvex_guest_arm64.h | 178 void LibVEX_GuestARM64_initialise ( /*OUT*/VexGuestARM64State* vex_state ); 184 const VexGuestARM64State* vex_state ); 190 const VexGuestARM64State* vex_state ); 194 void LibVEX_GuestARM64_set_fpsr ( /*MOD*/VexGuestARM64State* vex_state,
|
D | libvex_guest_ppc32.h | 263 void LibVEX_GuestPPC32_initialise ( /*OUT*/VexGuestPPC32State* vex_state ); 270 /*OUT*/VexGuestPPC32State* vex_state ); 275 UInt LibVEX_GuestPPC32_get_CR ( /*IN*/const VexGuestPPC32State* vex_state ); 282 /*OUT*/VexGuestPPC32State* vex_state ); 287 UInt LibVEX_GuestPPC32_get_XER ( /*IN*/const VexGuestPPC32State* vex_state );
|
D | libvex_guest_ppc64.h | 306 void LibVEX_GuestPPC64_initialise ( /*OUT*/VexGuestPPC64State* vex_state ); 313 /*OUT*/VexGuestPPC64State* vex_state ); 319 UInt LibVEX_GuestPPC64_get_CR ( /*IN*/const VexGuestPPC64State* vex_state ); 327 /*OUT*/VexGuestPPC64State* vex_state ); 333 UInt LibVEX_GuestPPC64_get_XER ( /*IN*/const VexGuestPPC64State* vex_state );
|
D | libvex_guest_arm.h | 211 void LibVEX_GuestARM_initialise ( /*OUT*/VexGuestARMState* vex_state ); 216 UInt LibVEX_GuestARM_get_cpsr ( /*IN*/const VexGuestARMState* vex_state );
|
D | libvex_guest_mips64.h | 160 void LibVEX_GuestMIPS64_initialise ( /*OUT*/VexGuestMIPS64State* vex_state );
|
D | libvex_guest_mips32.h | 161 void LibVEX_GuestMIPS32_initialise ( /*OUT*/VexGuestMIPS32State* vex_state );
|
D | libvex_guest_tilegx.h | 141 void LibVEX_GuestTILEGX_initialise ( /*OUT*/VexGuestTILEGXState* vex_state );
|