view python/tests/ppcitest.py @ 172:5a7d37d615ee

Added function to IR
author Windel Bouwman
date Thu, 04 Apr 2013 17:58:37 +0200
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)