aboutsummaryrefslogtreecommitdiffstats
path: root/bfd
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2017-11-11 21:46:20 +0000
committerbloodstalker <thabogre@gmail.com>2017-11-11 21:46:20 +0000
commite09015638ece23f06f34a553d8615c86b3be0712 (patch)
treec74a1f38bef5b24b3da19adbf2b9b18b4ad186eb /bfd
parentfix (diff)
downloadmutator-e09015638ece23f06f34a553d8615c86b3be0712.tar.gz
mutator-e09015638ece23f06f34a553d8615c86b3be0712.zip
added obfuscator, some minor changes made to load.py so it would be easier to call python scripts from lua, general changes for a new project
Diffstat (limited to '')
-rwxr-xr-xbfd/load.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/bfd/load.py b/bfd/load.py
index b04db5d..4c681c3 100755
--- a/bfd/load.py
+++ b/bfd/load.py
@@ -163,6 +163,7 @@ class ELF(object):
self.size = int()
self.string_tb_e = []
self.string_tb_e_dyn = []
+ self.symbols = []
def init(self, size):
self.size = size
@@ -423,11 +424,11 @@ def main():
so = openSO_r(sys.argv[1])
elf = ELF(so)
elf.init(64)
- elf.dump_header()
- elf.dump_symbol_tb()
+ #elf.dump_header()
+ #elf.dump_symbol_tb()
#elf.dump_phdrs()
- #elf.dump_shdrs()
- elf.dump_symbol_idx()
+ elf.dump_shdrs()
+ #elf.dump_symbol_idx()
#elf.dump_objs()
'''
so.close()