Lines Matching refs:linkedExecutable
887 fakeKext->linkedExecutable = os::move(executable); in allocAndInitFakeKext()
3335 linkedExecutable.reset(); in free()
5021 return sKernelKext->linkedExecutable.get(); in getExecutable()
5219 if (linkedExecutable) { in getSizeInfo()
5220 *loadSize = linkedExecutable->getLength(); in getSizeInfo()
5264 theExecutable = linkedExecutable.get(); in copyUUID()
6876 if (!linkedExecutable) { in lookupSection()
6880 mh = (kernel_mach_header_t *)linkedExecutable->getBytesNoCopy(); in lookupSection()
6925 if (linkedExecutable == NULL || flags.builtin) { in slidePrelinkedExecutable()
6930 mh = (kernel_mach_header_t *)linkedExecutable->getBytesNoCopy(); in slidePrelinkedExecutable()
7130 linkedExecutable->setDeallocFunction(NULL); in slidePrelinkedExecutable()
7131 linkedExecutable = os::move(new_osdata); in slidePrelinkedExecutable()
7310 interfaceTarget = sKernelKext->linkedExecutable.get(); in loadExecutable()
7315 interfaceTarget = interfaceTargetKext->linkedExecutable.get(); in loadExecutable()
7331 if (dependency->linkedExecutable != NULL) { in loadExecutable()
7332 kxlddeps[i].interface = (u_char *) dependency->linkedExecutable->getBytesNoCopy(); in loadExecutable()
7333 kxlddeps[i].interface_size = dependency->linkedExecutable->getLength(); in loadExecutable()
7340 kxlddeps[i].kext = (u_char *) dependency->linkedExecutable->getBytesNoCopy(); in loadExecutable()
7341 kxlddeps[i].kext_size = dependency->linkedExecutable->getLength(); in loadExecutable()
7488 if (!isInterface() && linkedExecutable) { in loadExecutable()
7509 if (linkedExecutable) { in loadExecutable()
7510 kasan_load_kext((vm_offset_t)linkedExecutable->getBytesNoCopy(), in loadExecutable()
7511 linkedExecutable->getLength(), getIdentifierCString()); in loadExecutable()
7571 if (linkedExecutable) { in loadExecutable()
7572 linkedExecutable.reset(); in loadExecutable()
7642 if (sKeepSymbols || !isExecutable() || !linkedExecutable || flags.jettisonLinkeditSeg) {
7644 …if (sKeepSymbols || isLibrary() || !isExecutable() || !linkedExecutable || flags.jettisonLinkeditS…
7695 linkedExecutable->setDeallocFunction(NULL);
7696 linkedExecutable = os::move(data);
7778 if (linkedExecutable) {
7783 linkedExecutable.reset(anExecutable, OSRetain);
8818 if (linkedExecutable) {
8820 kasan_unload_kext((vm_offset_t)linkedExecutable->getBytesNoCopy(), linkedExecutable->getLength());
8887 linkedExecutable.reset();
12044 if (linkedExecutable && !isInterface()) {
12046 linkedExecutable->getBytesNoCopy();
12454 if (isInterface() || flags.builtin || linkedExecutable || is_dext) {
12471 if (flags.builtin || linkedExecutable) {
12479 loadAddress = (uint64_t)linkedExecutable->getBytesNoCopy();
12480 loadSize = linkedExecutable->getLength();