/macosx-10.9.5/Security-55471.14.18/sec/Security/Tool/ |
H A D | codesign.c | 269 struct mach_header header; 273 fseek(binary, sizeof(struct mach_header_64) - sizeof(struct mach_header), SEEK_CUR); 296 fseek(binary, sizeof(struct mach_header_64) - sizeof(struct mach_header), SEEK_CUR);
|
/macosx-10.9.5/cctools-845/ld/ |
H A D | dylibs.c | 123 struct mach_header *mh; 134 mh = (struct mach_header *)cur_obj->obj_addr; 136 sizeof(struct mach_header));
|
/macosx-10.9.5/dyld-239.4/src/ |
H A D | dyldAPIs.cpp | 96 static void _dyld_call_module_initializers_for_dylib(const struct mach_header* mh_dylib_header); 300 const struct mach_header* _dyld_get_image_header(uint32_t image_index) 306 return (struct mach_header*)image->machHeader(); 322 intptr_t _dyld_get_image_slide(const struct mach_header* mh) 345 const struct mach_header * _dyld_get_image_header_containing_address(const void* address) 356 void _dyld_register_func_for_add_image(void (*func)(const struct mach_header *mh, intptr_t vmaddr_slide)) 363 void _dyld_register_func_for_remove_image(void (*func)(const struct mach_header *mh, intptr_t vmaddr_slide)) 397 static void _dyld_call_module_initializers_for_dylib(const struct mach_header* mh_dylib_header) 518 const struct mach_header* addImage(void* callerAddress, const char* path, bool search, bool dontLoad, bool matchInstallName, bool abortOnError) 581 const struct mach_header* NSAddImag [all...] |
H A D | ImageLoaderMachO.h | 54 virtual const struct mach_header* machHeader() const; 197 static uintptr_t bindLazySymbol(const mach_header*, uintptr_t* lazyPointer);
|
H A D | ImageLoader.h | 147 struct macho_header : public mach_header {}; 204 const mach_header* imageHeader; 381 // dyld API's require each image to have an associated mach_header 382 virtual const struct mach_header* machHeader() const = 0;
|
/macosx-10.9.5/keymgr-28/ |
H A D | keymgr.c | 631 const struct mach_header *mh; /* the image info */ 674 static void dwarf2_unwind_dyld_add_image_hook (const struct mach_header *mh, 721 dwarf2_unwind_dyld_remove_image_hook (const struct mach_header *mh,
|
/macosx-10.9.5/xnu-2422.115.4/bsd/kern/ |
H A D | kern_core.c | 239 struct mach_header *mh = NULL; /* protected by is_64 */ 242 size_t mach_header_sz = sizeof(struct mach_header); 342 mh = (struct mach_header *)header;
|
H A D | kern_exec.c | 693 struct mach_header *mach_header = (struct mach_header *)imgp->ip_vdata; local 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 [all...] |
/macosx-10.9.5/cctools-845/include/mach-o/ |
H A D | swap.h | 48 struct mach_header *mh,
|
/macosx-10.9.5/cctools-845/include/stuff/ |
H A D | breakout.h | 128 struct mach_header *mh; /* the mach_header of 32-bit object file */ 129 struct mach_header_64 *mh64; /* the mach_header of 64-bit object file */
|
H A D | ofile.h | 112 valid and filled in. The mach_header and load commands have been 119 struct mach_header *mh; /* the mach_header of 32-bit object file */ 120 struct mach_header_64 *mh64; /* the mach_header of 64-bit object file */
|
H A D | bytesex.h | 101 struct mach_header *mh, 432 void *mach_header, /* either a mach_header or a mach_header_64 */
|
/macosx-10.9.5/emacs-92/emacs/src/ |
H A D | unexnext.c | 114 struct mach_header *the_header, 250 struct mach_header the_header;
|
H A D | unexmacosx.c | 117 #define mach_header mach_header_64 macro 175 static struct mach_header mh; 178 static unsigned long curr_header_offset = sizeof (struct mach_header); 734 if (!unexec_read (&mh, sizeof (struct mach_header))) 1266 mh.sizeofcmds = curr_header_offset - sizeof (struct mach_header); 1267 if (!unexec_write (0, &mh, sizeof (struct mach_header)))
|
/macosx-10.9.5/dtrace-118.1/libelf/ |
H A D | begin.c | 55 __swap_mach_header(struct mach_header* header) 342 /* Fall through positioned at mach_header for "thin" architecture matching host endian-ness */ 345 if ((elf->ed_fsz >= sizeof(struct mach_header)) && 346 (_elf_vm(elf, (size_t)0, (size_t)sizeof(struct mach_header)) == OK_YES) && 350 struct mach_header hdr, *mh = (struct mach_header *)elf->ed_image; 416 ((Elf32_Ehdr *)(elf->ed_ident))->e_shoff = sizeof(struct mach_header);
|
/macosx-10.9.5/emacs-92/ |
H A D | unexmacosx.c | 117 #define mach_header mach_header_64 macro 175 static struct mach_header mh; 178 static unsigned long curr_header_offset = sizeof (struct mach_header); 734 if (!unexec_read (&mh, sizeof (struct mach_header))) 1266 mh.sizeofcmds = curr_header_offset - sizeof (struct mach_header); 1267 if (!unexec_write (0, &mh, sizeof (struct mach_header)))
|
/macosx-10.9.5/kext_tools-326.95.1/ |
H A D | kernelcache.c | 294 struct mach_header * machHdr = NULL; 298 machHdr = (struct mach_header *) headerPage; 684 struct mach_header *checkHeader = (struct mach_header *)fileBuf; 707 struct mach_header *machHeader = 708 (struct mach_header *) fileBuf;
|
/macosx-10.9.5/cctools-845/libstuff/ |
H A D | ofile.c | 1067 if(size >= sizeof(struct mach_header)) 1070 if(size >= sizeof(struct mach_header) && 1095 ofile->mh = (struct mach_header *)addr; 1097 sizeof(struct mach_header)); 1203 else if(size >= sizeof(struct mach_header) && 1214 ofile->mh = (struct mach_header *)addr; 1216 sizeof(struct mach_header)); 1527 if(size >= sizeof(struct mach_header)) 1530 if(size >= sizeof(struct mach_header) && 1557 ofile->mh = (struct mach_header *)add [all...] |
H A D | swap_headers.c | 57 void *mach_header, 64 struct mach_header *mh; 103 magic = *((uint32_t *)mach_header); 105 mh = (struct mach_header *)mach_header; 114 mh64 = (struct mach_header_64 *)mach_header; 56 swap_object_headers( void *mach_header, struct load_command *load_commands) argument
|
/macosx-10.9.5/cctools-845/misc/ |
H A D | install_name_tool.c | 407 struct mach_header *mh; 434 headers_size = sizeof(struct mach_header) + 449 mh = (struct mach_header *)headers; 451 sizeof(struct mach_header)); 662 sizeof_mach_header = sizeof(struct mach_header); 993 *header_size = sizeof(struct mach_header) +
|
H A D | segedit.c | 104 static struct mach_header *mhp; /* pointer to the input file's mach header */ 281 if(sizeof(struct mach_header) > input_size) 284 mhp = (struct mach_header *)input_addr; 295 if(mhp->sizeofcmds + sizeof(struct mach_header) > input_size) 299 sizeof(struct mach_header)); 1046 size = sizeof(struct mach_header) + mhp->sizeofcmds;
|
/macosx-10.9.5/objc4-551.1/ |
H A D | markgc.c | 310 struct mach_header *mh = (struct mach_header *)start;
|
/macosx-10.9.5/tcl-102/tk84/tk/macosx/ |
H A D | tkMacOSXDebug.c | 523 const struct mach_header *mh = NULL; 552 sizeof(struct mach_header));
|
/macosx-10.9.5/Csu-79/ |
H A D | lazy_dylib_loader.c | 51 typedef struct mach_header macho_header;
|
/macosx-10.9.5/Libc-997.90.3/gen/ |
H A D | nlist.c | 243 struct mach_header mh;
|