@Override
	public SymbolIterator getPrimarySymbolIterator(Address startAddr, boolean forward)
			throws IllegalArgumentException {
		if (!startAddr.isMemoryAddress()) {
			throw new IllegalArgumentException("Invalid memory address: " + startAddr);
		}
		return getPrimarySymbolIterator(
			program.getAddressFactory().getAddressSet(startAddr, program.getMaxAddress()), forward);
	}
Returns the next available external symbol address

@return the address
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/symbol/SymbolManager.java