about summary refs log tree commit diff stats
path: root/miasm2/ir/symbexec.py
diff options
context:
space:
mode:
authorserpilliere <serpilliere@users.noreply.github.com>2017-07-20 19:35:49 +0200
committerGitHub <noreply@github.com>2017-07-20 19:35:49 +0200
commit4dfca940e75ad8af65b69dd9bab9ff503141984b (patch)
treeaad96a02c272397eae9fd7377ea86a713814516a /miasm2/ir/symbexec.py
parente45256e15c62aba315ab1e2db5697a14837f5827 (diff)
parent4fcd0faa925d8d33db3622430548e932443d6f02 (diff)
downloadmiasm-4dfca940e75ad8af65b69dd9bab9ff503141984b.tar.gz
miasm-4dfca940e75ad8af65b69dd9bab9ff503141984b.zip
Merge pull request #579 from serpilliere/fix_get_bloc
Fix get bloc
Diffstat (limited to 'miasm2/ir/symbexec.py')
-rw-r--r--miasm2/ir/symbexec.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/miasm2/ir/symbexec.py b/miasm2/ir/symbexec.py
index e98744c0..6d6ba630 100644
--- a/miasm2/ir/symbexec.py
+++ b/miasm2/ir/symbexec.py
@@ -530,7 +530,7 @@ class SymbolicExecutionEngine(object):
         return self.emul_ir_block(addr, step)
 
     def emul_ir_block(self, addr, step=False):
-        irblock = self.ir_arch.get_bloc(addr)
+        irblock = self.ir_arch.get_block(addr)
         if irblock is not None:
             addr = self.emulbloc(irblock, step=step)
         return addr
@@ -541,7 +541,7 @@ class SymbolicExecutionEngine(object):
 
     def emul_ir_blocks(self, addr, lbl_stop=None, step=False):
         while True:
-            irblock = self.ir_arch.get_bloc(addr)
+            irblock = self.ir_arch.get_block(addr)
             if irblock is None:
                 break
             if irblock.label == lbl_stop: