Lines Matching refs:linkedExecutable

830 	fakeKext->linkedExecutable = os::move(executable);  in allocAndInitFakeKext()
3207 linkedExecutable.reset(); in free()
4893 return sKernelKext->linkedExecutable.get(); in getExecutable()
5085 if (linkedExecutable) { in getSizeInfo()
5086 *loadSize = linkedExecutable->getLength(); in getSizeInfo()
5130 theExecutable = linkedExecutable.get(); in copyUUID()
6742 if (!linkedExecutable) { in lookupSection()
6746 mh = (kernel_mach_header_t *)linkedExecutable->getBytesNoCopy(); in lookupSection()
6791 if (linkedExecutable == NULL || flags.builtin) { in slidePrelinkedExecutable()
6796 mh = (kernel_mach_header_t *)linkedExecutable->getBytesNoCopy(); in slidePrelinkedExecutable()
6996 linkedExecutable->setDeallocFunction(NULL); in slidePrelinkedExecutable()
6997 linkedExecutable = os::move(new_osdata); in slidePrelinkedExecutable()
7176 interfaceTarget = sKernelKext->linkedExecutable.get(); in loadExecutable()
7181 interfaceTarget = interfaceTargetKext->linkedExecutable.get(); in loadExecutable()
7197 if (dependency->linkedExecutable != NULL) { in loadExecutable()
7198 kxlddeps[i].interface = (u_char *) dependency->linkedExecutable->getBytesNoCopy(); in loadExecutable()
7199 kxlddeps[i].interface_size = dependency->linkedExecutable->getLength(); in loadExecutable()
7206 kxlddeps[i].kext = (u_char *) dependency->linkedExecutable->getBytesNoCopy(); in loadExecutable()
7207 kxlddeps[i].kext_size = dependency->linkedExecutable->getLength(); in loadExecutable()
7354 if (!isInterface() && linkedExecutable) { in loadExecutable()
7375 if (linkedExecutable) { in loadExecutable()
7376 kasan_load_kext((vm_offset_t)linkedExecutable->getBytesNoCopy(), in loadExecutable()
7377 linkedExecutable->getLength(), getIdentifierCString()); in loadExecutable()
7437 if (linkedExecutable) { in loadExecutable()
7438 linkedExecutable.reset(); in loadExecutable()
7504 if (sKeepSymbols || !isExecutable() || !linkedExecutable || flags.jettisonLinkeditSeg) {
7506 …if (sKeepSymbols || isLibrary() || !isExecutable() || !linkedExecutable || flags.jettisonLinkeditS…
7557 linkedExecutable->setDeallocFunction(NULL);
7558 linkedExecutable = os::move(data);
7640 if (linkedExecutable) {
7645 linkedExecutable.reset(anExecutable, OSRetain);
8674 if (linkedExecutable) {
8676 kasan_unload_kext((vm_offset_t)linkedExecutable->getBytesNoCopy(), linkedExecutable->getLength());
8743 linkedExecutable.reset();
11900 if (linkedExecutable && !isInterface()) {
11902 linkedExecutable->getBytesNoCopy();
12310 if (isInterface() || flags.builtin || linkedExecutable || is_dext) {
12327 if (flags.builtin || linkedExecutable) {
12335 loadAddress = (uint64_t)linkedExecutable->getBytesNoCopy();
12336 loadSize = linkedExecutable->getLength();