Lines Matching refs:ed_image
229 elf->ed_image = ref->ed_image;
301 if (mprotect((char *)elf->ed_image, elf->ed_imagesz,
333 elf->ed_image += OSSwapBigToHostInt32(arch->offset);
344 (MH_MAGIC == *(unsigned int *)(elf->ed_image) ||
345 MH_CIGAM == *(unsigned int *)(elf->ed_image))) {
347 struct mach_header hdr, *mh = (struct mach_header *)elf->ed_image;
439 if (mprotect((char *)elf->ed_image, elf->ed_imagesz,
450 (MH_MAGIC_64 == *(unsigned int *)(elf->ed_image) ||
451 MH_CIGAM_64 == *(unsigned int *)(elf->ed_image))) {
453 struct mach_header_64 hdr, *mh64 = (struct mach_header_64 *)elf->ed_image;
545 if (mprotect((char *)elf->ed_image, elf->ed_imagesz,
600 elf->ed_image = elf->ed_ident = image;