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

/macosx-10.10/dyld-353.2.1/launch-cache/
H A Ddsc_iterator.cpp62 int walkSegments(const uint8_t* cache, const uint8_t* cacheEnd, const uint8_t* firstSeg, const char* dylibPath, uint64_t inode,uint64_t modTime, const uint8_t* machHeader, argument
71 dylibInfo.machHeader = machHeader;
75 const macho_header<P>* mh = (const macho_header<P>*)machHeader;
76 const macho_load_command<P>* const cmds = (macho_load_command<P>*)(machHeader + sizeof(macho_header<P>));
77 if ( (machHeader+ mh->sizeofcmds()) > cacheEnd )
99 fileOffset = (machHeader - cache);
162 const uint8_t* machHeader = mappedAddress<E>(cache, cacheEnd, dylibs[i].address()); local
163 if ( machHeader == NULL )
165 if ( machHeader > cacheEn
[all...]
H A Ddsc_iterator.h32 const void* machHeader; // of dylib in mapped cached file member in struct:dyld_shared_cache_dylib_info
H A DMachOLayout.hpp168 MachOLayout(const void* machHeader, uint64_t offset, const char* path,
511 MachOLayout<A>::MachOLayout(const void* machHeader, uint64_t offset, const char* path, ino_t inode, time_t modTime, uid_t uid) argument
521 const macho_header<P>* mh = (const macho_header<P>*)machHeader;
555 fNameFileOffset = dylib->name() - (char*)machHeader;
643 const macho_nlist<P>* symbolTable = (macho_nlist<P>*)((uint8_t*)machHeader + symbolTableCmd->symoff());
657 fDyldInfoExports = (uint8_t*)machHeader + dyldInfo->export_off();
H A Ddyld_shared_cache_util.cpp158 const macho_header<P>* mh = (const macho_header<P>*)dylibInfo->machHeader;
159 const macho_load_command<P>* const cmds = (macho_load_command<P>*)((uintptr_t)dylibInfo->machHeader + sizeof(macho_header<P>));
278 const macho_header<P>* mh = (const macho_header<P>*)dylibInfo->machHeader;
/macosx-10.10/kext_tools-384.1.4/
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.c712 struct mach_header_64 *machHeader = local
715 if (size < sizeof(*machHeader)) {
719 cputype = machHeader->cputype;
722 struct mach_header *machHeader = local
725 if (size < sizeof(*machHeader)) {
729 cputype = machHeader->cputype;
/macosx-10.10/dyld-353.2.1/src/
H A Ddyld.cpp629 (*it)(image->machHeader(), image->getSlide());
679 info.imageLoadAddress = image->machHeader();
697 info.imageLoadAddress = image->machHeader();
705 dyld::log("dyld core symbolication unload notification: %p %s\n", image->machHeader(), image->getPath());
738 info.imageLoadAddress = image->machHeader();
798 p->imageLoadAddress = image->machHeader();
836 dyld::log("dyld core symbolication load notification: %p %s\n", (*it)->machHeader(), (*it)->getPath());
995 if ( it->mh == image->machHeader() ) {
1010 (*it)(image->machHeader(), image->getSlide());
1052 removeImageFromAllImages(image->machHeader());
[all...]
H A DImageLoaderMachO.h54 virtual const struct mach_header* machHeader() const;
H A DdyldAPIs.cpp305 return (struct mach_header*)image->machHeader();
350 return image->machHeader();
576 return image->machHeader();
993 info.imageLoadAddress = objectFileImage->image->machHeader();
1596 info->dli_fbase = (void*)image->machHeader();
H A DImageLoaderMachO.cpp911 return ImageLoaderMachO::minOSVersion(machHeader());
1368 info->mh = this->machHeader();
1431 const mach_header* ImageLoaderMachO::machHeader() const function in class:ImageLoaderMachO
1590 dd->vars.mh = context.mainExecutable->machHeader();
1747 info.imageHeader = this->machHeader();
H A DImageLoader.h422 virtual const struct mach_header* machHeader() const = 0;
/macosx-10.10/IOKitUser-1050.1.21/kext.subproj/
H A DOSKext.c5182 struct mach_header * machHeader = NULL; local
5216 (machHeader = (struct mach_header *)fat_iterator_next_arch(
5220 int swap = ISSWAPPEDMACHO(machHeader->magic);
5221 cpu_type_t cputype = CondSwapInt32(swap, machHeader->cputype);
5222 cpu_subtype_t cpusubtype = CondSwapInt32(swap, machHeader->cpusubtype);
9488 struct mach_header_64 * machHeader = NULL; // do not free local
9516 machHeader = (struct mach_header_64 *)
9521 if (!machHeader) {
9529 machoResult = macho_find_dysymtab(machHeader, kernelEnd, NULL);
14408 struct mach_header_64 * machHeader local
[all...]

Completed in 304 milliseconds