diff options
| author | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2018-03-28 14:32:55 +0200 |
|---|---|---|
| committer | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2018-03-28 14:32:55 +0200 |
| commit | 5c72a437c4892edad52ad407055ecad5733fdb4e (patch) | |
| tree | 891f5f4a69e2b3288daef95281808107e06f6765 /test/jitter/test_post_instr.py | |
| parent | 50a0b480a729507c8e49af39588592fbfb5476b1 (diff) | |
| download | miasm-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.py | 2 |
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] |