diff options
| author | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2020-08-26 14:36:46 +0200 |
|---|---|---|
| committer | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2020-08-31 07:50:01 +0200 |
| commit | 24ce193b8bad352853a9c5589f6fdcf5177d5466 (patch) | |
| tree | 2fb59bca2aada9280fb1aecd2ebdd633a23cdc4b /test/arch/mep/ir/test_ir.py | |
| parent | 6f5cb3bef180400001541f56f704f77da0d73429 (diff) | |
| download | miasm-24ce193b8bad352853a9c5589f6fdcf5177d5466.tar.gz miasm-24ce193b8bad352853a9c5589f6fdcf5177d5466.zip | |
Update api according to loc_db update
Diffstat (limited to 'test/arch/mep/ir/test_ir.py')
| -rw-r--r-- | test/arch/mep/ir/test_ir.py | 5 |
1 files changed, 3 insertions, 2 deletions
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 |