function returns find_symbol_offset