diff options
Diffstat (limited to 'example')
| -rwxr-xr-x | example/asm/shellcode.py | 1 | ||||
| -rw-r--r-- | example/asm/simple.py | 2 | ||||
| -rw-r--r-- | example/expression/asm_to_ir.py | 2 |
3 files changed, 2 insertions, 3 deletions
diff --git a/example/asm/shellcode.py b/example/asm/shellcode.py index d33d6231..70d844a9 100755 --- a/example/asm/shellcode.py +++ b/example/asm/shellcode.py @@ -106,7 +106,6 @@ open("graph.dot", "w").write(asmcfg.dot()) patches = asmblock.asm_resolve_final( machine.mn, asmcfg, - loc_db, dst_interval ) if args.encrypt: 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: diff --git a/example/expression/asm_to_ir.py b/example/expression/asm_to_ir.py index edc23437..8ecc4f24 100644 --- a/example/expression/asm_to_ir.py +++ b/example/expression/asm_to_ir.py @@ -40,7 +40,7 @@ for block in asmcfg.blocks: print("symbols:") print(loc_db) -patches = asmblock.asm_resolve_final(mn_x86, asmcfg, loc_db) +patches = asmblock.asm_resolve_final(mn_x86, asmcfg) # Translate to IR ir_arch = ir_a_x86_32(loc_db) |