From f4912f3704800fdbb179486a1b51e09c26841289 Mon Sep 17 00:00:00 2001 From: Ajax Date: Mon, 16 Nov 2015 13:58:26 +0100 Subject: x86/sem: 'aad' af is undefined, but must be set to 0 --- miasm2/arch/x86/sem.py | 1 + 1 file changed, 1 insertion(+) (limited to 'miasm2/arch/x86/sem.py') diff --git a/miasm2/arch/x86/sem.py b/miasm2/arch/x86/sem.py index 66c9cea0..f1784692 100644 --- a/miasm2/arch/x86/sem.py +++ b/miasm2/arch/x86/sem.py @@ -2635,6 +2635,7 @@ def aad(ir, instr, a): ]) e += [m2_expr.ExprAff(mRAX[instr.mode], newEAX)] e += update_flag_arith(newEAX) + e.append(m2_expr.ExprAff(af, m2_expr.ExprInt1(0))) return e, [] -- cgit 1.4.1