about summary refs log tree commit diff stats
path: root/test/jitter/test_post_instr.py
diff options
context:
space:
mode:
authorFabrice Desclaux <fabrice.desclaux@cea.fr>2018-03-28 14:32:55 +0200
committerFabrice Desclaux <fabrice.desclaux@cea.fr>2018-03-28 14:32:55 +0200
commit5c72a437c4892edad52ad407055ecad5733fdb4e (patch)
tree891f5f4a69e2b3288daef95281808107e06f6765 /test/jitter/test_post_instr.py
parent50a0b480a729507c8e49af39588592fbfb5476b1 (diff)
downloadmiasm-5c72a437c4892edad52ad407055ecad5733fdb4e.tar.gz
miasm-5c72a437c4892edad52ad407055ecad5733fdb4e.zip
Fix test rw cst
Diffstat (limited to 'test/jitter/test_post_instr.py')
-rw-r--r--test/jitter/test_post_instr.py2
1 files changed, 1 insertions, 1 deletions
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]