annotate 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
rev   line source
94
1be00bcfaabb Last parts before movage
windel
parents:
diff changeset
1
1be00bcfaabb Last parts before movage
windel
parents:
diff changeset
2 from core import BitReader
1be00bcfaabb Last parts before movage
windel
parents:
diff changeset
3
1be00bcfaabb Last parts before movage
windel
parents:
diff changeset
4 with open('main.s.bc', 'rb') as f:
1be00bcfaabb Last parts before movage
windel
parents:
diff changeset
5 br = BitReader(f)
1be00bcfaabb Last parts before movage
windel
parents:
diff changeset
6 br.parseModule()
1be00bcfaabb Last parts before movage
windel
parents:
diff changeset
7 print(br)
1be00bcfaabb Last parts before movage
windel
parents:
diff changeset
8