Home
last modified time | relevance | path

Searched refs:vex_state (Results 1 – 15 of 15) sorted by relevance

/external/valgrind/main/VEX/priv/
Dguest_ppc_helpers.c213 UInt LibVEX_GuestPPC32_get_CR ( /*IN*/const VexGuestPPC32State* vex_state ) in LibVEX_GuestPPC32_get_CR() argument
217 ( (vex_state->guest_CR##_n##_321 & (7<<1)) \ in LibVEX_GuestPPC32_get_CR()
218 | (vex_state->guest_CR##_n##_0 & 1) \ in LibVEX_GuestPPC32_get_CR()
234 UInt LibVEX_GuestPPC64_get_CR ( /*IN*/const VexGuestPPC64State* vex_state ) in LibVEX_GuestPPC64_get_CR() argument
238 ( (vex_state->guest_CR##_n##_321 & (7<<1)) \ in LibVEX_GuestPPC64_get_CR()
239 | (vex_state->guest_CR##_n##_0 & 1) \ in LibVEX_GuestPPC64_get_CR()
255 /*OUT*/VexGuestPPC32State* vex_state ) in LibVEX_GuestPPC32_put_CR() argument
262 vex_state->guest_CR##_n##_0 = toUChar(t & 1); \ in LibVEX_GuestPPC32_put_CR()
263 vex_state->guest_CR##_n##_321 = toUChar(t & (7<<1)); \ in LibVEX_GuestPPC32_put_CR()
282 /*OUT*/VexGuestPPC64State* vex_state ) in LibVEX_GuestPPC64_put_CR() argument
[all …]
Dguest_mips_helpers.c69 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 …]
Dguest_arm_helpers.c897 /*OUT*/VexGuestARMState* vex_state )
905 vex_state->guest_CC_OP = ARMG_CC_OP_COPY;
906 vex_state->guest_CC_DEP1 = flags_native;
907 vex_state->guest_CC_DEP2 = 0;
908 vex_state->guest_CC_NDEP = 0;
913 UInt LibVEX_GuestARM_get_cpsr ( /*IN*/const VexGuestARMState* vex_state ) in LibVEX_GuestARM_get_cpsr() argument
918 vex_state->guest_CC_OP, in LibVEX_GuestARM_get_cpsr()
919 vex_state->guest_CC_DEP1, in LibVEX_GuestARM_get_cpsr()
920 vex_state->guest_CC_DEP2, in LibVEX_GuestARM_get_cpsr()
921 vex_state->guest_CC_NDEP in LibVEX_GuestARM_get_cpsr()
[all …]
Dguest_amd64_helpers.c892 ULong LibVEX_GuestAMD64_get_rflags ( /*IN*/const VexGuestAMD64State* vex_state ) in LibVEX_GuestAMD64_get_rflags() argument
895 vex_state->guest_CC_OP, in LibVEX_GuestAMD64_get_rflags()
896 vex_state->guest_CC_DEP1, in LibVEX_GuestAMD64_get_rflags()
897 vex_state->guest_CC_DEP2, in LibVEX_GuestAMD64_get_rflags()
898 vex_state->guest_CC_NDEP in LibVEX_GuestAMD64_get_rflags()
900 Long dflag = vex_state->guest_DFLAG; in LibVEX_GuestAMD64_get_rflags()
904 if (vex_state->guest_IDFLAG == 1) in LibVEX_GuestAMD64_get_rflags()
906 if (vex_state->guest_ACFLAG == 1) in LibVEX_GuestAMD64_get_rflags()
915 /*MOD*/VexGuestAMD64State* vex_state ) in LibVEX_GuestAMD64_put_rflag_c() argument
918 vex_state->guest_CC_OP, in LibVEX_GuestAMD64_put_rflag_c()
[all …]
Dguest_x86_helpers.c716 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_eflag_c() argument
742 vex_state->guest_CC_OP, in LibVEX_GuestX86_put_eflag_c()
[all …]
Dguest_arm64_helpers.c1164 ULong LibVEX_GuestARM64_get_nzcv ( /*IN*/const VexGuestARM64State* vex_state ) in LibVEX_GuestARM64_get_nzcv() argument
1169 vex_state->guest_CC_OP, in LibVEX_GuestARM64_get_nzcv()
1170 vex_state->guest_CC_DEP1, in LibVEX_GuestARM64_get_nzcv()
1171 vex_state->guest_CC_DEP2, in LibVEX_GuestARM64_get_nzcv()
1172 vex_state->guest_CC_NDEP in LibVEX_GuestARM64_get_nzcv()
1202 void LibVEX_GuestARM64_initialise ( /*OUT*/VexGuestARM64State* vex_state ) in LibVEX_GuestARM64_initialise() argument
1204 vex_bzero(vex_state, sizeof(*vex_state)); in LibVEX_GuestARM64_initialise()
1225 vex_state->guest_CC_OP = ARM64G_CC_OP_COPY; in LibVEX_GuestARM64_initialise()
/external/valgrind/main/VEX/useful/
Dx87_to_vex_and_back.c46 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/main/VEX/pub/
Dlibvex_guest_ppc64.h298 void LibVEX_GuestPPC64_initialise ( /*OUT*/VexGuestPPC64State* vex_state );
305 /*OUT*/VexGuestPPC64State* vex_state );
311 UInt LibVEX_GuestPPC64_get_CR ( /*IN*/const VexGuestPPC64State* vex_state );
319 /*OUT*/VexGuestPPC64State* vex_state );
325 UInt LibVEX_GuestPPC64_get_XER ( /*IN*/const VexGuestPPC64State* vex_state );
Dlibvex_guest_ppc32.h261 void LibVEX_GuestPPC32_initialise ( /*OUT*/VexGuestPPC32State* vex_state );
268 /*OUT*/VexGuestPPC32State* vex_state );
273 UInt LibVEX_GuestPPC32_get_CR ( /*IN*/const VexGuestPPC32State* vex_state );
280 /*OUT*/VexGuestPPC32State* vex_state );
285 UInt LibVEX_GuestPPC32_get_XER ( /*IN*/const VexGuestPPC32State* vex_state );
Dlibvex_guest_amd64.h183 void LibVEX_GuestAMD64_initialise ( /*OUT*/VexGuestAMD64State* vex_state );
189 ULong LibVEX_GuestAMD64_get_rflags ( /*IN*/const VexGuestAMD64State* vex_state );
196 /*MOD*/VexGuestAMD64State* vex_state );
Dlibvex_guest_x86.h274 void LibVEX_GuestX86_initialise ( /*OUT*/VexGuestX86State* vex_state );
280 UInt LibVEX_GuestX86_get_eflags ( /*IN*/const VexGuestX86State* vex_state );
287 /*MOD*/VexGuestX86State* vex_state );
Dlibvex_guest_arm.h211 void LibVEX_GuestARM_initialise ( /*OUT*/VexGuestARMState* vex_state );
216 UInt LibVEX_GuestARM_get_cpsr ( /*IN*/const VexGuestARMState* vex_state );
Dlibvex_guest_arm64.h177 void LibVEX_GuestARM64_initialise ( /*OUT*/VexGuestARM64State* vex_state );
183 const VexGuestARM64State* vex_state );
Dlibvex_guest_mips64.h160 void LibVEX_GuestMIPS64_initialise ( /*OUT*/VexGuestMIPS64State* vex_state );
Dlibvex_guest_mips32.h161 void LibVEX_GuestMIPS32_initialise ( /*OUT*/VexGuestMIPS32State* vex_state );