Home | History | Annotate | Download | only in priv

Lines Matching full:dres

1344 static void jmp_lit( /*MOD*/DisResult* dres,
1347 vassert(dres->whatNext == Dis_Continue);
1348 vassert(dres->len == 0);
1349 vassert(dres->continueAt == 0);
1350 vassert(dres->jk_StopHere == Ijk_INVALID);
1351 dres->whatNext = Dis_StopHere;
1352 dres->jk_StopHere = kind;
1356 static void jmp_treg( /*MOD*/DisResult* dres,
1359 vassert(dres->whatNext == Dis_Continue);
1360 vassert(dres->len == 0);
1361 vassert(dres->continueAt == 0);
1362 vassert(dres->jk_StopHere == Ijk_INVALID);
1363 dres->whatNext = Dis_StopHere;
1364 dres->jk_StopHere = kind;
1369 void jcc_01( /*MOD*/DisResult* dres,
1374 vassert(dres->whatNext == Dis_Continue);
1375 vassert(dres->len == 0);
1376 vassert(dres->continueAt == 0);
1377 vassert(dres->jk_StopHere == Ijk_INVALID);
1378 dres->whatNext = Dis_StopHere;
1379 dres->jk_StopHere = Ijk_Boring;
3033 /*MOD*/DisResult* dres, /*OUT*/Bool* decode_OK )
3078 jmp_treg(dres, Ijk_Call, t1);
3079 vassert(dres->whatNext == Dis_StopHere);
3083 jmp_treg(dres, Ijk_Boring, t1);
3084 vassert(dres->whatNext == Dis_StopHere);
3134 jmp_treg(dres, Ijk_Call, t1);
3135 vassert(dres->whatNext == Dis_StopHere);
3139 jmp_treg(dres, Ijk_Boring, t1);
3140 vassert(dres->whatNext == Dis_StopHere);
3277 void dis_REP_op ( /*MOD*/DisResult* dres,
3297 jmp_lit(dres, Ijk_Boring, eip);
3298 vassert(dres->whatNext == Dis_StopHere);
3303 jmp_lit(dres, Ijk_Boring, eip_next);
3304 vassert(dres->whatNext == Dis_StopHere);
6846 void dis_ret ( /*MOD*/DisResult* dres, UInt d32 )
6853 jmp_treg(dres, Ijk_Ret, t2);
6854 vassert(dres->whatNext == Dis_StopHere);
7940 DisResult dres;
7963 dres.whatNext = Dis_Continue;
7964 dres.len = 0;
7965 dres.continueAt = 0;
7966 dres.jk_StopHere = Ijk_INVALID;
7993 jmp_lit(&dres, Ijk_ClientReq, guest_EIP_bbstart+delta);
7994 vassert(dres.whatNext == Dis_StopHere);
8016 jmp_treg(&dres, Ijk_NoRedir, t1);
8017 vassert(dres.whatNext == Dis_StopHere);
11591 jmp_lit(&dres, Ijk_TInval, (Addr32)(guest_EIP_bbstart+delta));
12848 dis_ret(&dres, d32);
12852 dis_ret(&dres, 0);
12876 jmp_treg(&dres, Ijk_Ret, t2);
12877 vassert(dres.whatNext == Dis_StopHere);
12906 dres.whatNext = Dis_ResteerU;
12907 dres.continueAt = (Addr64)(Addr32)d32;
12909 jmp_lit(&dres, Ijk_Call, d32);
12910 vassert(dres.whatNext == Dis_StopHere);
13154 jmp_lit(&dres, Ijk_SigTRAP, ((Addr32)guest_EIP_bbstart)+delta);
13155 vassert(dres.whatNext == Dis_StopHere);
13176 jmp_lit(&dres, Ijk_SigSEGV, ((Addr32)guest_EIP_bbstart)+delta-2);
13177 vassert(dres.whatNext == Dis_StopHere);
13189 jmp_lit(&dres, Ijk_Sys_int128, ((Addr32)guest_EIP_bbstart)+delta);
13190 vassert(dres.whatNext == Dis_StopHere);
13197 jmp_lit(&dres, Ijk_Sys_int129, ((Addr32)guest_EIP_bbstart)+delta);
13198 vassert(dres.whatNext == Dis_StopHere);
13205 jmp_lit(&dres, Ijk_Sys_int130, ((Addr32)guest_EIP_bbstart)+delta);
13206 vassert(dres.whatNext == Dis_StopHere);
13220 dres.whatNext = Dis_ResteerU;
13221 dres.continueAt = (Addr64)(Addr32)d32;
13223 jmp_lit(&dres, Ijk_Boring, d32);
13224 vassert(dres.whatNext == Dis_StopHere);
13234 dres.whatNext = Dis_ResteerU;
13235 dres.continueAt = (Addr64)(Addr32)d32;
13237 jmp_lit(&dres, Ijk_Boring, d32);
13238 vassert(dres.whatNext == Dis_StopHere);
13281 dres.whatNext = Dis_ResteerC;
13282 dres.continueAt = (Addr64)(Addr32)d32;
13301 dres.whatNext = Dis_ResteerC;
13302 dres.continueAt = (Addr64)(Addr32)(guest_EIP_bbstart+delta);
13308 jcc_01( &dres, (X86Condcode)(opc - 0x70),
13310 vassert(dres.whatNext == Dis_StopHere);
14051 dis_REP_op ( &dres, X86CondNZ, dis_MOVS, sz, eip_orig,
14057 dis_REP_op ( &dres, X86CondNZ, dis_CMPS, sz, eip_orig,
14063 dis_REP_op ( &dres, X86CondNZ, dis_STOS, sz, eip_orig,
14069 dis_REP_op ( &dres, X86CondNZ, dis_SCAS, sz, eip_orig,
14107 dis_REP_op ( &dres, X86CondAlways, dis_MOVS, sz, eip_orig,
14113 dis_REP_op ( &dres, X86CondZ, dis_CMPS, sz, eip_orig,
14119 dis_REP_op ( &dres, X86CondAlways, dis_STOS, sz, eip_orig,
14125 dis_REP_op ( &dres, X86CondAlways, dis_LODS, sz, eip_orig,
14131 dis_REP_op ( &dres, X86CondZ, dis_SCAS, sz, eip_orig,
14140 jmp_lit(&dres, Ijk_Yield, ((Addr32)guest_EIP_bbstart)+delta);
14141 vassert(dres.whatNext == Dis_StopHere);
14145 dis_ret(&dres, 0);
14453 delta = dis_Grp5 ( sorb, pfx_lock, sz, delta, &dres, &decode_OK );
14841 dres.whatNext = Dis_ResteerC;
14842 dres.continueAt = (Addr64)(Addr32)d32;
14861 dres.whatNext = Dis_ResteerC;
14862 dres.continueAt = (Addr64)(Addr32)(guest_EIP_bbstart+delta);
14868 jcc_01( &dres, (X86Condcode)(opc - 0x80),
14870 vassert(dres.whatNext == Dis_StopHere);
14996 jmp_lit(&dres, Ijk_Sys_sysenter, 0/*bogus next EIP value*/);
14997 vassert(dres.whatNext == Dis_StopHere);
15173 jmp_lit(&dres, Ijk_NoDecode, guest_EIP_curr_instr);
15174 vassert(dres.whatNext == Dis_StopHere);
15175 dres.len = 0;
15182 return dres;
15188 switch (dres.whatNext) {
15194 stmt( IRStmt_Put( OFFB_EIP, mkU32(dres.continueAt) ) );
15203 dres.len = delta - delta_start;
15204 return dres;
15232 DisResult dres;
15244 dres = disInstr_X86_WRK ( &expect_CAS, resteerOkFn,
15264 dres = disInstr_X86_WRK ( &expect_CAS, resteerOkFn,
15278 return dres;