diff options
| author | serpilliere <serpilliere@users.noreply.github.com> | 2020-04-29 11:47:52 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-29 11:47:52 +0200 |
| commit | 04008fd5aa03f14cacc0c3dc0735c671968c1477 (patch) | |
| tree | eaa522e689284d4cd80c07bb99ae906d5535389f | |
| parent | 2adf7557872f7d50f1cc5a4b6214c1c4f1e98734 (diff) | |
| parent | bc42356590c516e28c7070870c2455f98281d81a (diff) | |
| download | miasm-04008fd5aa03f14cacc0c3dc0735c671968c1477.tar.gz miasm-04008fd5aa03f14cacc0c3dc0735c671968c1477.zip | |
Merge pull request #1208 from serpilliere/fix_ppc_loc_key
Fix ppc loc_key typo
Diffstat (limited to '')
| -rw-r--r-- | miasm/arch/ppc/sem.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/miasm/arch/ppc/sem.py b/miasm/arch/ppc/sem.py index b2ca54b7..7b064ec4 100644 --- a/miasm/arch/ppc/sem.py +++ b/miasm/arch/ppc/sem.py @@ -675,8 +675,8 @@ def mn_do_store(ir, instr, arg1, arg2, arg3=None): ret.append(ExprAssign(ir.IRDst, loc_next)) dont = flags + [ ExprAssign(CR0_EQ, ExprInt(0,1)), ExprAssign(ir.IRDst, loc_next) ] - additional_ir = [ IRBlock(loc_do, [ AssignBlock(ret) ]), - IRBlock(loc_dont, [ AssignBlock(dont) ]) ] + additional_ir = [ IRBlock(loc_do.loc_key, [ AssignBlock(ret) ]), + IRBlock(loc_dont.loc_key, [ AssignBlock(dont) ]) ] ret = [ ExprAssign(reserve, ExprInt(0, 1)), ExprAssign(ir.IRDst, ExprCond(reserve, loc_do, loc_dont)) ] |