private List<String> getReexportPaths(Program program, MessageLog log)
			throws MachException, IOException {
		Symbol header =
			program.getSymbolTable().getSymbols(MachoProgramBuilder.HEADER_SYMBOL).next();
		if (header == null) {
			log.appendMsg("Failed to lookup reexport paths...couldn't find '%s' symbol"
					.formatted(MachoProgramBuilder.HEADER_SYMBOL));
			return List.of();
		}
		ByteProvider p = new MemoryByteProvider(program.getMemory(), header.getAddress());
		return new MachHeader(p).parseReexports()
				.stream()
				.map(DynamicLibraryCommand::getDynamicLibrary)
				.map(DynamicLibrary::getName)
				.map(LoadCommandString::getString)
				.toList();
	}
Gets a {@link List} of reexport library paths from the given {@link Program}
 
@param program The {@link Program}
@param log The log
@return A {@link List} of reexport library paths from the given {@link Program}
@throws MachException if there was a problem parsing the Mach-O {@link Program}
@throws IOException if there was an IO-related error
Ghidra/Features/Base/src/main/java/ghidra/app/util/opinion/MachoLoader.java