about summary refs log tree commit diff stats
path: root/test/jitter/jit_options.py
diff options
context:
space:
mode:
authorFabrice Desclaux <fabrice.desclaux@cea.fr>2018-06-19 17:36:58 +0200
committerFabrice Desclaux <fabrice.desclaux@cea.fr>2018-06-21 13:36:34 +0200
commitc6462990df3773ed4bdf82f7dc3b30f1c6331a81 (patch)
treee43438e959a5a38d45787753863abb34c5d82ba7 /test/jitter/jit_options.py
parentbd80c0876aeecdc027c0c0b0725f0f890d41fa62 (diff)
downloadmiasm-c6462990df3773ed4bdf82f7dc3b30f1c6331a81.tar.gz
miasm-c6462990df3773ed4bdf82f7dc3b30f1c6331a81.zip
Jitter: add simple trace api
Diffstat (limited to 'test/jitter/jit_options.py')
-rw-r--r--test/jitter/jit_options.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/jitter/jit_options.py b/test/jitter/jit_options.py
index 4fe936d5..a0ddbc11 100644
--- a/test/jitter/jit_options.py
+++ b/test/jitter/jit_options.py
@@ -33,8 +33,7 @@ def init_jitter():
 
     # Init jitter
     myjit.init_stack()
-    myjit.jit.log_regs = True
-    myjit.jit.log_mn = True
+    myjit.set_trace_log()
     myjit.push_uint32_t(0x1337beef)
 
     myjit.add_breakpoint(0x1337beef, code_sentinelle)