diff options
| author | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2020-02-28 11:10:40 +0100 |
|---|---|---|
| committer | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2020-02-28 11:10:40 +0100 |
| commit | 2abb748af4b402a4883f11d240fcdcdac37f7d04 (patch) | |
| tree | 512dbc7044b3ee707b8ed85c1b50f67dc64139b7 | |
| parent | fb5ec3e3568d7c2e6f27975d76acdd8a1db5afa9 (diff) | |
| download | miasm-2abb748af4b402a4883f11d240fcdcdac37f7d04.tar.gz miasm-2abb748af4b402a4883f11d240fcdcdac37f7d04.zip | |
Fix missing self
| -rw-r--r-- | miasm/jitter/jitcore.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/miasm/jitter/jitcore.py b/miasm/jitter/jitcore.py index c47115fb..cff01f9b 100644 --- a/miasm/jitter/jitcore.py +++ b/miasm/jitter/jitcore.py @@ -104,7 +104,7 @@ class JitCore(object): cur_block.ad_max = cur_block.lines[-1].offset + cur_block.lines[-1].l else: # 1 byte block for unknown mnemonic - offset = ir_arch.loc_db.get_location_offset(cur_block.loc_key) + offset = self.ir_arch.loc_db.get_location_offset(cur_block.loc_key) cur_block.ad_min = offset cur_block.ad_max = offset+1 |