diff options
| author | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2019-02-08 20:14:15 +0100 |
|---|---|---|
| committer | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2019-02-08 20:23:26 +0100 |
| commit | 02a5d7bd35eb70d82ab7ba03054d064cb67616e0 (patch) | |
| tree | 46135d4a1b934c09eeaab642b9325d05ef4f401f | |
| parent | 4c8a61e8baa33cee185ff2b086c7b3094f99824e (diff) | |
| download | miasm-02a5d7bd35eb70d82ab7ba03054d064cb67616e0.tar.gz miasm-02a5d7bd35eb70d82ab7ba03054d064cb67616e0.zip | |
X86: fix popfw semantic
| -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 794af2be..b2ef5a43 100644 --- a/miasm2/arch/x86/sem.py +++ b/miasm2/arch/x86/sem.py @@ -1321,7 +1321,7 @@ def _tpl_eflags(tmp): def popfw(ir, instr): - tmp = ir.ExprMem(mRSP[instr.mode], 32) + tmp = ir.ExprMem(mRSP[instr.mode], 16) e = _tpl_eflags(tmp) e.append( m2_expr.ExprAssign(mRSP[instr.mode], mRSP[instr.mode] + m2_expr.ExprInt(2, mRSP[instr.mode].size))) |