diff options
Diffstat (limited to 'bfd/codegen.py')
-rwxr-xr-x | bfd/codegen.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bfd/codegen.py b/bfd/codegen.py index 5019261..2f102e9 100755 --- a/bfd/codegen.py +++ b/bfd/codegen.py @@ -9,6 +9,7 @@ import capstone from load import ELF def SigHandler_SIGINT(signum, frame): + print() sys.exit(0) class Argparser(object): @@ -27,7 +28,7 @@ class Call_Rewriter(object): def run(): for i in md.disasm(self.obj_code, 0x0): - print("0x%x:\t%s\t%s", %(i.address, i.mnemonic, i.op_str)) + print("0x%x:\t%s\t%s" %(i.address, i.mnemonic, i.op_str)) class Global_Rewriter(object): def __init__(self): |