From 6e09df71a333bf87cd68c2d08ad068a3e501462d Mon Sep 17 00:00:00 2001 From: Fabrice Desclaux Date: Fri, 5 Sep 2014 11:30:05 +0200 Subject: Modify irbloc destination mecanism. Rework API in consequence. Fat patch here: some API have changed. Each irbloc now affects a special "IRDst" register which is used to describe the destination irbloc. It allows simple description of architectures using delay slots. Architectures semantic and tcc/python jitter are modified in consequence. LLVM jitter is disabled for now, but should be patch soon. --- example/symbol_exec.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'example/symbol_exec.py') diff --git a/example/symbol_exec.py b/example/symbol_exec.py index 6d7457aa..416909f2 100644 --- a/example/symbol_exec.py +++ b/example/symbol_exec.py @@ -21,7 +21,7 @@ for bbl in disasm: ir.add_bloc(bbl) symbols_init = {} for i, r in enumerate(all_regs_ids): symbols_init[r] = all_regs_ids_init[i] -symb = symbexec(mn_x86, symbols_init) +symb = symbexec(ir, symbols_init) block = ir.get_bloc(0) -- cgit 1.4.1