diff options
| author | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2018-03-28 14:26:16 +0200 |
|---|---|---|
| committer | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2018-03-28 14:26:16 +0200 |
| commit | 719266807687e0a9a5b4f194d7c2220974a2e83f (patch) | |
| tree | a51177894ea3a989919d31b875b3bbd6cb5a1c39 /miasm2/jitter/jitload.py | |
| parent | 50a0b480a729507c8e49af39588592fbfb5476b1 (diff) | |
| download | miasm-719266807687e0a9a5b4f194d7c2220974a2e83f.tar.gz miasm-719266807687e0a9a5b4f194d7c2220974a2e83f.zip | |
Fix memory breakpoint name
Diffstat (limited to '')
| -rw-r--r-- | miasm2/jitter/jitload.py | 4 |
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): |