@Override
	public Collection<? extends DBTraceReference> getReferencesTo(long snap, Address toAddress) {
		return xrefMapSpace.reduce(TraceAddressSnapRangeQuery.at(toAddress, snap))
				.values()
				.stream()
				.map(this::getRefForXRefEntry)
				.toList();
	}
A reference entry

<p>
Version history:
<ul>
<li>1: Change {@link #toAddress} to 10-byte fixed encoding</li>
<li>0: Initial version and previous unversioned implementation</li>
</ul>
Ghidra/Debug/Framework-TraceModeling/src/main/java/ghidra/trace/database/symbol/DBTraceReferenceSpace.java