diff options
| author | n1trox <dynm@outlook.com> | 2015-10-23 10:42:12 +0800 |
|---|---|---|
| committer | n1trox <dynm@outlook.com> | 2015-10-23 10:42:12 +0800 |
| commit | dbf474cb66502e2494fa9948f0be385f5f71221a (patch) | |
| tree | 4c83270f6da797e730d2924c1eeb7ca1b77ff6ac | |
| parent | cc20f3d79c641d929865f12471a70a2575b8cf54 (diff) | |
| download | miasm-dbf474cb66502e2494fa9948f0be385f5f71221a.tar.gz miasm-dbf474cb66502e2494fa9948f0be385f5f71221a.zip | |
Fix arm sem push instruction
| -rw-r--r-- | miasm2/arch/arm/sem.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/miasm2/arch/arm/sem.py b/miasm2/arch/arm/sem.py index bbab8d59..85ea8c50 100644 --- a/miasm2/arch/arm/sem.py +++ b/miasm2/arch/arm/sem.py @@ -812,7 +812,7 @@ def push(ir, instr, a): regs = list(a.args) for i in xrange(len(regs)): r = SP + ExprInt32(-4 * (i + 1)) - e.append(ExprAff(regs[i], ExprMem(r))) + e.append(ExprAff(ExprMem(r), regs[i])) r = SP + ExprInt32(-4 * len(regs)) e.append(ExprAff(SP, r)) return e |