protected FoundRegister findRegister(TraceObjectThread thread, int frame,
			Register register) {
		TraceObject container = thread.getObject().findRegisterContainer(frame);
		if (container == null) {
			Msg.error(this, "No register container for thread=" + thread + ",frame=" + frame);
			return null;
		}
		PathFilter filter = container.getSchema().searchFor(TraceObjectRegister.class, true);
		return findRegister(container, filter, register);
	}
When checking for register validity, we consider it valid if it or any of its parents are
valid, or any alias thereof.
Ghidra/Debug/Debugger-rmi-trace/src/main/java/ghidra/app/plugin/core/debug/service/tracermi/TraceRmiTarget.java