• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10.1/dyld-353.2.1/src/

Lines Matching defs:slide

1712 	// slide apple parameters
2242 static ImageLoader* instantiateFromLoadedImage(const macho_header* mh, uintptr_t slide, const char* path)
2246 ImageLoader* image = ImageLoaderMachO::instantiateMainExecutable(mh, slide, path, gLinkContext);
2256 static bool findInSharedCacheImage(const char* path, bool searchByPath, const struct stat* stat_buf, const macho_header** mh, const char** pathInCache, long* slide)
2291 *slide = sSharedCacheSlide;
2314 *slide = sSharedCacheSlide;
2328 long slide;
2329 return findInSharedCacheImage(path, true, NULL, &mhInCache, &pathInCache, &slide);
3097 int codeSignatureMappingIndex, long slide, void* slideInfo, unsigned long slideInfoSize)
3112 return syscall(438, fd, count, mappings, slide, slideInfo, slideInfoSize);
3151 // update all __DATA pages with slide info
3152 if ( slide != 0 ) {
3170 *p = value + slide;
3238 // Some old shared caches have r/w region after rx region, so all regions slide within 1GB range
3239 // Newer shared caches have r/w region based at 0x7FFF70000000 and r/o regions at 0x7FFF80000000, so each part has max slide
3247 // choose new random slide
3248 long slide = (arc4random() % space) & (-4096);
3250 //dyld::log("space=0x%0llX, slide=0x%0lX\n", space, slide);
3254 mappings[i].sfm_address += slide;
3257 return slide;
3269 // choose new random slide
3270 long slide = dyld_page_trunc(arc4random() % space);
3272 //dyld::log("slide=0x%0lX\n", slide);
3276 mappings[i].sfm_address += slide;
3279 return slide;
3304 // solve for slide by comparing loaded address to address of first region
3454 // <rdar://problem/8611968> don't slide shared cache if ASLR disabled (main executable didn't slide)
3458 // generate random slide amount