diff options
| author | serpilliere <serpilliere@users.noreply.github.com> | 2015-11-17 15:15:10 +0100 |
|---|---|---|
| committer | serpilliere <serpilliere@users.noreply.github.com> | 2015-11-17 15:15:10 +0100 |
| commit | 87c3fe46c6fbc5649b3a06d91bedfabbe3f11009 (patch) | |
| tree | 6aeaee9c1febf68715359e580a27f8b39a64e95e /miasm2/arch | |
| parent | a49419dd5e16283b1663181a47cdc85b7eff14dc (diff) | |
| parent | 08e54aa9dd67e85753174242fab356cc2d2767c9 (diff) | |
| download | miasm-87c3fe46c6fbc5649b3a06d91bedfabbe3f11009.tar.gz miasm-87c3fe46c6fbc5649b3a06d91bedfabbe3f11009.zip | |
Merge pull request #278 from commial/fix-x86-string
Fix x86 string
Diffstat (limited to '')
| -rw-r--r-- | miasm2/arch/x86/sem.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/miasm2/arch/x86/sem.py b/miasm2/arch/x86/sem.py index c39d2583..8a1c3974 100644 --- a/miasm2/arch/x86/sem.py +++ b/miasm2/arch/x86/sem.py @@ -924,7 +924,6 @@ def bswap(ir, instr, a): def cmps(ir, instr, size): - lbl_cmp = m2_expr.ExprId(ir.gen_label(), ir.IRDst.size) lbl_df_0 = m2_expr.ExprId(ir.gen_label(), ir.IRDst.size) lbl_df_1 = m2_expr.ExprId(ir.gen_label(), ir.IRDst.size) lbl_next = m2_expr.ExprId(ir.get_next_label(instr), ir.IRDst.size) @@ -933,7 +932,7 @@ def cmps(ir, instr, size): a = m2_expr.ExprMem(mRDI[instr.mode][:s], size) b = m2_expr.ExprMem(mRSI[instr.mode][:s], size) - e, extra = l_cmp(ir, instr, a, b) + e, _ = l_cmp(ir, instr, b, a) e0 = [] e0.append(m2_expr.ExprAff(a.arg, @@ -957,7 +956,6 @@ def cmps(ir, instr, size): def scas(ir, instr, size): - lbl_cmp = m2_expr.ExprId(ir.gen_label(), ir.IRDst.size) lbl_df_0 = m2_expr.ExprId(ir.gen_label(), ir.IRDst.size) lbl_df_1 = m2_expr.ExprId(ir.gen_label(), ir.IRDst.size) lbl_next = m2_expr.ExprId(ir.get_next_label(instr), ir.IRDst.size) |