Python27 fix

pull/3/head
Zach Riggle 11 years ago
parent b4717a09ee
commit fb6b5ac8c2

@ -164,12 +164,12 @@ def get_phdrs(pointer):
def iter_phdrs(ehdr):
if not ehdr:
return []
raise StopIteration
phnum, phentsize, phdr = get_phdrs(int(ehdr.address))
if not phdr:
return []
raise StopIteration
first_phdr = int(phdr.address)
PhdrType = phdr.type

Loading…
Cancel
Save