about summary refs log tree commit diff stats
path: root/example/asm/simple.py
diff options
context:
space:
mode:
authorFabrice Desclaux <fabrice.desclaux@cea.fr>2020-08-26 14:36:46 +0200
committerFabrice Desclaux <fabrice.desclaux@cea.fr>2020-08-31 07:50:01 +0200
commit24ce193b8bad352853a9c5589f6fdcf5177d5466 (patch)
tree2fb59bca2aada9280fb1aecd2ebdd633a23cdc4b /example/asm/simple.py
parent6f5cb3bef180400001541f56f704f77da0d73429 (diff)
downloadmiasm-24ce193b8bad352853a9c5589f6fdcf5177d5466.tar.gz
miasm-24ce193b8bad352853a9c5589f6fdcf5177d5466.zip
Update api according to loc_db update
Diffstat (limited to 'example/asm/simple.py')
-rw-r--r--example/asm/simple.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/example/asm/simple.py b/example/asm/simple.py
index 6197556b..bfa3ace6 100644
--- a/example/asm/simple.py
+++ b/example/asm/simple.py
@@ -30,7 +30,7 @@ loop:
 loc_db.set_location_offset(loc_db.get_name_location("main"), 0x0)
 
 # Spread information and resolve instructions offset
-patches = asmblock.asm_resolve_final(mn_x86, asmcfg, loc_db)
+patches = asmblock.asm_resolve_final(mn_x86, asmcfg)
 
 # Show resolved asmcfg
 for block in asmcfg.blocks: