void write(JsonArray results, AddressSetView set, TaskMonitor monitor) throws IOException, CancelledException {

		List<Register> regs = getUniqueRegisters();
		if (set == null) {
			set = program.getMemory();
		}
		List<AddressRange> request = new ArrayList<>();
		AddressRangeIterator rangeIter = set.getAddressRanges();
		while (rangeIter.hasNext()) {
			monitor.checkCancelled();
			request.add(rangeIter.next());
		}

		writeAsSARIF(context, regs, request, results);
	}
Write out the SARIF for the Equates.

@param results writer for SARIF
@param set     address set that is either the entire program or a selection
@param monitor monitor that can be canceled should be written
@throws IOException
Ghidra/Features/Sarif/src/main/java/sarif/managers/RegisterValuesSarifMgr.java