about summary refs log tree commit diff stats
path: root/test/jitter/jitload.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/jitload.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/jitload.py')
-rw-r--r--test/jitter/jitload.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/jitter/jitload.py b/test/jitter/jitload.py
index 283298db..544e9d18 100644
--- a/test/jitter/jitload.py
+++ b/test/jitter/jitload.py
@@ -1,3 +1,4 @@
+import sys
 from pdb import pm
 
 from miasm2.jitter.csts import PAGE_READ, PAGE_WRITE
@@ -9,7 +10,7 @@ from miasm2.expression.expression import ExprId, ExprInt32, ExprInt64, ExprAff,
 data = "8d49048d5b0180f90174058d5bffeb038d5b0189d8c3".decode("hex")
 
 # Init jitter
-myjit = Machine("x86_32").jitter()
+myjit = Machine("x86_32").jitter(sys.argv[1])
 myjit.init_stack()
 
 run_addr = 0x40000000