about summary refs log tree commit diff stats
path: root/example/jitter/x86_32.py
diff options
context:
space:
mode:
authorCamille Mougey <commial@gmail.com>2018-06-22 10:28:38 +0200
committerGitHub <noreply@github.com>2018-06-22 10:28:38 +0200
commit9f040a7013f471ecb96c5f64e5ab3f139d1a09c7 (patch)
treef4f21334788d6c153ce08cead01e614349cdf700 /example/jitter/x86_32.py
parent1c64ca68ff3ad2985d2c89b4b8a8e13ec282c0e1 (diff)
parent189d72985236b0b35586669e7d9309951ffdccb6 (diff)
downloadmiasm-9f040a7013f471ecb96c5f64e5ab3f139d1a09c7.tar.gz
miasm-9f040a7013f471ecb96c5f64e5ab3f139d1a09c7.zip
Merge branch 'master' into patch-2
Diffstat (limited to 'example/jitter/x86_32.py')
-rw-r--r--example/jitter/x86_32.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/example/jitter/x86_32.py b/example/jitter/x86_32.py
index 1409d7aa..5272f732 100644
--- a/example/jitter/x86_32.py
+++ b/example/jitter/x86_32.py
@@ -24,8 +24,7 @@ data = open(args.filename).read()
 run_addr = 0x40000000
 myjit.vm.add_memory_page(run_addr, PAGE_READ | PAGE_WRITE, data)
 
-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)