static ByteProvider getProvider(Program program) {
		List<FileBytes> allFileBytes = program.getMemory().getAllFileBytes();
		return !allFileBytes.isEmpty() ? new FileBytesProvider(allFileBytes.get(0)) : null;
	}
Gets a {@link ByteProvider} based on the {@link FileBytes} of the given {@link Program}.
<p>
NOTE: If the {@link Program} has more than one {@link FileBytes} associated with it, the
first one is used (this is typically the bytes of the originally imported file).

@param program The {@link Program}
@return A {@link ByteProvider} based on the {@link FileBytes} of the given {@link Program},
  or null if the {@link Program} doesn't have an associated {@link FileBytes}
Ghidra/Features/Base/src/main/java/ghidra/plugin/importer/ImporterUtilities.java