From 5c72a437c4892edad52ad407055ecad5733fdb4e Mon Sep 17 00:00:00 2001 From: Fabrice Desclaux Date: Wed, 28 Mar 2018 14:32:55 +0200 Subject: Fix test rw cst --- test/jitter/test_post_instr.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/jitter/test_post_instr.py b/test/jitter/test_post_instr.py index ceba469d..8dc27dc2 100644 --- a/test/jitter/test_post_instr.py +++ b/test/jitter/test_post_instr.py @@ -32,7 +32,7 @@ def do_not_raise_me(jitter): jitter.exceptions_handler.callbacks[EXCEPT_BREAKPOINT_INTERN] = [] jitter.add_exception_handler(EXCEPT_BREAKPOINT_INTERN, do_not_raise_me) -jitter.vm.add_memory_breakpoint(0x11000-4, 4, 7) +jitter.vm.add_memory_breakpoint(0x11000-4, 4, PAGE_READ | PAGE_WRITE) # The memory write pending will raise automod execption # The RET should not re evalueate PC @ [ESP+4] -- cgit 1.4.1