diff options
| author | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2015-11-13 15:38:46 +0100 |
|---|---|---|
| committer | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2015-11-15 20:59:16 +0100 |
| commit | caefb34223fe2d3a58e26e15ea004d737621fc3d (patch) | |
| tree | 5ce520ae70c6313a7d7a249d3716549c980986e0 | |
| parent | 5764a1fb42cc3e50cb4c322cc3146375fbce84ef (diff) | |
| download | miasm-caefb34223fe2d3a58e26e15ea004d737621fc3d.tar.gz miasm-caefb34223fe2d3a58e26e15ea004d737621fc3d.zip | |
Jitter: add reset jitter blocks
| -rw-r--r-- | miasm2/jitter/jitcore.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/miasm2/jitter/jitcore.py b/miasm2/jitter/jitcore.py index 46451520..02a0b7c1 100644 --- a/miasm2/jitter/jitcore.py +++ b/miasm2/jitter/jitcore.py @@ -61,6 +61,12 @@ class JitCore(object): self.options.update(kwargs) + def clear_jitted_blocks(self): + "Reset all jitted blocks" + self.lbl2jitbloc.clear() + self.lbl2bloc.clear() + self.blocs_mem_interval = interval() + def add_disassembly_splits(self, *args): """The disassembly engine will stop on address in args if they are not at the block beginning""" |