def parse_dwarf():
 parser = DWARFParser()
 for line in open(sys.argv[1], 'r').readlines():
  parser.feed_line(line)
 parser.print_output()

def parse_dwarf ( ) : parser = DWARFParser ( ) for line in open ( sys . argv [ 1 ] , 'r' ) . readlines ( ) : parser . feed_line ( line ) parser . print_output ( )
parse the dwarf file .