Skip to content

Experiment to attempt to build Apple's dyld tools.

License

Notifications You must be signed in to change notification settings

oleavr/dyld-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dyld-tools

Experiment to attempt to build Apple's dyld tools. Based on dyld-733.6.

Why?

I found myself wanting to create miniature dyld_shared_cache files for unit testing purposes, where Apple's caches are both too large and obviously not redistributable.

Changes made

Vanilla upstream except for the #ifdef HAVE_* regions that disable features relying on headers that aren't publicly available (as far as I know). The ext/ subdirectory contains various headers cherry-picked from Apple OSS components, and a few hacky private header replacements written by me.

Only part known to be severely broken is HAVE_METABOM, though restoring this shouldn't be hard, but may turn out to not be all that useful anyway. (As it might be desirable to simplify the dyld_shared_cache_builder tool.)

Prerequisites

  • macOS system w/ Xcode
  • Meson (pip3 install meson)
  • Ninja (brew install ninja)

Building

$ meson build
$ ninja -C build
$ ninja -C build install

About

Experiment to attempt to build Apple's dyld tools.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published