Lines Matching refs:mach_header
693 struct mach_header *mach_header = (struct mach_header *)imgp->ip_vdata;
714 if ((mach_header->magic == MH_CIGAM) ||
715 (mach_header->magic == MH_CIGAM_64)) {
720 if ((mach_header->magic != MH_MAGIC) &&
721 (mach_header->magic != MH_MAGIC_64)) {
726 switch (mach_header->filetype) {
734 imgp->ip_origcputype = mach_header->cputype;
735 imgp->ip_origcpusubtype = mach_header->cpusubtype;
751 if ((mach_header->cputype & CPU_ARCH_ABI64) == CPU_ARCH_ABI64)
848 lret = load_machfile(imgp, mach_header, thread, map, &load_result);
940 error = copyoutptr(load_result.mach_header, ap, new_ptr_size);