├── .clang-format ├── .gitignore ├── APPLE_LICENSE ├── IMPCaches.md ├── bin └── set-alt-dyld ├── chroot_util.cpp ├── configs ├── base.xcconfig ├── closured.xcconfig ├── dyld.xcconfig ├── libdyld.xcconfig ├── update_dyld_shared_cache.xcconfig └── update_dyld_sim_shared_cache.xcconfig ├── doc ├── ReleaseNotes.txt ├── man │ ├── man1 │ │ ├── dyld.1 │ │ └── dyld_usage.1 │ └── man3 │ │ ├── dladdr.3 │ │ ├── dlclose.3 │ │ ├── dlerror.3 │ │ ├── dlopen.3 │ │ ├── dlopen_preflight.3 │ │ ├── dlsym.3 │ │ └── dyld.3 ├── rst │ ├── conf.py │ ├── dyld_usage.rst │ └── index.rst └── tracing │ ├── dyld.codes │ └── dyld.plist ├── dyld.xcodeproj ├── ContainerizedTestRunner.xctestplan └── project.pbxproj ├── dyld3 ├── APIs.cpp ├── APIs.h ├── APIs_macOS.cpp ├── AllImages.cpp ├── AllImages.h ├── Array.h ├── BootArgs.cpp ├── BootArgs.h ├── Closure.cpp ├── Closure.h ├── ClosureBuilder.cpp ├── ClosureBuilder.h ├── ClosureFileSystem.h ├── ClosureFileSystemNull.cpp ├── ClosureFileSystemNull.h ├── ClosureFileSystemPhysical.cpp ├── ClosureFileSystemPhysical.h ├── ClosurePrinter.cpp ├── ClosurePrinter.h ├── ClosureWriter.cpp ├── ClosureWriter.h ├── CodeSigningTypes.h ├── Defines.h ├── Diagnostics.cpp ├── Diagnostics.h ├── JSON.h ├── JSONReader.h ├── JSONReader.mm ├── JSONWriter.h ├── Loading.cpp ├── Loading.h ├── Logging.cpp ├── Logging.h ├── MachOAnalyzer.cpp ├── MachOAnalyzer.h ├── MachOAnalyzerSet.cpp ├── MachOAnalyzerSet.h ├── MachOAppCache.cpp ├── MachOAppCache.h ├── MachOFile.cpp ├── MachOFile.h ├── MachOLoaded.cpp ├── MachOLoaded.h ├── Map.h ├── PathOverrides.cpp ├── PathOverrides.h ├── PointerAuth.h ├── RootsChecker.cpp ├── RootsChecker.h ├── SharedCacheRuntime.cpp ├── SharedCacheRuntime.h ├── StartGlue.h ├── SupportedArchs.h ├── Tracing.cpp ├── Tracing.h ├── dyld_app_cache_util.cpp ├── libdyldEntryVector.cpp ├── libdyldEntryVector.h └── shared-cache │ ├── AdjustDylibSegments.cpp │ ├── AppCacheBuilder.cpp │ ├── AppCacheBuilder.h │ ├── Architectures.hpp │ ├── CacheBuilder.cpp │ ├── CacheBuilder.h │ ├── DyldSharedCache.cpp │ ├── DyldSharedCache.h │ ├── FileAbstraction.hpp │ ├── FileUtils.cpp │ ├── FileUtils.h │ ├── IMPCaches.cpp │ ├── IMPCaches.hpp │ ├── IMPCachesBuilder.hpp │ ├── MachOFileAbstraction.hpp │ ├── ObjC1Abstraction.hpp │ ├── ObjC2Abstraction.hpp │ ├── OptimizerBranches.cpp │ ├── OptimizerLinkedit.cpp │ ├── OptimizerObjC.cpp │ ├── SharedCacheBuilder.cpp │ ├── SharedCacheBuilder.h │ ├── StringUtils.h │ ├── Trie.hpp │ ├── dsc_extractor.cpp │ ├── dsc_extractor.h │ ├── dsc_iterator.cpp │ ├── dsc_iterator.h │ ├── dyld_cache_format.h │ ├── dyld_closure_util.cpp │ ├── dyld_shared_cache_builder.mm │ ├── dyld_shared_cache_builder.mm-strings │ ├── dyld_shared_cache_util.cpp │ ├── dyld_shared_cache_util.cpp-strings │ ├── dyldinfo.cpp │ ├── kernel_collection_builder.cpp │ ├── kernel_collection_builder.h │ ├── mrm_shared_cache_builder.cpp │ ├── mrm_shared_cache_builder.h │ ├── update_dyld_shared_cache.cpp │ ├── update_dyld_shared_cache_entitlements.plist │ └── update_dyld_sim_shared_cache.cpp ├── dyld_sim-entitlements.plist ├── include ├── dlfcn.h ├── dlfcn_private.h ├── mach-o │ ├── dyld-interposing.h │ ├── dyld.h │ ├── dyld.modulemap │ ├── dyld_images.h │ ├── dyld_priv.h │ ├── dyld_process_info.h │ └── fixup-chains.h └── objc-shared-cache.h ├── interlinked-dylibs └── update_dyld_shared_cache_compat.cpp ├── local_test_runner ├── ContainerizedTestRunner.mm └── Info.plist ├── src ├── ImageLoader.cpp ├── ImageLoader.h ├── ImageLoaderMachO.cpp ├── ImageLoaderMachO.h ├── ImageLoaderMachOClassic.cpp ├── ImageLoaderMachOClassic.h ├── ImageLoaderMachOCompressed.cpp ├── ImageLoaderMachOCompressed.h ├── ImageLoaderMegaDylib.cpp ├── ImageLoaderMegaDylib.h ├── dyld.exp ├── dyld.order ├── dyld2.cpp ├── dyld2.h ├── dyldAPIs.cpp ├── dyldAPIsInLibSystem.cpp ├── dyldExceptions.c ├── dyldInitialization.cpp ├── dyldLibSystemGlue.c ├── dyldLibSystemInterface.h ├── dyldLock.cpp ├── dyldLock.h ├── dyldNew.cpp ├── dyldStartup.s ├── dyldSyscallInterface.h ├── dyld_debugger.cpp ├── dyld_process_info.cpp ├── dyld_process_info_internal.h ├── dyld_process_info_notify.cpp ├── dyld_sim.exp ├── dyld_stub_binder.s ├── dyld_usage.cpp ├── glue.c ├── libdyld_data_symbols.dirty ├── libdyld_sim.exp ├── start_glue.s ├── stub_binding_helper.s ├── threadLocalHelpers.s └── threadLocalVariables.c ├── testing ├── README.txt ├── build_ninja.py ├── get_task_allow_entitlement.plist ├── include │ └── test_support.h ├── kernel-cache-tests │ ├── KernelCollection.py │ ├── auxkc-bind-to-pageablekc │ │ ├── bar.c │ │ ├── extensions │ │ │ ├── bar.kext │ │ │ │ ├── Info.plist │ │ │ │ └── bar │ │ │ └── foo.kext │ │ │ │ ├── Info.plist │ │ │ │ └── foo │ │ ├── foo.c │ │ ├── main.c │ │ ├── main.kernel │ │ └── test.py │ ├── auxkc-branch-fixups │ │ ├── bar.c │ │ ├── extensions │ │ │ ├── bar.kext │ │ │ │ ├── Info.plist │ │ │ │ └── bar │ │ │ └── foo.kext │ │ │ │ ├── Info.plist │ │ │ │ └── foo │ │ ├── foo.c │ │ ├── main.c │ │ ├── main.kernel │ │ └── test.py │ ├── auxkc-kext-bind-to-kernel-codeless-kext │ │ ├── SymbolSets.plist │ │ ├── bar.exports │ │ ├── extensions-auxkc │ │ │ └── foo.kext │ │ │ │ ├── Info.plist │ │ │ │ └── foo │ │ ├── extensions-basekc │ │ │ └── codeless.kext │ │ │ │ └── Info.plist │ │ ├── foo.c │ │ ├── main.c │ │ ├── main.kernel │ │ └── test.py │ ├── auxkc-kext-bind-to-kernel │ │ ├── SymbolSets.plist │ │ ├── bar.exports │ │ ├── extensions │ │ │ └── foo.kext │ │ │ │ ├── Info.plist │ │ │ │ └── foo │ │ ├── foo.c │ │ ├── main.c │ │ ├── main.kernel │ │ └── test.py │ ├── auxkc-kext-bind-to-pageablekc-codeless-kext │ │ ├── bar.c │ │ ├── extensions-auxkc │ │ │ └── foo.kext │ │ │ │ ├── Info.plist │ │ │ │ └── foo │ │ ├── extensions-pageablekc │ │ │ ├── bar.kext │ │ │ │ ├── Info.plist │ │ │ │ └── bar │ │ │ └── codeless.kext │ │ │ │ └── Info.plist │ │ ├── foo.c │ │ ├── main.c │ │ ├── main.kernel │ │ └── test.py │ ├── auxkc-missing-weak-bind │ │ ├── SymbolSets.plist │ │ ├── bar.c │ │ ├── extensions │ │ │ ├── bar.kext │ │ │ │ ├── Info.plist │ │ │ │ └── bar │ │ │ └── foo.kext │ │ │ │ ├── Info.plist │ │ │ │ └── foo │ │ ├── foo.c │ │ ├── main.c │ │ ├── main.kernel │ │ └── test.py │ ├── auxkc-no-split-seg │ │ ├── bar.c │ │ ├── extensions │ │ │ ├── bar.kext │ │ │ │ ├── Info.plist │ │ │ │ └── bar │ │ │ └── foo.kext │ │ │ │ ├── Info.plist │ │ │ │ └── foo │ │ ├── foo.c │ │ ├── main.c │ │ ├── main.kernel │ │ └── test.py │ ├── auxkc-pageablekc-uuid │ │ ├── bar.c │ │ ├── extensions │ │ │ ├── bar.kext │ │ │ │ ├── Info.plist │ │ │ │ └── bar │ │ │ └── foo.kext │ │ │ │ ├── Info.plist │ │ │ │ └── foo │ │ ├── foo.c │ │ ├── main.c │ │ ├── main.kernel │ │ └── test.py │ ├── auxkc-pageablekc-vtable-patching-namespaces-locals │ │ ├── SymbolSets.plist │ │ ├── bar1.cpp │ │ ├── bar1.h │ │ ├── bar2.cpp │ │ ├── extensions │ │ │ ├── bar1.kext │ │ │ │ ├── Info.plist │ │ │ │ └── bar1 │ │ │ ├── bar2.kext │ │ │ │ ├── Info.plist │ │ │ │ └── bar2 │ │ │ ├── foo1.kext │ │ │ │ ├── Info.plist │ │ │ │ └── foo1 │ │ │ └── foo2.kext │ │ │ │ ├── Info.plist │ │ │ │ └── foo2 │ │ ├── foo.h │ │ ├── foo1.cpp │ │ ├── foo1.h │ │ ├── foo2.cpp │ │ ├── foo2.h │ │ ├── kernel.cpp │ │ ├── kernel.h │ │ ├── main.cpp │ │ ├── main.kernel │ │ └── test.py │ ├── auxkc-pageablekc-vtable-patching-namespaces │ │ ├── SymbolSets.plist │ │ ├── bar1.cpp │ │ ├── bar1.h │ │ ├── bar2.cpp │ │ ├── extensions │ │ │ ├── bar1.kext │ │ │ │ ├── Info.plist │ │ │ │ └── bar1 │ │ │ ├── bar2.kext │ │ │ │ ├── Info.plist │ │ │ │ └── bar2 │ │ │ ├── foo1.kext │ │ │ │ ├── Info.plist │ │ │ │ └── foo1 │ │ │ └── foo2.kext │ │ │ │ ├── Info.plist │ │ │ │ └── foo2 │ │ ├── foo.h │ │ ├── foo1.cpp │ │ ├── foo1.h │ │ ├── foo2.cpp │ │ ├── foo2.h │ │ ├── kernel.cpp │ │ ├── kernel.h │ │ ├── main.cpp │ │ ├── main.kernel │ │ └── test.py │ ├── auxkc-pageablekc-vtable-patching │ │ ├── SymbolSets.plist │ │ ├── bar1.cpp │ │ ├── bar1.h │ │ ├── bar2.cpp │ │ ├── extensions │ │ │ ├── bar1.kext │ │ │ │ ├── Info.plist │ │ │ │ └── bar1 │ │ │ ├── bar2.kext │ │ │ │ ├── Info.plist │ │ │ │ └── bar2 │ │ │ ├── foo1.kext │ │ │ │ ├── Info.plist │ │ │ │ └── foo1 │ │ │ └── foo2.kext │ │ │ │ ├── Info.plist │ │ │ │ └── foo2 │ │ ├── foo.h │ │ ├── foo1.cpp │ │ ├── foo1.h │ │ ├── foo2.cpp │ │ ├── foo2.h │ │ ├── kernel.cpp │ │ ├── kernel.h │ │ ├── main.cpp │ │ ├── main.kernel │ │ └── test.py │ ├── auxkc-uuid │ │ ├── bar.c │ │ ├── extensions │ │ │ ├── bar.kext │ │ │ │ ├── Info.plist │ │ │ │ └── bar │ │ │ └── foo.kext │ │ │ │ ├── Info.plist │ │ │ │ └── foo │ │ ├── foo.c │ │ ├── main.c │ │ ├── main.kernel │ │ └── test.py │ ├── auxkc-vtable-metaclass-patching │ │ ├── SymbolSets.plist │ │ ├── extensions │ │ │ └── foo.kext │ │ │ │ ├── Info.plist │ │ │ │ └── foo │ │ ├── foo.cpp │ │ ├── foo.h │ │ ├── main.cpp │ │ ├── main.kernel │ │ ├── metaclass.h │ │ ├── osobject.h │ │ └── test.py │ ├── auxkc-vtable-patching-arm64e │ │ ├── SymbolSets.plist │ │ ├── bar.cpp │ │ ├── extensions │ │ │ ├── bar.kext │ │ │ │ ├── Info.plist │ │ │ │ └── bar │ │ │ └── foo.kext │ │ │ │ ├── Info.plist │ │ │ │ └── foo │ │ ├── foo.cpp │ │ ├── foo.h │ │ ├── main.cpp │ │ ├── main.kernel │ │ └── test.py │ ├── auxkc-vtable-patching-no-data-const │ │ ├── SymbolSets.plist │ │ ├── bar.cpp │ │ ├── extensions │ │ │ ├── bar.kext │ │ │ │ ├── Info.plist │ │ │ │ └── bar │ │ │ └── foo.kext │ │ │ │ ├── Info.plist │ │ │ │ └── foo │ │ ├── foo.cpp │ │ ├── foo.h │ │ ├── main.cpp │ │ ├── main.kernel │ │ └── test.py │ ├── auxkc-vtable-patching │ │ ├── SymbolSets.plist │ │ ├── bar.cpp │ │ ├── extensions │ │ │ ├── bar.kext │ │ │ │ ├── Info.plist │ │ │ │ └── bar │ │ │ └── foo.kext │ │ │ │ ├── Info.plist │ │ │ │ └── foo │ │ ├── foo.cpp │ │ ├── foo.h │ │ ├── main.cpp │ │ ├── main.kernel │ │ └── test.py │ ├── bundle-ids │ │ ├── bar.c │ │ ├── extensions │ │ │ ├── bar.kext │ │ │ │ ├── Info.plist │ │ │ │ └── bar │ │ │ └── foo.kext │ │ │ │ ├── Info.plist │ │ │ │ └── foo │ │ ├── foo.c │ │ ├── main.c │ │ ├── main.kernel │ │ └── test.py │ ├── bundle-libraries-arch │ │ ├── bar.c │ │ ├── extensions │ │ │ ├── bar.kext │ │ │ │ ├── Info.plist │ │ │ │ └── bar │ │ │ └── foo.kext │ │ │ │ ├── Info.plist │ │ │ │ └── foo │ │ ├── foo.c │ │ ├── main.c │ │ ├── main.kernel │ │ └── test.py │ ├── codeless-kexts │ │ ├── extensions │ │ │ ├── bar.kext │ │ │ │ └── Info.plist │ │ │ └── foo.kext │ │ │ │ └── Info.plist │ │ ├── main.cpp │ │ ├── main.kernel │ │ └── test.py │ ├── ctf-arm64e │ │ ├── bar.c │ │ ├── ctf.txt │ │ ├── extensions │ │ │ ├── bar.kext │ │ │ │ ├── Info.plist │ │ │ │ └── bar │ │ │ └── foo.kext │ │ │ │ ├── Info.plist │ │ │ │ └── foo │ │ ├── foo.c │ │ ├── main.cpp │ │ ├── main.kernel │ │ └── test.py │ ├── ctf-x86_64 │ │ ├── bar.c │ │ ├── ctf.txt │ │ ├── extensions │ │ │ ├── bar.kext │ │ │ │ ├── Info.plist │ │ │ │ └── bar │ │ │ └── foo.kext │ │ │ │ ├── Info.plist │ │ │ │ └── foo │ │ ├── foo.c │ │ ├── main.cpp │ │ ├── main.kernel │ │ └── test.py │ ├── data-const │ │ ├── bar.c │ │ ├── extensions │ │ │ ├── bar.kext │ │ │ │ ├── Info.plist │ │ │ │ └── bar │ │ │ └── foo.kext │ │ │ │ ├── Info.plist │ │ │ │ └── foo │ │ ├── foo.c │ │ ├── main.c │ │ ├── main.kernel │ │ └── test.py │ ├── empty-bundle-dir │ │ ├── bar.c │ │ ├── extensions │ │ │ ├── empty.kext │ │ │ │ ├── Info.plist │ │ │ │ └── PlugIns │ │ │ │ │ └── bar.kext │ │ │ │ │ ├── Info.plist │ │ │ │ │ └── bar │ │ │ └── foo.kext │ │ │ │ ├── Info.plist │ │ │ │ └── foo │ │ ├── foo.c │ │ ├── main.c │ │ ├── main.kernel │ │ └── test.py │ ├── extra-prelink-info │ │ ├── main.c │ │ ├── main.kernel │ │ ├── prelink-info.plist │ │ └── test.py │ ├── fixups-arm64e │ │ ├── bar.c │ │ ├── extensions │ │ │ ├── bar.kext │ │ │ │ ├── Info.plist │ │ │ │ └── bar │ │ │ └── foo.kext │ │ │ │ ├── Info.plist │ │ │ │ └── foo │ │ ├── foo.c │ │ ├── main.cpp │ │ ├── main.kernel │ │ └── test.py │ ├── fixups-x86_64-unaligned │ │ ├── extensions │ │ │ └── foo.kext │ │ │ │ ├── Info.plist │ │ │ │ └── foo │ │ ├── foo.c │ │ ├── main.cpp │ │ ├── main.kernel │ │ └── test.py │ ├── fixups-x86_64 │ │ ├── bar.c │ │ ├── extensions │ │ │ ├── bar.kext │ │ │ │ ├── Info.plist │ │ │ │ └── bar │ │ │ └── foo.kext │ │ │ │ ├── Info.plist │ │ │ │ └── foo │ │ ├── foo.c │ │ ├── main.cpp │ │ ├── main.kernel │ │ └── test.py │ ├── hello-world-auxkc │ │ ├── bar.c │ │ ├── extensions │ │ │ ├── bar.kext │ │ │ │ ├── Info.plist │ │ │ │ └── bar │ │ │ └── foo.kext │ │ │ │ ├── Info.plist │ │ │ │ └── foo │ │ ├── foo.c │ │ ├── main.c │ │ ├── main.kernel │ │ └── test.py │ ├── hello-world-kernel │ │ ├── main.c │ │ ├── main.kernel │ │ └── test.py │ ├── hello-world-pageablekc │ │ ├── bar.c │ │ ├── extensions │ │ │ ├── bar.kext │ │ │ │ ├── Info.plist │ │ │ │ └── bar │ │ │ └── foo.kext │ │ │ │ ├── Info.plist │ │ │ │ └── foo │ │ ├── foo.c │ │ ├── main.c │ │ ├── main.kernel │ │ └── test.py │ ├── implicit-dependencies │ │ ├── bar.c │ │ ├── extensions │ │ │ ├── bar.kext │ │ │ │ ├── Info.plist │ │ │ │ └── bar │ │ │ └── foo.kext │ │ │ │ ├── Info.plist │ │ │ │ └── foo │ │ ├── foo.c │ │ ├── main.c │ │ ├── main.kernel │ │ └── test.py │ ├── kernel-base-address-x86_64 │ │ ├── main.c │ │ ├── main.kernel │ │ ├── main.kernel.ld_m2hzX0 │ │ └── test.py │ ├── kernel-base-address │ │ ├── main.c │ │ ├── main.kernel │ │ └── test.py │ ├── kernel-uuid │ │ ├── main.c │ │ ├── main.kernel │ │ └── test.py │ ├── kernel-vtable-patching-arm64e │ │ ├── SymbolSets.plist │ │ ├── bar.cpp │ │ ├── extensions │ │ │ └── bar.kext │ │ │ │ ├── Info.plist │ │ │ │ └── bar │ │ ├── foo.cpp │ │ ├── foo.h │ │ ├── main.cpp │ │ ├── main.kernel │ │ └── test.py │ ├── kernel-vtable-patching-error │ │ ├── SymbolSets.plist │ │ ├── bar.cpp │ │ ├── extensions │ │ │ └── bar.kext │ │ │ │ ├── Info.plist │ │ │ │ └── bar │ │ ├── foo.h │ │ ├── main.cpp │ │ ├── main.kernel │ │ └── test.py │ ├── kernel-vtable-patching-large-base-addr │ │ ├── SymbolSets.plist │ │ ├── bar.cpp │ │ ├── extensions │ │ │ └── bar.kext │ │ │ │ ├── Info.plist │ │ │ │ └── bar │ │ ├── foo.cpp │ │ ├── foo.h │ │ ├── main.cpp │ │ ├── main.kernel │ │ └── test.py │ ├── kernel-vtable-patching │ │ ├── SymbolSets.plist │ │ ├── bar.cpp │ │ ├── extensions │ │ │ └── bar.kext │ │ │ │ ├── Info.plist │ │ │ │ └── bar │ │ ├── foo.cpp │ │ ├── foo.h │ │ ├── main.cpp │ │ ├── main.kernel │ │ └── test.py │ ├── kext-bind-missing-dep │ │ ├── extensions │ │ │ └── foo.kext │ │ │ │ ├── Info.plist │ │ │ │ └── foo │ │ ├── foo.c │ │ ├── main.c │ │ ├── main.kernel │ │ └── test.py │ ├── kext-bind-to-kext-arm64-chains │ │ ├── bar.c │ │ ├── extensions │ │ │ ├── bar.kext │ │ │ │ ├── Info.plist │ │ │ │ └── bar │ │ │ └── foo.kext │ │ │ │ ├── Info.plist │ │ │ │ └── foo │ │ ├── foo.c │ │ ├── main.c │ │ ├── main.kernel │ │ └── test.py │ ├── kext-bind-to-kext-arm64e-chains │ │ ├── bar.c │ │ ├── extensions │ │ │ ├── bar.kext │ │ │ │ ├── Info.plist │ │ │ │ └── bar │ │ │ └── foo.kext │ │ │ │ ├── Info.plist │ │ │ │ └── foo │ │ ├── foo.c │ │ ├── main.c │ │ ├── main.kernel │ │ └── test.py │ ├── kext-bind-to-kext-missing-symbol │ │ ├── bar.c │ │ ├── extensions │ │ │ ├── bar.kext │ │ │ │ ├── Info.plist │ │ │ │ └── bar │ │ │ └── foo.kext │ │ │ │ ├── Info.plist │ │ │ │ └── foo │ │ ├── foo.c │ │ ├── main.c │ │ ├── main.kernel │ │ └── test.py │ ├── kext-bind-to-kext-old-section-type │ │ ├── bar.c │ │ ├── extensions │ │ │ ├── bar.kext │ │ │ │ ├── Info.plist │ │ │ │ └── bar │ │ │ └── foo.kext │ │ │ │ ├── Info.plist │ │ │ │ └── foo │ │ ├── foo.c │ │ ├── main.c │ │ ├── main.kernel │ │ └── test.py │ ├── kext-bind-to-kext-symbol-set-error │ │ ├── SymbolSets.plist │ │ ├── bar.c │ │ ├── extensions │ │ │ ├── bar.kext │ │ │ │ ├── Info.plist │ │ │ │ └── bar │ │ │ └── foo.kext │ │ │ │ ├── Info.plist │ │ │ │ └── foo │ │ ├── foo.c │ │ ├── main.c │ │ ├── main.kernel │ │ └── test.py │ ├── kext-bind-to-kext-symbol-set │ │ ├── SymbolSets.plist │ │ ├── bar.c │ │ ├── exports.txt │ │ ├── extensions │ │ │ ├── bar.kext │ │ │ │ ├── Info.plist │ │ │ │ └── bar │ │ │ └── foo.kext │ │ │ │ ├── Info.plist │ │ │ │ └── foo │ │ ├── foo.c │ │ ├── main.c │ │ ├── main.kernel │ │ └── test.py │ ├── kext-bind-to-kext │ │ ├── bar.c │ │ ├── extensions │ │ │ ├── bar.kext │ │ │ │ ├── Info.plist │ │ │ │ └── bar │ │ │ └── foo.kext │ │ │ │ ├── Info.plist │ │ │ │ └── foo │ │ ├── foo.c │ │ ├── main.c │ │ ├── main.kernel │ │ └── test.py │ ├── kext-bind-to-kpi-private-symbol-set-error │ │ ├── SymbolSets.plist │ │ ├── bar.c │ │ ├── extensions │ │ │ └── bar.kext │ │ │ │ ├── Info.plist │ │ │ │ └── bar │ │ ├── main.c │ │ ├── main.kernel │ │ └── test.py │ ├── kext-bind-to-kpi-private-symbol-set │ │ ├── SymbolSets.plist │ │ ├── bar.c │ │ ├── exports.txt │ │ ├── extensions │ │ │ └── bar.kext │ │ │ │ ├── Info.plist │ │ │ │ └── bar │ │ ├── main.c │ │ ├── main.kernel │ │ └── test.py │ ├── kext-missing-weak-bind │ │ ├── SymbolSets.plist │ │ ├── bar.c │ │ ├── extensions │ │ │ ├── bar.kext │ │ │ │ ├── Info.plist │ │ │ │ └── bar │ │ │ └── foo.kext │ │ │ │ ├── Info.plist │ │ │ │ └── foo │ │ ├── foo.c │ │ ├── main.c │ │ ├── main.kernel │ │ └── test.py │ ├── kext-receipts │ │ ├── large.txt │ │ ├── large2.txt │ │ ├── main.c │ │ ├── main.kernel │ │ ├── small.txt │ │ └── test.py │ ├── kext-relative-paths │ │ ├── bar.c │ │ ├── extensions │ │ │ ├── bar.kext │ │ │ │ ├── Info.plist │ │ │ │ └── bar │ │ │ └── foo.kext │ │ │ │ └── Contents │ │ │ │ ├── Info.plist │ │ │ │ └── MacOS │ │ │ │ └── foo │ │ ├── foo.c │ │ ├── main.c │ │ ├── main.kernel │ │ └── test.py │ ├── kext-vtable-patching-arm64e │ │ ├── SymbolSets.plist │ │ ├── bar.cpp │ │ ├── bar.h │ │ ├── baz.cpp │ │ ├── extensions │ │ │ ├── bar.kext │ │ │ │ ├── Info.plist │ │ │ │ └── bar │ │ │ ├── baz.kext │ │ │ │ ├── Info.plist │ │ │ │ └── baz │ │ │ └── foo.kext │ │ │ │ ├── Info.plist │ │ │ │ └── foo │ │ ├── foo.cpp │ │ ├── foo.h │ │ ├── main.cpp │ │ ├── main.kernel │ │ └── test.py │ ├── kext-vtable-patching-error-small-vtable │ │ ├── SymbolSets.plist │ │ ├── bar.cpp │ │ ├── extensions │ │ │ ├── bar.kext │ │ │ │ ├── Info.plist │ │ │ │ └── bar │ │ │ └── foo.kext │ │ │ │ ├── Info.plist │ │ │ │ └── foo │ │ ├── foo.cpp │ │ ├── foo.h │ │ ├── main.cpp │ │ ├── main.kernel │ │ └── test.py │ ├── kext-vtable-patching-overrides │ │ ├── SymbolSets.plist │ │ ├── bar.cpp │ │ ├── extensions │ │ │ ├── bar.kext │ │ │ │ ├── Info.plist │ │ │ │ └── bar │ │ │ └── foo.kext │ │ │ │ ├── Info.plist │ │ │ │ └── foo │ │ ├── foo.cpp │ │ ├── foo.h │ │ ├── main.cpp │ │ ├── main.kernel │ │ └── test.py │ ├── kext-vtable-patching │ │ ├── SymbolSets.plist │ │ ├── bar.cpp │ │ ├── extensions │ │ │ ├── bar.kext │ │ │ │ ├── Info.plist │ │ │ │ └── bar │ │ │ └── foo.kext │ │ │ │ ├── Info.plist │ │ │ │ └── foo │ │ ├── foo.cpp │ │ ├── foo.h │ │ ├── main.cpp │ │ ├── main.kernel │ │ └── test.py │ ├── kext-weak-bind-chained │ │ ├── bar.c │ │ ├── extensions │ │ │ ├── bar.kext │ │ │ │ ├── Info.plist │ │ │ │ └── bar │ │ │ └── foo.kext │ │ │ │ ├── Info.plist │ │ │ │ └── foo │ │ ├── foo.c │ │ ├── main.c │ │ ├── main.kernel │ │ └── test.py │ ├── kext-weak-bind │ │ ├── bar.c │ │ ├── extensions │ │ │ ├── bar.kext │ │ │ │ ├── Info.plist │ │ │ │ └── bar │ │ │ └── foo.kext │ │ │ │ ├── Info.plist │ │ │ │ └── foo │ │ ├── foo.c │ │ ├── main.c │ │ ├── main.kernel │ │ └── test.py │ ├── kexts-missing-split-seg-error │ │ ├── bar.c │ │ ├── extensions │ │ │ ├── bar.kext │ │ │ │ ├── Info.plist │ │ │ │ └── bar │ │ │ └── foo.kext │ │ │ │ ├── Info.plist │ │ │ │ └── foo │ │ ├── foo.c │ │ ├── main.c │ │ ├── main.kernel │ │ └── test.py │ ├── kmod-info-errors │ │ ├── bar.c │ │ ├── extensions │ │ │ ├── bar.kext │ │ │ │ ├── Info.plist │ │ │ │ └── bar │ │ │ └── foo.kext │ │ │ │ ├── Info.plist │ │ │ │ └── foo │ │ ├── foo.c │ │ ├── kmod.h │ │ ├── main.c │ │ ├── main.kernel │ │ └── test.py │ ├── kmod-info-local-symbols │ │ ├── bar.c │ │ ├── extensions │ │ │ ├── bar.kext │ │ │ │ ├── Info.plist │ │ │ │ └── bar │ │ │ └── foo.kext │ │ │ │ ├── Info.plist │ │ │ │ └── foo │ │ ├── foo.c │ │ ├── kmod.h │ │ ├── main.c │ │ ├── main.kernel │ │ └── test.py │ ├── kmod-info │ │ ├── bar.c │ │ ├── extensions │ │ │ ├── bar.kext │ │ │ │ ├── Info.plist │ │ │ │ └── bar │ │ │ └── foo.kext │ │ │ │ ├── Info.plist │ │ │ │ └── foo │ │ ├── foo.c │ │ ├── kmod.h │ │ ├── main.c │ │ ├── main.kernel │ │ └── test.py │ ├── large-auxkc-errors │ │ ├── bar.c │ │ ├── extensions │ │ │ ├── bar.kext │ │ │ │ ├── Info.plist │ │ │ │ └── bar │ │ │ └── foo.kext │ │ │ │ ├── Info.plist │ │ │ │ └── foo │ │ ├── foo.c │ │ ├── main.c │ │ ├── main.kernel │ │ └── test.py │ ├── large-auxkc-no-errors │ │ ├── bar.c │ │ ├── extensions │ │ │ ├── bar.kext │ │ │ │ ├── Info.plist │ │ │ │ └── bar │ │ │ └── foo.kext │ │ │ │ ├── Info.plist │ │ │ │ └── foo │ │ ├── foo.c │ │ ├── main.c │ │ ├── main.kernel │ │ └── test.py │ ├── large-kcs-errors │ │ ├── bar.c │ │ ├── extensions │ │ │ ├── bar.kext │ │ │ │ ├── Info.plist │ │ │ │ └── bar │ │ │ └── foo.kext │ │ │ │ ├── Info.plist │ │ │ │ └── foo │ │ ├── foo.c │ │ ├── main.c │ │ ├── main.kernel │ │ └── test.py │ ├── last-data-const │ │ ├── bar.c │ │ ├── extensions │ │ │ ├── bar.kext │ │ │ │ ├── Info.plist │ │ │ │ └── bar │ │ │ └── foo.kext │ │ │ │ ├── Info.plist │ │ │ │ └── foo │ │ ├── foo.c │ │ ├── main.c │ │ ├── main.kernel │ │ └── test.py │ ├── packed-kext-data │ │ ├── bar.c │ │ ├── extensions │ │ │ ├── bar.kext │ │ │ │ ├── Info.plist │ │ │ │ └── bar │ │ │ └── foo.kext │ │ │ │ ├── Info.plist │ │ │ │ └── foo │ │ ├── foo.c │ │ ├── main.c │ │ ├── main.kernel │ │ └── test.py │ ├── packed-kext-text │ │ ├── bar.c │ │ ├── extensions │ │ │ ├── bar.kext │ │ │ │ ├── Info.plist │ │ │ │ └── bar │ │ │ └── foo.kext │ │ │ │ ├── Info.plist │ │ │ │ └── foo │ │ ├── foo.c │ │ ├── main.c │ │ ├── main.kernel │ │ └── test.py │ ├── pageablekc-bind-to-basekc │ │ ├── bar.c │ │ ├── extensions │ │ │ ├── bar.kext │ │ │ │ ├── Info.plist │ │ │ │ └── bar │ │ │ └── foo.kext │ │ │ │ ├── Info.plist │ │ │ │ └── foo │ │ ├── foo.c │ │ ├── main.c │ │ ├── main.kernel │ │ └── test.py │ ├── pageablekc-uuid │ │ ├── bar.c │ │ ├── extensions │ │ │ ├── bar.kext │ │ │ │ ├── Info.plist │ │ │ │ └── bar │ │ │ └── foo.kext │ │ │ │ ├── Info.plist │ │ │ │ └── foo │ │ ├── foo.c │ │ ├── main.c │ │ ├── main.kernel │ │ └── test.py │ ├── pageablekc-vtable-patching │ │ ├── SymbolSets.plist │ │ ├── bar.cpp │ │ ├── extensions │ │ │ ├── bar.kext │ │ │ │ ├── Info.plist │ │ │ │ └── bar │ │ │ └── foo.kext │ │ │ │ ├── Info.plist │ │ │ │ └── foo │ │ ├── foo.cpp │ │ ├── foo.h │ │ ├── main.cpp │ │ ├── main.kernel │ │ └── test.py │ ├── plugins │ │ ├── bar.c │ │ ├── extensions │ │ │ └── foo.kext │ │ │ │ ├── Info.plist │ │ │ │ ├── PlugIns │ │ │ │ └── bar.kext │ │ │ │ │ ├── Info.plist │ │ │ │ │ └── bar │ │ │ │ └── foo │ │ ├── foo.c │ │ ├── main.c │ │ ├── main.kernel │ │ └── test.py │ ├── ppl-data-const │ │ ├── bar.c │ │ ├── extensions │ │ │ ├── bar.kext │ │ │ │ ├── Info.plist │ │ │ │ └── bar │ │ │ └── foo.kext │ │ │ │ ├── Info.plist │ │ │ │ └── foo │ │ ├── foo.c │ │ ├── main.c │ │ ├── main.kernel │ │ └── test.py │ ├── rwx-permissions-error │ │ ├── main.c │ │ ├── main.kernel │ │ └── test.py │ ├── strip-all-kexts │ │ ├── bar.c │ │ ├── extensions │ │ │ ├── bar.kext │ │ │ │ ├── Info.plist │ │ │ │ └── bar │ │ │ └── foo.kext │ │ │ │ ├── Info.plist │ │ │ │ └── foo │ │ ├── foo.c │ │ ├── main.c │ │ ├── main.kernel │ │ └── test.py │ ├── strip-all │ │ ├── bar.c │ │ ├── extensions │ │ │ ├── bar.kext │ │ │ │ ├── Info.plist │ │ │ │ └── bar │ │ │ └── foo.kext │ │ │ │ ├── Info.plist │ │ │ │ └── foo │ │ ├── foo.c │ │ ├── main.c │ │ ├── main.kernel │ │ └── test.py │ ├── strip-kexts-all │ │ ├── bar.c │ │ ├── extensions │ │ │ ├── bar.kext │ │ │ │ ├── Info.plist │ │ │ │ └── bar │ │ │ └── foo.kext │ │ │ │ ├── Info.plist │ │ │ │ └── foo │ │ ├── foo.c │ │ ├── main.c │ │ ├── main.kernel │ │ └── test.py │ ├── strip-kexts-exports │ │ ├── bar.c │ │ ├── extensions │ │ │ ├── bar.kext │ │ │ │ ├── Info.plist │ │ │ │ └── bar │ │ │ └── foo.kext │ │ │ │ ├── Info.plist │ │ │ │ └── foo │ │ ├── foo.c │ │ ├── main.c │ │ ├── main.kernel │ │ └── test.py │ ├── strip-kexts-locals │ │ ├── bar.c │ │ ├── extensions │ │ │ ├── bar.kext │ │ │ │ ├── Info.plist │ │ │ │ └── bar │ │ │ └── foo.kext │ │ │ │ ├── Info.plist │ │ │ │ └── foo │ │ ├── foo.c │ │ ├── main.c │ │ ├── main.kernel │ │ └── test.py │ ├── strip-none │ │ ├── bar.c │ │ ├── extensions │ │ │ ├── bar.kext │ │ │ │ ├── Info.plist │ │ │ │ └── bar │ │ │ └── foo.kext │ │ │ │ ├── Info.plist │ │ │ │ └── foo │ │ ├── foo.c │ │ ├── main.c │ │ ├── main.kernel │ │ └── test.py │ ├── symbol-sets-and-codeless-kexts │ │ ├── SymbolSets.plist │ │ ├── extensions │ │ │ ├── bar.kext │ │ │ │ └── Info.plist │ │ │ ├── baz.kext │ │ │ │ └── Info.plist │ │ │ └── foo.kext │ │ │ │ ├── Info.plist │ │ │ │ └── foo │ │ ├── foo.c │ │ ├── main.c │ │ ├── main.kernel │ │ └── test.py │ ├── symbol-sets-prefix │ │ ├── SymbolSets.plist │ │ ├── extensions │ │ │ └── foo.kext │ │ │ │ ├── Info.plist │ │ │ │ └── foo │ │ ├── foo.c │ │ ├── main.c │ │ ├── main.kernel │ │ └── test.py │ ├── symbol-sets │ │ ├── SymbolSets.plist │ │ ├── extensions │ │ │ └── foo.kext │ │ │ │ ├── Info.plist │ │ │ │ └── foo │ │ ├── foo.c │ │ ├── main.c │ │ ├── main.kernel │ │ └── test.py │ ├── testall.py │ ├── text-fixups-x86_64-auxkc │ │ ├── bar.c │ │ ├── extensions │ │ │ ├── bar.kext │ │ │ │ ├── Info.plist │ │ │ │ └── bar │ │ │ └── foo.kext │ │ │ │ ├── Info.plist │ │ │ │ └── foo │ │ ├── foo.c │ │ ├── main.cpp │ │ ├── main.kernel │ │ └── test.py │ ├── text-fixups-x86_64 │ │ ├── bar.c │ │ ├── extensions │ │ │ ├── bar.kext │ │ │ │ ├── Info.plist │ │ │ │ └── bar │ │ │ └── foo.kext │ │ │ │ ├── Info.plist │ │ │ │ └── foo │ │ ├── foo.c │ │ ├── main.cpp │ │ ├── main.kernel │ │ └── test.py │ └── vtable-patching-metaclass-alias │ │ ├── SymbolSets.plist │ │ ├── extensions │ │ └── foo.kext │ │ │ ├── Info.plist │ │ │ ├── foo │ │ │ └── foo.arm64.ld │ │ │ ├── filelist │ │ │ ├── files │ │ │ └── foo-f6e015.o │ │ │ ├── link_command │ │ │ └── orig_command_line │ │ ├── foo.c │ │ ├── main.c │ │ ├── main.kernel │ │ └── test.py ├── lib │ ├── execserver.defs │ ├── test_support.cpp │ └── test_support.exp ├── nocr │ ├── nocr.1 │ └── nocr.cpp ├── run-static │ ├── jit_entitlement.plist │ └── run-static.cpp ├── run_all_dyld_tests.py ├── task_read_for_pid_entitlement.plist └── test-cases │ ├── LC_DYLD_ENV-DYLD_LIBRARY_PATH.dtest │ ├── foo.c │ └── main.c │ ├── NSAddImage-basic.dtest │ ├── main.c │ └── zzz.c │ ├── NSAddImage-fail.dtest │ └── main.cpp │ ├── NSAddImage-loaded.dtest │ └── main.c │ ├── NSAddressOfSymbol-basic.dtest │ └── main.c │ ├── NSCreateObjectFileImageFromFile-basic.dtest │ ├── foo.c │ └── main.c │ ├── NSCreateObjectFileImageFromFile-stress.dtest │ ├── foo.c │ └── main.cpp │ ├── NSCreateObjectFileImageFromMemory-basic.dtest │ ├── foo.c │ └── main.c │ ├── NSLookupSymbolInImage-basic.dtest │ └── main.c │ ├── _dyld_for_each_objc_class-duplicates.dtest │ ├── linked1.m │ ├── linked2.m │ └── main.m │ ├── _dyld_for_each_objc_class-missing-weak-chained.dtest │ ├── lib1.m │ ├── lib2.m │ ├── main.mm │ └── missing.m │ ├── _dyld_for_each_objc_class-missing-weak.dtest │ ├── lib1.m │ ├── lib2.m │ ├── main.mm │ └── missing.m │ ├── _dyld_for_each_objc_class.dtest │ ├── linked1.m │ ├── linked2.m │ └── main.m │ ├── _dyld_for_each_objc_protocol.dtest │ ├── linked1.m │ ├── linked2.m │ └── main.m │ ├── _dyld_get_image_name-cache-symlink.dtest │ ├── foo.c │ └── main.c │ ├── _dyld_get_image_slide.dtest │ └── main.c │ ├── _dyld_get_objc_selector-chained.dtest │ └── main.m │ ├── _dyld_get_objc_selector-shared-cache.dtest │ └── main.c │ ├── _dyld_get_objc_selector.dtest │ └── main.m │ ├── _dyld_get_prog_image_header.dtest │ ├── foo.c │ └── main.c │ ├── _dyld_images_for_addresses.dtest │ ├── foo.c │ └── main.c │ ├── _dyld_is_memory_immutable-lock.dtest │ ├── foo.c │ └── main.c │ ├── _dyld_is_memory_immutable.dtest │ ├── bar.c │ ├── foo.c │ └── main.c │ ├── _dyld_launch_mode.dtest │ └── main.c │ ├── _dyld_register_for_bulk_image_loads.dtest │ ├── bar.c │ ├── baz.c │ ├── foo.c │ ├── main.cxx │ └── up.c │ ├── _dyld_register_for_image_loads.dtest │ ├── bar.c │ ├── baz.c │ ├── foo.c │ ├── main.cxx │ └── up.c │ ├── _dyld_register_func_for_add_image.dtest │ ├── foo.c │ └── main.cxx │ ├── _dyld_shared_cache_contains_path.dtest │ └── main.c │ ├── _dyld_shared_cache_is_locally_built.dtest │ └── main.c │ ├── _dyld_shared_cache_real_path.dtest │ └── main.c │ ├── amfi-hardened-dlopen-leaf.dtest │ ├── main.c │ └── my.c │ ├── amfi-interpose.dtest │ ├── interposer.c │ └── main.c │ ├── bind-addend.dtest │ └── main.c │ ├── bind-rebase.dtest │ └── main.c │ ├── chained-fixups-many-binds.dtest │ ├── foo.c │ ├── foo.h │ ├── main.c │ └── uses.h │ ├── crt-old-mac10.5-vars-libSystem.dtest │ └── main.c │ ├── crt-old-mac10.6-vars-libSystem.dtest │ └── main.c │ ├── crt-vars-libSystem.dtest │ └── main.c │ ├── cwd-relative-load.dtest │ ├── foo.c │ └── main.c │ ├── dladdr-basic.dtest │ ├── main-no-syms.c │ └── main.c │ ├── dladdr-dylib.dtest │ ├── foo.c │ └── main.c │ ├── dlclose-static-terminator.dtest │ ├── foo.c │ └── main.c │ ├── dlopen-DYLD_LIBRARY_PATH.dtest │ ├── bar.c │ ├── foo.c │ └── main.c │ ├── dlopen-RTLD_LOCAL-coalesce.dtest │ ├── foo1.c │ ├── foo2.c │ ├── foo3.c │ └── main.c │ ├── dlopen-RTLD_LOCAL-hides.dtest │ ├── bar.c │ ├── foo.c │ └── main.c │ ├── dlopen-RTLD_NODELETE.dtest │ ├── bar.c │ ├── foo.c │ └── main.c │ ├── dlopen-RTLD_NOLOAD.dtest │ ├── foo.c │ ├── init-a.c │ ├── init-b.c │ ├── init-main.c │ └── main.c │ ├── dlopen-RTLD_NOW.dtest │ ├── bar.c │ ├── foo.c │ └── main.c │ ├── dlopen-atpath-restricted.dtest │ ├── bar.c │ ├── foo.c │ └── main.c │ ├── dlopen-bad-file.dtest │ ├── bad.txt │ └── main.c │ ├── dlopen-basic.dtest │ ├── foo.c │ └── main.c │ ├── dlopen-dyld.dtest │ └── main.c │ ├── dlopen-empty-data.dtest │ ├── foo.c │ └── main.c │ ├── dlopen-fail-cleanly.dtest │ ├── a.c │ ├── b.m │ ├── c.c │ └── main.c │ ├── dlopen-flat.dtest │ ├── bar.c │ ├── foo.c │ └── main.c │ ├── dlopen-framework-fallback.dtest │ └── main.c │ ├── dlopen-haswell.dtest │ ├── a.c │ └── main.c │ ├── dlopen-iOSMac.dtest │ ├── cat.c │ ├── foo.c │ └── main.c │ ├── dlopen-in-init.dtest │ ├── foo.c │ └── main.c │ ├── dlopen-in-init2.dtest │ ├── bar.c │ ├── baz.c │ ├── foo.c │ └── main.c │ ├── dlopen-in-init3.dtest │ ├── bar.c │ ├── baz.c │ ├── foo.c │ └── main.c │ ├── dlopen-indirect-groupNum.dtest │ ├── bar.c │ ├── baz.c │ ├── foo.c │ └── main.c │ ├── dlopen-intertwined.dtest │ ├── A.c │ ├── B.c │ ├── C.c │ ├── D.c │ ├── E.c │ ├── F.c │ ├── base.c │ └── main.c │ ├── dlopen-jna.dtest │ ├── foo.c │ ├── jna.c │ └── main.c │ ├── dlopen-long-error-message.dtest │ └── main.c │ ├── dlopen-prebuilt-dlopen-closure.dtest │ └── main.c │ ├── dlopen-race.dtest │ ├── foo.c │ └── main.c │ ├── dlopen-realpath.dtest │ └── main.c │ ├── dlopen-recurse.dtest │ ├── bar.c │ ├── foo.c │ └── main.c │ ├── dlopen-rpath-from-dylib.dtest │ ├── bar.c │ ├── main.c │ └── test.c │ ├── dlopen-rpath-implicit.dtest │ ├── foo.c │ └── main.c │ ├── dlopen-rpath-prev-override.dtest │ ├── bad.c │ ├── dyn.c │ ├── foo.c │ ├── good.c │ └── main.c │ ├── dlopen-rpath-prev.dtest │ ├── foo.c │ ├── main.c │ ├── sub1.c │ └── sub2.c │ ├── dlopen-signing.dtest │ ├── dylib.c │ └── main.c │ ├── dlopen-symlink.dtest │ ├── foo.c │ └── main.c │ ├── dlopen_from-basic.dtest │ ├── bar.c │ ├── main.c │ └── test.c │ ├── dlopen_preflight.dtest │ └── main.c │ ├── dlsym-RTLD_DEFAULT.dtest │ ├── foo.c │ └── main.c │ ├── dlsym-RTLD_MAIN_ONLY.dtest │ ├── foo.c │ └── main.c │ ├── dlsym-RTLD_NEXT.dtest │ ├── foo.c │ └── main.c │ ├── dlsym-RTLD_SELF.dtest │ ├── foo.c │ └── main.c │ ├── dlsym-handle.dtest │ ├── bar.c │ ├── base.c │ ├── foo.c │ └── main.c │ ├── dlsym-in-interposed-malloc.dtest │ ├── interposer.c │ └── main.c │ ├── dlsym-re-export.dtest │ ├── foo.c │ ├── main.c │ ├── sub1.c │ └── sub2.c │ ├── dtrace.dtest │ ├── main.c │ └── main.d │ ├── dyld-insert-library-double.dtest │ ├── bar.c │ ├── foo.c │ └── main.cpp │ ├── dyld-insert-library-rpath.dtest │ ├── bar.c │ ├── baz.c │ ├── foo.c │ └── main.cpp │ ├── dyld_abort_payload.dtest │ ├── defSymbol.c │ ├── emptyMain.c │ ├── foo.c │ ├── main.cpp │ └── useSymbol.c │ ├── dyld_fork-locks.dest │ └── main.c │ ├── dyld_get_image_versions.dtest │ └── main.c │ ├── dyld_get_sdk_version.dtest │ └── main.c │ ├── dyld_has_inserted_or_interposing_libraries.dtest │ ├── foo.c │ ├── interposer.c │ └── main.c │ ├── dyld_image_path_containing_address.dtest │ └── main.c │ ├── dyld_need_closure.dtest │ ├── foo.c │ └── main.c │ ├── dyld_process_info.dtest │ ├── File │ ├── linksWithCF.c │ └── main.cpp │ ├── dyld_process_info_notify.dtest │ ├── foo.c │ ├── main.mm │ └── target.c │ ├── dyld_process_info_unload.dtest │ ├── foo.c │ ├── main.cpp │ └── target.c │ ├── dyld_shared_cache_some_image_overridden.dtest-strings │ ├── dyld_shared_cache_some_image_overridden.dtest │ ├── main.c │ ├── myzlib.c │ ├── reexported-myzlib.c │ └── reexporter.c │ ├── dyld_usage_json.dtest │ ├── foo.c │ ├── main.mm │ └── target.c │ ├── dyld_version_spis.dtest │ ├── main.c │ └── version_set.c │ ├── dylib-re-export-old-format.dtest │ ├── bar.c │ ├── foo.c │ └── main.c │ ├── dylib-re-export.dtest │ ├── bar.c │ ├── foo.c │ └── main.c │ ├── dylib-static-link.dtest │ ├── foo.c │ └── main.c │ ├── dylib-static-weak-link.dtest │ ├── foo.c │ ├── missing.c │ └── present.c │ ├── env-DYLD_FALLBACK_FRAMEWORK_PATH.dtest │ ├── foo.c │ └── main.c │ ├── env-DYLD_FALLBACK_LIBRARY_PATH.dtest │ ├── foo.c │ └── main.c │ ├── env-DYLD_FORCE_PLATFORM.dtest │ └── main.c │ ├── env-DYLD_FRAMEWORK_PATH.dtest │ ├── foo.c │ └── main.c │ ├── env-DYLD_IMAGE_SUFFIX.dtest │ ├── bar.c │ ├── foo.c │ └── main.c │ ├── env-DYLD_LIBRARY_PATH-cache-iOSMac.dtest │ ├── main.c │ ├── myzlib.c │ ├── reexported-myzlib.c │ └── reexporter.c │ ├── env-DYLD_LIBRARY_PATH-cache.dtest │ ├── main.c │ ├── myzlib.c │ ├── reexported-myzlib.c │ └── reexporter.c │ ├── env-DYLD_LIBRARY_PATH.dtest │ ├── foo.c │ └── main.c │ ├── env-DYLD_VERSIONED_FRAMEWORK_PATH.dtest │ ├── foo.c │ └── main.c │ ├── env-DYLD_VERSIONED_LIBRARY_PATH-missing-dylibs.dtest │ ├── foo.c │ └── main.c │ ├── env-DYLD_VERSIONED_LIBRARY_PATH.dtest │ ├── foo.c │ └── main.c │ ├── flat-namespace-absolute-symbol.dtest │ ├── foo.s │ └── main.c │ ├── flat-namespace.dtest │ ├── foo.c │ └── main.c │ ├── image_infos-uuids.dtest │ ├── foo.c │ └── main.c │ ├── init-term-segments.dtest │ ├── foo.c │ └── main.c │ ├── interpose-malloc.dtest │ ├── foo.c │ ├── interposer.c │ └── main.c │ ├── interpose-resolver.dtest │ ├── foo.c │ ├── interposer.c │ └── main.c │ ├── interpose-then-dlopen.dtest │ ├── bar.c │ ├── foo.c │ ├── fooimpl.c │ ├── interposable.txt │ ├── interposer.c │ └── main.c │ ├── interpose-weak.dtest │ ├── foo.c │ ├── interposer.c │ └── main.c │ ├── kernel-auxkc-fixups.dtest │ ├── bar.c │ ├── extensions │ │ ├── bar.kext │ │ │ └── Info.plist │ │ ├── foo.kext │ │ │ └── Info.plist │ │ └── kernel-export.kext │ │ │ └── Info.plist │ ├── foo.c │ ├── kernel-export.c │ └── main.c │ ├── kernel-classic-relocs.h │ ├── kernel-fixups-x86_64.dtest │ └── main.c │ ├── kernel-fixups.dtest │ └── main.c │ ├── kernel-fixups.h │ ├── kernel-hello-world.dtest │ └── main.c │ ├── kernel-helpers.h │ ├── kernel-pageablekc-auxkc-fixups.dtest │ ├── bar.c │ ├── extensions │ │ ├── bar.kext │ │ │ └── Info.plist │ │ ├── foo.kext │ │ │ └── Info.plist │ │ └── pageable.kext │ │ │ └── Info.plist │ ├── foo.c │ ├── main.c │ └── pageable.c │ ├── kernel-pageablekc-fixups.dtest │ ├── bar.c │ ├── extensions │ │ ├── bar.kext │ │ │ └── Info.plist │ │ ├── foo.kext │ │ │ └── Info.plist │ │ └── kernel-export.kext │ │ │ └── Info.plist │ ├── foo.c │ ├── kernel-export.c │ └── main.c │ ├── kernel-test-runner.h │ ├── large-load-commands.dtest │ ├── extra.cmds │ ├── foo.c │ └── main.c │ ├── launch-image-cache.dtest │ ├── foo1.c │ ├── foo10.c │ ├── foo11.c │ ├── foo12.c │ ├── foo13.c │ ├── foo14.c │ ├── foo15.c │ ├── foo16.c │ ├── foo17.c │ ├── foo18.c │ ├── foo19.c │ ├── foo2.c │ ├── foo20.c │ ├── foo21.c │ ├── foo22.c │ ├── foo23.c │ ├── foo24.c │ ├── foo25.c │ ├── foo26.c │ ├── foo27.c │ ├── foo28.c │ ├── foo29.c │ ├── foo3.c │ ├── foo30.c │ ├── foo31.c │ ├── foo32.c │ ├── foo4.c │ ├── foo5.c │ ├── foo6.c │ ├── foo7.c │ ├── foo8.c │ ├── foo9.c │ └── main.c │ ├── lazy-symbol-missing.dtest │ ├── foo.c │ ├── main-call.c │ ├── main.c │ └── runner.cpp │ ├── libdsc.dtest │ └── main.c │ ├── macOS-cache-rebuild.dtest │ └── main.cpp │ ├── missing-weak-def.dtest │ ├── bar-empty.c │ ├── bar.c │ └── main.c │ ├── operator-new.dtest │ └── main.cxx │ ├── read-only-data.dtest │ ├── foo.c │ └── main.c │ ├── restrict-search.dtest │ ├── foo.c │ └── main.c │ ├── rpath-absolute.dtest │ ├── foo.c │ └── main.c │ ├── rpath-relative.dtest │ ├── foo.c │ └── main.c │ ├── rpath-weak-missing.dtest │ ├── foo.c │ └── main.c │ ├── shared_cache_iterate.dtest │ └── main.c │ ├── shared_cache_optimized.dtest │ └── main.c │ ├── shared_cache_range.dtest │ └── main.c │ ├── static-terminators.dtest │ ├── base.c │ ├── foo.c │ └── main.c │ ├── symbol-resolver-basic.dtest │ ├── foo.c │ ├── foo2.c │ └── main.c │ ├── thread-local-atexit-macOS.dtest │ └── main.cpp │ ├── thread-local-atexit.dtest │ └── main.cpp │ ├── thread-local-cleanup.dtest │ ├── foo.c │ └── main.c │ ├── thread-local-destructors.dtest │ ├── foo.c │ └── main.cpp │ ├── thread-local-variables.dtest │ ├── foo.c │ └── main.c │ ├── unix-conformance.dtest │ └── main.c │ ├── upward-links-initializers.dtest │ ├── init1.c │ ├── init2.c │ ├── init3.c │ ├── init4.c │ ├── init5.c │ ├── init6.c │ ├── main.c │ └── value.c │ ├── weak-coalesce-dlopen.dtest │ ├── foo.cpp │ └── main.cpp │ ├── weak-coalesce-inserted-dylibs.dtest │ ├── bar.cpp │ ├── foo.cpp │ └── main.cpp │ ├── weak-coalesce-unload.dtest │ ├── foo1.c │ ├── foo2.c │ ├── foo3.c │ └── main.c │ ├── weak-coalesce.dtest │ ├── base.c │ ├── base.h │ ├── foo1.c │ ├── foo2.c │ ├── foo3.c │ └── main.c │ ├── weak-def-bind-old-format.dtest │ ├── bar.c │ ├── foo.c │ └── main.c │ ├── weak-def-unload.dtest │ ├── bar.c │ ├── foo.c │ └── main.c │ ├── weak-dylib-re-export.dtest │ ├── bar.c │ ├── foo.c │ ├── main.c │ └── symbols.txt │ └── weak-override-shared-cache.dtest │ └── main.cpp └── unit-tests ├── bin ├── build-results-filter.pl ├── exit-non-zero-pass.pl ├── exit-zero-pass.pl ├── fail-if-non-zero.pl ├── make-recursive.pl ├── pass-iff-exit-zero.pl └── result-filter.pl ├── build-and-run-iPhoneOS-unit-tests ├── build-iPhoneOS-unit-tests ├── include ├── common.makefile └── test.h ├── run-all-unit-tests └── test-cases ├── DYLD_LIBRARY_PATH-dyld_env ├── Makefile ├── foo.c └── main.c ├── NSAddImage-MATCH_BY_INSTALLNAME ├── Makefile ├── bar.c ├── foo.c └── main.c ├── NSAddImage-RETURN_ONLY_IF_LOADED ├── Makefile └── main.c ├── NSAddImage-leafname ├── Makefile ├── main.c └── zzz.c ├── NSAddressOfSymbol-NULL ├── Makefile └── main.c ├── absolute-symbol ├── Makefile ├── abs.s ├── foo.c └── main.c ├── addend ├── Makefile ├── foo.c └── main.c ├── all_image_infos-cache-slide ├── Makefile └── main.c ├── all_image_infos-duplicate ├── Makefile ├── foo.c └── main.c ├── all_image_infos-paths ├── Makefile ├── foo.c └── main.c ├── all_image_infos ├── Makefile ├── foo.c └── main.c ├── always-libSystem ├── Makefile └── main.c ├── big-jump-table ├── Makefile ├── foo.c ├── foo.h ├── funcs.c ├── main.c └── pointers.c ├── big-stack ├── Makefile └── main.c ├── branch-islands ├── Makefile ├── extra.c ├── main.c └── space.s ├── bundle-basic ├── Makefile ├── bundle.c └── main.c ├── bundle-dont-gc ├── Makefile ├── bar.c ├── foo.c └── main.c ├── bundle-memory-load-all-infos ├── Makefile ├── bundle.c └── main.c ├── bundle-memory-load-bad ├── Makefile ├── bundle.c └── main.c ├── bundle-memory-load-fat ├── Makefile ├── bundle.c └── main.c ├── bundle-memory-load-malloc ├── Makefile ├── bundle.c └── main.c ├── bundle-memory-load ├── Makefile ├── bundle.c └── main.c ├── bundle-multi-link ├── Makefile ├── bundle.c └── main.c ├── bundle-multi-load ├── Makefile ├── bundle.c └── main.c ├── bundle-name-ownership ├── Makefile ├── bundle.c └── main.c ├── bundle-private ├── Makefile ├── bundle.c └── main.c ├── bundle-reload ├── Makefile ├── bundle.cxx └── main.c ├── bundle-terminator ├── Makefile ├── bundle.cxx └── main.c ├── bundle-unlinkable ├── Makefile ├── bundle.c ├── lib.c └── main.c ├── bundle-unload-keep-mapped ├── Makefile ├── bundle.c └── main.c ├── bundle-v-dylib ├── Makefile ├── bar.c ├── foo.c └── main.c ├── bundle-weak ├── Makefile ├── bundle.cxx └── main.c ├── concurrent-dlopen-initializers ├── Makefile ├── foo.c └── main.c ├── coreSymbolication-notify ├── Makefile ├── bar.c ├── foo.c └── main.c ├── crt-apple ├── Makefile └── main.c ├── crt-argv-NULL ├── Makefile └── main.c ├── crt-custom ├── Makefile ├── main.c └── mystart.s ├── crt-libSystem ├── Makefile └── main.c ├── crt-result ├── Makefile ├── bad.c └── good.c ├── cxa_finalize ├── Makefile ├── foo.cxx └── main.c ├── deadlock ├── Makefile ├── bar.c ├── foo.c └── main.c ├── dladdr-stripped ├── Makefile └── main.c ├── dladdr ├── Makefile └── main.c ├── dlclose-basic ├── Makefile ├── foo.c └── main.c ├── dlclose-bundle-unload ├── Makefile ├── foo.c └── main.c ├── dlclose-dylib-dynamic-ref ├── Makefile ├── bar.c ├── baz.c ├── foo.c └── main.c ├── dlclose-dylib-ref-count ├── Makefile ├── bar.c ├── base.c ├── foo.c └── main.c ├── dlclose-dylib-terminators ├── Makefile ├── bar.cpp ├── baz.c ├── foo.cpp └── main.c ├── dlclose-dylib-unload ├── Makefile ├── bar.c ├── foo.c └── main.c ├── dlclose-order ├── Makefile ├── bar.cxx ├── base.c ├── base.h ├── baz.cxx ├── foo.c └── main.c ├── dlclose-terminator-dlclose ├── Makefile ├── bar.c ├── foo.c └── main.c ├── dlclose-unload-c++ ├── Makefile ├── bar.c ├── foo.c └── main.c ├── dlclose-unmap ├── Makefile ├── foo.c └── main.c ├── dlerror-clear ├── Makefile └── main.c ├── dlerror ├── Makefile └── main.c ├── dlopen-DYLD_FALLBACK_LIBRARY_PATH ├── Makefile ├── foo.c └── main.c ├── dlopen-DYLD_LIBRARY_PATH ├── Makefile ├── foo.c └── main.c ├── dlopen-LD_LIBRARY_PATH ├── Makefile ├── foo.c └── main.c ├── dlopen-NULL-RTLD_FIRST ├── Makefile ├── foo.c └── main.c ├── dlopen-RTLD_FIRST ├── Makefile ├── bar.c ├── base.c ├── foo.c └── main.c ├── dlopen-RTLD_GLOBAL ├── Makefile ├── bar.c ├── foo.c └── main.c ├── dlopen-RTLD_LOCAL-ignore ├── Makefile ├── bar.c ├── foo.c └── main.c ├── dlopen-RTLD_LOCAL-weak ├── Makefile ├── bar.c ├── foo.c └── main.c ├── dlopen-RTLD_LOCAL ├── Makefile ├── bar.c ├── foo.c └── main.c ├── dlopen-RTLD_NODELETE ├── Makefile ├── foo.c └── main.c ├── dlopen-RTLD_NOLOAD-fallback ├── Makefile ├── foo.c └── main.c ├── dlopen-RTLD_NOLOAD-in-initializer ├── Makefile ├── bar.c ├── base.c ├── baz.c ├── foo.c └── main.c ├── dlopen-RTLD_NOLOAD-symlink ├── Makefile ├── bar.c ├── foo.c └── main.c ├── dlopen-RTLD_NOLOAD ├── Makefile ├── foo.c └── main.c ├── dlopen-RTLD_NOW ├── Makefile ├── bundle.c ├── foo.c └── main.c ├── dlopen-basic ├── Makefile ├── foo.c └── main.c ├── dlopen-codesign-dynamic ├── Makefile ├── foo.c └── main.c ├── dlopen-codesign ├── Makefile ├── foo.c └── main.c ├── dlopen-dyld-locking ├── Makefile ├── bar.c ├── base.c ├── base.h ├── foo.c └── main.c ├── dlopen-error ├── Makefile ├── foo.c └── main.c ├── dlopen-executable ├── Makefile ├── foo.c └── main.c ├── dlopen-from-anonymous-code ├── Makefile ├── foo.c └── main.c ├── dlopen-in-initializer ├── Makefile ├── foo.c └── main.c ├── dlopen-init-dlopen-notify ├── Makefile ├── bar.c ├── foo.c ├── foo1.c ├── foo2.c └── main.cxx ├── dlopen-init-dlopen-up ├── Makefile ├── bar.c ├── foo.c └── main.c ├── dlopen-init-dlopen ├── Makefile ├── bar.c ├── foo.c └── main.c ├── dlopen-init-up ├── Makefile ├── bar.c ├── foo.c └── main.c ├── dlopen-initializer ├── Makefile ├── bar.c ├── foo.c └── main.c ├── dlopen-leak-threaded ├── Makefile └── main.c ├── dlopen-leak ├── Makefile ├── bar.c ├── foo.c └── main.c ├── dlopen-local-and-global ├── Makefile ├── bar.c ├── foo.c └── main.c ├── dlopen-multi ├── Makefile ├── foo.c └── main.c ├── dlopen-non-canonical-path ├── Makefile └── main.c ├── dlopen-notify-bind ├── Makefile ├── foo.c └── main.c ├── dlopen-sandbox ├── Makefile ├── base.sb ├── foo.c └── main.c ├── dlopen-search-leak ├── Makefile ├── foo.c └── main.c ├── dlopen-zero ├── Makefile └── main.c ├── dlopen_preflight-basic ├── Makefile ├── bar.c ├── foo.c └── main.c ├── dlopen_preflight-cycle ├── Makefile ├── bar.c ├── baz.c ├── foo.c └── main.c ├── dlopen_preflight-leak-image-deny-single ├── Makefile ├── foo.c └── main.c ├── dlopen_preflight-leak ├── Makefile ├── bar.c ├── foo.c └── main.c ├── dlsym-RTLD_DEFAULT ├── Makefile ├── foo.c └── main.c ├── dlsym-RTLD_MAIN_ONLY ├── Makefile ├── foo.c └── main.c ├── dlsym-RTLD_NEXT-missing ├── Makefile ├── foo1.c ├── foo2.c ├── foo3.c └── main.c ├── dlsym-RTLD_NEXT ├── Makefile ├── foo.c ├── main.c └── test.c ├── dlsym-RTLD_SELF ├── Makefile ├── foo.c ├── main.c └── test.c ├── dlsym-error ├── Makefile └── main.c ├── dlsym-indirect ├── Makefile ├── foo.c ├── foo1.c ├── foo2.c ├── foo3.c └── main.c ├── dtrace-static-probes ├── Makefile ├── foo.d └── main.c ├── dyld-func-lookup ├── Makefile ├── foo.c └── main.c ├── dyld-launched-prebound ├── Makefile └── main.c ├── dyld_is_memory_immutable ├── Makefile ├── bar.c ├── foo.c └── main.c ├── dyld_shared_cache_iterate_text-strings ├── dyld_shared_cache_iterate_text ├── Makefile └── main.c ├── dynamic_cast-basic ├── Makefile ├── foo.cxx ├── foo.h ├── main.cxx └── realmain.cxx ├── env-DYLD_FALLBACK_LIBRARY_PATH ├── Makefile ├── compress.c └── main.c ├── executable-image-index ├── Makefile ├── foo.c └── main.c ├── fallback-non-unique-leaf-names ├── Makefile ├── bar.c ├── foo.c └── main.c ├── fallback-with-suid ├── Makefile ├── foo.c └── main.c ├── flat-data ├── Makefile ├── bar.c ├── getbar.c └── main.c ├── flat-insert ├── Makefile ├── foo.c └── main.c ├── flat-prebound ├── Makefile ├── bar.c ├── foo.c └── main.c ├── flat-private-extern ├── Makefile ├── bar.c ├── foo.c └── main.c ├── framework-DYLD_LIBRARY_PATH ├── Makefile ├── foo.c └── main.c ├── framework-fallback ├── Makefile └── main.c ├── ignore-bad-files ├── Makefile ├── foo.c └── main.c ├── image-count ├── Makefile ├── foo.c └── main.c ├── image-remove-crash ├── Makefile ├── foo.c └── main.c ├── image-remove-notification ├── Makefile ├── foo.c └── main.c ├── image-slide ├── Makefile ├── foo.c └── main.c ├── image-state-change ├── Makefile ├── bar.c ├── foo.c └── main.c ├── image-state-deny-OFI ├── Makefile ├── bar.c ├── foo.c └── main.c ├── image-state-deny-all_image_infos ├── Makefile ├── bar.c └── main.c ├── image-state-deny-cache-leak ├── Makefile ├── bar.c ├── foo.c └── main.c ├── image-state-deny-dlclose ├── Makefile ├── base.c ├── foo.c └── main.c ├── image-state-deny-leak ├── Makefile ├── bar.c ├── foo.c └── main.c ├── image-state-deny ├── Makefile ├── bar.c ├── foo.c └── main.c ├── image-state-dependents-initialized ├── Makefile ├── bar.c ├── foo.c └── main.c ├── image-suffix ├── Makefile ├── foo.c └── main.c ├── image_header_containing_address ├── Makefile ├── foo.c └── main.c ├── image_path_containing_address ├── Makefile ├── foo.c └── main.c ├── init-libSystem-first ├── Makefile ├── foo.c └── main.c ├── init-order ├── Makefile ├── base.c ├── base.h ├── foo1.c ├── foo2.c ├── foo3.c └── main.c ├── initializer-args ├── Makefile └── main.c ├── initializer-bounds-check ├── Makefile ├── bar.c ├── foo1.c ├── foo2.c └── main.c ├── insert-libraries-weak-symbols ├── Makefile ├── insert.c └── main.c ├── insert-libraries-with-initializer ├── Makefile ├── base.c ├── base.h ├── foo1.c ├── foo2.c ├── insert.c └── main.c ├── insert-libraries-with-suid ├── Makefile └── main.c ├── interpose-basic-prebound ├── Makefile ├── foo.c ├── main.c └── mystrdup.c ├── interpose-basic ├── Makefile ├── main.c ├── mystrdup.c └── wrap.c ├── interpose-chained ├── Makefile ├── foo.c ├── foo.h ├── foo1.c ├── foo2.c ├── foo3.c └── main.c ├── interpose-dlsym ├── Makefile ├── main.c └── myfree.c ├── interpose-dynamic-basic ├── Makefile └── main.c ├── interpose-dynamic-dlsym ├── Makefile ├── foo.c └── main.c ├── interpose-dynamic-lazy ├── Makefile ├── foo.c └── main.c ├── interpose-multiple ├── Makefile ├── base.c ├── base.h ├── foo1.c ├── foo2.c └── main.c ├── interpose-not-inserted ├── Makefile ├── main.c ├── mystrdup.c └── wrap.c ├── interpose-shared-cache ├── Makefile ├── main.c └── mymalloc.c ├── jump-table-dynamic-lookup ├── Makefile ├── foo.c ├── foo.h └── main.c ├── jump-table-race ├── Makefile ├── foo.c ├── foo.h └── main.c ├── lazy-binding-reg-params ├── Makefile ├── foo.c ├── foo.h └── main.c ├── lazy-dylib-init-order ├── Makefile ├── expected.out ├── foo.c └── main.c ├── lazy-dylib-missing-dylib ├── Makefile ├── foo.c └── main.c ├── lazy-dylib-missing-symbol ├── Makefile ├── foo.c └── main.c ├── lazy-pointer-binding ├── Makefile ├── foo.c └── main.c ├── lib-name-overload ├── Makefile ├── foo.c ├── foo2.c └── main.c ├── loader_path-dup ├── Makefile ├── bar.c ├── base.c ├── foo.c └── main.c ├── loader_path-symlink ├── Makefile ├── bar.c ├── foo.c └── main.c ├── loader_path ├── Makefile ├── bar.c ├── foo.c └── main.c ├── missing-symlink-framework-fallback-path ├── Foo.c ├── Makefile └── main.c ├── non-lazy-slide ├── Makefile ├── bar.c ├── foo.c └── main.c ├── non-lazy-weak ├── Makefile ├── bar.c ├── foo.c └── main.c ├── non-weak-library ├── Makefile ├── foo.c └── main.c ├── operator-new-dylib ├── Makefile ├── foo.cxx └── main.cxx ├── operator-new ├── Makefile └── main.cxx ├── partial-library-load ├── Makefile ├── bar.c ├── bundle.c ├── foo.c └── main.c ├── pie-basic ├── Makefile └── main.c ├── pie-big ├── Makefile └── main.c ├── pie-custom-stack ├── Makefile └── main.c ├── pie-dylib ├── Makefile ├── foo.c └── main.c ├── pie-text-reloc ├── Makefile └── main.c ├── prebased-performance ├── Makefile ├── foo.c └── main.c ├── progname ├── Makefile └── main.c ├── pthread-keys ├── Makefile └── main.c ├── re-export-dylib ├── Makefile ├── bar.c ├── foo.c └── main.c ├── re-export-framework ├── Makefile ├── bar.c ├── foo.c └── main.c ├── re-export-sub-framework ├── Makefile ├── bar.c ├── foo.c └── main.c ├── re-export-symbol-dylib ├── Makefile ├── bar.c ├── baz.c ├── baz.exp ├── foo.c ├── foo.exp ├── frob.c └── main.c ├── re-export-symbol ├── Makefile ├── bar.c ├── foo.c ├── foo.exp ├── foo2.exp ├── main1.c └── main2.c ├── read-only-import-shared-cache-coalesce ├── Makefile ├── foo.cxx └── main.c ├── read-only-import-shared-cache-dlopen-override ├── Makefile ├── main.c └── mymalloc.c ├── read-only-stubs ├── Makefile ├── bar.c ├── foo.c └── main.c ├── restrict-environ ├── Makefile └── main.c ├── restrict-executable_path ├── Makefile ├── foo.c └── main.c ├── rpath-DYLD_FALLBACK_LIBRARY_PATH ├── Makefile ├── foo.c └── main.c ├── rpath-DYLD_LIBRARY_PATH ├── Makefile ├── foo.c └── main.c ├── rpath-DYLD_ROOT_PATH ├── Makefile ├── foo.c └── main.c ├── rpath-LD_LIBRARY_PATH ├── Makefile ├── foo.c └── main.c ├── rpath-basic ├── Makefile ├── bar.c ├── foo.c └── main.c ├── rpath-dlopen-in-dylib ├── Makefile ├── bar.c ├── foo.c └── main.c ├── rpath-dlopen-indirect ├── Makefile ├── bar.c ├── foo.c └── main.c ├── rpath-dlopen-leak ├── Makefile ├── foo.c └── main.c ├── rpath-dlopen-rm-executable ├── Makefile ├── foo.c └── main.c ├── rpath-dlopen ├── Makefile ├── foo.c └── main.c ├── rpath-executable_path ├── Makefile ├── bar.c ├── foo.c └── main.c ├── rpath-indirect-suid ├── Makefile ├── bar.c ├── foo.c └── main.c ├── rpath-install-name ├── Makefile ├── bar.c ├── main.c └── stuff.c ├── rpath-introspection ├── Makefile ├── foo.c └── main.c ├── rpath-loader_path-dlopen ├── Makefile ├── bar.c ├── baz.c ├── foo.c └── main.c ├── rpath-loader_path ├── Makefile ├── foo.c └── main.c ├── rpath-nesting ├── Makefile ├── bar.c ├── baz.c ├── foo.c └── main.c ├── rpath-no-trailing-slash ├── Makefile ├── foo.c └── main.c ├── shared-cache-symlink ├── Makefile └── main.c ├── shared-region-overlap ├── Makefile └── main.c ├── suid-environ ├── Makefile └── main.c ├── suid-executable_path ├── Makefile ├── foo.c └── main.c ├── sym-link-load ├── Makefile ├── base.c ├── base.h ├── link.c ├── main.c └── test.c ├── symbol-resolver-basic ├── Makefile ├── foo.c ├── foo2.c └── main.c ├── symbol-resolver-interposed ├── Makefile ├── foo.c ├── foo.h ├── main.c └── myfoo.c ├── symbol-resolver-lazy-prebound ├── Makefile ├── bar.c ├── bar.o ├── foo.c └── main.c ├── symbol-resolver-pointer ├── Makefile ├── foo.c └── main.c ├── template ├── Makefile └── main.c ├── terminator-bounds-check ├── Makefile └── main.c ├── text-perm-alt-segment ├── Makefile ├── foo.c └── main.c ├── text-relocs-perms ├── Makefile ├── foo.c └── main.c ├── text-relocs ├── Makefile ├── bar.c ├── bind.c ├── main.c └── space.s ├── threaded-flat-lookup ├── Makefile ├── client.c ├── foo.c └── main.c ├── threaded-lazy-bind ├── Makefile ├── foo.c ├── gen.c └── main.c ├── tlv-basic ├── Makefile └── main.c ├── tlv-dylib ├── Makefile ├── foo.c └── main.c ├── tlv-initializer ├── Makefile ├── get.s └── main.c ├── tlv-terminators ├── Makefile ├── init.s └── main.c ├── trie-symbol-overrun ├── Makefile ├── foo.c └── main.c ├── unloadable-library-residue ├── Makefile ├── bar.c ├── foo.c └── main.c ├── upward-dylib-init-order ├── Makefile ├── b.c ├── c.c ├── common.c ├── common.h ├── main.c ├── u.c └── u2.c ├── upward-dylib ├── Makefile ├── down.c ├── down.h ├── main.c ├── main2.c ├── up.c └── up.h ├── weak-coalesce-c++ ├── Makefile ├── a.h ├── a1.cc ├── a2.cc └── main.cc ├── weak-coalesce-inserted ├── Makefile ├── base.c ├── base.h ├── foo1.c ├── foo2.c └── main.c ├── weak-coalesce-stubs ├── Makefile ├── bar.c ├── foo.c └── main.c ├── weak-coalesce ├── Makefile ├── base.c ├── base.h ├── foo1.c ├── foo2.c ├── foo3.c └── main.c ├── weak-external-reloc-flat ├── Makefile ├── bar.c ├── baz.c ├── foo.c └── main.c ├── weak-external-reloc ├── Makefile ├── bar.c ├── baz.c ├── foo.c ├── main.c └── realmain.c ├── weak-in-dylib ├── Makefile ├── foo.c └── main.c ├── weak-lazy-slidable ├── Makefile ├── bar.c ├── bar3.c ├── foo.c ├── main.c └── other.c ├── weak-library ├── Makefile ├── foo.c ├── foo.h └── main.c ├── weak-non-lazy ├── Makefile ├── bar.c ├── baz.c ├── foo.c ├── main.c └── realmain.c ├── weak-override ├── Makefile ├── foo.c └── main.c ├── weak-symbol-flat ├── Makefile ├── foo.c ├── foo.h └── main.c ├── weak-symbol ├── Makefile ├── foo.c ├── foo.h └── main.c ├── weak_import ├── Makefile ├── foo.c ├── foo.h └── main.c ├── zero-fill-segment ├── Makefile ├── foo.c ├── main.c └── zero.s └── zero-length-segment ├── Makefile ├── foo.c └── main.c /.clang-format: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/.clang-format -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/.gitignore -------------------------------------------------------------------------------- /APPLE_LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/APPLE_LICENSE -------------------------------------------------------------------------------- /IMPCaches.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/IMPCaches.md -------------------------------------------------------------------------------- /bin/set-alt-dyld: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/bin/set-alt-dyld -------------------------------------------------------------------------------- /chroot_util.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/chroot_util.cpp -------------------------------------------------------------------------------- /configs/base.xcconfig: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /configs/closured.xcconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/configs/closured.xcconfig -------------------------------------------------------------------------------- /configs/dyld.xcconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/configs/dyld.xcconfig -------------------------------------------------------------------------------- /configs/libdyld.xcconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/configs/libdyld.xcconfig -------------------------------------------------------------------------------- /configs/update_dyld_shared_cache.xcconfig: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /configs/update_dyld_sim_shared_cache.xcconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/configs/update_dyld_sim_shared_cache.xcconfig -------------------------------------------------------------------------------- /doc/ReleaseNotes.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/doc/ReleaseNotes.txt -------------------------------------------------------------------------------- /doc/man/man1/dyld.1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/doc/man/man1/dyld.1 -------------------------------------------------------------------------------- /doc/man/man1/dyld_usage.1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/doc/man/man1/dyld_usage.1 -------------------------------------------------------------------------------- /doc/man/man3/dladdr.3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/doc/man/man3/dladdr.3 -------------------------------------------------------------------------------- /doc/man/man3/dlclose.3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/doc/man/man3/dlclose.3 -------------------------------------------------------------------------------- /doc/man/man3/dlerror.3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/doc/man/man3/dlerror.3 -------------------------------------------------------------------------------- /doc/man/man3/dlopen.3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/doc/man/man3/dlopen.3 -------------------------------------------------------------------------------- /doc/man/man3/dlopen_preflight.3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/doc/man/man3/dlopen_preflight.3 -------------------------------------------------------------------------------- /doc/man/man3/dlsym.3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/doc/man/man3/dlsym.3 -------------------------------------------------------------------------------- /doc/man/man3/dyld.3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/doc/man/man3/dyld.3 -------------------------------------------------------------------------------- /doc/rst/conf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/doc/rst/conf.py -------------------------------------------------------------------------------- /doc/rst/dyld_usage.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/doc/rst/dyld_usage.rst -------------------------------------------------------------------------------- /doc/rst/index.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/doc/rst/index.rst -------------------------------------------------------------------------------- /doc/tracing/dyld.codes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/doc/tracing/dyld.codes -------------------------------------------------------------------------------- /doc/tracing/dyld.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/doc/tracing/dyld.plist -------------------------------------------------------------------------------- /dyld.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/dyld.xcodeproj/project.pbxproj -------------------------------------------------------------------------------- /dyld3/APIs.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/dyld3/APIs.cpp -------------------------------------------------------------------------------- /dyld3/APIs.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/dyld3/APIs.h -------------------------------------------------------------------------------- /dyld3/APIs_macOS.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/dyld3/APIs_macOS.cpp -------------------------------------------------------------------------------- /dyld3/AllImages.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/dyld3/AllImages.cpp -------------------------------------------------------------------------------- /dyld3/AllImages.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/dyld3/AllImages.h -------------------------------------------------------------------------------- /dyld3/Array.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/dyld3/Array.h -------------------------------------------------------------------------------- /dyld3/BootArgs.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/dyld3/BootArgs.cpp -------------------------------------------------------------------------------- /dyld3/BootArgs.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/dyld3/BootArgs.h -------------------------------------------------------------------------------- /dyld3/Closure.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/dyld3/Closure.cpp -------------------------------------------------------------------------------- /dyld3/Closure.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/dyld3/Closure.h -------------------------------------------------------------------------------- /dyld3/ClosureBuilder.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/dyld3/ClosureBuilder.cpp -------------------------------------------------------------------------------- /dyld3/ClosureBuilder.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/dyld3/ClosureBuilder.h -------------------------------------------------------------------------------- /dyld3/ClosureFileSystem.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/dyld3/ClosureFileSystem.h -------------------------------------------------------------------------------- /dyld3/ClosureFileSystemNull.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/dyld3/ClosureFileSystemNull.cpp -------------------------------------------------------------------------------- /dyld3/ClosureFileSystemNull.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/dyld3/ClosureFileSystemNull.h -------------------------------------------------------------------------------- /dyld3/ClosureFileSystemPhysical.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/dyld3/ClosureFileSystemPhysical.cpp -------------------------------------------------------------------------------- /dyld3/ClosureFileSystemPhysical.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/dyld3/ClosureFileSystemPhysical.h -------------------------------------------------------------------------------- /dyld3/ClosurePrinter.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/dyld3/ClosurePrinter.cpp -------------------------------------------------------------------------------- /dyld3/ClosurePrinter.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/dyld3/ClosurePrinter.h -------------------------------------------------------------------------------- /dyld3/ClosureWriter.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/dyld3/ClosureWriter.cpp -------------------------------------------------------------------------------- /dyld3/ClosureWriter.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/dyld3/ClosureWriter.h -------------------------------------------------------------------------------- /dyld3/CodeSigningTypes.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/dyld3/CodeSigningTypes.h -------------------------------------------------------------------------------- /dyld3/Defines.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/dyld3/Defines.h -------------------------------------------------------------------------------- /dyld3/Diagnostics.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/dyld3/Diagnostics.cpp -------------------------------------------------------------------------------- /dyld3/Diagnostics.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/dyld3/Diagnostics.h -------------------------------------------------------------------------------- /dyld3/JSON.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/dyld3/JSON.h -------------------------------------------------------------------------------- /dyld3/JSONReader.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/dyld3/JSONReader.h -------------------------------------------------------------------------------- /dyld3/JSONReader.mm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/dyld3/JSONReader.mm -------------------------------------------------------------------------------- /dyld3/JSONWriter.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/dyld3/JSONWriter.h -------------------------------------------------------------------------------- /dyld3/Loading.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/dyld3/Loading.cpp -------------------------------------------------------------------------------- /dyld3/Loading.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/dyld3/Loading.h -------------------------------------------------------------------------------- /dyld3/Logging.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/dyld3/Logging.cpp -------------------------------------------------------------------------------- /dyld3/Logging.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/dyld3/Logging.h -------------------------------------------------------------------------------- /dyld3/MachOAnalyzer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/dyld3/MachOAnalyzer.cpp -------------------------------------------------------------------------------- /dyld3/MachOAnalyzer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/dyld3/MachOAnalyzer.h -------------------------------------------------------------------------------- /dyld3/MachOAnalyzerSet.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/dyld3/MachOAnalyzerSet.cpp -------------------------------------------------------------------------------- /dyld3/MachOAnalyzerSet.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/dyld3/MachOAnalyzerSet.h -------------------------------------------------------------------------------- /dyld3/MachOAppCache.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/dyld3/MachOAppCache.cpp -------------------------------------------------------------------------------- /dyld3/MachOAppCache.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/dyld3/MachOAppCache.h -------------------------------------------------------------------------------- /dyld3/MachOFile.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/dyld3/MachOFile.cpp -------------------------------------------------------------------------------- /dyld3/MachOFile.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/dyld3/MachOFile.h -------------------------------------------------------------------------------- /dyld3/MachOLoaded.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/dyld3/MachOLoaded.cpp -------------------------------------------------------------------------------- /dyld3/MachOLoaded.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/dyld3/MachOLoaded.h -------------------------------------------------------------------------------- /dyld3/Map.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/dyld3/Map.h -------------------------------------------------------------------------------- /dyld3/PathOverrides.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/dyld3/PathOverrides.cpp -------------------------------------------------------------------------------- /dyld3/PathOverrides.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/dyld3/PathOverrides.h -------------------------------------------------------------------------------- /dyld3/PointerAuth.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/dyld3/PointerAuth.h -------------------------------------------------------------------------------- /dyld3/RootsChecker.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/dyld3/RootsChecker.cpp -------------------------------------------------------------------------------- /dyld3/RootsChecker.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/dyld3/RootsChecker.h -------------------------------------------------------------------------------- /dyld3/SharedCacheRuntime.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/dyld3/SharedCacheRuntime.cpp -------------------------------------------------------------------------------- /dyld3/SharedCacheRuntime.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/dyld3/SharedCacheRuntime.h -------------------------------------------------------------------------------- /dyld3/StartGlue.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/dyld3/StartGlue.h -------------------------------------------------------------------------------- /dyld3/SupportedArchs.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/dyld3/SupportedArchs.h -------------------------------------------------------------------------------- /dyld3/Tracing.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/dyld3/Tracing.cpp -------------------------------------------------------------------------------- /dyld3/Tracing.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/dyld3/Tracing.h -------------------------------------------------------------------------------- /dyld3/dyld_app_cache_util.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/dyld3/dyld_app_cache_util.cpp -------------------------------------------------------------------------------- /dyld3/libdyldEntryVector.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/dyld3/libdyldEntryVector.cpp -------------------------------------------------------------------------------- /dyld3/libdyldEntryVector.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/dyld3/libdyldEntryVector.h -------------------------------------------------------------------------------- /dyld3/shared-cache/AdjustDylibSegments.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/dyld3/shared-cache/AdjustDylibSegments.cpp -------------------------------------------------------------------------------- /dyld3/shared-cache/AppCacheBuilder.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/dyld3/shared-cache/AppCacheBuilder.cpp -------------------------------------------------------------------------------- /dyld3/shared-cache/AppCacheBuilder.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/dyld3/shared-cache/AppCacheBuilder.h -------------------------------------------------------------------------------- /dyld3/shared-cache/Architectures.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/dyld3/shared-cache/Architectures.hpp -------------------------------------------------------------------------------- /dyld3/shared-cache/CacheBuilder.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/dyld3/shared-cache/CacheBuilder.cpp -------------------------------------------------------------------------------- /dyld3/shared-cache/CacheBuilder.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/dyld3/shared-cache/CacheBuilder.h -------------------------------------------------------------------------------- /dyld3/shared-cache/DyldSharedCache.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/dyld3/shared-cache/DyldSharedCache.cpp -------------------------------------------------------------------------------- /dyld3/shared-cache/DyldSharedCache.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/dyld3/shared-cache/DyldSharedCache.h -------------------------------------------------------------------------------- /dyld3/shared-cache/FileAbstraction.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/dyld3/shared-cache/FileAbstraction.hpp -------------------------------------------------------------------------------- /dyld3/shared-cache/FileUtils.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/dyld3/shared-cache/FileUtils.cpp -------------------------------------------------------------------------------- /dyld3/shared-cache/FileUtils.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/dyld3/shared-cache/FileUtils.h -------------------------------------------------------------------------------- /dyld3/shared-cache/IMPCaches.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/dyld3/shared-cache/IMPCaches.cpp -------------------------------------------------------------------------------- /dyld3/shared-cache/IMPCaches.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/dyld3/shared-cache/IMPCaches.hpp -------------------------------------------------------------------------------- /dyld3/shared-cache/IMPCachesBuilder.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/dyld3/shared-cache/IMPCachesBuilder.hpp -------------------------------------------------------------------------------- /dyld3/shared-cache/MachOFileAbstraction.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/dyld3/shared-cache/MachOFileAbstraction.hpp -------------------------------------------------------------------------------- /dyld3/shared-cache/ObjC1Abstraction.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/dyld3/shared-cache/ObjC1Abstraction.hpp -------------------------------------------------------------------------------- /dyld3/shared-cache/ObjC2Abstraction.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/dyld3/shared-cache/ObjC2Abstraction.hpp -------------------------------------------------------------------------------- /dyld3/shared-cache/OptimizerBranches.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/dyld3/shared-cache/OptimizerBranches.cpp -------------------------------------------------------------------------------- /dyld3/shared-cache/OptimizerLinkedit.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/dyld3/shared-cache/OptimizerLinkedit.cpp -------------------------------------------------------------------------------- /dyld3/shared-cache/OptimizerObjC.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/dyld3/shared-cache/OptimizerObjC.cpp -------------------------------------------------------------------------------- /dyld3/shared-cache/SharedCacheBuilder.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/dyld3/shared-cache/SharedCacheBuilder.cpp -------------------------------------------------------------------------------- /dyld3/shared-cache/SharedCacheBuilder.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/dyld3/shared-cache/SharedCacheBuilder.h -------------------------------------------------------------------------------- /dyld3/shared-cache/StringUtils.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/dyld3/shared-cache/StringUtils.h -------------------------------------------------------------------------------- /dyld3/shared-cache/Trie.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/dyld3/shared-cache/Trie.hpp -------------------------------------------------------------------------------- /dyld3/shared-cache/dsc_extractor.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/dyld3/shared-cache/dsc_extractor.cpp -------------------------------------------------------------------------------- /dyld3/shared-cache/dsc_extractor.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/dyld3/shared-cache/dsc_extractor.h -------------------------------------------------------------------------------- /dyld3/shared-cache/dsc_iterator.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/dyld3/shared-cache/dsc_iterator.cpp -------------------------------------------------------------------------------- /dyld3/shared-cache/dsc_iterator.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/dyld3/shared-cache/dsc_iterator.h -------------------------------------------------------------------------------- /dyld3/shared-cache/dyld_cache_format.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/dyld3/shared-cache/dyld_cache_format.h -------------------------------------------------------------------------------- /dyld3/shared-cache/dyld_closure_util.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/dyld3/shared-cache/dyld_closure_util.cpp -------------------------------------------------------------------------------- /dyld3/shared-cache/dyld_shared_cache_builder.mm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/dyld3/shared-cache/dyld_shared_cache_builder.mm -------------------------------------------------------------------------------- /dyld3/shared-cache/dyld_shared_cache_builder.mm-strings: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /dyld3/shared-cache/dyld_shared_cache_util.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/dyld3/shared-cache/dyld_shared_cache_util.cpp -------------------------------------------------------------------------------- /dyld3/shared-cache/dyld_shared_cache_util.cpp-strings: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /dyld3/shared-cache/dyldinfo.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/dyld3/shared-cache/dyldinfo.cpp -------------------------------------------------------------------------------- /dyld3/shared-cache/kernel_collection_builder.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/dyld3/shared-cache/kernel_collection_builder.cpp -------------------------------------------------------------------------------- /dyld3/shared-cache/kernel_collection_builder.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/dyld3/shared-cache/kernel_collection_builder.h -------------------------------------------------------------------------------- /dyld3/shared-cache/mrm_shared_cache_builder.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/dyld3/shared-cache/mrm_shared_cache_builder.cpp -------------------------------------------------------------------------------- /dyld3/shared-cache/mrm_shared_cache_builder.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/dyld3/shared-cache/mrm_shared_cache_builder.h -------------------------------------------------------------------------------- /dyld3/shared-cache/update_dyld_shared_cache.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/dyld3/shared-cache/update_dyld_shared_cache.cpp -------------------------------------------------------------------------------- /dyld_sim-entitlements.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/dyld_sim-entitlements.plist -------------------------------------------------------------------------------- /include/dlfcn.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/include/dlfcn.h -------------------------------------------------------------------------------- /include/dlfcn_private.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/include/dlfcn_private.h -------------------------------------------------------------------------------- /include/mach-o/dyld-interposing.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/include/mach-o/dyld-interposing.h -------------------------------------------------------------------------------- /include/mach-o/dyld.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/include/mach-o/dyld.h -------------------------------------------------------------------------------- /include/mach-o/dyld.modulemap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/include/mach-o/dyld.modulemap -------------------------------------------------------------------------------- /include/mach-o/dyld_images.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/include/mach-o/dyld_images.h -------------------------------------------------------------------------------- /include/mach-o/dyld_priv.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/include/mach-o/dyld_priv.h -------------------------------------------------------------------------------- /include/mach-o/dyld_process_info.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/include/mach-o/dyld_process_info.h -------------------------------------------------------------------------------- /include/mach-o/fixup-chains.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/include/mach-o/fixup-chains.h -------------------------------------------------------------------------------- /include/objc-shared-cache.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/include/objc-shared-cache.h -------------------------------------------------------------------------------- /local_test_runner/ContainerizedTestRunner.mm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/local_test_runner/ContainerizedTestRunner.mm -------------------------------------------------------------------------------- /local_test_runner/Info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/local_test_runner/Info.plist -------------------------------------------------------------------------------- /src/ImageLoader.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/src/ImageLoader.cpp -------------------------------------------------------------------------------- /src/ImageLoader.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/src/ImageLoader.h -------------------------------------------------------------------------------- /src/ImageLoaderMachO.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/src/ImageLoaderMachO.cpp -------------------------------------------------------------------------------- /src/ImageLoaderMachO.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/src/ImageLoaderMachO.h -------------------------------------------------------------------------------- /src/ImageLoaderMachOClassic.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/src/ImageLoaderMachOClassic.cpp -------------------------------------------------------------------------------- /src/ImageLoaderMachOClassic.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/src/ImageLoaderMachOClassic.h -------------------------------------------------------------------------------- /src/ImageLoaderMachOCompressed.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/src/ImageLoaderMachOCompressed.cpp -------------------------------------------------------------------------------- /src/ImageLoaderMachOCompressed.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/src/ImageLoaderMachOCompressed.h -------------------------------------------------------------------------------- /src/ImageLoaderMegaDylib.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/src/ImageLoaderMegaDylib.cpp -------------------------------------------------------------------------------- /src/ImageLoaderMegaDylib.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/src/ImageLoaderMegaDylib.h -------------------------------------------------------------------------------- /src/dyld.exp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/src/dyld.exp -------------------------------------------------------------------------------- /src/dyld.order: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/src/dyld.order -------------------------------------------------------------------------------- /src/dyld2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/src/dyld2.cpp -------------------------------------------------------------------------------- /src/dyld2.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/src/dyld2.h -------------------------------------------------------------------------------- /src/dyldAPIs.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/src/dyldAPIs.cpp -------------------------------------------------------------------------------- /src/dyldAPIsInLibSystem.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/src/dyldAPIsInLibSystem.cpp -------------------------------------------------------------------------------- /src/dyldExceptions.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/src/dyldExceptions.c -------------------------------------------------------------------------------- /src/dyldInitialization.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/src/dyldInitialization.cpp -------------------------------------------------------------------------------- /src/dyldLibSystemGlue.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/src/dyldLibSystemGlue.c -------------------------------------------------------------------------------- /src/dyldLibSystemInterface.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/src/dyldLibSystemInterface.h -------------------------------------------------------------------------------- /src/dyldLock.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/src/dyldLock.cpp -------------------------------------------------------------------------------- /src/dyldLock.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/src/dyldLock.h -------------------------------------------------------------------------------- /src/dyldNew.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/src/dyldNew.cpp -------------------------------------------------------------------------------- /src/dyldStartup.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/src/dyldStartup.s -------------------------------------------------------------------------------- /src/dyldSyscallInterface.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/src/dyldSyscallInterface.h -------------------------------------------------------------------------------- /src/dyld_debugger.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/src/dyld_debugger.cpp -------------------------------------------------------------------------------- /src/dyld_process_info.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/src/dyld_process_info.cpp -------------------------------------------------------------------------------- /src/dyld_process_info_internal.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/src/dyld_process_info_internal.h -------------------------------------------------------------------------------- /src/dyld_process_info_notify.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/src/dyld_process_info_notify.cpp -------------------------------------------------------------------------------- /src/dyld_sim.exp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/src/dyld_sim.exp -------------------------------------------------------------------------------- /src/dyld_stub_binder.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/src/dyld_stub_binder.s -------------------------------------------------------------------------------- /src/dyld_usage.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/src/dyld_usage.cpp -------------------------------------------------------------------------------- /src/glue.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/src/glue.c -------------------------------------------------------------------------------- /src/libdyld_data_symbols.dirty: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/src/libdyld_data_symbols.dirty -------------------------------------------------------------------------------- /src/libdyld_sim.exp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/src/libdyld_sim.exp -------------------------------------------------------------------------------- /src/start_glue.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/src/start_glue.s -------------------------------------------------------------------------------- /src/stub_binding_helper.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/src/stub_binding_helper.s -------------------------------------------------------------------------------- /src/threadLocalHelpers.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/src/threadLocalHelpers.s -------------------------------------------------------------------------------- /src/threadLocalVariables.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/src/threadLocalVariables.c -------------------------------------------------------------------------------- /testing/README.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/README.txt -------------------------------------------------------------------------------- /testing/build_ninja.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/build_ninja.py -------------------------------------------------------------------------------- /testing/get_task_allow_entitlement.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/get_task_allow_entitlement.plist -------------------------------------------------------------------------------- /testing/include/test_support.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/include/test_support.h -------------------------------------------------------------------------------- /testing/kernel-cache-tests/KernelCollection.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/kernel-cache-tests/KernelCollection.py -------------------------------------------------------------------------------- /testing/kernel-cache-tests/auxkc-bind-to-pageablekc/foo.c: -------------------------------------------------------------------------------- 1 | 2 | int foo() { 3 | return 0; 4 | } 5 | -------------------------------------------------------------------------------- /testing/kernel-cache-tests/auxkc-bind-to-pageablekc/main.c: -------------------------------------------------------------------------------- 1 | 2 | int _start() { 3 | return 0; 4 | } -------------------------------------------------------------------------------- /testing/kernel-cache-tests/auxkc-branch-fixups/foo.c: -------------------------------------------------------------------------------- 1 | 2 | int foo() { 3 | return 0; 4 | } 5 | -------------------------------------------------------------------------------- /testing/kernel-cache-tests/auxkc-branch-fixups/main.c: -------------------------------------------------------------------------------- 1 | 2 | int _start() { 3 | return 0; 4 | } -------------------------------------------------------------------------------- /testing/kernel-cache-tests/auxkc-kext-bind-to-pageablekc-codeless-kext/bar.c: -------------------------------------------------------------------------------- 1 | 2 | int symbol_from_bar() { 3 | return 0; 4 | } 5 | -------------------------------------------------------------------------------- /testing/kernel-cache-tests/auxkc-no-split-seg/main.c: -------------------------------------------------------------------------------- 1 | 2 | __attribute__((section(("__HIB,__text")))) 3 | int _start() { 4 | return 0; 5 | } -------------------------------------------------------------------------------- /testing/kernel-cache-tests/auxkc-pageablekc-uuid/foo.c: -------------------------------------------------------------------------------- 1 | 2 | int foo() { 3 | return 0; 4 | } 5 | -------------------------------------------------------------------------------- /testing/kernel-cache-tests/auxkc-pageablekc-uuid/main.c: -------------------------------------------------------------------------------- 1 | 2 | int _start() { 3 | return 0; 4 | } -------------------------------------------------------------------------------- /testing/kernel-cache-tests/auxkc-uuid/bar.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/kernel-cache-tests/auxkc-uuid/bar.c -------------------------------------------------------------------------------- /testing/kernel-cache-tests/auxkc-uuid/foo.c: -------------------------------------------------------------------------------- 1 | 2 | int foo() { 3 | return 0; 4 | } 5 | -------------------------------------------------------------------------------- /testing/kernel-cache-tests/auxkc-uuid/main.c: -------------------------------------------------------------------------------- 1 | 2 | int _start() { 3 | return 0; 4 | } -------------------------------------------------------------------------------- /testing/kernel-cache-tests/auxkc-uuid/test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/kernel-cache-tests/auxkc-uuid/test.py -------------------------------------------------------------------------------- /testing/kernel-cache-tests/bundle-ids/bar.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/kernel-cache-tests/bundle-ids/bar.c -------------------------------------------------------------------------------- /testing/kernel-cache-tests/bundle-ids/foo.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/kernel-cache-tests/bundle-ids/foo.c -------------------------------------------------------------------------------- /testing/kernel-cache-tests/bundle-ids/main.c: -------------------------------------------------------------------------------- 1 | 2 | int _start() { 3 | return 0; 4 | } -------------------------------------------------------------------------------- /testing/kernel-cache-tests/bundle-ids/test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/kernel-cache-tests/bundle-ids/test.py -------------------------------------------------------------------------------- /testing/kernel-cache-tests/bundle-libraries-arch/foo.c: -------------------------------------------------------------------------------- 1 | 2 | int foo() { 3 | return 0; 4 | } 5 | -------------------------------------------------------------------------------- /testing/kernel-cache-tests/bundle-libraries-arch/main.c: -------------------------------------------------------------------------------- 1 | 2 | int _start() { 3 | return 0; 4 | } -------------------------------------------------------------------------------- /testing/kernel-cache-tests/codeless-kexts/main.cpp: -------------------------------------------------------------------------------- 1 | 2 | 3 | extern "C" int _start() { 4 | return 0; 5 | } -------------------------------------------------------------------------------- /testing/kernel-cache-tests/ctf-arm64e/bar.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/kernel-cache-tests/ctf-arm64e/bar.c -------------------------------------------------------------------------------- /testing/kernel-cache-tests/ctf-arm64e/ctf.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/kernel-cache-tests/ctf-arm64e/ctf.txt -------------------------------------------------------------------------------- /testing/kernel-cache-tests/ctf-arm64e/foo.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/kernel-cache-tests/ctf-arm64e/foo.c -------------------------------------------------------------------------------- /testing/kernel-cache-tests/ctf-arm64e/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/kernel-cache-tests/ctf-arm64e/main.cpp -------------------------------------------------------------------------------- /testing/kernel-cache-tests/ctf-arm64e/test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/kernel-cache-tests/ctf-arm64e/test.py -------------------------------------------------------------------------------- /testing/kernel-cache-tests/ctf-x86_64/bar.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/kernel-cache-tests/ctf-x86_64/bar.c -------------------------------------------------------------------------------- /testing/kernel-cache-tests/ctf-x86_64/ctf.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/kernel-cache-tests/ctf-x86_64/ctf.txt -------------------------------------------------------------------------------- /testing/kernel-cache-tests/ctf-x86_64/foo.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/kernel-cache-tests/ctf-x86_64/foo.c -------------------------------------------------------------------------------- /testing/kernel-cache-tests/ctf-x86_64/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/kernel-cache-tests/ctf-x86_64/main.cpp -------------------------------------------------------------------------------- /testing/kernel-cache-tests/ctf-x86_64/test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/kernel-cache-tests/ctf-x86_64/test.py -------------------------------------------------------------------------------- /testing/kernel-cache-tests/data-const/bar.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/kernel-cache-tests/data-const/bar.c -------------------------------------------------------------------------------- /testing/kernel-cache-tests/data-const/foo.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/kernel-cache-tests/data-const/foo.c -------------------------------------------------------------------------------- /testing/kernel-cache-tests/data-const/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/kernel-cache-tests/data-const/main.c -------------------------------------------------------------------------------- /testing/kernel-cache-tests/data-const/test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/kernel-cache-tests/data-const/test.py -------------------------------------------------------------------------------- /testing/kernel-cache-tests/empty-bundle-dir/main.c: -------------------------------------------------------------------------------- 1 | 2 | int _start() { 3 | return 0; 4 | } -------------------------------------------------------------------------------- /testing/kernel-cache-tests/fixups-arm64e/bar.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/kernel-cache-tests/fixups-arm64e/bar.c -------------------------------------------------------------------------------- /testing/kernel-cache-tests/fixups-arm64e/foo.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/kernel-cache-tests/fixups-arm64e/foo.c -------------------------------------------------------------------------------- /testing/kernel-cache-tests/fixups-arm64e/test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/kernel-cache-tests/fixups-arm64e/test.py -------------------------------------------------------------------------------- /testing/kernel-cache-tests/fixups-x86_64/bar.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/kernel-cache-tests/fixups-x86_64/bar.c -------------------------------------------------------------------------------- /testing/kernel-cache-tests/fixups-x86_64/foo.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/kernel-cache-tests/fixups-x86_64/foo.c -------------------------------------------------------------------------------- /testing/kernel-cache-tests/fixups-x86_64/test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/kernel-cache-tests/fixups-x86_64/test.py -------------------------------------------------------------------------------- /testing/kernel-cache-tests/hello-world-auxkc/foo.c: -------------------------------------------------------------------------------- 1 | 2 | int foo() { 3 | return 0; 4 | } 5 | -------------------------------------------------------------------------------- /testing/kernel-cache-tests/hello-world-auxkc/main.c: -------------------------------------------------------------------------------- 1 | 2 | int _start() { 3 | return 0; 4 | } -------------------------------------------------------------------------------- /testing/kernel-cache-tests/implicit-dependencies/foo.c: -------------------------------------------------------------------------------- 1 | 2 | int foo() { 3 | return 0; 4 | } 5 | -------------------------------------------------------------------------------- /testing/kernel-cache-tests/implicit-dependencies/main.c: -------------------------------------------------------------------------------- 1 | 2 | int _start() { 3 | return 0; 4 | } -------------------------------------------------------------------------------- /testing/kernel-cache-tests/kernel-uuid/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/kernel-cache-tests/kernel-uuid/main.c -------------------------------------------------------------------------------- /testing/kernel-cache-tests/kernel-uuid/test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/kernel-cache-tests/kernel-uuid/test.py -------------------------------------------------------------------------------- /testing/kernel-cache-tests/kext-bind-missing-dep/main.c: -------------------------------------------------------------------------------- 1 | 2 | int _start() { 3 | return 0; 4 | } -------------------------------------------------------------------------------- /testing/kernel-cache-tests/kext-bind-to-kext-arm64-chains/foo.c: -------------------------------------------------------------------------------- 1 | 2 | int foo() { 3 | return 0; 4 | } 5 | -------------------------------------------------------------------------------- /testing/kernel-cache-tests/kext-bind-to-kext-missing-symbol/main.c: -------------------------------------------------------------------------------- 1 | 2 | int _start() { 3 | return 0; 4 | } -------------------------------------------------------------------------------- /testing/kernel-cache-tests/kext-bind-to-kext-old-section-type/foo.c: -------------------------------------------------------------------------------- 1 | 2 | int foo; 3 | -------------------------------------------------------------------------------- /testing/kernel-cache-tests/kext-bind-to-kext-old-section-type/main.c: -------------------------------------------------------------------------------- 1 | 2 | int _start() { 3 | return 0; 4 | } -------------------------------------------------------------------------------- /testing/kernel-cache-tests/kext-bind-to-kext-symbol-set-error/foo.c: -------------------------------------------------------------------------------- 1 | 2 | int foo() { 3 | return 0; 4 | } 5 | -------------------------------------------------------------------------------- /testing/kernel-cache-tests/kext-bind-to-kext-symbol-set-error/main.c: -------------------------------------------------------------------------------- 1 | 2 | int _start() { 3 | return 0; 4 | } -------------------------------------------------------------------------------- /testing/kernel-cache-tests/kext-bind-to-kext-symbol-set/exports.txt: -------------------------------------------------------------------------------- 1 | _foo 2 | _missingFoo 3 | -------------------------------------------------------------------------------- /testing/kernel-cache-tests/kext-bind-to-kext-symbol-set/foo.c: -------------------------------------------------------------------------------- 1 | 2 | int foo() { 3 | return 0; 4 | } 5 | -------------------------------------------------------------------------------- /testing/kernel-cache-tests/kext-bind-to-kext-symbol-set/main.c: -------------------------------------------------------------------------------- 1 | 2 | int _start() { 3 | return 0; 4 | } -------------------------------------------------------------------------------- /testing/kernel-cache-tests/kext-bind-to-kext/foo.c: -------------------------------------------------------------------------------- 1 | 2 | int foo() { 3 | return 0; 4 | } 5 | -------------------------------------------------------------------------------- /testing/kernel-cache-tests/kext-bind-to-kext/main.c: -------------------------------------------------------------------------------- 1 | 2 | int _start() { 3 | return 0; 4 | } -------------------------------------------------------------------------------- /testing/kernel-cache-tests/kext-bind-to-kpi-private-symbol-set-error/main.c: -------------------------------------------------------------------------------- 1 | 2 | int _start() { 3 | return 0; 4 | } -------------------------------------------------------------------------------- /testing/kernel-cache-tests/kext-bind-to-kpi-private-symbol-set/exports.txt: -------------------------------------------------------------------------------- 1 | _foo 2 | _missingFoo 3 | -------------------------------------------------------------------------------- /testing/kernel-cache-tests/kext-receipts/large2.txt: -------------------------------------------------------------------------------- 1 | large data -------------------------------------------------------------------------------- /testing/kernel-cache-tests/kext-receipts/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/kernel-cache-tests/kext-receipts/main.c -------------------------------------------------------------------------------- /testing/kernel-cache-tests/kext-receipts/small.txt: -------------------------------------------------------------------------------- 1 | small data -------------------------------------------------------------------------------- /testing/kernel-cache-tests/kext-receipts/test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/kernel-cache-tests/kext-receipts/test.py -------------------------------------------------------------------------------- /testing/kernel-cache-tests/kext-relative-paths/foo.c: -------------------------------------------------------------------------------- 1 | 2 | int foo() { 3 | return 0; 4 | } 5 | -------------------------------------------------------------------------------- /testing/kernel-cache-tests/kext-relative-paths/main.c: -------------------------------------------------------------------------------- 1 | 2 | int _start() { 3 | return 0; 4 | } -------------------------------------------------------------------------------- /testing/kernel-cache-tests/kext-weak-bind-chained/main.c: -------------------------------------------------------------------------------- 1 | 2 | int _start() { 3 | return 0; 4 | } -------------------------------------------------------------------------------- /testing/kernel-cache-tests/kext-weak-bind/bar.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/kernel-cache-tests/kext-weak-bind/bar.c -------------------------------------------------------------------------------- /testing/kernel-cache-tests/kext-weak-bind/foo.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/kernel-cache-tests/kext-weak-bind/foo.c -------------------------------------------------------------------------------- /testing/kernel-cache-tests/kext-weak-bind/main.c: -------------------------------------------------------------------------------- 1 | 2 | int _start() { 3 | return 0; 4 | } -------------------------------------------------------------------------------- /testing/kernel-cache-tests/kexts-missing-split-seg-error/foo.c: -------------------------------------------------------------------------------- 1 | 2 | int foo() { 3 | return 0; 4 | } 5 | -------------------------------------------------------------------------------- /testing/kernel-cache-tests/kexts-missing-split-seg-error/main.c: -------------------------------------------------------------------------------- 1 | 2 | int _start() { 3 | return 0; 4 | } -------------------------------------------------------------------------------- /testing/kernel-cache-tests/kmod-info-errors/main.c: -------------------------------------------------------------------------------- 1 | 2 | __attribute__((section(("__HIB, __text")))) 3 | int _start() { 4 | return 0; 5 | } 6 | -------------------------------------------------------------------------------- /testing/kernel-cache-tests/kmod-info-local-symbols/main.c: -------------------------------------------------------------------------------- 1 | 2 | __attribute__((section(("__HIB, __text")))) 3 | int _start() { 4 | return 0; 5 | } 6 | -------------------------------------------------------------------------------- /testing/kernel-cache-tests/kmod-info/bar.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/kernel-cache-tests/kmod-info/bar.c -------------------------------------------------------------------------------- /testing/kernel-cache-tests/kmod-info/foo.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/kernel-cache-tests/kmod-info/foo.c -------------------------------------------------------------------------------- /testing/kernel-cache-tests/kmod-info/kmod.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/kernel-cache-tests/kmod-info/kmod.h -------------------------------------------------------------------------------- /testing/kernel-cache-tests/kmod-info/main.c: -------------------------------------------------------------------------------- 1 | 2 | __attribute__((section(("__HIB, __text")))) 3 | int _start() { 4 | return 0; 5 | } 6 | -------------------------------------------------------------------------------- /testing/kernel-cache-tests/kmod-info/main.kernel: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/kernel-cache-tests/kmod-info/main.kernel -------------------------------------------------------------------------------- /testing/kernel-cache-tests/kmod-info/test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/kernel-cache-tests/kmod-info/test.py -------------------------------------------------------------------------------- /testing/kernel-cache-tests/large-auxkc-errors/main.c: -------------------------------------------------------------------------------- 1 | 2 | int _start() { 3 | return 0; 4 | } -------------------------------------------------------------------------------- /testing/kernel-cache-tests/large-auxkc-no-errors/main.c: -------------------------------------------------------------------------------- 1 | 2 | int _start() { 3 | return 0; 4 | } -------------------------------------------------------------------------------- /testing/kernel-cache-tests/large-kcs-errors/main.c: -------------------------------------------------------------------------------- 1 | 2 | __attribute__((section(("__HIB, __text")))) 3 | int _start() { 4 | return 0; 5 | } 6 | -------------------------------------------------------------------------------- /testing/kernel-cache-tests/last-data-const/bar.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/kernel-cache-tests/last-data-const/bar.c -------------------------------------------------------------------------------- /testing/kernel-cache-tests/last-data-const/foo.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/kernel-cache-tests/last-data-const/foo.c -------------------------------------------------------------------------------- /testing/kernel-cache-tests/packed-kext-data/main.c: -------------------------------------------------------------------------------- 1 | 2 | int _start() { 3 | return 0; 4 | } -------------------------------------------------------------------------------- /testing/kernel-cache-tests/packed-kext-text/main.c: -------------------------------------------------------------------------------- 1 | 2 | int _start() { 3 | return 0; 4 | } -------------------------------------------------------------------------------- /testing/kernel-cache-tests/pageablekc-bind-to-basekc/foo.c: -------------------------------------------------------------------------------- 1 | 2 | int foo() { 3 | return 0; 4 | } 5 | -------------------------------------------------------------------------------- /testing/kernel-cache-tests/pageablekc-bind-to-basekc/main.c: -------------------------------------------------------------------------------- 1 | 2 | int _start() { 3 | return 0; 4 | } -------------------------------------------------------------------------------- /testing/kernel-cache-tests/pageablekc-uuid/bar.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/kernel-cache-tests/pageablekc-uuid/bar.c -------------------------------------------------------------------------------- /testing/kernel-cache-tests/pageablekc-uuid/foo.c: -------------------------------------------------------------------------------- 1 | 2 | int foo() { 3 | return 0; 4 | } 5 | -------------------------------------------------------------------------------- /testing/kernel-cache-tests/pageablekc-uuid/main.c: -------------------------------------------------------------------------------- 1 | 2 | int _start() { 3 | return 0; 4 | } -------------------------------------------------------------------------------- /testing/kernel-cache-tests/plugins/bar.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/kernel-cache-tests/plugins/bar.c -------------------------------------------------------------------------------- /testing/kernel-cache-tests/plugins/foo.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/kernel-cache-tests/plugins/foo.c -------------------------------------------------------------------------------- /testing/kernel-cache-tests/plugins/main.c: -------------------------------------------------------------------------------- 1 | 2 | int _start() { 3 | return 0; 4 | } -------------------------------------------------------------------------------- /testing/kernel-cache-tests/plugins/main.kernel: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/kernel-cache-tests/plugins/main.kernel -------------------------------------------------------------------------------- /testing/kernel-cache-tests/plugins/test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/kernel-cache-tests/plugins/test.py -------------------------------------------------------------------------------- /testing/kernel-cache-tests/ppl-data-const/bar.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/kernel-cache-tests/ppl-data-const/bar.c -------------------------------------------------------------------------------- /testing/kernel-cache-tests/ppl-data-const/foo.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/kernel-cache-tests/ppl-data-const/foo.c -------------------------------------------------------------------------------- /testing/kernel-cache-tests/ppl-data-const/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/kernel-cache-tests/ppl-data-const/main.c -------------------------------------------------------------------------------- /testing/kernel-cache-tests/strip-all-kexts/bar.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/kernel-cache-tests/strip-all-kexts/bar.c -------------------------------------------------------------------------------- /testing/kernel-cache-tests/strip-all-kexts/foo.c: -------------------------------------------------------------------------------- 1 | 2 | int foo() { 3 | return 0; 4 | } 5 | -------------------------------------------------------------------------------- /testing/kernel-cache-tests/strip-all-kexts/main.c: -------------------------------------------------------------------------------- 1 | 2 | int _start() { 3 | return 0; 4 | } -------------------------------------------------------------------------------- /testing/kernel-cache-tests/strip-all/bar.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/kernel-cache-tests/strip-all/bar.c -------------------------------------------------------------------------------- /testing/kernel-cache-tests/strip-all/foo.c: -------------------------------------------------------------------------------- 1 | 2 | int foo() { 3 | return 0; 4 | } 5 | -------------------------------------------------------------------------------- /testing/kernel-cache-tests/strip-all/main.c: -------------------------------------------------------------------------------- 1 | 2 | int _start() { 3 | return 0; 4 | } -------------------------------------------------------------------------------- /testing/kernel-cache-tests/strip-all/main.kernel: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/kernel-cache-tests/strip-all/main.kernel -------------------------------------------------------------------------------- /testing/kernel-cache-tests/strip-all/test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/kernel-cache-tests/strip-all/test.py -------------------------------------------------------------------------------- /testing/kernel-cache-tests/strip-kexts-all/bar.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/kernel-cache-tests/strip-kexts-all/bar.c -------------------------------------------------------------------------------- /testing/kernel-cache-tests/strip-kexts-all/foo.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/kernel-cache-tests/strip-kexts-all/foo.c -------------------------------------------------------------------------------- /testing/kernel-cache-tests/strip-none/bar.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/kernel-cache-tests/strip-none/bar.c -------------------------------------------------------------------------------- /testing/kernel-cache-tests/strip-none/foo.c: -------------------------------------------------------------------------------- 1 | 2 | int foo() { 3 | return 0; 4 | } 5 | -------------------------------------------------------------------------------- /testing/kernel-cache-tests/strip-none/main.c: -------------------------------------------------------------------------------- 1 | 2 | int _start() { 3 | return 0; 4 | } -------------------------------------------------------------------------------- /testing/kernel-cache-tests/strip-none/test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/kernel-cache-tests/strip-none/test.py -------------------------------------------------------------------------------- /testing/kernel-cache-tests/symbol-sets/foo.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/kernel-cache-tests/symbol-sets/foo.c -------------------------------------------------------------------------------- /testing/kernel-cache-tests/symbol-sets/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/kernel-cache-tests/symbol-sets/main.c -------------------------------------------------------------------------------- /testing/kernel-cache-tests/symbol-sets/test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/kernel-cache-tests/symbol-sets/test.py -------------------------------------------------------------------------------- /testing/kernel-cache-tests/testall.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/kernel-cache-tests/testall.py -------------------------------------------------------------------------------- /testing/kernel-cache-tests/vtable-patching-metaclass-alias/extensions/foo.kext/foo.arm64.ld/filelist: -------------------------------------------------------------------------------- 1 | files/foo-f6e015.o 2 | -------------------------------------------------------------------------------- /testing/lib/execserver.defs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/lib/execserver.defs -------------------------------------------------------------------------------- /testing/lib/test_support.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/lib/test_support.cpp -------------------------------------------------------------------------------- /testing/lib/test_support.exp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/lib/test_support.exp -------------------------------------------------------------------------------- /testing/nocr/nocr.1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/nocr/nocr.1 -------------------------------------------------------------------------------- /testing/nocr/nocr.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/nocr/nocr.cpp -------------------------------------------------------------------------------- /testing/run-static/jit_entitlement.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/run-static/jit_entitlement.plist -------------------------------------------------------------------------------- /testing/run-static/run-static.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/run-static/run-static.cpp -------------------------------------------------------------------------------- /testing/run_all_dyld_tests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/run_all_dyld_tests.py -------------------------------------------------------------------------------- /testing/task_read_for_pid_entitlement.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/task_read_for_pid_entitlement.plist -------------------------------------------------------------------------------- /testing/test-cases/LC_DYLD_ENV-DYLD_LIBRARY_PATH.dtest/foo.c: -------------------------------------------------------------------------------- 1 | void foo() 2 | { 3 | } 4 | 5 | -------------------------------------------------------------------------------- /testing/test-cases/NSAddImage-basic.dtest/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/test-cases/NSAddImage-basic.dtest/main.c -------------------------------------------------------------------------------- /testing/test-cases/NSAddImage-basic.dtest/zzz.c: -------------------------------------------------------------------------------- 1 | void zzz() {} 2 | -------------------------------------------------------------------------------- /testing/test-cases/_dyld_get_image_name-cache-symlink.dtest/foo.c: -------------------------------------------------------------------------------- 1 | void foo() {} 2 | -------------------------------------------------------------------------------- /testing/test-cases/_dyld_get_prog_image_header.dtest/foo.c: -------------------------------------------------------------------------------- 1 | int foo() 2 | { 3 | return 0; 4 | } 5 | 6 | -------------------------------------------------------------------------------- /testing/test-cases/_dyld_is_memory_immutable-lock.dtest/foo.c: -------------------------------------------------------------------------------- 1 | 2 | 3 | #include 4 | 5 | void foo() 6 | { 7 | } 8 | 9 | -------------------------------------------------------------------------------- /testing/test-cases/_dyld_register_for_bulk_image_loads.dtest/baz.c: -------------------------------------------------------------------------------- 1 | 2 | void baz() { } 3 | -------------------------------------------------------------------------------- /testing/test-cases/_dyld_register_for_bulk_image_loads.dtest/foo.c: -------------------------------------------------------------------------------- 1 | void foo() {} 2 | -------------------------------------------------------------------------------- /testing/test-cases/_dyld_register_for_bulk_image_loads.dtest/up.c: -------------------------------------------------------------------------------- 1 | 2 | void up() { } 3 | -------------------------------------------------------------------------------- /testing/test-cases/_dyld_register_for_image_loads.dtest/baz.c: -------------------------------------------------------------------------------- 1 | 2 | void baz() { } 3 | -------------------------------------------------------------------------------- /testing/test-cases/_dyld_register_for_image_loads.dtest/foo.c: -------------------------------------------------------------------------------- 1 | void foo() {} 2 | -------------------------------------------------------------------------------- /testing/test-cases/_dyld_register_for_image_loads.dtest/up.c: -------------------------------------------------------------------------------- 1 | 2 | void up() { } 3 | -------------------------------------------------------------------------------- /testing/test-cases/_dyld_register_func_for_add_image.dtest/foo.c: -------------------------------------------------------------------------------- 1 | void foo() {} 2 | -------------------------------------------------------------------------------- /testing/test-cases/amfi-hardened-dlopen-leaf.dtest/my.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | void foo() {} 4 | 5 | 6 | -------------------------------------------------------------------------------- /testing/test-cases/amfi-interpose.dtest/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/test-cases/amfi-interpose.dtest/main.c -------------------------------------------------------------------------------- /testing/test-cases/bind-addend.dtest/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/test-cases/bind-addend.dtest/main.c -------------------------------------------------------------------------------- /testing/test-cases/bind-rebase.dtest/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/test-cases/bind-rebase.dtest/main.c -------------------------------------------------------------------------------- /testing/test-cases/cwd-relative-load.dtest/foo.c: -------------------------------------------------------------------------------- 1 | int foo = 42; 2 | -------------------------------------------------------------------------------- /testing/test-cases/dladdr-basic.dtest/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/test-cases/dladdr-basic.dtest/main.c -------------------------------------------------------------------------------- /testing/test-cases/dladdr-dylib.dtest/foo.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/test-cases/dladdr-dylib.dtest/foo.c -------------------------------------------------------------------------------- /testing/test-cases/dladdr-dylib.dtest/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/test-cases/dladdr-dylib.dtest/main.c -------------------------------------------------------------------------------- /testing/test-cases/dlopen-DYLD_LIBRARY_PATH.dtest/bar.c: -------------------------------------------------------------------------------- 1 | int bar() 2 | { 3 | return VALUE; 4 | } 5 | 6 | -------------------------------------------------------------------------------- /testing/test-cases/dlopen-RTLD_LOCAL-hides.dtest/bar.c: -------------------------------------------------------------------------------- 1 | int bar() 2 | { 3 | return 11; 4 | } 5 | 6 | -------------------------------------------------------------------------------- /testing/test-cases/dlopen-RTLD_LOCAL-hides.dtest/foo.c: -------------------------------------------------------------------------------- 1 | int foo() 2 | { 3 | return 10; 4 | } 5 | 6 | -------------------------------------------------------------------------------- /testing/test-cases/dlopen-RTLD_NODELETE.dtest/bar.c: -------------------------------------------------------------------------------- 1 | 2 | 3 | int bar = 11; 4 | 5 | -------------------------------------------------------------------------------- /testing/test-cases/dlopen-RTLD_NODELETE.dtest/foo.c: -------------------------------------------------------------------------------- 1 | 2 | int foo = 10; 3 | 4 | -------------------------------------------------------------------------------- /testing/test-cases/dlopen-RTLD_NOLOAD.dtest/foo.c: -------------------------------------------------------------------------------- 1 | int foo() 2 | { 3 | return 10; 4 | } 5 | 6 | -------------------------------------------------------------------------------- /testing/test-cases/dlopen-RTLD_NOW.dtest/bar.c: -------------------------------------------------------------------------------- 1 | 2 | #ifdef HAS_SYMBOL 3 | void bar() { } 4 | #endif 5 | 6 | 7 | -------------------------------------------------------------------------------- /testing/test-cases/dlopen-RTLD_NOW.dtest/foo.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/test-cases/dlopen-RTLD_NOW.dtest/foo.c -------------------------------------------------------------------------------- /testing/test-cases/dlopen-RTLD_NOW.dtest/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/test-cases/dlopen-RTLD_NOW.dtest/main.c -------------------------------------------------------------------------------- /testing/test-cases/dlopen-atpath-restricted.dtest/bar.c: -------------------------------------------------------------------------------- 1 | void bar() {} 2 | -------------------------------------------------------------------------------- /testing/test-cases/dlopen-atpath-restricted.dtest/foo.c: -------------------------------------------------------------------------------- 1 | int foo() 2 | { 3 | return 10; 4 | } 5 | 6 | -------------------------------------------------------------------------------- /testing/test-cases/dlopen-bad-file.dtest/bad.txt: -------------------------------------------------------------------------------- 1 | bad file 2 | -------------------------------------------------------------------------------- /testing/test-cases/dlopen-bad-file.dtest/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/test-cases/dlopen-bad-file.dtest/main.c -------------------------------------------------------------------------------- /testing/test-cases/dlopen-basic.dtest/foo.c: -------------------------------------------------------------------------------- 1 | int foo() 2 | { 3 | return 10; 4 | } 5 | 6 | -------------------------------------------------------------------------------- /testing/test-cases/dlopen-basic.dtest/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/test-cases/dlopen-basic.dtest/main.c -------------------------------------------------------------------------------- /testing/test-cases/dlopen-dyld.dtest/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/test-cases/dlopen-dyld.dtest/main.c -------------------------------------------------------------------------------- /testing/test-cases/dlopen-empty-data.dtest/foo.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/test-cases/dlopen-empty-data.dtest/foo.c -------------------------------------------------------------------------------- /testing/test-cases/dlopen-fail-cleanly.dtest/a.c: -------------------------------------------------------------------------------- 1 | int a() 2 | { 3 | return 10; 4 | } 5 | 6 | -------------------------------------------------------------------------------- /testing/test-cases/dlopen-fail-cleanly.dtest/b.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/test-cases/dlopen-fail-cleanly.dtest/b.m -------------------------------------------------------------------------------- /testing/test-cases/dlopen-fail-cleanly.dtest/c.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/test-cases/dlopen-fail-cleanly.dtest/c.c -------------------------------------------------------------------------------- /testing/test-cases/dlopen-flat.dtest/bar.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/test-cases/dlopen-flat.dtest/bar.c -------------------------------------------------------------------------------- /testing/test-cases/dlopen-flat.dtest/foo.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/test-cases/dlopen-flat.dtest/foo.c -------------------------------------------------------------------------------- /testing/test-cases/dlopen-flat.dtest/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/test-cases/dlopen-flat.dtest/main.c -------------------------------------------------------------------------------- /testing/test-cases/dlopen-haswell.dtest/a.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/test-cases/dlopen-haswell.dtest/a.c -------------------------------------------------------------------------------- /testing/test-cases/dlopen-haswell.dtest/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/test-cases/dlopen-haswell.dtest/main.c -------------------------------------------------------------------------------- /testing/test-cases/dlopen-iOSMac.dtest/cat.c: -------------------------------------------------------------------------------- 1 | void func() {} 2 | -------------------------------------------------------------------------------- /testing/test-cases/dlopen-iOSMac.dtest/foo.c: -------------------------------------------------------------------------------- 1 | void foo() {} 2 | -------------------------------------------------------------------------------- /testing/test-cases/dlopen-iOSMac.dtest/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/test-cases/dlopen-iOSMac.dtest/main.c -------------------------------------------------------------------------------- /testing/test-cases/dlopen-in-init.dtest/foo.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/test-cases/dlopen-in-init.dtest/foo.c -------------------------------------------------------------------------------- /testing/test-cases/dlopen-in-init.dtest/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/test-cases/dlopen-in-init.dtest/main.c -------------------------------------------------------------------------------- /testing/test-cases/dlopen-in-init2.dtest/bar.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/test-cases/dlopen-in-init2.dtest/bar.c -------------------------------------------------------------------------------- /testing/test-cases/dlopen-in-init2.dtest/baz.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/test-cases/dlopen-in-init2.dtest/baz.c -------------------------------------------------------------------------------- /testing/test-cases/dlopen-jna.dtest/foo.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/test-cases/dlopen-jna.dtest/foo.c -------------------------------------------------------------------------------- /testing/test-cases/dlopen-jna.dtest/jna.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/test-cases/dlopen-jna.dtest/jna.c -------------------------------------------------------------------------------- /testing/test-cases/dlopen-jna.dtest/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/test-cases/dlopen-jna.dtest/main.c -------------------------------------------------------------------------------- /testing/test-cases/dlopen-race.dtest/foo.c: -------------------------------------------------------------------------------- 1 | int foo() 2 | { 3 | return 10; 4 | } 5 | 6 | -------------------------------------------------------------------------------- /testing/test-cases/dlopen-race.dtest/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/test-cases/dlopen-race.dtest/main.c -------------------------------------------------------------------------------- /testing/test-cases/dlopen-recurse.dtest/bar.c: -------------------------------------------------------------------------------- 1 | int bar() 2 | { 3 | return 0; 4 | } 5 | 6 | -------------------------------------------------------------------------------- /testing/test-cases/dlopen-recurse.dtest/foo.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/test-cases/dlopen-recurse.dtest/foo.c -------------------------------------------------------------------------------- /testing/test-cases/dlopen-rpath-from-dylib.dtest/bar.c: -------------------------------------------------------------------------------- 1 | int bar() 2 | { 3 | return 0; 4 | } 5 | 6 | -------------------------------------------------------------------------------- /testing/test-cases/dlopen-rpath-implicit.dtest/foo.c: -------------------------------------------------------------------------------- 1 | int foo() 2 | { 3 | return 10; 4 | } 5 | 6 | -------------------------------------------------------------------------------- /testing/test-cases/dlopen-rpath-prev-override.dtest/dyn.c: -------------------------------------------------------------------------------- 1 | int sub2() 2 | { 3 | return 2; 4 | } 5 | 6 | -------------------------------------------------------------------------------- /testing/test-cases/dlopen-rpath-prev-override.dtest/foo.c: -------------------------------------------------------------------------------- 1 | int foo() 2 | { 3 | return 10; 4 | } 5 | 6 | -------------------------------------------------------------------------------- /testing/test-cases/dlopen-rpath-prev-override.dtest/good.c: -------------------------------------------------------------------------------- 1 | int sub1() 2 | { 3 | return 1; 4 | } 5 | 6 | -------------------------------------------------------------------------------- /testing/test-cases/dlopen-rpath-prev.dtest/foo.c: -------------------------------------------------------------------------------- 1 | int foo() 2 | { 3 | return 10; 4 | } 5 | 6 | -------------------------------------------------------------------------------- /testing/test-cases/dlopen-rpath-prev.dtest/sub1.c: -------------------------------------------------------------------------------- 1 | int sub1() 2 | { 3 | return 1; 4 | } 5 | 6 | -------------------------------------------------------------------------------- /testing/test-cases/dlopen-rpath-prev.dtest/sub2.c: -------------------------------------------------------------------------------- 1 | int sub2() 2 | { 3 | return 2; 4 | } 5 | 6 | -------------------------------------------------------------------------------- /testing/test-cases/dlopen-signing.dtest/dylib.c: -------------------------------------------------------------------------------- 1 | int foo() { 2 | return 10; 3 | } 4 | -------------------------------------------------------------------------------- /testing/test-cases/dlopen-symlink.dtest/foo.c: -------------------------------------------------------------------------------- 1 | void foo() {} 2 | -------------------------------------------------------------------------------- /testing/test-cases/dlopen_from-basic.dtest/bar.c: -------------------------------------------------------------------------------- 1 | void bar() 2 | { 3 | } 4 | 5 | -------------------------------------------------------------------------------- /testing/test-cases/dlsym-handle.dtest/bar.c: -------------------------------------------------------------------------------- 1 | 2 | void bar() { } 3 | -------------------------------------------------------------------------------- /testing/test-cases/dlsym-handle.dtest/base.c: -------------------------------------------------------------------------------- 1 | 2 | void base() { } 3 | 4 | -------------------------------------------------------------------------------- /testing/test-cases/dlsym-handle.dtest/foo.c: -------------------------------------------------------------------------------- 1 | 2 | void foo() { } 3 | -------------------------------------------------------------------------------- /testing/test-cases/dlsym-handle.dtest/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/test-cases/dlsym-handle.dtest/main.c -------------------------------------------------------------------------------- /testing/test-cases/dlsym-re-export.dtest/foo.c: -------------------------------------------------------------------------------- 1 | int foo() 2 | { 3 | return 10; 4 | } 5 | 6 | -------------------------------------------------------------------------------- /testing/test-cases/dlsym-re-export.dtest/sub1.c: -------------------------------------------------------------------------------- 1 | int sub1() 2 | { 3 | return 1; 4 | } 5 | 6 | -------------------------------------------------------------------------------- /testing/test-cases/dlsym-re-export.dtest/sub2.c: -------------------------------------------------------------------------------- 1 | int sub2() 2 | { 3 | return 2; 4 | } 5 | 6 | -------------------------------------------------------------------------------- /testing/test-cases/dtrace.dtest/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/test-cases/dtrace.dtest/main.c -------------------------------------------------------------------------------- /testing/test-cases/dtrace.dtest/main.d: -------------------------------------------------------------------------------- 1 | provider dyld_testing { 2 | probe callback(); 3 | }; 4 | -------------------------------------------------------------------------------- /testing/test-cases/dyld-insert-library-double.dtest/bar.c: -------------------------------------------------------------------------------- 1 | 2 | void foo() { } 3 | -------------------------------------------------------------------------------- /testing/test-cases/dyld-insert-library-double.dtest/foo.c: -------------------------------------------------------------------------------- 1 | 2 | void foo() { } 3 | -------------------------------------------------------------------------------- /testing/test-cases/dyld-insert-library-rpath.dtest/bar.c: -------------------------------------------------------------------------------- 1 | 2 | void foo() { } 3 | -------------------------------------------------------------------------------- /testing/test-cases/dyld-insert-library-rpath.dtest/baz.c: -------------------------------------------------------------------------------- 1 | 2 | void foo() { } 3 | -------------------------------------------------------------------------------- /testing/test-cases/dyld-insert-library-rpath.dtest/foo.c: -------------------------------------------------------------------------------- 1 | 2 | void foo() { } 3 | -------------------------------------------------------------------------------- /testing/test-cases/dyld_abort_payload.dtest/defSymbol.c: -------------------------------------------------------------------------------- 1 | 2 | 3 | #if HAS_SYMBOL 4 | int slipperySymbol = 5; 5 | #endif 6 | -------------------------------------------------------------------------------- /testing/test-cases/dyld_abort_payload.dtest/foo.c: -------------------------------------------------------------------------------- 1 | 2 | void foo() 3 | { 4 | } 5 | 6 | -------------------------------------------------------------------------------- /testing/test-cases/dyld_has_inserted_or_interposing_libraries.dtest/foo.c: -------------------------------------------------------------------------------- 1 | 2 | void foo() { } 3 | -------------------------------------------------------------------------------- /testing/test-cases/dyld_need_closure.dtest/foo.c: -------------------------------------------------------------------------------- 1 | int main() 2 | { 3 | return 0; 4 | } 5 | -------------------------------------------------------------------------------- /testing/test-cases/dyld_process_info.dtest/File: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /testing/test-cases/dyld_process_info_notify.dtest/foo.c: -------------------------------------------------------------------------------- 1 | 2 | void foo() { 3 | } 4 | 5 | -------------------------------------------------------------------------------- /testing/test-cases/dyld_process_info_unload.dtest/foo.c: -------------------------------------------------------------------------------- 1 | void foo() {} 2 | -------------------------------------------------------------------------------- /testing/test-cases/dyld_shared_cache_some_image_overridden.dtest-strings: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /testing/test-cases/dyld_shared_cache_some_image_overridden.dtest/myzlib.c: -------------------------------------------------------------------------------- 1 | const char* zlibVersion() 2 | { 3 | return "my"; 4 | } 5 | -------------------------------------------------------------------------------- /testing/test-cases/dyld_shared_cache_some_image_overridden.dtest/reexported-myzlib.c: -------------------------------------------------------------------------------- 1 | const char* zlibVersion() 2 | { 3 | return "my"; 4 | } 5 | -------------------------------------------------------------------------------- /testing/test-cases/dyld_shared_cache_some_image_overridden.dtest/reexporter.c: -------------------------------------------------------------------------------- 1 | 2 | int foo() { 3 | return 0; 4 | } 5 | -------------------------------------------------------------------------------- /testing/test-cases/dyld_usage_json.dtest/foo.c: -------------------------------------------------------------------------------- 1 | int foo() 2 | { 3 | return 0; 4 | } 5 | -------------------------------------------------------------------------------- /testing/test-cases/dylib-re-export-old-format.dtest/bar.c: -------------------------------------------------------------------------------- 1 | 2 | int bar() { 3 | return 42; 4 | } 5 | 6 | -------------------------------------------------------------------------------- /testing/test-cases/dylib-re-export-old-format.dtest/foo.c: -------------------------------------------------------------------------------- 1 | 2 | int foo = 1; 3 | 4 | -------------------------------------------------------------------------------- /testing/test-cases/dylib-re-export.dtest/bar.c: -------------------------------------------------------------------------------- 1 | 2 | int bar() { 3 | return 42; 4 | } 5 | 6 | -------------------------------------------------------------------------------- /testing/test-cases/dylib-re-export.dtest/foo.c: -------------------------------------------------------------------------------- 1 | 2 | int foo = 1; 3 | 4 | -------------------------------------------------------------------------------- /testing/test-cases/dylib-static-link.dtest/foo.c: -------------------------------------------------------------------------------- 1 | 2 | int foo = 42; 3 | 4 | -------------------------------------------------------------------------------- /testing/test-cases/dylib-static-weak-link.dtest/foo.c: -------------------------------------------------------------------------------- 1 | 2 | int foo = 42; 3 | 4 | -------------------------------------------------------------------------------- /testing/test-cases/env-DYLD_FALLBACK_FRAMEWORK_PATH.dtest/foo.c: -------------------------------------------------------------------------------- 1 | int foo() 2 | { 3 | return VALUE; 4 | } 5 | 6 | -------------------------------------------------------------------------------- /testing/test-cases/env-DYLD_FALLBACK_LIBRARY_PATH.dtest/foo.c: -------------------------------------------------------------------------------- 1 | int foo() 2 | { 3 | return VALUE; 4 | } 5 | 6 | -------------------------------------------------------------------------------- /testing/test-cases/env-DYLD_FRAMEWORK_PATH.dtest/foo.c: -------------------------------------------------------------------------------- 1 | int foo() 2 | { 3 | return VALUE; 4 | } 5 | 6 | -------------------------------------------------------------------------------- /testing/test-cases/env-DYLD_IMAGE_SUFFIX.dtest/bar.c: -------------------------------------------------------------------------------- 1 | int bar() 2 | { 3 | return VALUE; 4 | } 5 | 6 | -------------------------------------------------------------------------------- /testing/test-cases/env-DYLD_IMAGE_SUFFIX.dtest/foo.c: -------------------------------------------------------------------------------- 1 | int foo() 2 | { 3 | return VALUE; 4 | } 5 | 6 | -------------------------------------------------------------------------------- /testing/test-cases/env-DYLD_LIBRARY_PATH-cache-iOSMac.dtest/myzlib.c: -------------------------------------------------------------------------------- 1 | const char* zlibVersion() 2 | { 3 | return "my"; 4 | } 5 | -------------------------------------------------------------------------------- /testing/test-cases/env-DYLD_LIBRARY_PATH-cache-iOSMac.dtest/reexported-myzlib.c: -------------------------------------------------------------------------------- 1 | const char* zlibVersion() 2 | { 3 | return "my"; 4 | } 5 | -------------------------------------------------------------------------------- /testing/test-cases/env-DYLD_LIBRARY_PATH-cache-iOSMac.dtest/reexporter.c: -------------------------------------------------------------------------------- 1 | 2 | int foo() { 3 | return 0; 4 | } 5 | -------------------------------------------------------------------------------- /testing/test-cases/env-DYLD_LIBRARY_PATH-cache.dtest/myzlib.c: -------------------------------------------------------------------------------- 1 | const char* zlibVersion() 2 | { 3 | return "my"; 4 | } 5 | -------------------------------------------------------------------------------- /testing/test-cases/env-DYLD_LIBRARY_PATH-cache.dtest/reexported-myzlib.c: -------------------------------------------------------------------------------- 1 | const char* zlibVersion() 2 | { 3 | return "my"; 4 | } 5 | -------------------------------------------------------------------------------- /testing/test-cases/env-DYLD_LIBRARY_PATH-cache.dtest/reexporter.c: -------------------------------------------------------------------------------- 1 | 2 | int foo() { 3 | return 0; 4 | } 5 | -------------------------------------------------------------------------------- /testing/test-cases/env-DYLD_LIBRARY_PATH.dtest/foo.c: -------------------------------------------------------------------------------- 1 | int foo() 2 | { 3 | return VALUE; 4 | } 5 | 6 | -------------------------------------------------------------------------------- /testing/test-cases/env-DYLD_VERSIONED_FRAMEWORK_PATH.dtest/foo.c: -------------------------------------------------------------------------------- 1 | 2 | int foo() 3 | { 4 | return RESULT; 5 | } 6 | -------------------------------------------------------------------------------- /testing/test-cases/env-DYLD_VERSIONED_LIBRARY_PATH-missing-dylibs.dtest/foo.c: -------------------------------------------------------------------------------- 1 | 2 | const char* zlibVersion() 3 | { 4 | return RESULT; 5 | } 6 | -------------------------------------------------------------------------------- /testing/test-cases/env-DYLD_VERSIONED_LIBRARY_PATH.dtest/foo.c: -------------------------------------------------------------------------------- 1 | 2 | int foo() 3 | { 4 | return RESULT; 5 | } 6 | -------------------------------------------------------------------------------- /testing/test-cases/flat-namespace.dtest/foo.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/test-cases/flat-namespace.dtest/foo.c -------------------------------------------------------------------------------- /testing/test-cases/image_infos-uuids.dtest/foo.c: -------------------------------------------------------------------------------- 1 | int foo() 2 | { 3 | return 10; 4 | } 5 | 6 | -------------------------------------------------------------------------------- /testing/test-cases/interpose-weak.dtest/foo.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/test-cases/interpose-weak.dtest/foo.c -------------------------------------------------------------------------------- /testing/test-cases/kernel-classic-relocs.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/test-cases/kernel-classic-relocs.h -------------------------------------------------------------------------------- /testing/test-cases/kernel-fixups.dtest/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/test-cases/kernel-fixups.dtest/main.c -------------------------------------------------------------------------------- /testing/test-cases/kernel-fixups.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/test-cases/kernel-fixups.h -------------------------------------------------------------------------------- /testing/test-cases/kernel-helpers.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/test-cases/kernel-helpers.h -------------------------------------------------------------------------------- /testing/test-cases/kernel-test-runner.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/test-cases/kernel-test-runner.h -------------------------------------------------------------------------------- /testing/test-cases/launch-image-cache.dtest/foo1.c: -------------------------------------------------------------------------------- 1 | int foo1() { return 1; }; 2 | -------------------------------------------------------------------------------- /testing/test-cases/launch-image-cache.dtest/foo10.c: -------------------------------------------------------------------------------- 1 | int foo10() { return 10; }; 2 | -------------------------------------------------------------------------------- /testing/test-cases/launch-image-cache.dtest/foo11.c: -------------------------------------------------------------------------------- 1 | int foo11() { return 11; }; 2 | -------------------------------------------------------------------------------- /testing/test-cases/launch-image-cache.dtest/foo12.c: -------------------------------------------------------------------------------- 1 | int foo12() { return 12; }; 2 | -------------------------------------------------------------------------------- /testing/test-cases/launch-image-cache.dtest/foo13.c: -------------------------------------------------------------------------------- 1 | int foo13() { return 13; }; 2 | -------------------------------------------------------------------------------- /testing/test-cases/launch-image-cache.dtest/foo14.c: -------------------------------------------------------------------------------- 1 | int foo14() { return 14; }; 2 | -------------------------------------------------------------------------------- /testing/test-cases/launch-image-cache.dtest/foo15.c: -------------------------------------------------------------------------------- 1 | int foo15() { return 15; }; 2 | -------------------------------------------------------------------------------- /testing/test-cases/launch-image-cache.dtest/foo16.c: -------------------------------------------------------------------------------- 1 | int foo16() { return 16; }; 2 | -------------------------------------------------------------------------------- /testing/test-cases/launch-image-cache.dtest/foo17.c: -------------------------------------------------------------------------------- 1 | int foo17() { return 17; }; 2 | -------------------------------------------------------------------------------- /testing/test-cases/launch-image-cache.dtest/foo18.c: -------------------------------------------------------------------------------- 1 | int foo18() { return 18; }; 2 | -------------------------------------------------------------------------------- /testing/test-cases/launch-image-cache.dtest/foo19.c: -------------------------------------------------------------------------------- 1 | int foo19() { return 19; }; 2 | -------------------------------------------------------------------------------- /testing/test-cases/launch-image-cache.dtest/foo2.c: -------------------------------------------------------------------------------- 1 | int foo2() { return 2; }; 2 | -------------------------------------------------------------------------------- /testing/test-cases/launch-image-cache.dtest/foo20.c: -------------------------------------------------------------------------------- 1 | int foo20() { return 20; }; 2 | -------------------------------------------------------------------------------- /testing/test-cases/launch-image-cache.dtest/foo21.c: -------------------------------------------------------------------------------- 1 | int foo21() { return 21; }; 2 | -------------------------------------------------------------------------------- /testing/test-cases/launch-image-cache.dtest/foo22.c: -------------------------------------------------------------------------------- 1 | int foo22() { return 22; }; 2 | -------------------------------------------------------------------------------- /testing/test-cases/launch-image-cache.dtest/foo23.c: -------------------------------------------------------------------------------- 1 | int foo23() { return 23; }; 2 | -------------------------------------------------------------------------------- /testing/test-cases/launch-image-cache.dtest/foo24.c: -------------------------------------------------------------------------------- 1 | int foo24() { return 24; }; 2 | -------------------------------------------------------------------------------- /testing/test-cases/launch-image-cache.dtest/foo25.c: -------------------------------------------------------------------------------- 1 | int foo25() { return 25; }; 2 | -------------------------------------------------------------------------------- /testing/test-cases/launch-image-cache.dtest/foo26.c: -------------------------------------------------------------------------------- 1 | int foo26() { return 26; }; 2 | -------------------------------------------------------------------------------- /testing/test-cases/launch-image-cache.dtest/foo27.c: -------------------------------------------------------------------------------- 1 | int foo27() { return 27; }; 2 | -------------------------------------------------------------------------------- /testing/test-cases/launch-image-cache.dtest/foo28.c: -------------------------------------------------------------------------------- 1 | int foo28() { return 28; }; 2 | -------------------------------------------------------------------------------- /testing/test-cases/launch-image-cache.dtest/foo29.c: -------------------------------------------------------------------------------- 1 | int foo29() { return 29; }; 2 | -------------------------------------------------------------------------------- /testing/test-cases/launch-image-cache.dtest/foo3.c: -------------------------------------------------------------------------------- 1 | int foo3() { return 3; }; 2 | -------------------------------------------------------------------------------- /testing/test-cases/launch-image-cache.dtest/foo30.c: -------------------------------------------------------------------------------- 1 | int foo30() { return 30; }; 2 | -------------------------------------------------------------------------------- /testing/test-cases/launch-image-cache.dtest/foo31.c: -------------------------------------------------------------------------------- 1 | int foo31() { return 31; }; 2 | -------------------------------------------------------------------------------- /testing/test-cases/launch-image-cache.dtest/foo32.c: -------------------------------------------------------------------------------- 1 | int foo32() { return 32; }; 2 | -------------------------------------------------------------------------------- /testing/test-cases/launch-image-cache.dtest/foo4.c: -------------------------------------------------------------------------------- 1 | int foo4() { return 4; }; 2 | -------------------------------------------------------------------------------- /testing/test-cases/launch-image-cache.dtest/foo5.c: -------------------------------------------------------------------------------- 1 | int foo5() { return 5; }; 2 | -------------------------------------------------------------------------------- /testing/test-cases/launch-image-cache.dtest/foo6.c: -------------------------------------------------------------------------------- 1 | int foo6() { return 6; }; 2 | -------------------------------------------------------------------------------- /testing/test-cases/launch-image-cache.dtest/foo7.c: -------------------------------------------------------------------------------- 1 | int foo7() { return 7; }; 2 | -------------------------------------------------------------------------------- /testing/test-cases/launch-image-cache.dtest/foo8.c: -------------------------------------------------------------------------------- 1 | int foo8() { return 8; }; 2 | -------------------------------------------------------------------------------- /testing/test-cases/launch-image-cache.dtest/foo9.c: -------------------------------------------------------------------------------- 1 | int foo9() { return 9; }; 2 | -------------------------------------------------------------------------------- /testing/test-cases/libdsc.dtest/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/test-cases/libdsc.dtest/main.c -------------------------------------------------------------------------------- /testing/test-cases/missing-weak-def.dtest/bar-empty.c: -------------------------------------------------------------------------------- 1 | 2 | int not_bar() { 3 | return 0; 4 | } -------------------------------------------------------------------------------- /testing/test-cases/missing-weak-def.dtest/bar.c: -------------------------------------------------------------------------------- 1 | 2 | __attribute__((weak)) 3 | int bar() { 4 | return 0; 5 | } 6 | -------------------------------------------------------------------------------- /testing/test-cases/read-only-data.dtest/foo.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/test-cases/read-only-data.dtest/foo.c -------------------------------------------------------------------------------- /testing/test-cases/restrict-search.dtest/foo.c: -------------------------------------------------------------------------------- 1 | int foo() 2 | { 3 | return 10; 4 | } 5 | 6 | -------------------------------------------------------------------------------- /testing/test-cases/rpath-absolute.dtest/foo.c: -------------------------------------------------------------------------------- 1 | int foo = 42; 2 | -------------------------------------------------------------------------------- /testing/test-cases/rpath-relative.dtest/foo.c: -------------------------------------------------------------------------------- 1 | int foo = 42; 2 | -------------------------------------------------------------------------------- /testing/test-cases/rpath-weak-missing.dtest/foo.c: -------------------------------------------------------------------------------- 1 | int foo = 42; 2 | -------------------------------------------------------------------------------- /testing/test-cases/weak-coalesce.dtest/base.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/test-cases/weak-coalesce.dtest/base.c -------------------------------------------------------------------------------- /testing/test-cases/weak-coalesce.dtest/base.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/test-cases/weak-coalesce.dtest/base.h -------------------------------------------------------------------------------- /testing/test-cases/weak-coalesce.dtest/foo1.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/test-cases/weak-coalesce.dtest/foo1.c -------------------------------------------------------------------------------- /testing/test-cases/weak-coalesce.dtest/foo2.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/test-cases/weak-coalesce.dtest/foo2.c -------------------------------------------------------------------------------- /testing/test-cases/weak-coalesce.dtest/foo3.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/test-cases/weak-coalesce.dtest/foo3.c -------------------------------------------------------------------------------- /testing/test-cases/weak-coalesce.dtest/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/testing/test-cases/weak-coalesce.dtest/main.c -------------------------------------------------------------------------------- /testing/test-cases/weak-def-unload.dtest/bar.c: -------------------------------------------------------------------------------- 1 | void bar() {} 2 | -------------------------------------------------------------------------------- /testing/test-cases/weak-dylib-re-export.dtest/bar.c: -------------------------------------------------------------------------------- 1 | 2 | int bar() { 3 | return 42; 4 | } 5 | 6 | -------------------------------------------------------------------------------- /testing/test-cases/weak-dylib-re-export.dtest/foo.c: -------------------------------------------------------------------------------- 1 | 2 | int foo = 1; 3 | 4 | -------------------------------------------------------------------------------- /testing/test-cases/weak-dylib-re-export.dtest/symbols.txt: -------------------------------------------------------------------------------- 1 | _bar 2 | -------------------------------------------------------------------------------- /unit-tests/bin/build-results-filter.pl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/bin/build-results-filter.pl -------------------------------------------------------------------------------- /unit-tests/bin/exit-non-zero-pass.pl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/bin/exit-non-zero-pass.pl -------------------------------------------------------------------------------- /unit-tests/bin/exit-zero-pass.pl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/bin/exit-zero-pass.pl -------------------------------------------------------------------------------- /unit-tests/bin/fail-if-non-zero.pl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/bin/fail-if-non-zero.pl -------------------------------------------------------------------------------- /unit-tests/bin/make-recursive.pl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/bin/make-recursive.pl -------------------------------------------------------------------------------- /unit-tests/bin/pass-iff-exit-zero.pl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/bin/pass-iff-exit-zero.pl -------------------------------------------------------------------------------- /unit-tests/bin/result-filter.pl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/bin/result-filter.pl -------------------------------------------------------------------------------- /unit-tests/build-and-run-iPhoneOS-unit-tests: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/build-and-run-iPhoneOS-unit-tests -------------------------------------------------------------------------------- /unit-tests/build-iPhoneOS-unit-tests: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/build-iPhoneOS-unit-tests -------------------------------------------------------------------------------- /unit-tests/include/common.makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/include/common.makefile -------------------------------------------------------------------------------- /unit-tests/include/test.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/include/test.h -------------------------------------------------------------------------------- /unit-tests/run-all-unit-tests: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/run-all-unit-tests -------------------------------------------------------------------------------- /unit-tests/test-cases/DYLD_LIBRARY_PATH-dyld_env/foo.c: -------------------------------------------------------------------------------- 1 | 2 | int foo() 3 | { 4 | return RESULT; 5 | } 6 | -------------------------------------------------------------------------------- /unit-tests/test-cases/absolute-symbol/abs.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/absolute-symbol/abs.s -------------------------------------------------------------------------------- /unit-tests/test-cases/absolute-symbol/foo.c: -------------------------------------------------------------------------------- 1 | 2 | 3 | int var = 5; 4 | void func() { } 5 | 6 | -------------------------------------------------------------------------------- /unit-tests/test-cases/absolute-symbol/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/absolute-symbol/main.c -------------------------------------------------------------------------------- /unit-tests/test-cases/addend/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/addend/Makefile -------------------------------------------------------------------------------- /unit-tests/test-cases/addend/foo.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/addend/foo.c -------------------------------------------------------------------------------- /unit-tests/test-cases/addend/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/addend/main.c -------------------------------------------------------------------------------- /unit-tests/test-cases/all_image_infos/foo.c: -------------------------------------------------------------------------------- 1 | void foo() {} 2 | 3 | -------------------------------------------------------------------------------- /unit-tests/test-cases/all_image_infos/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/all_image_infos/main.c -------------------------------------------------------------------------------- /unit-tests/test-cases/always-libSystem/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/always-libSystem/main.c -------------------------------------------------------------------------------- /unit-tests/test-cases/big-jump-table/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/big-jump-table/Makefile -------------------------------------------------------------------------------- /unit-tests/test-cases/big-jump-table/foo.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/big-jump-table/foo.c -------------------------------------------------------------------------------- /unit-tests/test-cases/big-jump-table/foo.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/big-jump-table/foo.h -------------------------------------------------------------------------------- /unit-tests/test-cases/big-jump-table/funcs.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/big-jump-table/funcs.c -------------------------------------------------------------------------------- /unit-tests/test-cases/big-jump-table/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/big-jump-table/main.c -------------------------------------------------------------------------------- /unit-tests/test-cases/big-stack/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/big-stack/Makefile -------------------------------------------------------------------------------- /unit-tests/test-cases/big-stack/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/big-stack/main.c -------------------------------------------------------------------------------- /unit-tests/test-cases/branch-islands/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/branch-islands/Makefile -------------------------------------------------------------------------------- /unit-tests/test-cases/branch-islands/extra.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/branch-islands/extra.c -------------------------------------------------------------------------------- /unit-tests/test-cases/branch-islands/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/branch-islands/main.c -------------------------------------------------------------------------------- /unit-tests/test-cases/branch-islands/space.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/branch-islands/space.s -------------------------------------------------------------------------------- /unit-tests/test-cases/bundle-basic/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/bundle-basic/Makefile -------------------------------------------------------------------------------- /unit-tests/test-cases/bundle-basic/bundle.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/bundle-basic/bundle.c -------------------------------------------------------------------------------- /unit-tests/test-cases/bundle-basic/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/bundle-basic/main.c -------------------------------------------------------------------------------- /unit-tests/test-cases/bundle-dont-gc/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/bundle-dont-gc/Makefile -------------------------------------------------------------------------------- /unit-tests/test-cases/bundle-dont-gc/bar.c: -------------------------------------------------------------------------------- 1 | 2 | void bar() {} 3 | 4 | -------------------------------------------------------------------------------- /unit-tests/test-cases/bundle-dont-gc/foo.c: -------------------------------------------------------------------------------- 1 | 2 | void foo() {} 3 | 4 | -------------------------------------------------------------------------------- /unit-tests/test-cases/bundle-dont-gc/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/bundle-dont-gc/main.c -------------------------------------------------------------------------------- /unit-tests/test-cases/bundle-private/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/bundle-private/Makefile -------------------------------------------------------------------------------- /unit-tests/test-cases/bundle-private/bundle.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/bundle-private/bundle.c -------------------------------------------------------------------------------- /unit-tests/test-cases/bundle-private/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/bundle-private/main.c -------------------------------------------------------------------------------- /unit-tests/test-cases/bundle-reload/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/bundle-reload/Makefile -------------------------------------------------------------------------------- /unit-tests/test-cases/bundle-reload/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/bundle-reload/main.c -------------------------------------------------------------------------------- /unit-tests/test-cases/bundle-unlinkable/lib.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/bundle-unlinkable/lib.c -------------------------------------------------------------------------------- /unit-tests/test-cases/bundle-v-dylib/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/bundle-v-dylib/Makefile -------------------------------------------------------------------------------- /unit-tests/test-cases/bundle-v-dylib/bar.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/bundle-v-dylib/bar.c -------------------------------------------------------------------------------- /unit-tests/test-cases/bundle-v-dylib/foo.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/bundle-v-dylib/foo.c -------------------------------------------------------------------------------- /unit-tests/test-cases/bundle-v-dylib/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/bundle-v-dylib/main.c -------------------------------------------------------------------------------- /unit-tests/test-cases/bundle-weak/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/bundle-weak/Makefile -------------------------------------------------------------------------------- /unit-tests/test-cases/bundle-weak/bundle.cxx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/bundle-weak/bundle.cxx -------------------------------------------------------------------------------- /unit-tests/test-cases/bundle-weak/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/bundle-weak/main.c -------------------------------------------------------------------------------- /unit-tests/test-cases/coreSymbolication-notify/bar.c: -------------------------------------------------------------------------------- 1 | 2 | int bar = 10; 3 | -------------------------------------------------------------------------------- /unit-tests/test-cases/coreSymbolication-notify/foo.c: -------------------------------------------------------------------------------- 1 | 2 | void foo() {} 3 | 4 | -------------------------------------------------------------------------------- /unit-tests/test-cases/crt-apple/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/crt-apple/Makefile -------------------------------------------------------------------------------- /unit-tests/test-cases/crt-apple/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/crt-apple/main.c -------------------------------------------------------------------------------- /unit-tests/test-cases/crt-argv-NULL/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/crt-argv-NULL/Makefile -------------------------------------------------------------------------------- /unit-tests/test-cases/crt-argv-NULL/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/crt-argv-NULL/main.c -------------------------------------------------------------------------------- /unit-tests/test-cases/crt-custom/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/crt-custom/Makefile -------------------------------------------------------------------------------- /unit-tests/test-cases/crt-custom/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/crt-custom/main.c -------------------------------------------------------------------------------- /unit-tests/test-cases/crt-custom/mystart.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/crt-custom/mystart.s -------------------------------------------------------------------------------- /unit-tests/test-cases/crt-libSystem/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/crt-libSystem/Makefile -------------------------------------------------------------------------------- /unit-tests/test-cases/crt-libSystem/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/crt-libSystem/main.c -------------------------------------------------------------------------------- /unit-tests/test-cases/crt-result/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/crt-result/Makefile -------------------------------------------------------------------------------- /unit-tests/test-cases/crt-result/bad.c: -------------------------------------------------------------------------------- 1 | int main() { return 1; } 2 | -------------------------------------------------------------------------------- /unit-tests/test-cases/crt-result/good.c: -------------------------------------------------------------------------------- 1 | int main() { return 0; } 2 | -------------------------------------------------------------------------------- /unit-tests/test-cases/cxa_finalize/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/cxa_finalize/Makefile -------------------------------------------------------------------------------- /unit-tests/test-cases/cxa_finalize/foo.cxx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/cxa_finalize/foo.cxx -------------------------------------------------------------------------------- /unit-tests/test-cases/cxa_finalize/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/cxa_finalize/main.c -------------------------------------------------------------------------------- /unit-tests/test-cases/deadlock/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/deadlock/Makefile -------------------------------------------------------------------------------- /unit-tests/test-cases/deadlock/bar.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/deadlock/bar.c -------------------------------------------------------------------------------- /unit-tests/test-cases/deadlock/foo.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/deadlock/foo.c -------------------------------------------------------------------------------- /unit-tests/test-cases/deadlock/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/deadlock/main.c -------------------------------------------------------------------------------- /unit-tests/test-cases/dladdr-stripped/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/dladdr-stripped/main.c -------------------------------------------------------------------------------- /unit-tests/test-cases/dladdr/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/dladdr/Makefile -------------------------------------------------------------------------------- /unit-tests/test-cases/dladdr/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/dladdr/main.c -------------------------------------------------------------------------------- /unit-tests/test-cases/dlclose-basic/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/dlclose-basic/Makefile -------------------------------------------------------------------------------- /unit-tests/test-cases/dlclose-basic/foo.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/dlclose-basic/foo.c -------------------------------------------------------------------------------- /unit-tests/test-cases/dlclose-basic/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/dlclose-basic/main.c -------------------------------------------------------------------------------- /unit-tests/test-cases/dlclose-dylib-ref-count/bar.c: -------------------------------------------------------------------------------- 1 | 2 | 3 | int bar() 4 | { 5 | return 10; 6 | } 7 | -------------------------------------------------------------------------------- /unit-tests/test-cases/dlclose-dylib-ref-count/base.c: -------------------------------------------------------------------------------- 1 | void base() { } 2 | -------------------------------------------------------------------------------- /unit-tests/test-cases/dlclose-dylib-ref-count/foo.c: -------------------------------------------------------------------------------- 1 | 2 | int foo() 3 | { 4 | return 10; 5 | } 6 | -------------------------------------------------------------------------------- /unit-tests/test-cases/dlclose-order/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/dlclose-order/Makefile -------------------------------------------------------------------------------- /unit-tests/test-cases/dlclose-order/bar.cxx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/dlclose-order/bar.cxx -------------------------------------------------------------------------------- /unit-tests/test-cases/dlclose-order/base.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/dlclose-order/base.c -------------------------------------------------------------------------------- /unit-tests/test-cases/dlclose-order/base.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/dlclose-order/base.h -------------------------------------------------------------------------------- /unit-tests/test-cases/dlclose-order/baz.cxx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/dlclose-order/baz.cxx -------------------------------------------------------------------------------- /unit-tests/test-cases/dlclose-order/foo.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/dlclose-order/foo.c -------------------------------------------------------------------------------- /unit-tests/test-cases/dlclose-order/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/dlclose-order/main.c -------------------------------------------------------------------------------- /unit-tests/test-cases/dlclose-unmap/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/dlclose-unmap/Makefile -------------------------------------------------------------------------------- /unit-tests/test-cases/dlclose-unmap/foo.c: -------------------------------------------------------------------------------- 1 | 2 | void foo() {} -------------------------------------------------------------------------------- /unit-tests/test-cases/dlclose-unmap/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/dlclose-unmap/main.c -------------------------------------------------------------------------------- /unit-tests/test-cases/dlerror-clear/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/dlerror-clear/Makefile -------------------------------------------------------------------------------- /unit-tests/test-cases/dlerror-clear/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/dlerror-clear/main.c -------------------------------------------------------------------------------- /unit-tests/test-cases/dlerror/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/dlerror/Makefile -------------------------------------------------------------------------------- /unit-tests/test-cases/dlerror/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/dlerror/main.c -------------------------------------------------------------------------------- /unit-tests/test-cases/dlopen-DYLD_FALLBACK_LIBRARY_PATH/foo.c: -------------------------------------------------------------------------------- 1 | 2 | 3 | int foo() 4 | { 5 | return 0; 6 | } 7 | -------------------------------------------------------------------------------- /unit-tests/test-cases/dlopen-RTLD_FIRST/bar.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/dlopen-RTLD_FIRST/bar.c -------------------------------------------------------------------------------- /unit-tests/test-cases/dlopen-RTLD_FIRST/foo.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/dlopen-RTLD_FIRST/foo.c -------------------------------------------------------------------------------- /unit-tests/test-cases/dlopen-RTLD_LOCAL-weak/bar.c: -------------------------------------------------------------------------------- 1 | int __attribute__((weak)) A[] = { 1, 2, 3, 4 }; 2 | 3 | 4 | int* getA() { return A; } 5 | 6 | -------------------------------------------------------------------------------- /unit-tests/test-cases/dlopen-RTLD_LOCAL/bar.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/dlopen-RTLD_LOCAL/bar.c -------------------------------------------------------------------------------- /unit-tests/test-cases/dlopen-RTLD_LOCAL/foo.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/dlopen-RTLD_LOCAL/foo.c -------------------------------------------------------------------------------- /unit-tests/test-cases/dlopen-RTLD_NOLOAD-symlink/bar.c: -------------------------------------------------------------------------------- 1 | int bar() { return 0; } 2 | -------------------------------------------------------------------------------- /unit-tests/test-cases/dlopen-RTLD_NOLOAD-symlink/foo.c: -------------------------------------------------------------------------------- 1 | int foo() { return 0; } 2 | 3 | -------------------------------------------------------------------------------- /unit-tests/test-cases/dlopen-RTLD_NOW/foo.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/dlopen-RTLD_NOW/foo.c -------------------------------------------------------------------------------- /unit-tests/test-cases/dlopen-RTLD_NOW/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/dlopen-RTLD_NOW/main.c -------------------------------------------------------------------------------- /unit-tests/test-cases/dlopen-basic/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/dlopen-basic/Makefile -------------------------------------------------------------------------------- /unit-tests/test-cases/dlopen-basic/foo.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/dlopen-basic/foo.c -------------------------------------------------------------------------------- /unit-tests/test-cases/dlopen-basic/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/dlopen-basic/main.c -------------------------------------------------------------------------------- /unit-tests/test-cases/dlopen-codesign-dynamic/foo.c: -------------------------------------------------------------------------------- 1 | void foo() 2 | { 3 | } 4 | -------------------------------------------------------------------------------- /unit-tests/test-cases/dlopen-codesign/foo.c: -------------------------------------------------------------------------------- 1 | void foo() 2 | { 3 | } 4 | -------------------------------------------------------------------------------- /unit-tests/test-cases/dlopen-codesign/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/dlopen-codesign/main.c -------------------------------------------------------------------------------- /unit-tests/test-cases/dlopen-error/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/dlopen-error/Makefile -------------------------------------------------------------------------------- /unit-tests/test-cases/dlopen-error/foo.c: -------------------------------------------------------------------------------- 1 | 2 | void foo() {} 3 | -------------------------------------------------------------------------------- /unit-tests/test-cases/dlopen-error/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/dlopen-error/main.c -------------------------------------------------------------------------------- /unit-tests/test-cases/dlopen-executable/foo.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/dlopen-executable/foo.c -------------------------------------------------------------------------------- /unit-tests/test-cases/dlopen-init-dlopen-notify/bar.c: -------------------------------------------------------------------------------- 1 | void bar() {} 2 | -------------------------------------------------------------------------------- /unit-tests/test-cases/dlopen-init-dlopen/bar.c: -------------------------------------------------------------------------------- 1 | void bar() {} 2 | -------------------------------------------------------------------------------- /unit-tests/test-cases/dlopen-init-up/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/dlopen-init-up/Makefile -------------------------------------------------------------------------------- /unit-tests/test-cases/dlopen-init-up/bar.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/dlopen-init-up/bar.c -------------------------------------------------------------------------------- /unit-tests/test-cases/dlopen-init-up/foo.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/dlopen-init-up/foo.c -------------------------------------------------------------------------------- /unit-tests/test-cases/dlopen-init-up/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/dlopen-init-up/main.c -------------------------------------------------------------------------------- /unit-tests/test-cases/dlopen-leak/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/dlopen-leak/Makefile -------------------------------------------------------------------------------- /unit-tests/test-cases/dlopen-leak/bar.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/dlopen-leak/bar.c -------------------------------------------------------------------------------- /unit-tests/test-cases/dlopen-leak/foo.c: -------------------------------------------------------------------------------- 1 | void foo() 2 | { 3 | } 4 | -------------------------------------------------------------------------------- /unit-tests/test-cases/dlopen-leak/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/dlopen-leak/main.c -------------------------------------------------------------------------------- /unit-tests/test-cases/dlopen-multi/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/dlopen-multi/Makefile -------------------------------------------------------------------------------- /unit-tests/test-cases/dlopen-multi/foo.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/dlopen-multi/foo.c -------------------------------------------------------------------------------- /unit-tests/test-cases/dlopen-multi/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/dlopen-multi/main.c -------------------------------------------------------------------------------- /unit-tests/test-cases/dlopen-sandbox/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/dlopen-sandbox/Makefile -------------------------------------------------------------------------------- /unit-tests/test-cases/dlopen-sandbox/base.sb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/dlopen-sandbox/base.sb -------------------------------------------------------------------------------- /unit-tests/test-cases/dlopen-sandbox/foo.c: -------------------------------------------------------------------------------- 1 | 2 | 3 | int foo() 4 | { 5 | return 42; 6 | } 7 | 8 | -------------------------------------------------------------------------------- /unit-tests/test-cases/dlopen-sandbox/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/dlopen-sandbox/main.c -------------------------------------------------------------------------------- /unit-tests/test-cases/dlopen-search-leak/foo.c: -------------------------------------------------------------------------------- 1 | void foo() 2 | { 3 | } 4 | -------------------------------------------------------------------------------- /unit-tests/test-cases/dlopen-zero/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/dlopen-zero/Makefile -------------------------------------------------------------------------------- /unit-tests/test-cases/dlopen-zero/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/dlopen-zero/main.c -------------------------------------------------------------------------------- /unit-tests/test-cases/dlopen_preflight-basic/bar.c: -------------------------------------------------------------------------------- 1 | 2 | int bar = 10; 3 | -------------------------------------------------------------------------------- /unit-tests/test-cases/dlopen_preflight-basic/foo.c: -------------------------------------------------------------------------------- 1 | 2 | void foo() {} 3 | 4 | -------------------------------------------------------------------------------- /unit-tests/test-cases/dlopen_preflight-cycle/bar.c: -------------------------------------------------------------------------------- 1 | 2 | int bar = 10; 3 | -------------------------------------------------------------------------------- /unit-tests/test-cases/dlopen_preflight-cycle/baz.c: -------------------------------------------------------------------------------- 1 | void baz() {} 2 | -------------------------------------------------------------------------------- /unit-tests/test-cases/dlopen_preflight-cycle/foo.c: -------------------------------------------------------------------------------- 1 | 2 | void foo() {} 3 | 4 | -------------------------------------------------------------------------------- /unit-tests/test-cases/dlopen_preflight-leak-image-deny-single/foo.c: -------------------------------------------------------------------------------- 1 | void foo() 2 | { 3 | } 4 | -------------------------------------------------------------------------------- /unit-tests/test-cases/dlopen_preflight-leak/bar.c: -------------------------------------------------------------------------------- 1 | void bar() 2 | { 3 | } 4 | -------------------------------------------------------------------------------- /unit-tests/test-cases/dlopen_preflight-leak/foo.c: -------------------------------------------------------------------------------- 1 | void foo() 2 | { 3 | } 4 | -------------------------------------------------------------------------------- /unit-tests/test-cases/dlsym-RTLD_NEXT/foo.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/dlsym-RTLD_NEXT/foo.c -------------------------------------------------------------------------------- /unit-tests/test-cases/dlsym-RTLD_NEXT/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/dlsym-RTLD_NEXT/main.c -------------------------------------------------------------------------------- /unit-tests/test-cases/dlsym-RTLD_NEXT/test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/dlsym-RTLD_NEXT/test.c -------------------------------------------------------------------------------- /unit-tests/test-cases/dlsym-RTLD_SELF/foo.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/dlsym-RTLD_SELF/foo.c -------------------------------------------------------------------------------- /unit-tests/test-cases/dlsym-RTLD_SELF/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/dlsym-RTLD_SELF/main.c -------------------------------------------------------------------------------- /unit-tests/test-cases/dlsym-RTLD_SELF/test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/dlsym-RTLD_SELF/test.c -------------------------------------------------------------------------------- /unit-tests/test-cases/dlsym-error/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/dlsym-error/Makefile -------------------------------------------------------------------------------- /unit-tests/test-cases/dlsym-error/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/dlsym-error/main.c -------------------------------------------------------------------------------- /unit-tests/test-cases/dlsym-indirect/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/dlsym-indirect/Makefile -------------------------------------------------------------------------------- /unit-tests/test-cases/dlsym-indirect/foo.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/dlsym-indirect/foo.c -------------------------------------------------------------------------------- /unit-tests/test-cases/dlsym-indirect/foo1.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/dlsym-indirect/foo1.c -------------------------------------------------------------------------------- /unit-tests/test-cases/dlsym-indirect/foo2.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/dlsym-indirect/foo2.c -------------------------------------------------------------------------------- /unit-tests/test-cases/dlsym-indirect/foo3.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/dlsym-indirect/foo3.c -------------------------------------------------------------------------------- /unit-tests/test-cases/dlsym-indirect/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/dlsym-indirect/main.c -------------------------------------------------------------------------------- /unit-tests/test-cases/dyld-func-lookup/foo.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/dyld-func-lookup/foo.c -------------------------------------------------------------------------------- /unit-tests/test-cases/dyld-func-lookup/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/dyld-func-lookup/main.c -------------------------------------------------------------------------------- /unit-tests/test-cases/dyld_shared_cache_iterate_text-strings: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /unit-tests/test-cases/env-DYLD_FALLBACK_LIBRARY_PATH/compress.c: -------------------------------------------------------------------------------- 1 | int compress() 2 | { 3 | return 0; 4 | } 5 | -------------------------------------------------------------------------------- /unit-tests/test-cases/executable-image-index/foo.c: -------------------------------------------------------------------------------- 1 | void foo() { } 2 | 3 | -------------------------------------------------------------------------------- /unit-tests/test-cases/flat-data/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/flat-data/Makefile -------------------------------------------------------------------------------- /unit-tests/test-cases/flat-data/bar.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/flat-data/bar.c -------------------------------------------------------------------------------- /unit-tests/test-cases/flat-data/getbar.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/flat-data/getbar.c -------------------------------------------------------------------------------- /unit-tests/test-cases/flat-data/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/flat-data/main.c -------------------------------------------------------------------------------- /unit-tests/test-cases/flat-insert/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/flat-insert/Makefile -------------------------------------------------------------------------------- /unit-tests/test-cases/flat-insert/foo.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/flat-insert/foo.c -------------------------------------------------------------------------------- /unit-tests/test-cases/flat-insert/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/flat-insert/main.c -------------------------------------------------------------------------------- /unit-tests/test-cases/flat-prebound/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/flat-prebound/Makefile -------------------------------------------------------------------------------- /unit-tests/test-cases/flat-prebound/bar.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/flat-prebound/bar.c -------------------------------------------------------------------------------- /unit-tests/test-cases/flat-prebound/foo.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/flat-prebound/foo.c -------------------------------------------------------------------------------- /unit-tests/test-cases/flat-prebound/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/flat-prebound/main.c -------------------------------------------------------------------------------- /unit-tests/test-cases/framework-DYLD_LIBRARY_PATH/foo.c: -------------------------------------------------------------------------------- 1 | 2 | int foo() 3 | { 4 | return RESULT; 5 | } 6 | -------------------------------------------------------------------------------- /unit-tests/test-cases/ignore-bad-files/foo.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/ignore-bad-files/foo.c -------------------------------------------------------------------------------- /unit-tests/test-cases/ignore-bad-files/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/ignore-bad-files/main.c -------------------------------------------------------------------------------- /unit-tests/test-cases/image-count/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/image-count/Makefile -------------------------------------------------------------------------------- /unit-tests/test-cases/image-count/foo.c: -------------------------------------------------------------------------------- 1 | void foo() {} 2 | 3 | -------------------------------------------------------------------------------- /unit-tests/test-cases/image-count/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/image-count/main.c -------------------------------------------------------------------------------- /unit-tests/test-cases/image-remove-crash/foo.c: -------------------------------------------------------------------------------- 1 | 2 | void foo() {} 3 | 4 | -------------------------------------------------------------------------------- /unit-tests/test-cases/image-remove-notification/foo.c: -------------------------------------------------------------------------------- 1 | 2 | void foo() {} 3 | 4 | -------------------------------------------------------------------------------- /unit-tests/test-cases/image-slide/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/image-slide/Makefile -------------------------------------------------------------------------------- /unit-tests/test-cases/image-slide/foo.c: -------------------------------------------------------------------------------- 1 | void foo() {} 2 | 3 | -------------------------------------------------------------------------------- /unit-tests/test-cases/image-slide/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/image-slide/main.c -------------------------------------------------------------------------------- /unit-tests/test-cases/image-state-change/bar.c: -------------------------------------------------------------------------------- 1 | 2 | int bar = 10; 3 | -------------------------------------------------------------------------------- /unit-tests/test-cases/image-state-change/foo.c: -------------------------------------------------------------------------------- 1 | 2 | void foo() {} 3 | 4 | -------------------------------------------------------------------------------- /unit-tests/test-cases/image-state-deny-OFI/bar.c: -------------------------------------------------------------------------------- 1 | 2 | int bar = 10; 3 | -------------------------------------------------------------------------------- /unit-tests/test-cases/image-state-deny-OFI/foo.c: -------------------------------------------------------------------------------- 1 | 2 | void foo() {} 3 | 4 | -------------------------------------------------------------------------------- /unit-tests/test-cases/image-state-deny-all_image_infos/bar.c: -------------------------------------------------------------------------------- 1 | void bar() {} 2 | -------------------------------------------------------------------------------- /unit-tests/test-cases/image-state-deny-cache-leak/bar.c: -------------------------------------------------------------------------------- 1 | 2 | void bar() { } 3 | -------------------------------------------------------------------------------- /unit-tests/test-cases/image-state-deny-cache-leak/foo.c: -------------------------------------------------------------------------------- 1 | 2 | void foo() {} 3 | 4 | -------------------------------------------------------------------------------- /unit-tests/test-cases/image-state-deny-dlclose/foo.c: -------------------------------------------------------------------------------- 1 | 2 | void foo() {} 3 | 4 | -------------------------------------------------------------------------------- /unit-tests/test-cases/image-state-deny-leak/bar.c: -------------------------------------------------------------------------------- 1 | 2 | void bar() { } 3 | -------------------------------------------------------------------------------- /unit-tests/test-cases/image-state-deny-leak/foo.c: -------------------------------------------------------------------------------- 1 | 2 | void foo() {} 3 | 4 | -------------------------------------------------------------------------------- /unit-tests/test-cases/image-state-deny/bar.c: -------------------------------------------------------------------------------- 1 | 2 | int bar = 10; 3 | -------------------------------------------------------------------------------- /unit-tests/test-cases/image-state-deny/foo.c: -------------------------------------------------------------------------------- 1 | 2 | void foo() {} 3 | 4 | -------------------------------------------------------------------------------- /unit-tests/test-cases/image-state-deny/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/image-state-deny/main.c -------------------------------------------------------------------------------- /unit-tests/test-cases/image-suffix/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/image-suffix/Makefile -------------------------------------------------------------------------------- /unit-tests/test-cases/image-suffix/foo.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/image-suffix/foo.c -------------------------------------------------------------------------------- /unit-tests/test-cases/image-suffix/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/image-suffix/main.c -------------------------------------------------------------------------------- /unit-tests/test-cases/image_header_containing_address/foo.c: -------------------------------------------------------------------------------- 1 | void foo() {} 2 | -------------------------------------------------------------------------------- /unit-tests/test-cases/image_path_containing_address/foo.c: -------------------------------------------------------------------------------- 1 | void foo() {} 2 | -------------------------------------------------------------------------------- /unit-tests/test-cases/init-order/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/init-order/Makefile -------------------------------------------------------------------------------- /unit-tests/test-cases/init-order/base.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/init-order/base.c -------------------------------------------------------------------------------- /unit-tests/test-cases/init-order/base.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/init-order/base.h -------------------------------------------------------------------------------- /unit-tests/test-cases/init-order/foo1.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/init-order/foo1.c -------------------------------------------------------------------------------- /unit-tests/test-cases/init-order/foo2.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/init-order/foo2.c -------------------------------------------------------------------------------- /unit-tests/test-cases/init-order/foo3.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/init-order/foo3.c -------------------------------------------------------------------------------- /unit-tests/test-cases/init-order/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/init-order/main.c -------------------------------------------------------------------------------- /unit-tests/test-cases/initializer-args/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/initializer-args/main.c -------------------------------------------------------------------------------- /unit-tests/test-cases/interpose-basic/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/interpose-basic/main.c -------------------------------------------------------------------------------- /unit-tests/test-cases/interpose-basic/wrap.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/interpose-basic/wrap.c -------------------------------------------------------------------------------- /unit-tests/test-cases/interpose-chained/foo.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/interpose-chained/foo.c -------------------------------------------------------------------------------- /unit-tests/test-cases/interpose-chained/foo.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/interpose-chained/foo.h -------------------------------------------------------------------------------- /unit-tests/test-cases/interpose-dlsym/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/interpose-dlsym/main.c -------------------------------------------------------------------------------- /unit-tests/test-cases/jump-table-race/foo.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/jump-table-race/foo.c -------------------------------------------------------------------------------- /unit-tests/test-cases/jump-table-race/foo.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/jump-table-race/foo.h -------------------------------------------------------------------------------- /unit-tests/test-cases/jump-table-race/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/jump-table-race/main.c -------------------------------------------------------------------------------- /unit-tests/test-cases/lazy-dylib-missing-dylib/foo.c: -------------------------------------------------------------------------------- 1 | 2 | 3 | int foo() 4 | { 5 | return 1; 6 | } 7 | -------------------------------------------------------------------------------- /unit-tests/test-cases/lib-name-overload/foo.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/lib-name-overload/foo.c -------------------------------------------------------------------------------- /unit-tests/test-cases/loader_path-dup/bar.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/loader_path-dup/bar.c -------------------------------------------------------------------------------- /unit-tests/test-cases/loader_path-dup/base.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/loader_path-dup/base.c -------------------------------------------------------------------------------- /unit-tests/test-cases/loader_path-dup/foo.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/loader_path-dup/foo.c -------------------------------------------------------------------------------- /unit-tests/test-cases/loader_path-dup/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/loader_path-dup/main.c -------------------------------------------------------------------------------- /unit-tests/test-cases/loader_path-symlink/bar.c: -------------------------------------------------------------------------------- 1 | void bar() 2 | { 3 | } 4 | -------------------------------------------------------------------------------- /unit-tests/test-cases/loader_path-symlink/foo.c: -------------------------------------------------------------------------------- 1 | void foo() 2 | { 3 | } 4 | -------------------------------------------------------------------------------- /unit-tests/test-cases/loader_path/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/loader_path/Makefile -------------------------------------------------------------------------------- /unit-tests/test-cases/loader_path/bar.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/loader_path/bar.c -------------------------------------------------------------------------------- /unit-tests/test-cases/loader_path/foo.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/loader_path/foo.c -------------------------------------------------------------------------------- /unit-tests/test-cases/loader_path/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/loader_path/main.c -------------------------------------------------------------------------------- /unit-tests/test-cases/non-lazy-slide/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/non-lazy-slide/Makefile -------------------------------------------------------------------------------- /unit-tests/test-cases/non-lazy-slide/bar.c: -------------------------------------------------------------------------------- 1 | 2 | 3 | int bar = 10; 4 | -------------------------------------------------------------------------------- /unit-tests/test-cases/non-lazy-slide/foo.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/non-lazy-slide/foo.c -------------------------------------------------------------------------------- /unit-tests/test-cases/non-lazy-slide/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/non-lazy-slide/main.c -------------------------------------------------------------------------------- /unit-tests/test-cases/non-lazy-weak/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/non-lazy-weak/Makefile -------------------------------------------------------------------------------- /unit-tests/test-cases/non-lazy-weak/bar.c: -------------------------------------------------------------------------------- 1 | 2 | 3 | __attribute__((weak)) int bar = 10; 4 | -------------------------------------------------------------------------------- /unit-tests/test-cases/non-lazy-weak/foo.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/non-lazy-weak/foo.c -------------------------------------------------------------------------------- /unit-tests/test-cases/non-lazy-weak/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/non-lazy-weak/main.c -------------------------------------------------------------------------------- /unit-tests/test-cases/non-weak-library/foo.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/non-weak-library/foo.c -------------------------------------------------------------------------------- /unit-tests/test-cases/non-weak-library/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/non-weak-library/main.c -------------------------------------------------------------------------------- /unit-tests/test-cases/operator-new/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/operator-new/Makefile -------------------------------------------------------------------------------- /unit-tests/test-cases/operator-new/main.cxx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/operator-new/main.cxx -------------------------------------------------------------------------------- /unit-tests/test-cases/pie-basic/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/pie-basic/Makefile -------------------------------------------------------------------------------- /unit-tests/test-cases/pie-basic/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/pie-basic/main.c -------------------------------------------------------------------------------- /unit-tests/test-cases/pie-big/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/pie-big/Makefile -------------------------------------------------------------------------------- /unit-tests/test-cases/pie-big/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/pie-big/main.c -------------------------------------------------------------------------------- /unit-tests/test-cases/pie-custom-stack/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/pie-custom-stack/main.c -------------------------------------------------------------------------------- /unit-tests/test-cases/pie-dylib/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/pie-dylib/Makefile -------------------------------------------------------------------------------- /unit-tests/test-cases/pie-dylib/foo.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/pie-dylib/foo.c -------------------------------------------------------------------------------- /unit-tests/test-cases/pie-dylib/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/pie-dylib/main.c -------------------------------------------------------------------------------- /unit-tests/test-cases/pie-text-reloc/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/pie-text-reloc/Makefile -------------------------------------------------------------------------------- /unit-tests/test-cases/pie-text-reloc/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/pie-text-reloc/main.c -------------------------------------------------------------------------------- /unit-tests/test-cases/progname/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/progname/Makefile -------------------------------------------------------------------------------- /unit-tests/test-cases/progname/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/progname/main.c -------------------------------------------------------------------------------- /unit-tests/test-cases/pthread-keys/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/pthread-keys/Makefile -------------------------------------------------------------------------------- /unit-tests/test-cases/pthread-keys/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/pthread-keys/main.c -------------------------------------------------------------------------------- /unit-tests/test-cases/re-export-dylib/bar.c: -------------------------------------------------------------------------------- 1 | int bar() 2 | { 3 | return 1; 4 | } 5 | 6 | 7 | -------------------------------------------------------------------------------- /unit-tests/test-cases/re-export-dylib/foo.c: -------------------------------------------------------------------------------- 1 | int foo() 2 | { 3 | return 0; 4 | } 5 | 6 | -------------------------------------------------------------------------------- /unit-tests/test-cases/re-export-dylib/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/re-export-dylib/main.c -------------------------------------------------------------------------------- /unit-tests/test-cases/re-export-framework/bar.c: -------------------------------------------------------------------------------- 1 | int bar() 2 | { 3 | return 1; 4 | } 5 | 6 | 7 | -------------------------------------------------------------------------------- /unit-tests/test-cases/re-export-framework/foo.c: -------------------------------------------------------------------------------- 1 | int foo() 2 | { 3 | return 0; 4 | } 5 | 6 | -------------------------------------------------------------------------------- /unit-tests/test-cases/re-export-sub-framework/bar.c: -------------------------------------------------------------------------------- 1 | int bar() 2 | { 3 | return 1; 4 | } 5 | 6 | 7 | -------------------------------------------------------------------------------- /unit-tests/test-cases/re-export-sub-framework/foo.c: -------------------------------------------------------------------------------- 1 | int foo() 2 | { 3 | return 0; 4 | } 5 | 6 | -------------------------------------------------------------------------------- /unit-tests/test-cases/re-export-symbol-dylib/bar.c: -------------------------------------------------------------------------------- 1 | 2 | int bar(void) 3 | { 4 | return 2; 5 | } 6 | -------------------------------------------------------------------------------- /unit-tests/test-cases/re-export-symbol-dylib/baz.c: -------------------------------------------------------------------------------- 1 | int baz() 2 | { 3 | return 3; 4 | } 5 | 6 | -------------------------------------------------------------------------------- /unit-tests/test-cases/re-export-symbol-dylib/baz.exp: -------------------------------------------------------------------------------- 1 | _baz 2 | _frob 3 | -------------------------------------------------------------------------------- /unit-tests/test-cases/re-export-symbol-dylib/foo.c: -------------------------------------------------------------------------------- 1 | int foo(void) 2 | { 3 | return 1; 4 | } 5 | -------------------------------------------------------------------------------- /unit-tests/test-cases/re-export-symbol-dylib/frob.c: -------------------------------------------------------------------------------- 1 | int frob() 2 | { 3 | return 4; 4 | } 5 | 6 | -------------------------------------------------------------------------------- /unit-tests/test-cases/re-export-symbol/bar.c: -------------------------------------------------------------------------------- 1 | 2 | int bar(void) 3 | { 4 | return 10; 5 | } 6 | -------------------------------------------------------------------------------- /unit-tests/test-cases/re-export-symbol/foo.c: -------------------------------------------------------------------------------- 1 | int foo(void) 2 | { 3 | return 10; 4 | } 5 | -------------------------------------------------------------------------------- /unit-tests/test-cases/re-export-symbol/foo.exp: -------------------------------------------------------------------------------- 1 | _foo 2 | _bar 3 | -------------------------------------------------------------------------------- /unit-tests/test-cases/re-export-symbol/foo2.exp: -------------------------------------------------------------------------------- 1 | _foo 2 | _mybar 3 | -------------------------------------------------------------------------------- /unit-tests/test-cases/read-only-stubs/bar.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/read-only-stubs/bar.c -------------------------------------------------------------------------------- /unit-tests/test-cases/read-only-stubs/foo.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/read-only-stubs/foo.c -------------------------------------------------------------------------------- /unit-tests/test-cases/read-only-stubs/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/read-only-stubs/main.c -------------------------------------------------------------------------------- /unit-tests/test-cases/restrict-environ/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/restrict-environ/main.c -------------------------------------------------------------------------------- /unit-tests/test-cases/restrict-executable_path/foo.c: -------------------------------------------------------------------------------- 1 | 2 | 3 | int foo() { return 1; } 4 | 5 | 6 | -------------------------------------------------------------------------------- /unit-tests/test-cases/rpath-DYLD_ROOT_PATH/foo.c: -------------------------------------------------------------------------------- 1 | int foo() 2 | { 3 | return 1; 4 | } 5 | -------------------------------------------------------------------------------- /unit-tests/test-cases/rpath-basic/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/rpath-basic/Makefile -------------------------------------------------------------------------------- /unit-tests/test-cases/rpath-basic/bar.c: -------------------------------------------------------------------------------- 1 | void bar() 2 | { 3 | } 4 | -------------------------------------------------------------------------------- /unit-tests/test-cases/rpath-basic/foo.c: -------------------------------------------------------------------------------- 1 | void foo() 2 | { 3 | } 4 | -------------------------------------------------------------------------------- /unit-tests/test-cases/rpath-basic/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/rpath-basic/main.c -------------------------------------------------------------------------------- /unit-tests/test-cases/rpath-dlopen-in-dylib/foo.c: -------------------------------------------------------------------------------- 1 | void foo() 2 | { 3 | } 4 | -------------------------------------------------------------------------------- /unit-tests/test-cases/rpath-dlopen-leak/foo.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/rpath-dlopen-leak/foo.c -------------------------------------------------------------------------------- /unit-tests/test-cases/rpath-dlopen/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/rpath-dlopen/Makefile -------------------------------------------------------------------------------- /unit-tests/test-cases/rpath-dlopen/foo.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/rpath-dlopen/foo.c -------------------------------------------------------------------------------- /unit-tests/test-cases/rpath-dlopen/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/rpath-dlopen/main.c -------------------------------------------------------------------------------- /unit-tests/test-cases/rpath-executable_path/foo.c: -------------------------------------------------------------------------------- 1 | 2 | 3 | void foo() 4 | { 5 | } 6 | -------------------------------------------------------------------------------- /unit-tests/test-cases/rpath-indirect-suid/bar.c: -------------------------------------------------------------------------------- 1 | 2 | void bar() 3 | { 4 | } 5 | 6 | 7 | -------------------------------------------------------------------------------- /unit-tests/test-cases/rpath-indirect-suid/foo.c: -------------------------------------------------------------------------------- 1 | void foo() 2 | { 3 | } 4 | -------------------------------------------------------------------------------- /unit-tests/test-cases/rpath-introspection/foo.c: -------------------------------------------------------------------------------- 1 | void foo() 2 | { 3 | } 4 | -------------------------------------------------------------------------------- /unit-tests/test-cases/rpath-loader_path-dlopen/baz.c: -------------------------------------------------------------------------------- 1 | 2 | void baz() 3 | { 4 | } 5 | 6 | 7 | -------------------------------------------------------------------------------- /unit-tests/test-cases/rpath-loader_path/foo.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/rpath-loader_path/foo.c -------------------------------------------------------------------------------- /unit-tests/test-cases/rpath-nesting/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/rpath-nesting/Makefile -------------------------------------------------------------------------------- /unit-tests/test-cases/rpath-nesting/bar.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/rpath-nesting/bar.c -------------------------------------------------------------------------------- /unit-tests/test-cases/rpath-nesting/baz.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/rpath-nesting/baz.c -------------------------------------------------------------------------------- /unit-tests/test-cases/rpath-nesting/foo.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/rpath-nesting/foo.c -------------------------------------------------------------------------------- /unit-tests/test-cases/rpath-nesting/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/rpath-nesting/main.c -------------------------------------------------------------------------------- /unit-tests/test-cases/rpath-no-trailing-slash/foo.c: -------------------------------------------------------------------------------- 1 | void foo() 2 | { 3 | } 4 | -------------------------------------------------------------------------------- /unit-tests/test-cases/suid-environ/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/suid-environ/Makefile -------------------------------------------------------------------------------- /unit-tests/test-cases/suid-environ/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/suid-environ/main.c -------------------------------------------------------------------------------- /unit-tests/test-cases/suid-executable_path/foo.c: -------------------------------------------------------------------------------- 1 | 2 | 3 | int foo() { return 1; } 4 | 5 | 6 | -------------------------------------------------------------------------------- /unit-tests/test-cases/sym-link-load/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/sym-link-load/Makefile -------------------------------------------------------------------------------- /unit-tests/test-cases/sym-link-load/base.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/sym-link-load/base.c -------------------------------------------------------------------------------- /unit-tests/test-cases/sym-link-load/base.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/sym-link-load/base.h -------------------------------------------------------------------------------- /unit-tests/test-cases/sym-link-load/link.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/sym-link-load/link.c -------------------------------------------------------------------------------- /unit-tests/test-cases/sym-link-load/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/sym-link-load/main.c -------------------------------------------------------------------------------- /unit-tests/test-cases/sym-link-load/test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/sym-link-load/test.c -------------------------------------------------------------------------------- /unit-tests/test-cases/template/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/template/Makefile -------------------------------------------------------------------------------- /unit-tests/test-cases/template/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/template/main.c -------------------------------------------------------------------------------- /unit-tests/test-cases/text-relocs-perms/foo.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/text-relocs-perms/foo.c -------------------------------------------------------------------------------- /unit-tests/test-cases/text-relocs/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/text-relocs/Makefile -------------------------------------------------------------------------------- /unit-tests/test-cases/text-relocs/bar.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/text-relocs/bar.c -------------------------------------------------------------------------------- /unit-tests/test-cases/text-relocs/bind.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/text-relocs/bind.c -------------------------------------------------------------------------------- /unit-tests/test-cases/text-relocs/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/text-relocs/main.c -------------------------------------------------------------------------------- /unit-tests/test-cases/text-relocs/space.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/text-relocs/space.s -------------------------------------------------------------------------------- /unit-tests/test-cases/tlv-basic/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/tlv-basic/Makefile -------------------------------------------------------------------------------- /unit-tests/test-cases/tlv-basic/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/tlv-basic/main.c -------------------------------------------------------------------------------- /unit-tests/test-cases/tlv-dylib/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/tlv-dylib/Makefile -------------------------------------------------------------------------------- /unit-tests/test-cases/tlv-dylib/foo.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/tlv-dylib/foo.c -------------------------------------------------------------------------------- /unit-tests/test-cases/tlv-dylib/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/tlv-dylib/main.c -------------------------------------------------------------------------------- /unit-tests/test-cases/tlv-initializer/get.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/tlv-initializer/get.s -------------------------------------------------------------------------------- /unit-tests/test-cases/tlv-initializer/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/tlv-initializer/main.c -------------------------------------------------------------------------------- /unit-tests/test-cases/tlv-terminators/init.s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/tlv-terminators/init.s -------------------------------------------------------------------------------- /unit-tests/test-cases/tlv-terminators/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/tlv-terminators/main.c -------------------------------------------------------------------------------- /unit-tests/test-cases/upward-dylib/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/upward-dylib/Makefile -------------------------------------------------------------------------------- /unit-tests/test-cases/upward-dylib/down.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/upward-dylib/down.c -------------------------------------------------------------------------------- /unit-tests/test-cases/upward-dylib/down.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/upward-dylib/down.h -------------------------------------------------------------------------------- /unit-tests/test-cases/upward-dylib/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/upward-dylib/main.c -------------------------------------------------------------------------------- /unit-tests/test-cases/upward-dylib/main2.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/upward-dylib/main2.c -------------------------------------------------------------------------------- /unit-tests/test-cases/upward-dylib/up.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/upward-dylib/up.c -------------------------------------------------------------------------------- /unit-tests/test-cases/upward-dylib/up.h: -------------------------------------------------------------------------------- 1 | 2 | extern int whatsup(); 3 | -------------------------------------------------------------------------------- /unit-tests/test-cases/weak-coalesce-c++/a.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/weak-coalesce-c++/a.h -------------------------------------------------------------------------------- /unit-tests/test-cases/weak-coalesce-c++/a1.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/weak-coalesce-c++/a1.cc -------------------------------------------------------------------------------- /unit-tests/test-cases/weak-coalesce-c++/a2.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/weak-coalesce-c++/a2.cc -------------------------------------------------------------------------------- /unit-tests/test-cases/weak-coalesce/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/weak-coalesce/Makefile -------------------------------------------------------------------------------- /unit-tests/test-cases/weak-coalesce/base.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/weak-coalesce/base.c -------------------------------------------------------------------------------- /unit-tests/test-cases/weak-coalesce/base.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/weak-coalesce/base.h -------------------------------------------------------------------------------- /unit-tests/test-cases/weak-coalesce/foo1.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/weak-coalesce/foo1.c -------------------------------------------------------------------------------- /unit-tests/test-cases/weak-coalesce/foo2.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/weak-coalesce/foo2.c -------------------------------------------------------------------------------- /unit-tests/test-cases/weak-coalesce/foo3.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/weak-coalesce/foo3.c -------------------------------------------------------------------------------- /unit-tests/test-cases/weak-coalesce/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/weak-coalesce/main.c -------------------------------------------------------------------------------- /unit-tests/test-cases/weak-in-dylib/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/weak-in-dylib/Makefile -------------------------------------------------------------------------------- /unit-tests/test-cases/weak-in-dylib/foo.c: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | int __attribute__((weak)) foo[] = { 1, 2, 3, 4 }; 7 | 8 | -------------------------------------------------------------------------------- /unit-tests/test-cases/weak-in-dylib/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/weak-in-dylib/main.c -------------------------------------------------------------------------------- /unit-tests/test-cases/weak-library/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/weak-library/Makefile -------------------------------------------------------------------------------- /unit-tests/test-cases/weak-library/foo.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/weak-library/foo.c -------------------------------------------------------------------------------- /unit-tests/test-cases/weak-library/foo.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/weak-library/foo.h -------------------------------------------------------------------------------- /unit-tests/test-cases/weak-library/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/weak-library/main.c -------------------------------------------------------------------------------- /unit-tests/test-cases/weak-non-lazy/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/weak-non-lazy/Makefile -------------------------------------------------------------------------------- /unit-tests/test-cases/weak-non-lazy/bar.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/weak-non-lazy/bar.c -------------------------------------------------------------------------------- /unit-tests/test-cases/weak-non-lazy/baz.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/weak-non-lazy/baz.c -------------------------------------------------------------------------------- /unit-tests/test-cases/weak-non-lazy/foo.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/weak-non-lazy/foo.c -------------------------------------------------------------------------------- /unit-tests/test-cases/weak-non-lazy/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/weak-non-lazy/main.c -------------------------------------------------------------------------------- /unit-tests/test-cases/weak-override/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/weak-override/Makefile -------------------------------------------------------------------------------- /unit-tests/test-cases/weak-override/foo.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/weak-override/foo.c -------------------------------------------------------------------------------- /unit-tests/test-cases/weak-override/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/weak-override/main.c -------------------------------------------------------------------------------- /unit-tests/test-cases/weak-symbol-flat/foo.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/weak-symbol-flat/foo.c -------------------------------------------------------------------------------- /unit-tests/test-cases/weak-symbol-flat/foo.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/weak-symbol-flat/foo.h -------------------------------------------------------------------------------- /unit-tests/test-cases/weak-symbol-flat/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/weak-symbol-flat/main.c -------------------------------------------------------------------------------- /unit-tests/test-cases/weak-symbol/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/weak-symbol/Makefile -------------------------------------------------------------------------------- /unit-tests/test-cases/weak-symbol/foo.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/weak-symbol/foo.c -------------------------------------------------------------------------------- /unit-tests/test-cases/weak-symbol/foo.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/weak-symbol/foo.h -------------------------------------------------------------------------------- /unit-tests/test-cases/weak-symbol/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/weak-symbol/main.c -------------------------------------------------------------------------------- /unit-tests/test-cases/weak_import/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/weak_import/Makefile -------------------------------------------------------------------------------- /unit-tests/test-cases/weak_import/foo.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/weak_import/foo.c -------------------------------------------------------------------------------- /unit-tests/test-cases/weak_import/foo.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/weak_import/foo.h -------------------------------------------------------------------------------- /unit-tests/test-cases/weak_import/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/weak_import/main.c -------------------------------------------------------------------------------- /unit-tests/test-cases/zero-fill-segment/foo.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple-opensource/dyld/HEAD/unit-tests/test-cases/zero-fill-segment/foo.c -------------------------------------------------------------------------------- /unit-tests/test-cases/zero-length-segment/foo.c: -------------------------------------------------------------------------------- 1 | void foo() {} 2 | --------------------------------------------------------------------------------