Lines Matching refs:linkedExecutable
830 fakeKext->linkedExecutable = os::move(executable); in allocAndInitFakeKext()
3207 linkedExecutable.reset(); in free()
4884 return sKernelKext->linkedExecutable.get(); in getExecutable()
5068 if (linkedExecutable) { in getSizeInfo()
5069 *loadSize = linkedExecutable->getLength(); in getSizeInfo()
5113 theExecutable = linkedExecutable.get(); in copyUUID()
6718 if (!linkedExecutable) { in lookupSection()
6722 mh = (kernel_mach_header_t *)linkedExecutable->getBytesNoCopy(); in lookupSection()
6767 if (linkedExecutable == NULL || flags.builtin) { in slidePrelinkedExecutable()
6772 mh = (kernel_mach_header_t *)linkedExecutable->getBytesNoCopy(); in slidePrelinkedExecutable()
6972 linkedExecutable->setDeallocFunction(NULL); in slidePrelinkedExecutable()
6973 linkedExecutable = os::move(new_osdata); in slidePrelinkedExecutable()
7152 interfaceTarget = sKernelKext->linkedExecutable.get(); in loadExecutable()
7157 interfaceTarget = interfaceTargetKext->linkedExecutable.get(); in loadExecutable()
7173 if (dependency->linkedExecutable != NULL) { in loadExecutable()
7174 kxlddeps[i].interface = (u_char *) dependency->linkedExecutable->getBytesNoCopy(); in loadExecutable()
7175 kxlddeps[i].interface_size = dependency->linkedExecutable->getLength(); in loadExecutable()
7182 kxlddeps[i].kext = (u_char *) dependency->linkedExecutable->getBytesNoCopy(); in loadExecutable()
7183 kxlddeps[i].kext_size = dependency->linkedExecutable->getLength(); in loadExecutable()
7330 if (!isInterface() && linkedExecutable) { in loadExecutable()
7351 if (linkedExecutable) { in loadExecutable()
7352 kasan_load_kext((vm_offset_t)linkedExecutable->getBytesNoCopy(), in loadExecutable()
7353 linkedExecutable->getLength(), getIdentifierCString()); in loadExecutable()
7413 if (linkedExecutable) { in loadExecutable()
7414 linkedExecutable.reset(); in loadExecutable()
7480 if (sKeepSymbols || !isExecutable() || !linkedExecutable || flags.jettisonLinkeditSeg) {
7482 …if (sKeepSymbols || isLibrary() || !isExecutable() || !linkedExecutable || flags.jettisonLinkeditS…
7533 linkedExecutable->setDeallocFunction(NULL);
7534 linkedExecutable = os::move(data);
7616 if (linkedExecutable) {
7621 linkedExecutable.reset(anExecutable, OSRetain);
8650 if (linkedExecutable) {
8652 kasan_unload_kext((vm_offset_t)linkedExecutable->getBytesNoCopy(), linkedExecutable->getLength());
8719 linkedExecutable.reset();
11868 if (linkedExecutable && !isInterface()) {
11870 linkedExecutable->getBytesNoCopy();
12278 if (isInterface() || flags.builtin || linkedExecutable || is_dext) {
12295 if (flags.builtin || linkedExecutable) {
12303 loadAddress = (uint64_t)linkedExecutable->getBytesNoCopy();
12304 loadSize = linkedExecutable->getLength();