about summary refs log tree commit diff stats
path: root/test/jitter/test_post_instr.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/jitter/test_post_instr.py')
-rw-r--r--test/jitter/test_post_instr.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/jitter/test_post_instr.py b/test/jitter/test_post_instr.py
index 8dc27dc2..3e68d58e 100644
--- a/test/jitter/test_post_instr.py
+++ b/test/jitter/test_post_instr.py
@@ -1,5 +1,5 @@
 from miasm2.analysis.machine import Machine
-from miasm2.jitter.csts import PAGE_READ, PAGE_WRITE, EXCEPT_BREAKPOINT_INTERN, EXCEPT_ACCESS_VIOL
+from miasm2.jitter.csts import PAGE_READ, PAGE_WRITE, EXCEPT_BREAKPOINT_MEMORY, EXCEPT_ACCESS_VIOL
 import sys
 
 machine = Machine("x86_32")
@@ -29,8 +29,8 @@ jitter.jit.log_regs = True
 def do_not_raise_me(jitter):
     raise ValueError("Should not be here")
 
-jitter.exceptions_handler.callbacks[EXCEPT_BREAKPOINT_INTERN] = []
-jitter.add_exception_handler(EXCEPT_BREAKPOINT_INTERN,
+jitter.exceptions_handler.callbacks[EXCEPT_BREAKPOINT_MEMORY] = []
+jitter.add_exception_handler(EXCEPT_BREAKPOINT_MEMORY,
                              do_not_raise_me)
 jitter.vm.add_memory_breakpoint(0x11000-4, 4, PAGE_READ | PAGE_WRITE)