about summary refs log tree commit diff stats
path: root/miasm2/jitter/jitload.py
diff options
context:
space:
mode:
authorCamille Mougey <commial@gmail.com>2018-03-28 15:22:51 +0200
committerGitHub <noreply@github.com>2018-03-28 15:22:51 +0200
commit5b07d8c8828bdaba0c9a4ce63e978441d5dab525 (patch)
treeaa61c08b6da9a914c0ec5d4f0a516d6f365d5da3 /miasm2/jitter/jitload.py
parent92e508bc505fc8c23cc2a50ee6abfb03ccfa3ce4 (diff)
parent719266807687e0a9a5b4f194d7c2220974a2e83f (diff)
downloadmiasm-5b07d8c8828bdaba0c9a4ce63e978441d5dab525.tar.gz
miasm-5b07d8c8828bdaba0c9a4ce63e978441d5dab525.zip
Merge pull request #707 from serpilliere/fix_bp_memory_name
Fix memory breakpoint name
Diffstat (limited to '')
-rw-r--r--miasm2/jitter/jitload.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/miasm2/jitter/jitload.py b/miasm2/jitter/jitload.py
index a14334cb..499d6c47 100644
--- a/miasm2/jitter/jitload.py
+++ b/miasm2/jitter/jitload.py
@@ -149,7 +149,7 @@ class ExceptionHandle():
 
     @classmethod
     def memoryBreakpoint(cls):
-        return cls(EXCEPT_BREAKPOINT_INTERN)
+        return cls(EXCEPT_BREAKPOINT_MEMORY)
 
     def __eq__(self, to_cmp):
         if not isinstance(to_cmp, ExceptionHandle):
@@ -256,7 +256,7 @@ class jitter(object):
             return ExceptionHandle.memoryBreakpoint()
 
         self.add_exception_handler(EXCEPT_CODE_AUTOMOD, exception_automod)
-        self.add_exception_handler(EXCEPT_BREAKPOINT_INTERN,
+        self.add_exception_handler(EXCEPT_BREAKPOINT_MEMORY,
                                    exception_memory_breakpoint)
 
     def add_breakpoint(self, addr, callback):