diff options
| author | Camille Mougey <commial@gmail.com> | 2019-02-11 10:55:47 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-02-11 10:55:47 +0100 |
| commit | 1d42f745d930d21fdc64d1a7689fae2d5e926909 (patch) | |
| tree | 45a02ca965593697324be321ef53d891dc8a835b | |
| parent | 650b8ae195e920d361d8d99017e30dce37304192 (diff) | |
| parent | 02a5d7bd35eb70d82ab7ba03054d064cb67616e0 (diff) | |
| download | miasm-1d42f745d930d21fdc64d1a7689fae2d5e926909.tar.gz miasm-1d42f745d930d21fdc64d1a7689fae2d5e926909.zip | |
Merge pull request #966 from serpilliere/fix_popfw
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))) |