| /netbsd-src/external/gpl3/gcc.old/dist/libgcc/config/rs6000/ |
| H A D | darwin-crt2.c | 39 struct mach_header; 40 extern char *getsectdatafromheader (struct mach_header *, const char *, 43 (void (*) (struct mach_header *, unsigned long)); 45 (void (*) (struct mach_header *, unsigned long)); 70 struct mach_header *mh; /* the image info */ 86 (struct mach_header *m, unsigned long s); 88 (struct mach_header *m, unsigned long s); 92 darwin_unwind_dyld_add_image_hook (struct mach_header *mh, unsigned long slide) in darwin_unwind_dyld_add_image_hook() 104 darwin_unwind_dyld_remove_image_hook (struct mach_header *m, unsigned long s) in darwin_unwind_dyld_remove_image_hook()
|
| /netbsd-src/external/gpl3/gcc/dist/libgcc/config/rs6000/ |
| H A D | darwin-crt2.c | 39 struct mach_header; 40 extern char *getsectdatafromheader (struct mach_header *, const char *, 43 (void (*) (struct mach_header *, unsigned long)); 45 (void (*) (struct mach_header *, unsigned long)); 70 struct mach_header *mh; /* the image info */ 86 (struct mach_header *m, unsigned long s); 88 (struct mach_header *m, unsigned long s); 92 darwin_unwind_dyld_add_image_hook (struct mach_header *mh, unsigned long slide) in darwin_unwind_dyld_add_image_hook() 104 darwin_unwind_dyld_remove_image_hook (struct mach_header *m, unsigned long s) in darwin_unwind_dyld_remove_image_hook()
|
| /netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/sys/darwin/mach/ |
| H A D | getsect.d | 228 struct mach_header; in version() 262 const scope mach_header* mhp, in version() 302 const scope mach_header* mhp, in version() 329 const scope mach_header* mhp, in version() 411 const scope mach_header* mhp, 422 const scope mach_header* mhp, 431 const scope mach_header* mhp, 438 const scope mach_header* mhp, 444 const scope mach_header* mhp,
|
| H A D | dyld.d | 34 mach_header* _dyld_get_image_header(uint image_index); 37 void _dyld_register_func_for_add_image(void function(const scope mach_header* mh, intptr_t … 38 void _dyld_register_func_for_remove_image(void function(const scope mach_header* mh, intptr…
|
| H A D | loader.d | 22 struct mach_header in version() struct 2577 struct mach_header struct
|
| /netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/ |
| H A D | sanitizer_procmaps_mac.cc | 121 static mach_header *dyld_hdr = 0; 140 static mach_header *get_dyld_image_header() { in get_dyld_image_header() 153 if (size >= sizeof(mach_header) && info.protection & kProtectionRead) { in get_dyld_image_header() 154 mach_header *hdr = (mach_header *)address; in get_dyld_image_header() 164 const mach_header *get_dyld_hdr() { in get_dyld_hdr() 291 const mach_header *hdr = (data_.current_image == kDyldImageIdx) in Next() 310 data_.current_load_cmd_addr = (const char *)hdr + sizeof(mach_header); in Next()
|
| /netbsd-src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/ |
| H A D | sanitizer_procmaps_mac.cc | 123 static mach_header *dyld_hdr = 0; 142 static mach_header *get_dyld_image_header() { in get_dyld_image_header() 155 if (size >= sizeof(mach_header) && info.protection & kProtectionRead) { in get_dyld_image_header() 156 mach_header *hdr = (mach_header *)address; in get_dyld_image_header() 166 const mach_header *get_dyld_hdr() { in get_dyld_hdr() 293 const mach_header *hdr = (data_.current_image == kDyldImageIdx) in Next() 312 data_.current_load_cmd_addr = (const char *)hdr + sizeof(mach_header); in Next()
|
| /netbsd-src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/ |
| H A D | sanitizer_procmaps_mac.cpp | 126 static mach_header *dyld_hdr = 0; 145 static mach_header *get_dyld_image_header() { in get_dyld_image_header() 158 if (size >= sizeof(mach_header) && info.protection & kProtectionRead) { in get_dyld_image_header() 159 mach_header *hdr = (mach_header *)address; in get_dyld_image_header() 169 const mach_header *get_dyld_hdr() { in get_dyld_hdr() 297 const mach_header *hdr = (data_.current_image == kDyldImageIdx) in Next() 316 data_.current_load_cmd_addr = (const char *)hdr + sizeof(mach_header); in Next()
|
| /netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/sys/darwin/ |
| H A D | crt_externs.d | 91 import core.sys.darwin.mach.loader : mach_header, mach_header_64; 101 mach_header* _NSGetMachExecuteHeader();
|
| /netbsd-src/external/gpl3/gcc.old/dist/libgcc/config/ |
| H A D | unwind-dw2-fde-darwin.c | 57 struct mach_header; 59 extern char *getsectdatafromheader (struct mach_header*, const char*, 74 struct mach_header *mh; /* the image info */
|
| H A D | darwin-crt-tm.c | 51 struct mach_header *mh; in getTMCloneTable() 57 mh = (struct mach_header *) info.dli_fbase; in getTMCloneTable()
|
| /netbsd-src/external/gpl3/gcc/dist/libgcc/config/ |
| H A D | unwind-dw2-fde-darwin.c | 57 struct mach_header; 59 extern char *getsectdatafromheader (struct mach_header*, const char*, 74 struct mach_header *mh; /* the image info */
|
| H A D | darwin-crt-tm.c | 51 struct mach_header *mh; in getTMCloneTable() 57 mh = (struct mach_header *) info.dli_fbase; in getTMCloneTable()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/BinaryFormat/ |
| H A D | Magic.cpp | 133 MinSize = sizeof(MachO::mach_header); in identify_magic() 143 MinSize = sizeof(MachO::mach_header); in identify_magic()
|
| /netbsd-src/external/gpl3/gcc/dist/libsanitizer/asan/ |
| H A D | asan_mac.cpp | 77 const struct mach_header *mh = (struct mach_header *)info.dli_fbase; in AsanApplyToGlobals()
|
| /netbsd-src/sys/external/bsd/compiler_rt/dist/lib/asan/ |
| H A D | asan_mac.cc | 116 const struct mach_header *mh = (struct mach_header *)info.dli_fbase; in AsanApplyToGlobals()
|
| /netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/asan/ |
| H A D | asan_mac.cc | 114 const struct mach_header *mh = (struct mach_header *)info.dli_fbase; in AsanApplyToGlobals()
|
| /netbsd-src/external/gpl3/gcc.old/dist/libphobos/libdruntime/gcc/sections/ |
| H A D | osx.d | 195 extern (C) void sections_osx_onAddImage(in mach_header* h, intptr_t slide) in sections_osx_onAddImage() 261 ubyte[] getSection(in mach_header* header, intptr_t slide, in getSection()
|
| /netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/gcc/sections/ |
| H A D | macho.d | 308 const(mach_header)* header; // the mach header of the image member 681 result.header = cast(const(mach_header)*)info.dli_fbase; in findImageHeaderForAddr() 717 ubyte[] getSection(in mach_header* header, intptr_t slide, in getSection()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-objcopy/MachO/ |
| H A D | MachOLayoutBuilder.cpp | 115 Is64Bit ? sizeof(MachO::mach_header_64) : sizeof(MachO::mach_header); in layoutSegments() 233 Is64Bit ? sizeof(MachO::mach_header_64) : sizeof(MachO::mach_header); in layoutTail()
|
| H A D | MachOWriter.cpp | 24 return Is64Bit ? sizeof(MachO::mach_header_64) : sizeof(MachO::mach_header); in headerSize() 161 Is64Bit ? sizeof(MachO::mach_header_64) : sizeof(MachO::mach_header); in writeHeader()
|
| H A D | Object.cpp | 113 is64Bit() ? sizeof(MachO::mach_header_64) : sizeof(MachO::mach_header); in nextAvailableSegmentAddress()
|
| /netbsd-src/external/bsd/file/dist/magic/magdir/ |
| H A D | cafebabe | 78 # for debugging purpose print offset to 1st mach_header like:
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Object/ |
| H A D | MachO.h | 546 const MachO::mach_header &getHeader() const; 661 MachO::mach_header Header;
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/MC/ |
| H A D | MachObjectWriter.cpp | 161 : sizeof(MachO::mach_header))); in writeHeader() 815 sizeof(MachO::mach_header)) + LoadCommandsSize; in writeObject()
|