dyldinfo(1)

πŸ“¦ version 957.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay bestie, welcome to dyldinfo(1) β€” straight outta the General Commands Manual, and it's literally here to tell you what dyld is doing inside an executable ✨

dyldinfo β€” displays information used by dyld in an executable 🫢


✨ SYNOPSIS ✨

dyldinfo [-arch arch-name] [-dylibs] [-rebase] [-bind] [-weak_bind]
         [-lazy_bind] [-export] [-opcodes] [-function_starts] file(s)

πŸ¦‹ DESCRIPTION πŸ¦‹

so here's the tea β˜•: executables built for Mac OS X 10.6 and later have a whole new format for the information in the __LINKEDIT segment. and the dyldinfo tool is the icon that will display that information πŸ’…

the options are as follows:

  • -arch arch β€” only display the specified architecture, bestie. other architectures in a universal image are ignored πŸ™ˆ
  • -dylibs β€” display the table of dylibs on which this image depends πŸŽ€
  • -rebase β€” display the table of rebasing information. rebasing is what dyld does when an image is not loaded at its preferred address. typically, this involves updating pointers in the __DATA segment which point within the image πŸ”₯
  • -bind β€” display the table of binding information. these are the symbolic fix ups that dyld must do when an image is loaded ⭐
  • -weak_bind β€” display the table of weak binding information. typically, only C++ programs will have any weak binding. these are symbols which dyld must unique across all images πŸ‘‘
  • -lazy_bind β€” display the table of lazy binding information. these are symbols which dyld delays binding until they are first used. lazy binding is automatically used for all function calls to functions in some external dylib 🌈
  • -export β€” display the table symbols which this image exports πŸ’œ
  • -opcodes β€” display the low level opcodes used to encode all rebase and binding information 🧚
  • -function_starts β€” decodes the list of function start addresses πŸ“
no cap, this is the whole vibe check: dyldinfo shows you the dyld-related tables and low-level details hiding in your executable's __LINKEDIT segment πŸ’€πŸ’–

🌸 SEE ALSO 🌸


mwah πŸ’‹ this iconic page is from Darwin, dated November 10, 2010, and it's dyldinfo(1) signing off β€” periodt βœ¨πŸŽ€

πŸ“¦ where this page comes from