dyldinfo(1)
π 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:
-archarch β 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 whatdylddoes when an image is not loaded at its preferred address. typically, this involves updating pointers in the__DATAsegment which point within the image π₯-bindβ display the table of binding information. these are the symbolic fix ups thatdyldmust 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 whichdyldmust unique across all images π-lazy_bindβ display the table of lazy binding information. these are symbols whichdylddelays 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:dyldinfoshows you thedyld-related tables and low-level details hiding in your executable's__LINKEDITsegment ππ
πΈ 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
- nixpkgs unstable: ld64 957.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms