diff options
| author | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2020-04-29 10:30:46 +0200 |
|---|---|---|
| committer | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2020-04-29 10:30:46 +0200 |
| commit | bc42356590c516e28c7070870c2455f98281d81a (patch) | |
| tree | eaa522e689284d4cd80c07bb99ae906d5535389f | |
| parent | 2adf7557872f7d50f1cc5a4b6214c1c4f1e98734 (diff) | |
| download | miasm-bc42356590c516e28c7070870c2455f98281d81a.tar.gz miasm-bc42356590c516e28c7070870c2455f98281d81a.zip | |
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)) ] |