@Override
	protected boolean shouldSearchAllPaths(Program program, List<Option> options, MessageLog log) {
		if (super.shouldSearchAllPaths(program, options, log)) {
			return true;
		}
		if (shouldPerformReexports(options)) {
			try {
				Symbol header =
					program.getSymbolTable().getSymbols(MachoProgramBuilder.HEADER_SYMBOL).next();
				if (header == null) {
					return false;
				}
				ByteProvider p = new MemoryByteProvider(program.getMemory(), header.getAddress());
				if (new MachHeader(p).parseAndCheck(LoadCommandTypes.LC_REEXPORT_DYLIB)) {
					return true;
				}
			}
			catch (Exception e) {
				log.appendMsg("Failed to parse Mach-O header for: '%s': %s"
						.formatted(program.getName(), e.getMessage()));
			}
		}
		return false;
	}
{@inheritDoc}
<p>
If we aren't loading libraries, we still want to search all paths if the reexport option is 
set and the Mach-O actually has {@code LC_REEXPORT_DYLIB} entries.
Ghidra/Features/Base/src/main/java/ghidra/app/util/opinion/MachoLoader.java