diff options
| author | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2018-06-19 17:36:58 +0200 |
|---|---|---|
| committer | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2018-06-21 13:36:34 +0200 |
| commit | c6462990df3773ed4bdf82f7dc3b30f1c6331a81 (patch) | |
| tree | e43438e959a5a38d45787753863abb34c5d82ba7 /test/jitter/test_post_instr.py | |
| parent | bd80c0876aeecdc027c0c0b0725f0f890d41fa62 (diff) | |
| download | miasm-c6462990df3773ed4bdf82f7dc3b30f1c6331a81.tar.gz miasm-c6462990df3773ed4bdf82f7dc3b30f1c6331a81.zip | |
Jitter: add simple trace api
Diffstat (limited to 'test/jitter/test_post_instr.py')
| -rw-r--r-- | test/jitter/test_post_instr.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/jitter/test_post_instr.py b/test/jitter/test_post_instr.py index edf86645..39e87616 100644 --- a/test/jitter/test_post_instr.py +++ b/test/jitter/test_post_instr.py @@ -23,8 +23,8 @@ jitter.vm.add_memory_page(0x1000, PAGE_READ|PAGE_WRITE, "\x00"*0x1000, "code pag # RET jitter.vm.set_mem(0x1000, "B844332211C3".decode('hex')) -jitter.jit.log_mn = True -jitter.jit.log_regs = True + +jitter.set_trace_log() def do_not_raise_me(jitter): raise ValueError("Should not be here") |