Searched refs:machHeader (Results 1 - 12 of 12) sorted by path

/macosx-10.9.5/IOKitUser-907.100.13/kext.subproj/
H A DOSKext.c5186 struct mach_header * machHeader = NULL; local
5221 (machHeader = (struct mach_header *)fat_iterator_next_arch(
5225 int swap = ISSWAPPEDMACHO(machHeader->magic);
5226 cpu_type_t cputype = CondSwapInt32(swap, machHeader->cputype);
5227 cpu_subtype_t cpusubtype = CondSwapInt32(swap, machHeader->cpusubtype);
9440 struct mach_header_64 * machHeader = NULL; // do not free local
9471 machHeader = (struct mach_header_64 *)
9476 if (!machHeader) {
9484 machoResult = macho_find_dysymtab(machHeader, kernelEnd, NULL);
14352 struct mach_header_64 * machHeader local
[all...]
/macosx-10.9.5/dyld-239.4/launch-cache/
H A DMachOLayout.hpp164 MachOLayout(const void* machHeader, uint64_t offset, const char* path,
429 MachOLayout<A>::MachOLayout(const void* machHeader, uint64_t offset, const char* path, ino_t inode, time_t modTime, uid_t uid) argument
439 const macho_header<P>* mh = (const macho_header<P>*)machHeader;
473 fNameFileOffset = dylib->name() - (char*)machHeader;
558 const macho_nlist<P>* symbolTable = (macho_nlist<P>*)((uint8_t*)machHeader + symbolTableCmd->symoff());
572 fDyldInfoExports = (uint8_t*)machHeader + dyldInfo->export_off();
H A Ddsc_iterator.cpp63 int walkSegments(const uint8_t* cache, const uint8_t* cacheEnd, const uint8_t* firstSeg, const char* dylibPath, const uint8_t* machHeader, argument
72 dylibInfo.machHeader = machHeader;
74 const macho_header<P>* mh = (const macho_header<P>*)machHeader;
75 const macho_load_command<P>* const cmds = (macho_load_command<P>*)(machHeader + sizeof(macho_header<P>));
76 if ( (machHeader+ mh->sizeofcmds()) > cacheEnd )
98 fileOffset = (machHeader - cache);
159 const uint8_t* machHeader = mappedAddress<E>(cache, cacheEnd, dylibs[i].address()); local
160 if ( machHeader == NULL )
162 if ( machHeader > cacheEn
[all...]
H A Ddsc_iterator.h31 const void* machHeader; // of dylib in mapped cached file member in struct:dyld_shared_cache_dylib_info
H A Ddyld_shared_cache_util.cpp125 const macho_header<P>* mh = (const macho_header<P>*)dylibInfo->machHeader;
126 const macho_load_command<P>* const cmds = (macho_load_command<P>*)((uintptr_t)dylibInfo->machHeader + sizeof(macho_header<P>));
226 const macho_header<P>* mh = (const macho_header<P>*)dylibInfo->machHeader;
/macosx-10.9.5/dyld-239.4/src/
H A DImageLoader.h382 virtual const struct mach_header* machHeader() const = 0;
H A DImageLoaderMachO.cpp1339 info->mh = this->machHeader();
1400 const mach_header* ImageLoaderMachO::machHeader() const function in class:ImageLoaderMachO
1558 dd->vars.mh = context.mainExecutable->machHeader();
1715 info.imageHeader = this->machHeader();
H A DImageLoaderMachO.h54 virtual const struct mach_header* machHeader() const;
H A Ddyld.cpp606 (*it)(image->machHeader(), image->getSlide());
656 info.imageLoadAddress = image->machHeader();
674 info.imageLoadAddress = image->machHeader();
683 dyld::log("dyld core symbolication unload notification: %p %s\n", image->machHeader(), image->getPath());
712 info.imageLoadAddress = image->machHeader();
772 p->imageLoadAddress = image->machHeader();
811 dyld::log("dyld core symbolication load notification: %p %s\n", (*it)->machHeader(), (*it)->getPath());
966 if ( it->mh == image->machHeader() ) {
980 (*it)(image->machHeader(), image->getSlide());
1021 removeImageFromAllImages(image->machHeader());
[all...]
H A DdyldAPIs.cpp306 return (struct mach_header*)image->machHeader();
351 return image->machHeader();
577 return image->machHeader();
994 info.imageLoadAddress = objectFileImage->image->machHeader();
1606 info->dli_fbase = (void*)image->machHeader();
/macosx-10.9.5/kext_tools-326.95.1/
H A Dkctool_main.c262 struct mach_header *machHeader; local
269 machHeader = (struct mach_header *) file;
270 if (machHeader->magic != MH_MAGIC) return NULL;
272 offset = sizeof(*machHeader);
273 for (i = 0; i < machHeader->ncmds; ++i, offset+=cmdHeader->cmdsize) {
H A Dkernelcache.c697 struct mach_header_64 *machHeader = local
700 if (size < sizeof(*machHeader)) {
704 cputype = machHeader->cputype;
707 struct mach_header *machHeader = local
710 if (size < sizeof(*machHeader)) {
714 cputype = machHeader->cputype;

Completed in 296 milliseconds