Home
last modified time | relevance | path

Searched refs:mach_header (Results 1 – 25 of 32) sorted by relevance

12

/netbsd-src/external/gpl3/gcc.old/dist/libgcc/config/rs6000/
H A Ddarwin-crt2.c39 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 Ddarwin-crt2.c39 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 Dgetsect.d228 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 Ddyld.d34 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 Dloader.d22 struct mach_header in version() struct
2577 struct mach_header struct
/netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/
H A Dsanitizer_procmaps_mac.cc121 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 Dsanitizer_procmaps_mac.cc123 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 Dsanitizer_procmaps_mac.cpp126 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 Dcrt_externs.d91 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 Dunwind-dw2-fde-darwin.c57 struct mach_header;
59 extern char *getsectdatafromheader (struct mach_header*, const char*,
74 struct mach_header *mh; /* the image info */
H A Ddarwin-crt-tm.c51 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 Dunwind-dw2-fde-darwin.c57 struct mach_header;
59 extern char *getsectdatafromheader (struct mach_header*, const char*,
74 struct mach_header *mh; /* the image info */
H A Ddarwin-crt-tm.c51 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 DMagic.cpp133 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 Dasan_mac.cpp77 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 Dasan_mac.cc116 const struct mach_header *mh = (struct mach_header *)info.dli_fbase; in AsanApplyToGlobals()
/netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/asan/
H A Dasan_mac.cc114 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 Dosx.d195 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 Dmacho.d308 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 DMachOLayoutBuilder.cpp115 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 DMachOWriter.cpp24 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 DObject.cpp113 is64Bit() ? sizeof(MachO::mach_header_64) : sizeof(MachO::mach_header); in nextAvailableSegmentAddress()
/netbsd-src/external/bsd/file/dist/magic/magdir/
H A Dcafebabe78 # for debugging purpose print offset to 1st mach_header like:
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Object/
H A DMachO.h546 const MachO::mach_header &getHeader() const;
661 MachO::mach_header Header;
/netbsd-src/external/apache2/llvm/dist/llvm/lib/MC/
H A DMachObjectWriter.cpp161 : sizeof(MachO::mach_header))); in writeHeader()
815 sizeof(MachO::mach_header)) + LoadCommandsSize; in writeObject()

12