public static ExternalDebugInfo fromProgram(Program program) {
		GnuDebugLink debugLink = GnuDebugLink.fromProgram(program);
		NoteGnuBuildId buildId = NoteGnuBuildId.fromProgram(program);
		if (debugLink == null && buildId == null) {
			return null;
		}

		String filename = debugLink != null ? debugLink.getFilename() : null;
		int crc = debugLink != null ? debugLink.getCrc() : 0;
		byte[] hash = buildId != null ? buildId.getDescription() : null;
		return new ExternalDebugInfo(filename, crc, hash);
	}
Create a new {@link ExternalDebugInfo} from information found in the specified program.
 
@param program {@link Program} to query
@return new {@link ExternalDebugInfo} or null if no external debug metadata found in
program
Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/dwarf/external/ExternalDebugInfo.java