]> git.saurik.com Git - apple/dyld.git/commit - src/dyldStartup.s
dyld-732.8.tar.gz macos-1015 v732.8
authorApple <opensource@apple.com>
Fri, 31 Jan 2020 02:01:22 +0000 (02:01 +0000)
committerApple <opensource@apple.com>
Fri, 31 Jan 2020 02:01:22 +0000 (02:01 +0000)
commitcf998323777926f4bc8fbc6ad67aa0024dd08df2
treea937022897b5c23e83c09615b76d7119deacddf7
parent07b30f7e92a3b2f28e03ee55dc887f04e00536c3
dyld-732.8.tar.gz
314 files changed:
.gitignore
bin/expand.rb
configs/dyld.xcconfig
configs/libdyld.xcconfig
doc/man/man1/dyld.1
doc/man/man1/dyld_usage.1 [new file with mode: 0644]
doc/man/man3/dlclose.3
doc/man/man3/dlsym.3
doc/man/man3/dyld.3
doc/rst/conf.py [new file with mode: 0644]
doc/rst/dyld_usage.rst [new file with mode: 0644]
doc/rst/index.rst [new file with mode: 0644]
dyld.xcodeproj/project.pbxproj
dyld3/APIs.cpp
dyld3/APIs.h
dyld3/APIs_macOS.cpp
dyld3/AllImages.cpp
dyld3/AllImages.h
dyld3/Array.h
dyld3/BootArgs.cpp [new file with mode: 0644]
dyld3/BootArgs.h [new file with mode: 0644]
dyld3/Closure.cpp
dyld3/Closure.h
dyld3/ClosureBuilder.cpp
dyld3/ClosureBuilder.h
dyld3/ClosureFileSystem.h
dyld3/ClosureFileSystemNull.cpp [new file with mode: 0644]
dyld3/ClosureFileSystemNull.h [new file with mode: 0644]
dyld3/ClosureFileSystemPhysical.cpp
dyld3/ClosureFileSystemPhysical.h
dyld3/ClosurePrinter.cpp
dyld3/ClosurePrinter.h
dyld3/ClosureWriter.cpp
dyld3/ClosureWriter.h
dyld3/Diagnostics.cpp
dyld3/JSON.h [new file with mode: 0644]
dyld3/JSONReader.h [new file with mode: 0644]
dyld3/JSONReader.mm [new file with mode: 0644]
dyld3/JSONWriter.h
dyld3/Loading.cpp
dyld3/Loading.h
dyld3/MachOAnalyzer.cpp
dyld3/MachOAnalyzer.h
dyld3/MachOFile.cpp
dyld3/MachOFile.h
dyld3/MachOLoaded.cpp
dyld3/MachOLoaded.h
dyld3/Map.h [new file with mode: 0644]
dyld3/PathOverrides.cpp
dyld3/PathOverrides.h
dyld3/SharedCacheRuntime.cpp
dyld3/SharedCacheRuntime.h
dyld3/Tracing.cpp
dyld3/Tracing.h
dyld3/libdyldEntryVector.cpp
dyld3/libdyldEntryVector.h
dyld3/shared-cache/AdjustDylibSegments.cpp
dyld3/shared-cache/BuilderUtils.mm
dyld3/shared-cache/CacheBuilder.cpp
dyld3/shared-cache/CacheBuilder.h
dyld3/shared-cache/DyldSharedCache.cpp
dyld3/shared-cache/DyldSharedCache.h
dyld3/shared-cache/FileUtils.cpp
dyld3/shared-cache/FileUtils.h
dyld3/shared-cache/MachOFileAbstraction.hpp
dyld3/shared-cache/Manifest.h
dyld3/shared-cache/Manifest.mm
dyld3/shared-cache/ObjC2Abstraction.hpp
dyld3/shared-cache/OptimizerBranches.cpp
dyld3/shared-cache/OptimizerLinkedit.cpp
dyld3/shared-cache/OptimizerObjC.cpp
dyld3/shared-cache/StringUtils.h
dyld3/shared-cache/dyld_cache_format.h
dyld3/shared-cache/dyld_closure_util.cpp
dyld3/shared-cache/dyld_shared_cache_builder.mm
dyld3/shared-cache/dyldinfo.cpp [new file with mode: 0644]
dyld3/shared-cache/make_ios_dyld_cache.cpp
dyld3/shared-cache/mrm_shared_cache_builder.cpp
dyld3/shared-cache/mrm_shared_cache_builder.h
dyld3/shared-cache/update_dyld_shared_cache.cpp
dyld3/shared-cache/update_dyld_shared_cache_entitlements.plist
dyld3/shared-cache/update_dyld_sim_shared_cache.cpp
include/dlfcn.h
include/mach-o/dyld.h
include/mach-o/dyld_gdb.h [deleted file]
include/mach-o/dyld_images.h
include/mach-o/dyld_priv.h
include/mach-o/dyld_process_info.h
include/mach-o/fixup-chains.h [new file with mode: 0644]
include/objc-shared-cache.h
launch-cache/MachOFileAbstraction.hpp
launch-cache/dsc_extractor.cpp
launch-cache/dyld_cache_format.h
launch-cache/dyld_shared_cache_util.cpp
src/ImageLoader.cpp
src/ImageLoader.h
src/ImageLoaderMachO.cpp
src/ImageLoaderMachO.h
src/ImageLoaderMachOClassic.cpp
src/ImageLoaderMachOClassic.h
src/ImageLoaderMachOCompressed.cpp
src/ImageLoaderMachOCompressed.h
src/ImageLoaderMegaDylib.cpp
src/ImageLoaderMegaDylib.h
src/dyld.cpp [deleted file]
src/dyld.h [deleted file]
src/dyld.order
src/dyld2.cpp [new file with mode: 0644]
src/dyld2.h [new file with mode: 0644]
src/dyldAPIs.cpp
src/dyldAPIsInLibSystem.cpp
src/dyldExceptions.c
src/dyldInitialization.cpp
src/dyldLibSystemGlue.c
src/dyldLibSystemInterface.h
src/dyldNew.cpp
src/dyldStartup.s
src/dyld_debugger.cpp [new file with mode: 0644]
src/dyld_gdb.cpp [deleted file]
src/dyld_process_info.cpp
src/dyld_process_info_internal.h
src/dyld_process_info_notify.cpp
src/dyld_stub_binder.s
src/dyld_usage.cpp
src/glue.c
src/threadLocalVariables.c
testing/README.txt
testing/build_tests.py
testing/include/dyld_test.h [new file with mode: 0644]
testing/test-cases/LC_DYLD_ENV-DYLD_LIBRARY_PATH.dtest/main.c
testing/test-cases/NSCreateObjectFileImageFromMemory-basic.dtest/main.c
testing/test-cases/_dyld_for_each_objc_class-duplicates.dtest/linked1.m [new file with mode: 0644]
testing/test-cases/_dyld_for_each_objc_class-duplicates.dtest/linked2.m [new file with mode: 0644]
testing/test-cases/_dyld_for_each_objc_class-duplicates.dtest/main.m [new file with mode: 0644]
testing/test-cases/_dyld_for_each_objc_class-missing-weak-chained.dtest/lib1.m [new file with mode: 0644]
testing/test-cases/_dyld_for_each_objc_class-missing-weak-chained.dtest/lib2.m [new file with mode: 0644]
testing/test-cases/_dyld_for_each_objc_class-missing-weak-chained.dtest/main.mm [new file with mode: 0644]
testing/test-cases/_dyld_for_each_objc_class-missing-weak-chained.dtest/missing.m [new file with mode: 0644]
testing/test-cases/_dyld_for_each_objc_class-missing-weak.dtest/lib1.m [new file with mode: 0644]
testing/test-cases/_dyld_for_each_objc_class-missing-weak.dtest/lib2.m [new file with mode: 0644]
testing/test-cases/_dyld_for_each_objc_class-missing-weak.dtest/main.mm [new file with mode: 0644]
testing/test-cases/_dyld_for_each_objc_class-missing-weak.dtest/missing.m [new file with mode: 0644]
testing/test-cases/_dyld_for_each_objc_class.dtest/linked1.m [new file with mode: 0644]
testing/test-cases/_dyld_for_each_objc_class.dtest/linked2.m [new file with mode: 0644]
testing/test-cases/_dyld_for_each_objc_class.dtest/main.m [new file with mode: 0644]
testing/test-cases/_dyld_for_each_objc_protocol.dtest/linked1.m [new file with mode: 0644]
testing/test-cases/_dyld_for_each_objc_protocol.dtest/linked2.m [new file with mode: 0644]
testing/test-cases/_dyld_for_each_objc_protocol.dtest/main.m [new file with mode: 0644]
testing/test-cases/_dyld_get_image_slide.dtest/main.c [new file with mode: 0644]
testing/test-cases/_dyld_get_objc_selector-chained.dtest/main.m [new file with mode: 0644]
testing/test-cases/_dyld_get_objc_selector-shared-cache.dtest/main.c [new file with mode: 0644]
testing/test-cases/_dyld_get_objc_selector.dtest/main.m [new file with mode: 0644]
testing/test-cases/_dyld_images_for_addresses.dtest/main.c
testing/test-cases/_dyld_is_memory_immutable-lock.dtest/foo.c [new file with mode: 0644]
testing/test-cases/_dyld_is_memory_immutable-lock.dtest/main.c [new file with mode: 0644]
testing/test-cases/_dyld_is_memory_immutable.dtest/main.c
testing/test-cases/_dyld_register_for_bulk_image_loads.dtest/bar.c [new file with mode: 0644]
testing/test-cases/_dyld_register_for_bulk_image_loads.dtest/baz.c [new file with mode: 0644]
testing/test-cases/_dyld_register_for_bulk_image_loads.dtest/foo.c [new file with mode: 0644]
testing/test-cases/_dyld_register_for_bulk_image_loads.dtest/main.cxx [new file with mode: 0644]
testing/test-cases/_dyld_register_for_bulk_image_loads.dtest/up.c [new file with mode: 0644]
testing/test-cases/_dyld_register_for_image_loads.dtest/bar.c [new file with mode: 0644]
testing/test-cases/_dyld_register_for_image_loads.dtest/baz.c [new file with mode: 0644]
testing/test-cases/_dyld_register_for_image_loads.dtest/main.cxx
testing/test-cases/_dyld_register_for_image_loads.dtest/up.c [new file with mode: 0644]
testing/test-cases/_dyld_shared_cache_is_locally_built.dtest/main.c [new file with mode: 0644]
testing/test-cases/amfi-hardened-dlopen-leaf.dtest/main.c [new file with mode: 0644]
testing/test-cases/amfi-hardened-dlopen-leaf.dtest/my.c [new file with mode: 0644]
testing/test-cases/bind-rebase.dtest/main.c [new file with mode: 0644]
testing/test-cases/chained-fixups-many-binds.dtest/foo.c [new file with mode: 0644]
testing/test-cases/chained-fixups-many-binds.dtest/foo.h [new file with mode: 0644]
testing/test-cases/chained-fixups-many-binds.dtest/main.c [new file with mode: 0644]
testing/test-cases/chained-fixups-many-binds.dtest/uses.h [new file with mode: 0644]
testing/test-cases/dladdr-basic.dtest/main.c
testing/test-cases/dladdr-dylib.dtest/foo.c
testing/test-cases/dlclose-static-terminator.dtest/foo.c [new file with mode: 0644]
testing/test-cases/dlclose-static-terminator.dtest/main.c [new file with mode: 0644]
testing/test-cases/dlopen-DYLD_LIBRARY_PATH.dtest/main.c
testing/test-cases/dlopen-RTLD_NOLOAD.dtest/init-b.c
testing/test-cases/dlopen-RTLD_NOLOAD.dtest/init-main.c
testing/test-cases/dlopen-RTLD_NOLOAD.dtest/main.c
testing/test-cases/dlopen-RTLD_NOW.dtest/bar.c [new file with mode: 0644]
testing/test-cases/dlopen-RTLD_NOW.dtest/foo.c [new file with mode: 0644]
testing/test-cases/dlopen-RTLD_NOW.dtest/main.c [new file with mode: 0644]
testing/test-cases/dlopen-basic.dtest/main.c
testing/test-cases/dlopen-fail-cleanly.dtest/a.c [new file with mode: 0644]
testing/test-cases/dlopen-fail-cleanly.dtest/b.m [new file with mode: 0644]
testing/test-cases/dlopen-fail-cleanly.dtest/c.c [new file with mode: 0644]
testing/test-cases/dlopen-fail-cleanly.dtest/main.c [new file with mode: 0644]
testing/test-cases/dlopen-flat.dtest/main.c
testing/test-cases/dlopen-haswell/a.c [deleted file]
testing/test-cases/dlopen-in-init2.dtest/bar.c [new file with mode: 0644]
testing/test-cases/dlopen-in-init2.dtest/baz.c [new file with mode: 0644]
testing/test-cases/dlopen-in-init2.dtest/foo.c [new file with mode: 0644]
testing/test-cases/dlopen-in-init2.dtest/main.c [new file with mode: 0644]
testing/test-cases/dlopen-in-init3.dtest/bar.c [new file with mode: 0644]
testing/test-cases/dlopen-in-init3.dtest/baz.c [new file with mode: 0644]
testing/test-cases/dlopen-in-init3.dtest/foo.c [new file with mode: 0644]
testing/test-cases/dlopen-in-init3.dtest/main.c [new file with mode: 0644]
testing/test-cases/dlopen-prebuilt-dlopen-closure.dtest/main.c [new file with mode: 0644]
testing/test-cases/dlopen-symlink.dtest/foo.c [new file with mode: 0644]
testing/test-cases/dlopen-symlink.dtest/main.c [new file with mode: 0644]
testing/test-cases/dlsym-RTLD_DEFAULT.dtest/main.c
testing/test-cases/dlsym-RTLD_MAIN_ONLY.dtest/main.c
testing/test-cases/dlsym-RTLD_NEXT.dtest/main.c
testing/test-cases/dlsym-RTLD_SELF.dtest/main.c
testing/test-cases/dlsym-in-interposed-malloc.dtest/interposer.c [new file with mode: 0644]
testing/test-cases/dlsym-in-interposed-malloc.dtest/main.c [new file with mode: 0644]
testing/test-cases/dtrace.dtest/main.c
testing/test-cases/dyld-insert-library-double.dtest/bar.c [new file with mode: 0644]
testing/test-cases/dyld-insert-library-double.dtest/foo.c [new file with mode: 0644]
testing/test-cases/dyld-insert-library-double.dtest/main.cpp [new file with mode: 0644]
testing/test-cases/dyld-insert-library-rpath.dtest/bar.c [new file with mode: 0644]
testing/test-cases/dyld-insert-library-rpath.dtest/baz.c [new file with mode: 0644]
testing/test-cases/dyld-insert-library-rpath.dtest/foo.c [new file with mode: 0644]
testing/test-cases/dyld-insert-library-rpath.dtest/main.cpp [new file with mode: 0644]
testing/test-cases/dyld_abort_payload.dtest/main.c
testing/test-cases/dyld_fork-locks.dest/main.c [new file with mode: 0644]
testing/test-cases/dyld_get_image_versions.dtest/main.c
testing/test-cases/dyld_has_inserted_or_interposing_libraries.dtest/foo.c [new file with mode: 0644]
testing/test-cases/dyld_has_inserted_or_interposing_libraries.dtest/interposer.c [new file with mode: 0644]
testing/test-cases/dyld_has_inserted_or_interposing_libraries.dtest/main.c [new file with mode: 0644]
testing/test-cases/dyld_need_closure.dtest/foo.c [new file with mode: 0644]
testing/test-cases/dyld_need_closure.dtest/main.c [new file with mode: 0644]
testing/test-cases/dyld_process_info.dtest/File [new file with mode: 0644]
testing/test-cases/dyld_process_info.dtest/linksWithCF.c
testing/test-cases/dyld_process_info.dtest/main.c
testing/test-cases/dyld_process_info_notify.dtest/main.c
testing/test-cases/dyld_shared_cache_some_image_overridden.dtest/main.c [new file with mode: 0644]
testing/test-cases/dyld_shared_cache_some_image_overridden.dtest/myzlib.c [new file with mode: 0644]
testing/test-cases/dyld_shared_cache_some_image_overridden.dtest/reexported-myzlib.c [new file with mode: 0644]
testing/test-cases/dyld_shared_cache_some_image_overridden.dtest/reexporter.c [new file with mode: 0644]
testing/test-cases/env-DYLD_FALLBACK_FRAMEWORK_PATH.dtest/main.c
testing/test-cases/env-DYLD_FALLBACK_LIBRARY_PATH.dtest/main.c
testing/test-cases/env-DYLD_FORCE_PLATFORM.dtest/main.c [new file with mode: 0644]
testing/test-cases/env-DYLD_FRAMEWORK_PATH.dtest/main.c
testing/test-cases/env-DYLD_IMAGE_SUFFIX.dtest/main.c
testing/test-cases/env-DYLD_LIBRARY_PATH-cache.dtest/main.c
testing/test-cases/env-DYLD_LIBRARY_PATH.dtest/main.c
testing/test-cases/init-term-segments.dtest/foo.c [new file with mode: 0644]
testing/test-cases/init-term-segments.dtest/main.c [new file with mode: 0644]
testing/test-cases/interpose-resolver.dtest/foo.c [new file with mode: 0644]
testing/test-cases/interpose-resolver.dtest/interposer.c [new file with mode: 0644]
testing/test-cases/interpose-resolver.dtest/main.c [new file with mode: 0644]
testing/test-cases/interpose-then-dlopen.dtest/bar.c [new file with mode: 0644]
testing/test-cases/interpose-then-dlopen.dtest/foo.c [new file with mode: 0644]
testing/test-cases/interpose-then-dlopen.dtest/fooimpl.c [new file with mode: 0644]
testing/test-cases/interpose-then-dlopen.dtest/interposable.txt [new file with mode: 0644]
testing/test-cases/interpose-then-dlopen.dtest/interposer.c [new file with mode: 0644]
testing/test-cases/interpose-then-dlopen.dtest/main.c [new file with mode: 0644]
testing/test-cases/launch-image-cache.dtest/foo1.c [new file with mode: 0644]
testing/test-cases/launch-image-cache.dtest/foo10.c [new file with mode: 0644]
testing/test-cases/launch-image-cache.dtest/foo11.c [new file with mode: 0644]
testing/test-cases/launch-image-cache.dtest/foo12.c [new file with mode: 0644]
testing/test-cases/launch-image-cache.dtest/foo13.c [new file with mode: 0644]
testing/test-cases/launch-image-cache.dtest/foo14.c [new file with mode: 0644]
testing/test-cases/launch-image-cache.dtest/foo15.c [new file with mode: 0644]
testing/test-cases/launch-image-cache.dtest/foo16.c [new file with mode: 0644]
testing/test-cases/launch-image-cache.dtest/foo17.c [new file with mode: 0644]
testing/test-cases/launch-image-cache.dtest/foo18.c [new file with mode: 0644]
testing/test-cases/launch-image-cache.dtest/foo19.c [new file with mode: 0644]
testing/test-cases/launch-image-cache.dtest/foo2.c [new file with mode: 0644]
testing/test-cases/launch-image-cache.dtest/foo20.c [new file with mode: 0644]
testing/test-cases/launch-image-cache.dtest/foo21.c [new file with mode: 0644]
testing/test-cases/launch-image-cache.dtest/foo22.c [new file with mode: 0644]
testing/test-cases/launch-image-cache.dtest/foo23.c [new file with mode: 0644]
testing/test-cases/launch-image-cache.dtest/foo24.c [new file with mode: 0644]
testing/test-cases/launch-image-cache.dtest/foo25.c [new file with mode: 0644]
testing/test-cases/launch-image-cache.dtest/foo26.c [new file with mode: 0644]
testing/test-cases/launch-image-cache.dtest/foo27.c [new file with mode: 0644]
testing/test-cases/launch-image-cache.dtest/foo28.c [new file with mode: 0644]
testing/test-cases/launch-image-cache.dtest/foo29.c [new file with mode: 0644]
testing/test-cases/launch-image-cache.dtest/foo3.c [new file with mode: 0644]
testing/test-cases/launch-image-cache.dtest/foo30.c [new file with mode: 0644]
testing/test-cases/launch-image-cache.dtest/foo31.c [new file with mode: 0644]
testing/test-cases/launch-image-cache.dtest/foo32.c [new file with mode: 0644]
testing/test-cases/launch-image-cache.dtest/foo4.c [new file with mode: 0644]
testing/test-cases/launch-image-cache.dtest/foo5.c [new file with mode: 0644]
testing/test-cases/launch-image-cache.dtest/foo6.c [new file with mode: 0644]
testing/test-cases/launch-image-cache.dtest/foo7.c [new file with mode: 0644]
testing/test-cases/launch-image-cache.dtest/foo8.c [new file with mode: 0644]
testing/test-cases/launch-image-cache.dtest/foo9.c [new file with mode: 0644]
testing/test-cases/launch-image-cache.dtest/main.c [new file with mode: 0644]
testing/test-cases/lazy-symbol-missing.dtest/foo.c [new file with mode: 0644]
testing/test-cases/lazy-symbol-missing.dtest/main-call.c [new file with mode: 0644]
testing/test-cases/lazy-symbol-missing.dtest/main.c [new file with mode: 0644]
testing/test-cases/lazy-symbol-missing.dtest/runner.c [new file with mode: 0644]
testing/test-cases/macOS-cache-rebuild.dtest/main.c [new file with mode: 0644]
testing/test-cases/missing-weak-def.dtest/bar-empty.c [new file with mode: 0644]
testing/test-cases/missing-weak-def.dtest/bar.c [new file with mode: 0644]
testing/test-cases/missing-weak-def.dtest/main.c [new file with mode: 0644]
testing/test-cases/read-only-data.dtest/foo.c [new file with mode: 0644]
testing/test-cases/read-only-data.dtest/main.c [new file with mode: 0644]
testing/test-cases/rpath-absolute.dtest/foo.c [new file with mode: 0644]
testing/test-cases/rpath-absolute.dtest/main.c [new file with mode: 0644]
testing/test-cases/shared_cache_iterate.dtest/main.c [new file with mode: 0644]
testing/test-cases/shared_cache_optimized.dtest/main.c [new file with mode: 0644]
testing/test-cases/static-terminators.dtest/base.c [new file with mode: 0644]
testing/test-cases/static-terminators.dtest/foo.c [new file with mode: 0644]
testing/test-cases/static-terminators.dtest/main.c [new file with mode: 0644]
testing/test-cases/symbol-resolver-basic.dtest/foo.c
testing/test-cases/symbol-resolver-basic.dtest/main.c
testing/test-cases/thread-local-atexit-macOS.dtest/main.cpp [new file with mode: 0644]
testing/test-cases/thread-local-atexit.dtest/main.cpp [new file with mode: 0644]
testing/test-cases/thread-local-destructors.dtest/foo.c [new file with mode: 0644]
testing/test-cases/thread-local-destructors.dtest/main.cpp [new file with mode: 0644]
testing/test-cases/unix-conformance.dtest/main.c [new file with mode: 0644]
testing/test-cases/weak-coalesce-inserted-dylibs.dtest/bar.cpp [new file with mode: 0644]
testing/test-cases/weak-coalesce-inserted-dylibs.dtest/foo.cpp [new file with mode: 0644]
testing/test-cases/weak-coalesce-inserted-dylibs.dtest/main.cpp [new file with mode: 0644]
testing/test-cases/weak-dylib-re-export.dtest/bar.c [new file with mode: 0644]
testing/test-cases/weak-dylib-re-export.dtest/foo.c [new file with mode: 0644]
testing/test-cases/weak-dylib-re-export.dtest/main.c [new file with mode: 0644]
testing/test-cases/weak-dylib-re-export.dtest/symbols.txt [new file with mode: 0644]