From 24ce193b8bad352853a9c5589f6fdcf5177d5466 Mon Sep 17 00:00:00 2001 From: Fabrice Desclaux Date: Wed, 26 Aug 2020 14:36:46 +0200 Subject: Update api according to loc_db update --- test/arch/mep/ir/test_ir.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'test/arch/mep/ir/test_ir.py') diff --git a/test/arch/mep/ir/test_ir.py b/test/arch/mep/ir/test_ir.py index be8e24e1..97a3ec1e 100644 --- a/test/arch/mep/ir/test_ir.py +++ b/test/arch/mep/ir/test_ir.py @@ -27,13 +27,14 @@ class TestMisc(object): mn = mn_mep.dis(decode_hex(hex_asm), "b") print("Dis:", mn) + loc_db = LocationDB() + # Get the IR - im = ir_mepb() + im = ir_mepb(loc_db) iir, eiir, = im.get_ir(mn) print("\nInternal representation:", iir) # Symbolic execution - loc_db = LocationDB() sb = SymbolicExecutionEngine(ir_a_mepb(loc_db), regs_init) # Assign register values before symbolic evaluation -- cgit 1.4.1