Lines Matching refs:sym
54 def get_symbol_addr(sym): argument
56 return sym['st_value']
59 def get_symbol_size(sym): argument
61 return sym['st_size']
64 def is_symbol_in_ranges(sym, ranges): argument
70 if bound['start'] <= sym['st_value'] <= bound['end']:
120 for sym in symlist:
121 if low <= sym['symbol']['st_value'] < high:
122 return sym
142 for sym in section.iter_symbols():
144 if get_symbol_size(sym) == 0:
148 entry = {'name': sym.name,
149 'symbol': sym,
154 bound = is_symbol_in_ranges(sym, rom_addr_ranges)
156 if sym.name not in rom_syms:
157 rom_syms[sym.name] = list()
159 rom_syms[sym.name].append(entry)
163 bound = is_symbol_in_ranges(sym, ram_addr_ranges)
165 if sym.name not in ram_syms:
166 ram_syms[sym.name] = list()
168 ram_syms[sym.name].append(entry)
172 bound = is_symbol_in_ranges(sym, unassigned_addr_ranges)
175 if sym.name not in unassigned_syms:
176 unassigned_syms[sym.name] = list()
177 unassigned_syms[sym.name].append(entry)
561 for _, sym in symbol_dict.items():
562 for symbol in sym:
678 for name, sym in symbol_dict.items():
679 for symbol in sym:
833 for sym in symbols['unassigned'].values():
834 for sym_entry in sym:
860 for sym in processed['unmapped_symbols']:
861 print("INFO: Unmapped symbol: {0}".format(sym))