about summary refs log tree commit diff stats
path: root/test/jitter/vm_mngr.py
diff options
context:
space:
mode:
authorserpilliere <serpilliere@users.noreply.github.com>2017-01-06 14:19:49 +0100
committerGitHub <noreply@github.com>2017-01-06 14:19:49 +0100
commitc5d47bd8cdb510c78501adae460b35d122042563 (patch)
treebf79f51e70c2ad851c94a3af4920570cce73a88d /test/jitter/vm_mngr.py
parentf89a4638923b89c4e17fa6811a62a7d01bccbdee (diff)
parente653d822b5a2efc5531c8e153305769a6ab17713 (diff)
downloadmiasm-c5d47bd8cdb510c78501adae460b35d122042563.tar.gz
miasm-c5d47bd8cdb510c78501adae460b35d122042563.zip
Merge pull request #471 from commial/feature/llvm-cache
Feature/llvm cache
Diffstat (limited to 'test/jitter/vm_mngr.py')
-rw-r--r--test/jitter/vm_mngr.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/jitter/vm_mngr.py b/test/jitter/vm_mngr.py
index b2b7336b..87bc6f8f 100644
--- a/test/jitter/vm_mngr.py
+++ b/test/jitter/vm_mngr.py
@@ -1,7 +1,8 @@
+import sys
 from miasm2.jitter.csts import PAGE_READ, PAGE_WRITE
 from miasm2.analysis.machine import Machine
 
-myjit = Machine("x86_32").jitter()
+myjit = Machine("x86_32").jitter(sys.argv[1])
 
 base_addr = 0x13371337
 page_size = 0x1000