about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCamille Mougey <commial@gmail.com>2018-03-28 14:38:49 +0200
committerGitHub <noreply@github.com>2018-03-28 14:38:49 +0200
commit92e508bc505fc8c23cc2a50ee6abfb03ccfa3ce4 (patch)
tree891f5f4a69e2b3288daef95281808107e06f6765
parent50a0b480a729507c8e49af39588592fbfb5476b1 (diff)
parent5c72a437c4892edad52ad407055ecad5733fdb4e (diff)
downloadmiasm-92e508bc505fc8c23cc2a50ee6abfb03ccfa3ce4.tar.gz
miasm-92e508bc505fc8c23cc2a50ee6abfb03ccfa3ce4.zip
Merge pull request #708 from serpilliere/fix_cst
Fix test rw cst
-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]