diff options
Diffstat (limited to 'example/asm')
| -rwxr-xr-x | example/asm/shellcode.py | 1 | ||||
| -rw-r--r-- | example/asm/simple.py | 2 |
2 files changed, 1 insertions, 2 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: |