view python/tests/ppcitest.py @ 126:bbf4c9b138d4

Changes to elf reading
author Windel Bouwman
date Sun, 13 Jan 2013 12:14:27 +0100
parents fe145e42259d
children
line wrap: on
line source


from core import BitReader

with open('main.s.bc', 'rb') as f:
   br = BitReader(f)
   br.parseModule()
   print(br)