diff options
| author | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2019-10-17 09:48:04 +0200 |
|---|---|---|
| committer | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2019-10-17 09:48:04 +0200 |
| commit | b99378a4fd361e40800ab11956ea9a21ce531de0 (patch) | |
| tree | 88385c6fb5d02691cbe92da6f72153e3e4ad65cb | |
| parent | 469babfe67688163429d2595705aac5462b7758f (diff) | |
| download | miasm-b99378a4fd361e40800ab11956ea9a21ce531de0.tar.gz miasm-b99378a4fd361e40800ab11956ea9a21ce531de0.zip | |
X86/sem: fix tipo during python2/3 updt
Diffstat (limited to '')
| -rw-r--r-- | miasm/arch/x86/sem.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/miasm/arch/x86/sem.py b/miasm/arch/x86/sem.py index 3d38a9be..dc2479b1 100644 --- a/miasm/arch/x86/sem.py +++ b/miasm/arch/x86/sem.py @@ -2625,7 +2625,7 @@ def fnstenv(ir, instr, dst): e.append(m2_expr.ExprAssign(ad, float_control)) ad = ir.ExprMem( dst.ptr + m2_expr.ExprInt( - size // (8 * 1), + (size // 8) * 1, dst.ptr.size ), size=16 @@ -2633,7 +2633,7 @@ def fnstenv(ir, instr, dst): e.append(m2_expr.ExprAssign(ad, status_word)) ad = ir.ExprMem( dst.ptr + m2_expr.ExprInt( - size // (8 * 3), + (size // 8) * 3, dst.ptr.size ), size=size @@ -2641,7 +2641,7 @@ def fnstenv(ir, instr, dst): e.append(m2_expr.ExprAssign(ad, float_eip[:size])) ad = ir.ExprMem( dst.ptr + m2_expr.ExprInt( - size // (8 * 4), + (size // 8) * 4, dst.ptr.size ), size=16 @@ -2649,7 +2649,7 @@ def fnstenv(ir, instr, dst): e.append(m2_expr.ExprAssign(ad, float_cs)) ad = ir.ExprMem( dst.ptr + m2_expr.ExprInt( - size // (8 * 5), + (size // 8) * 5, dst.ptr.size ), size=size @@ -2657,7 +2657,7 @@ def fnstenv(ir, instr, dst): e.append(m2_expr.ExprAssign(ad, float_address[:size])) ad = ir.ExprMem( dst.ptr + m2_expr.ExprInt( - size // (8 * 6), + (size // 8) * 6, dst.ptr.size ), size=16 |