dyld_info(1) General Commands Manual dyld_info(1)

dyld_infoDisplays information used by dyld in programs and dylibs

dyld_info [-arch arch-name] [-platform] [-segments] [-dependents] [-inits] [-exports] [-imports] [-objc] [-fixups] [-fixup_chains] [-fixup_chain_details] [-function_starts] [-symbolic_fixups] [-opcodes] [-validate_only] file(s)

The dyld_info tool will display information that dyld uses from binaries. It supports fixups information encoded as opcode based or as chained fixups.

If the tool is run with no options, it defaults to the common options (-platform -segments -dependents).

The tool can be run with paths to dylibs that are in the dyld cache and not on disk.

The options are as follows:

arch
Only display the specified architecture. Other architectures in a universal image are ignored.
Display the platform (e.g. macOS, iOS) that the binary was built for.
Display all segments and sections with size info.
Display all dylibs that the binary is linked against.
Display all static initializers and Objective-C +load methods.
Display all exported symbols.
Display all imported symbols.
Display the Objective-C classes and categories defined.
Display a simple table of fixup locations and what dyld will set them to.
If the binary uses chained fixups, displays the format of the chains and the starts.
Display a table of all the raw fixup chain bits and their meanings.
Display the offset of all functions starts and their name.
Display all fixups, grouped by data symbol.
Display all the opcodes used to generate the rebase and binding information.
Display nothing if binary is valid, or information about what parts are malformed.

otool(1) nm(1)

April 15, 2021 Darwin