commit | e790d0db44e5a59e806390e59a603c852f00b367 | [log] [tgz] |
---|---|---|
author | ebenders <devnull@localhost> | Wed Sep 07 15:21:07 2011 +0300 |
committer | ebenders <devnull@localhost> | Wed Sep 07 15:21:07 2011 +0300 |
tree | 6c8f5e0adf03c718f3aae0dc223fced04cb975fc | |
parent | 198538a250dfd1f4057b06d5c982f56fa819f926 [diff] [blame] |
some structs filled in
diff --git a/z.py b/z.py index 22d4d03..b52b969 100644 --- a/z.py +++ b/z.py
@@ -1,2 +1,10 @@ from elftools.elf.structs import ELFStructs +es = ELFStructs(True, 64) + + +stream = open('binfiles/z.elf', 'rb') +print es.Elf_Ehdr.parse_stream(stream) + + +#~ print es.Elf_Ehdr