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/bad_block.py | |
| parent | bd80c0876aeecdc027c0c0b0725f0f890d41fa62 (diff) | |
| download | miasm-c6462990df3773ed4bdf82f7dc3b30f1c6331a81.tar.gz miasm-c6462990df3773ed4bdf82f7dc3b30f1c6331a81.zip | |
Jitter: add simple trace api
Diffstat (limited to 'test/jitter/bad_block.py')
| -rw-r--r-- | test/jitter/bad_block.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/jitter/bad_block.py b/test/jitter/bad_block.py index 04c1f475..ae11e696 100644 --- a/test/jitter/bad_block.py +++ b/test/jitter/bad_block.py @@ -32,8 +32,7 @@ run_addr = 0x40000000 jitter.vm.add_memory_page(run_addr, PAGE_READ | PAGE_WRITE, data) -jitter.jit.log_regs = True -jitter.jit.log_mn = True +jitter.set_trace_log() jitter.push_uint32_t(0x1337beef) jitter.add_breakpoint(0x1337beef, code_sentinelle) |