<s> import os <EOL> import sys <EOL> from barf . barf import BARF <EOL> if __name__ == "<STR_LIT:__main__>" : <EOL> try : <EOL> filename = os . path . abspath ( "<STR_LIT>" ) <EOL> barf = BARF ( filename ) <EOL> except Exception as err : <EOL> print err <EOL> print "<STR_LIT>" % filename <EOL> sys . exit ( <NUM_LIT:1> ) <EOL> print ( "<STR_LIT>" ) <EOL> for addr , asm_instr , reil_instrs in barf . translate ( ) : <EOL> print ( "<STR_LIT>" . format ( addr , asm_instr ) ) <EOL> for reil_instr in reil_instrs : <EOL> print ( "<STR_LIT>" . format ( "<STR_LIT>" , reil_instr ) ) </s>
