diff options
| author | serpilliere <fabrice.desclaux@cea.fr> | 2015-10-18 17:38:46 +0200 |
|---|---|---|
| committer | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2015-10-23 10:47:24 +0200 |
| commit | 6a15438526ae033ee910a41ab7e8fe7c255cf289 (patch) | |
| tree | 6886ec62ac2db667fbee61f77274d16fad26ed66 | |
| parent | 01e8b966465d67bdb138070e50d105a6181c9ad6 (diff) | |
| download | miasm-6a15438526ae033ee910a41ab7e8fe7c255cf289.tar.gz miasm-6a15438526ae033ee910a41ab7e8fe7c255cf289.zip | |
Arch/x86/sem: fix cqo
Diffstat (limited to '')
| -rw-r--r-- | miasm2/arch/x86/sem.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/miasm2/arch/x86/sem.py b/miasm2/arch/x86/sem.py index 51c9125c..6dc38efa 100644 --- a/miasm2/arch/x86/sem.py +++ b/miasm2/arch/x86/sem.py @@ -1682,7 +1682,7 @@ def cqo(ir, instr): tempRDX = mRDX[instr.mode][:64] c = tempRAX.signExtend(128) e.append(m2_expr.ExprAff(tempRAX, c[:64])) - e.append(m2_expr.ExprAff(tempRDX, c[64:127])) + e.append(m2_expr.ExprAff(tempRDX, c[64:128])) return e, [] |