diff options
| author | serpilliere <serpilliere@users.noreply.github.com> | 2015-10-23 06:58:26 +0200 |
|---|---|---|
| committer | serpilliere <serpilliere@users.noreply.github.com> | 2015-10-23 06:58:26 +0200 |
| commit | 97bcdc61e586fccf89e1bd4699c8f4f5314d6dd1 (patch) | |
| tree | e909d6a7fd5772e687a8368773d6aad1bf35dcbb | |
| parent | 222226c470d112b4c05735837345f85ee80f02d2 (diff) | |
| parent | dbf474cb66502e2494fa9948f0be385f5f71221a (diff) | |
| download | miasm-97bcdc61e586fccf89e1bd4699c8f4f5314d6dd1.tar.gz miasm-97bcdc61e586fccf89e1bd4699c8f4f5314d6dd1.zip | |
Merge pull request #236 from dynm/learning
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 678f10a8..6838ef66 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 |