private static Symbol findNextImportedSymbol(Program program, Address address) {
		int count = 0;
		SymbolIterator symiter = program.getSymbolTable().getSymbolIterator(address.add(1), true);
		while (symiter.hasNext()) {
			Symbol nextsym = symiter.next();
			if (nextsym.getSource() == SourceType.IMPORTED) {
				return nextsym;
			}
			if (++count > 50) {
				break;//don't look more than 50 symbols ahead...
			}
		}
		return null;
	}
Perform a best guess at the length of an address table assuming that
another label (or end of block) can be used to identify the end.
@param program the program
@param address start of address table
@return maximum length of table or -1 if address does not reside
within an initialized memory block
Ghidra/Features/Base/src/main/java/ghidra/app/util/demangler/DemangledAddressTable.java