Searched refs:mach_header (Results 1 - 25 of 112) sorted by relevance

12345

/macosx-10.10/dyld-353.2.1/unit-tests/test-cases/NSAddImage-MATCH_BY_INSTALLNAME/
H A Dmain.c37 const struct mach_header * mh1 = NSAddImage("libbar.dylib", NSADDIMAGE_OPTION_RETURN_ON_ERROR | NSADDIMAGE_OPTION_MATCH_FILENAME_BY_INSTALLNAME);
38 const struct mach_header * mh2 = NSAddImage("libfoo.dylib", NSADDIMAGE_OPTION_RETURN_ON_ERROR | NSADDIMAGE_OPTION_MATCH_FILENAME_BY_INSTALLNAME);
/macosx-10.10/Libc-1044.1.2/include/
H A Dcrt_externs.h44 extern struct mach_header *
/macosx-10.10/dyld-353.2.1/unit-tests/test-cases/framework-fallback/
H A Dmain.c41 const struct mach_header *image;
/macosx-10.10/IOKitUser-1050.1.21/kext.subproj/
H A Dmacho_util.h127 * @param mach_header A pointer to the beginning of the mapped Mach-O file.
147 * @param mach_header A pointer to the beginning of the mapped Mach-O file.
165 * @param mach_header A pointer to the beginning of the mapped Mach-O file.
189 * @param mach_header A pointer to the beginning of the mapped Mach-O file.
238 * @param mach_header A pointer to the beginning of the mapped Mach-O file.
259 * @param mach_header A pointer to the beginning of the mapped Mach-O file.
282 struct mach_header * mach_header,
286 struct mach_header_64 * mach_header,
290 struct mach_header * mach_heade
[all...]
H A Dmacho_util.c624 struct mach_header * mach_header = (struct mach_header *)file_start; local
661 (file_start + sizeof(struct mach_header));
669 num_cmds = CondSwapInt32(swap, mach_header->ncmds);
670 sizeofcmds = CondSwapInt32(swap, mach_header->sizeofcmds);
730 struct mach_header *hdr = (struct mach_header *) file;
747 struct mach_header *hdr = (struct mach_header *) fil
921 macho_get_segment_by_name( struct mach_header * mach_header, const char * segname) argument
953 macho_get_segment_by_name_64( struct mach_header_64 * mach_header, const char * segname) argument
985 macho_get_section_by_name( struct mach_header * mach_header, const char * segname, const char * sectname) argument
1016 macho_get_section_by_name_64( struct mach_header_64 * mach_header, const char * segname, const char * sectname) argument
[all...]
/macosx-10.10/dyld-353.2.1/unit-tests/test-cases/image-slide/
H A Dmain.c32 intptr_t findSlide(const struct mach_header* mh)
47 // find mach_header for libfoo.dylib
48 const struct mach_header* mh;
/macosx-10.10/dyld-353.2.1/unit-tests/test-cases/shared-cache-symlink/
H A Dmain.c58 const struct mach_header* mh = (struct mach_header*)info.dli_fbase;
/macosx-10.10/dyld-353.2.1/unit-tests/test-cases/NSAddImage-RETURN_ONLY_IF_LOADED/
H A Dmain.c37 const struct mach_header * mh = NSAddImage("/System/Library/Frameworks/Cocoa.framework/Cocoa", NSADDIMAGE_OPTION_RETURN_ONLY_IF_LOADED);
/macosx-10.10/dyld-353.2.1/unit-tests/test-cases/NSAddImage-leafname/
H A Dmain.c37 const struct mach_header * mh = NSAddImage("libzzz.dylib", NSADDIMAGE_OPTION_WITH_SEARCHING);
/macosx-10.10/dyld-353.2.1/unit-tests/test-cases/executable-image-index/
H A Dmain.c35 extern const struct mach_header __dso_handle;
/macosx-10.10/dyld-353.2.1/unit-tests/test-cases/interpose-dynamic-dlsym/
H A Dfoo.c23 dyld_dynamic_interpose((const struct mach_header*)_NSGetMachExecuteHeader(), sTable, 1);
/macosx-10.10/dyld-353.2.1/unit-tests/test-cases/interpose-dynamic-lazy/
H A Dfoo.c24 dyld_dynamic_interpose((const struct mach_header*)_NSGetMachExecuteHeader(), sTable, 1);
/macosx-10.10/Csu-85/
H A Dicplusplus.c26 void (*p)(const struct mach_header *);
/macosx-10.10/dyld-353.2.1/include/mach-o/
H A Ddyld_priv.h130 // get slide for a given loaded mach_header
133 extern intptr_t _dyld_get_image_slide(const struct mach_header* mh);
147 const struct mach_header* mh;
208 extern uint32_t dyld_get_sdk_version(const struct mach_header* mh);
226 extern uint32_t dyld_get_min_os_version(const struct mach_header* mh);
274 extern void dyld_dynamic_interpose(const struct mach_header* mh, const struct dyld_interpose_tuple array[], size_t count);
H A Ddyld_images.h69 const struct mach_header* imageLoadAddress; /* base address image is mapped into */
77 const struct mach_header* imageLoadAddress; /* base address image is mapped into */
100 const struct mach_header* dyldImageLoadAddress;
/macosx-10.10/dyld-353.2.1/unit-tests/test-cases/dlopen-init-dlopen-notify/
H A Dmain.cxx60 static std::set<const struct mach_header*> sCurrentImages;
62 static void notify(const struct mach_header *mh, intptr_t vmaddr_slide)
/macosx-10.10/dyld-353.2.1/unit-tests/test-cases/image-remove-crash/
H A Dmain.c34 static void removeNotification2(const struct mach_header *mh, intptr_t vmaddr_slide)
38 static void removeNotification(const struct mach_header *mh, intptr_t vmaddr_slide)
/macosx-10.10/xnu-2782.1.97/bsd/kern/
H A Dmach_loader.h53 user_addr_t mach_header; member in struct:_load_result
78 struct mach_header *header,
/macosx-10.10/dyld-353.2.1/unit-tests/test-cases/unloadable-library-residue/
H A Dmain.c36 const struct mach_header* mh = NSAddImage("libfoo.dylib", NSADDIMAGE_OPTION_RETURN_ON_ERROR);
/macosx-10.10/objc4-646/runtime/
H A Dobjc-load.h41 /*headerType*/ struct mach_header **hdr_addr,
/macosx-10.10/Libc-1044.1.2/sys/
H A Dcrt_externs.c47 DECLARE_VAR(_mh_execute_header, struct mach_header);
66 struct mach_header *_NSGetMachExecuteHeader(void) {
111 void _NSSetProgramVars(int* crt_argc, char*** crt_argv, char*** crt_environ, struct mach_header* crt_mh, char** crt_progname) {
/macosx-10.10/dyld-353.2.1/unit-tests/test-cases/dlopen-notify-bind/
H A Dmain.c35 static void notify(const struct mach_header *mh, intptr_t vmaddr_slide)
/macosx-10.10/dyld-353.2.1/unit-tests/test-cases/interpose-dynamic-basic/
H A Dmain.c29 extern const struct mach_header __dso_handle;
/macosx-10.10/dyld-353.2.1/unit-tests/test-cases/partial-library-load/
H A Dmain.c49 const struct mach_header* mh = NSAddImage("libfoo.dylib", NSADDIMAGE_OPTION_RETURN_ON_ERROR);
/macosx-10.10/dyld-353.2.1/unit-tests/test-cases/all_image_infos-cache-slide/
H A Dmain.c40 const struct mach_header* mallocMh = (struct mach_header*)info.dli_fbase;

Completed in 304 milliseconds

12345