@Override
	public String getDataRepresentation(ByteBlock block, BigInteger index)
			throws ByteBlockAccessException {

		String addrStr = block.getLocationRepresentation(index);

		String str = null;

		if (listing != null) {
			// Make sure that the given address is not a part of an Instruction or
			// Defined Data.
			Address a = null;
			if (addrStr != null) {
				a = program.getAddressFactory().getAddress(addrStr);
			}
			if (a == null) {
				str = "?";
			}
			else {
				if ((listing.getInstructionContaining(a) != null) ||
					(listing.getDefinedDataContaining(a) != null)) {
					str = "."; // Instruction or Defined Data
				}
				else {
					str = BLOCK; // Unassembled byte
				}
			}
		}
		else {
			str = "?"; // Listing not available
		}
		return str;
	}
Gets the string representation at the given index in the block.
@param block block to change
@param index byte index into the block
@throws ByteBlockAccessException if the block cannot be read
@throws IndexOutOfBoundsException if index is not valid for the
block
Ghidra/Features/ByteViewer/src/main/java/ghidra/app/plugin/core/format/DisassembledFormatModel.java