private void dumpSymbols(Writer writer) throws CancelledException, IOException, PdbException {
		MsSymbolIterator iterator = getSymbolIterator();
		List<AbstractMsSymbol> symbols = new ArrayList<>();
		while (iterator.hasNext()) {
			pdb.checkCancelled();
			symbols.add(iterator.next());
		}
	}
Returns the symbol iterator symbols of the specified module
@param moduleNum the module number
@return an iterator over all symbols of the module
@throws CancelledException upon user cancellation
@throws PdbException upon not enough data left to parse
Ghidra/Features/PDB/src/main/java/ghidra/app/util/bin/format/pdb2/pdbreader/PdbDebugInfo.java