about summary refs log tree commit diff stats
path: root/test/arch/arm/sem.py
diff options
context:
space:
mode:
authorFabrice Desclaux <fabrice.desclaux@cea.fr>2016-10-14 13:38:22 +0200
committerFabrice Desclaux <fabrice.desclaux@cea.fr>2016-11-04 16:45:46 +0100
commit89795337461e2a2eeae42324e023582b93067996 (patch)
tree411b05b9fd04c0aac269701c85745d4039de1a97 /test/arch/arm/sem.py
parentca9edfa2223a48550d53e62ab4e4856647428cca (diff)
downloadmiasm-89795337461e2a2eeae42324e023582b93067996.tar.gz
miasm-89795337461e2a2eeae42324e023582b93067996.zip
Symbexec: new api for emul_ir_*
Replacement:
emul_ir_bloc(self, myir, addr, step=False)
by:
emul_ir_block(self, addr, step=False)

and:
emul_ir_blocs(self, myir, addr, lbl_stop=None, step=False)
by:
emul_ir_blocks(self, addr, lbl_stop=None, step=False)

The 'myir' was already given in the symbolexec creation.
Diffstat (limited to 'test/arch/arm/sem.py')
-rw-r--r--test/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 feef7372..cefbe76a 100644
--- a/test/arch/arm/sem.py
+++ b/test/arch/arm/sem.py
@@ -29,7 +29,7 @@ def compute(asm, inputstate={}, debug=False):
     instr = mn.dis(code, "l")
     instr.offset = inputstate.get(PC, 0)
     interm.add_instr(instr)
-    symexec.emul_ir_blocs(interm, instr.offset)
+    symexec.emul_ir_blocks(instr.offset)
     if debug:
         for k, v in symexec.symbols.items():
             if regs_init.get(k, None) != v: