Home
last modified time | relevance | path

Searched refs:filetype (Results 1 – 19 of 19) sorted by relevance

/xnu-11215/libkern/kxld/
H A Dkxld_object.c87 uint32_t filetype; member
279 object->filetype = mach_hdr->filetype; in kxld_object_init_from_macho()
282 object->filetype = mach_hdr->filetype; in kxld_object_init_from_macho()
590 u_int filetype = 0; in init_from_final_linked_image() local
820 u_int filetype = 0; in init_from_execute() local
1164 if (filetype) { in get_macho_cmd_data_32()
1165 *filetype = mach_hdr->filetype; in get_macho_cmd_data_32()
1184 if (filetype) { in get_macho_cmd_data_64()
1185 *filetype = mach_hdr->filetype; in get_macho_cmd_data_64()
2137 mach->filetype = object->filetype;
[all …]
H A Dkxld_util.c334 if (mach_hdr->filetype == MH_EXECUTE) { in validate_and_swap_macho_32()
515 if (mach_hdr->filetype == MH_EXECUTE) { in validate_and_swap_macho_64()
/xnu-11215/tools/lldbmacros/
H A Dmacho.py80 self.filetype = self.get_filetype_shortname(header.filetype)
/xnu-11215/libsa/
H A Dbootstrap.cpp292 kPrelinkTextSegment, loaded_kcUUID, (mh->filetype == MH_FILESET) ? type : KCKindUnknown); in readPrelinkedExtensions()
316 if (mh->filetype != MH_FILESET) { in readPrelinkedExtensions()
/xnu-11215/osfmk/arm/
H A Darm_init.c250 assert(kc_mh->filetype == MH_FILESET); in arm_slide_rebase_and_sign_image()
315 assert(akc_mh->filetype == MH_FILESET); in arm_auxkc_init()
/xnu-11215/pexpert/gen/
H A Dkcformat.c194 if (mh && mh->filetype == MH_FILESET) { in PE_get_primary_kc_format()
/xnu-11215/EXTERNAL_HEADERS/mach-o/
H A Dloader.h58 uint32_t filetype; /* type of file */ member
76 uint32_t filetype; /* type of file */ member
/xnu-11215/libkern/
H A Dkernel_mach_header.c254 mhp->filetype == MH_OBJECT) { in getsectbynamefromheader()
/xnu-11215/bsd/kern/
H A Dmach_loader.c158 uint32_t filetype,
853 switch (header->filetype) { in parse_machfile()
1151 header->filetype, in parse_machfile()
1205 header->filetype, in parse_machfile()
1918 uint32_t filetype, in load_segment() argument
2141 if (filetype != MH_DYLINKER && (imgp->ip_flags & IMGPF_ROSETTA) == 0 && scp->vmaddr == 0) { in load_segment()
2142 DEBUG4K_ERROR("LOAD_BADMACHO filetype %d vmaddr 0x%llx\n", filetype, scp->vmaddr); in load_segment()
2363 filetype == MH_DYLINKER && in load_segment()
H A Dkern_core.c551 mh64->filetype = MH_CORE; in coredump()
559 mh->filetype = MH_CORE; in coredump()
H A Dkern_exec.c1242 if (mach_header->filetype != MH_EXECUTE) { in exec_mach_imgact()
/xnu-11215/SETUP/kextsymboltool/
H A Dkextsymboltool.c740 hdr.filetype = MH_KEXT_BUNDLE; in main()
778 hdr.filetype = MH_KEXT_BUNDLE; in main()
/xnu-11215/osfmk/mach/
H A Ddyld_kernel_fixups.h400 assert(kc_mh->filetype == MH_FILESET); in kernel_collection_adjust_mh_addrs()
/xnu-11215/osfmk/kdp/
H A Dprocessor_core.c494 core_header.filetype = MH_CORE; in coredump_save_summary()
516 core_header.filetype = MH_CORE; in coredump_save_summary()
/xnu-11215/osfmk/arm64/sptm/
H A Darm_init_sptm.c267 assert(kc_mh->filetype == MH_FILESET); in arm_slide_rebase_and_sign_image()
309 assert(akc_mh->filetype == MH_FILESET); in arm_auxkc_init()
/xnu-11215/tools/kt-dump/
H A Dkt-dump.cpp597 switch (hdr->filetype) { in recognize_file()
/xnu-11215/osfmk/i386/
H A Di386_init.c656 assert(kc_mh->filetype == MH_FILESET); in i386_slide_and_rebase_image()
/xnu-11215/libkern/os/
H A Dlog.c239 if (mh->filetype == MH_EXECUTE && !driverKit) { in firehose_ftid_flags()
/xnu-11215/libkern/c++/
H A DOSKext.cpp13823 if (base_mh->filetype != MH_FILESET) {
13825 " is not an MH_FILESET, it is %x", base_mh->filetype);
13828 "mapKCTextSegment mach header filetype is not an MH_FILESET, it is %x", base_mh->filetype);