aboutsummaryrefslogtreecommitdiffstats
path: root/bfd/codegen.py
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2018-02-11 20:29:49 +0000
committerbloodstalker <thabogre@gmail.com>2018-02-11 20:29:49 +0000
commit26859306a2affd060fb4ebebed7525a5d88e967c (patch)
tree7f0e83bbcf8e9ccff43814fc53649a61de00cc23 /bfd/codegen.py
parentmakefile update or they kinda do what they were supposed to do (diff)
downloadmutator-26859306a2affd060fb4ebebed7525a5d88e967c.tar.gz
mutator-26859306a2affd060fb4ebebed7525a5d88e967c.zip
2 major bug fixed for bruiser, a lot of little improvements and bug fixed here and there
Diffstat (limited to '')
-rwxr-xr-xbfd/codegen.py3
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):