+ if (flags & kSecCSUseAllArchitectures)
+ if (Universal* macho = staticCode->diskRep()->mainExecutableImage()) // Mach-O main executable
+ if (macho->narrowed()) {
+ // create a new StaticCode comprising the whole fat file
+ RefPointer<DiskRep> rep = DiskRep::bestGuess(staticCode->diskRep()->mainExecutablePath());
+ staticCode = new SecStaticCode(rep);
+ }