public static File getDSYMForProgram(Program program) {

		File exePath = new File(program.getExecutablePath());
		File dSymFile = new File(exePath.getParentFile(),
			exePath.getName() + ".dSYM/Contents/Resources/DWARF/" + exePath.getName());

		return dSymFile.isFile() ? dSymFile : null;
	}
Fetches DWARF section data for a MachO program with co-located .dSYM folder. (ie. Mac OSX
binaries)
Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/dwarf/sectionprovider/DSymSectionProvider.java