about summary refs log tree commit diff stats
path: root/miasm2/analysis/debugging.py
diff options
context:
space:
mode:
authorFabrice Desclaux <fabrice.desclaux@cea.fr>2015-11-13 15:40:51 +0100
committerFabrice Desclaux <fabrice.desclaux@cea.fr>2015-11-15 20:59:16 +0100
commit3e80f047414f97d81bddccb393990c69e1bc348c (patch)
tree1c561041401e1c2b8a6e64a91a6a72265ac1c1ac /miasm2/analysis/debugging.py
parentcaefb34223fe2d3a58e26e15ea004d737621fc3d (diff)
downloadmiasm-3e80f047414f97d81bddccb393990c69e1bc348c.tar.gz
miasm-3e80f047414f97d81bddccb393990c69e1bc348c.zip
Jitter: fix single step
Diffstat (limited to 'miasm2/analysis/debugging.py')
-rw-r--r--miasm2/analysis/debugging.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/miasm2/analysis/debugging.py b/miasm2/analysis/debugging.py
index 74551a72..d970f848 100644
--- a/miasm2/analysis/debugging.py
+++ b/miasm2/analysis/debugging.py
@@ -167,8 +167,8 @@ class Debugguer(object):
         "Step in jit"
 
         self.myjit.jit.set_options(jit_maxline=1)
-        self.myjit.jit.addr_mod = interval([(self.myjit.pc, self.myjit.pc)])
-        self.myjit.jit.updt_automod_code(self.myjit.vm)
+        # Reset all jitted blocks
+        self.myjit.jit.clear_jitted_blocks()
 
         res = self.myjit.continue_run(step=True)
         self.handle_exception(res)