aboutsummaryrefslogtreecommitdiffstats
path: root/bfd
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
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 'bfd')
-rwxr-xr-xbfd/codegen.py3
-rwxr-xr-xbfd/load.py1
2 files changed, 3 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):
diff --git a/bfd/load.py b/bfd/load.py
index 22c304e..865fe91 100755
--- a/bfd/load.py
+++ b/bfd/load.py
@@ -8,6 +8,7 @@ from capstone import *
from capstone.x86 import *
def SigHandler_SIGINT(signum, frame):
+ print()
sys.exit(0)
class ExceptionHandler(object):