private String getProgramNameFromSourceData(ByteProvider provider, String domainFileName) {
		FSRL fsrl = provider.getFSRL();
		if (fsrl != null) {
			return fsrl.getName();
		}

		// If the ByteProvider doesn't have an FSRL, use the given domainFileName
		return domainFileName;
	}
Sets a program's Executable Path, Executable Format, MD5, SHA256, and FSRL properties.
 
@param prog {@link Program} (with active transaction)
@param provider {@link ByteProvider} that the program was created from
@param executableFormatName executable format string
@throws IOException if error reading from ByteProvider
Ghidra/Features/Base/src/main/java/ghidra/app/util/opinion/AbstractProgramLoader.java