protected void doSetPlatformMapping(final InternalTracePlatform platform) {
		this.platform = platform;
		if (platform.isHost()) {
			instructionContext = this;
			memBuffer = this;
		}
		else {
			instructionContext = new GuestInstructionContext();
			memBuffer = new GuestMemBuffer();
		}
	}
At load/create time: set the platform and context (which may map addresses)

@param platform the platform
Ghidra/Debug/Framework-TraceModeling/src/main/java/ghidra/trace/database/listing/DBTraceInstruction.java