public static AddressSetView getAddressSet(AddressFactory factory, Address start,
			boolean forward) {
		AddressSet all = factory.getAddressSet();
		if (forward) {
			Address max = all.getMaxAddress();
			return factory.getAddressSet(start, max);
		}
		Address min = all.getMinAddress();
		return factory.getAddressSet(min, start);
	}
Get all the addresses in a factory, starting at the given place

<p>
If backward, this yields all addresses coming before start

@param factory the factory
@param start the start (or end) address
@param forward true for all after, false for all before
@return the address set
Ghidra/Debug/Framework-TraceModeling/src/main/java/ghidra/trace/database/DBTraceUtils.java