about summary refs log tree commit diff stats
path: root/test/arch/arm/sem.py
diff options
context:
space:
mode:
authorCamille Mougey <commial@gmail.com>2018-07-05 16:14:23 +0200
committerGitHub <noreply@github.com>2018-07-05 16:14:23 +0200
commitf5fd096d35a9b3811097c40f553c90d3036cc035 (patch)
tree8bce7b5aaf34fac81611243688c5a6040536ec81 /test/arch/arm/sem.py
parentc0afde4d7c8ff51eaa31e4a074b9e06f080b3169 (diff)
parent1d8dc96d6cd82d40e81e8436ed2827916179cd2e (diff)
downloadmiasm-f5fd096d35a9b3811097c40f553c90d3036cc035.tar.gz
miasm-f5fd096d35a9b3811097c40f553c90d3036cc035.zip
Merge pull request #788 from serpilliere/ir_remove_default_regs_init
Ir remove default regs init
Diffstat (limited to 'test/arch/arm/sem.py')
-rwxr-xr-xtest/arch/arm/sem.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/arch/arm/sem.py b/test/arch/arm/sem.py
index 252e5954..57dd2b77 100755
--- a/test/arch/arm/sem.py
+++ b/test/arch/arm/sem.py
@@ -24,7 +24,7 @@ def M(addr):
 def compute(asm, inputstate={}, debug=False):
     sympool = dict(regs_init)
     sympool.update({k: ExprInt(v, k.size) for k, v in inputstate.iteritems()})
-    interm = ir_arch()
+    interm = ir_arch(loc_db)
     symexec = SymbolicExecutionEngine(interm, sympool)
     instr = mn.fromstring(asm, loc_db, "l")
     code = mn.asm(instr)[0]