public InstructionIterator getInstructions(AddressSetView set, boolean forward) {
		try {
			RecordIterator recIt = instAdapter.getRecords(set, forward);
			return new InstructionRecordIterator(this, recIt, forward);
		}
		catch (IOException e) {
			program.dbError(e);
		}
		return null;

	}
Returns an iterator over all instructions in the given addressSet. The iterator will go from 
the lowest address to the largest or from the largest to the lowest depending on the forward 
parameter.
@param set restrict the returned instructions to these addresses
@param forward determines if the iterator goes from lowest address to highest or the other 
way around.
@return the iterator
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/code/CodeManager.java