private Symbol findExternalBlockSymbol(String name, Address extMin, Address extMax) {

		// try direct global name lookup first
		SymbolTable symbolTable = program.getSymbolTable();
		SymbolIterator symbols = symbolTable.getSymbols(name);
		for (Symbol symbol : symbols) {
			if (isSymbolInRange(symbol, extMin, extMax)) {
				return symbol;
			}
		}

		// Since we can't do a direct lookup of default thunk names
		// we must iterate over all symbols in the block to find a match
		SymbolIterator symbolIter = symbolTable.getSymbolIterator(extMin, true);
		while (symbolIter.hasNext()) {
			Symbol s = symbolIter.next();
			if (!isSymbolInRange(s, extMin, extMax)) {
				break;
			}
			if (name.equals(s.getName())) {
				return s;
			}
		}
		return null;
	}
Find a specific named symbol within the fake EXTERNAL block.
NOTE: It is assumed that ELF will never produced duplicate names.
@param name symbol name
@param extMin EXTERNAL block minimum address
@param extMax EXTERNAL block maximum address
@return matching symbol or null if not found
Ghidra/Features/Base/src/main/java/ghidra/app/util/opinion/ElfProgramBuilder.java