Lines Matching refs:executable

168 /* An indirect reference to the executable file from an mkext
446 "Can't allocate linked executable wrapper for %s.",
1391 /* Also get the executable's bundle-relative path if present.
1405 /* Create an OSData wrapper around the linked executable.
1416 "Kext %s can't find prelinked kext executable size.",
1425 IOLog("kaslr: unslid 0x%lx slid 0x%lx length %u - prelink executable \n",
1442 IOLog("kaslr: unslid 0x%lx slid 0x%lx - prelink executable source \n",
1478 "Kext %s failed to create executable wrapper.",
1586 OSData * executable = NULL; // must release
1676 /* An executable is not mandatory.
1684 "Can't translate physical address 0x%x of kext executable "
1691 executable = OSData::withBytesNoCopy(executableAddr,
1693 if (!executable) {
1697 "Failed to create executable wrapper for device tree entry %s.",
1702 /* A kext with an executable needs to retain the whole booterData
1703 * object to keep the executable in memory.
1705 if (!setExecutable(executable, booterData)) {
1709 "Failed to set kext executable for device tree entry %s.",
1721 OSSafeRelease(executable);
1783 * might have to uncompress an mkext executable and we shouldn't
1805 * unrelocated executable is no longer around (and we never had it
1827 "(same version and executable).",
1848 "executable UUID is already present.",
2096 * executable.
2118 panic("Attempt to set an executable on a kext "
2477 "Couldn't record executable info "
2850 OSData * executable = NULL; // must release
2865 /* If we have a path to the executable, save it.
2881 executable = createMkext2FileEntry(mkextData,
2882 executableOffsetNum, "executable");
2884 if (!executable) {
2887 if (!setExecutable(executable, mkextData, true)) {
2896 OSSafeRelease(executable);
3340 * executable in it. That should all have been flushed out at the
3798 MKEXT2_GET_ENTRY_DATA(fileinfo), "executable",
3806 "Kext %s - unknown mkext version 0x%x for executable.",
3810 /* Regardless of success, remove the mkext executable,
3988 /* An interface kext doesn't have a linked executable with an LC_UUID,
3997 /* For real kexts, try to get the UUID from the linked executable,
3998 * or if is hasn't been linked yet, the unrelocated executable.
4541 /* More hack! If the kext doesn't declare an executable, even if we
4547 * not declare an executable and serve only as a package for personalities
4554 "Kext %s has no executable; removing any personalities naming it.",
4889 "Can't load kext %s - executable is missing.",
4998 " executable: %p executable_length: %d\n"
5055 * copy of the UUID out of the original executable via copyUUID()
5056 * while we still have the original executable.
5101 "Kext %s executable loaded; %u pages at 0x%lx (load tag %u).",
5134 /* We no longer need the unrelocated executable (which the linker
5143 "Failed to load executable for kext %s.",
5241 panic("Attempt to set linked executable on kext "
5533 /* Verify that the start/stop function is executable.
5554 "is not executable.",
5969 * have no OSMetaClass references before unloading the kext executable
5970 * from memory. OSMetaClasses may have pointers into the kext executable
6029 /* Unwire and free the linked executable.
6050 "Kext %s unwiring and unmapping linked executable.",
6797 /* Add the library directly only if it has an executable to link.