diff options
| author | Guillaume Valadon <guillaume@valadon.net> | 2018-06-30 22:53:22 +0200 |
|---|---|---|
| committer | Guillaume Valadon <guillaume@valadon.net> | 2018-07-01 19:33:52 +0200 |
| commit | 1cfab97af3dbbf8c00723628d8737ea35567d2c6 (patch) | |
| tree | dbe451d58dda45be65b36d4d93eb4c2a1f41449c | |
| parent | dcf5a00e0c97ba27bfaeee01d8bd25625c7ca940 (diff) | |
| download | miasm-1cfab97af3dbbf8c00723628d8737ea35567d2c6.tar.gz miasm-1cfab97af3dbbf8c00723628d8737ea35567d2c6.zip | |
Remove incorrect attribute
| -rw-r--r-- | miasm2/arch/mips32/arch.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/miasm2/arch/mips32/arch.py b/miasm2/arch/mips32/arch.py index 939ce5b0..1502cde4 100644 --- a/miasm2/arch/mips32/arch.py +++ b/miasm2/arch/mips32/arch.py @@ -97,8 +97,8 @@ class instruction_mips32(cpu.instruction): if self.name in ["J", 'JAL']: expr = self.args[0].arg addr = (self.offset & (0xFFFFFFFF ^ ((1<< 28)-1))) + expr - label = symbol_pool.getby_offset_create(addr) - self.args[0] = ExprLoc(label.loc_key, expr.size) + loc_key = symbol_pool.getby_offset_create(addr) + self.args[0] = ExprLoc(loc_key, expr.size) return ndx = self.get_dst_num() |