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] [-linked_dylibs] [-inits] [-exports] [-imports] [-objc] [-fixups] [-fixup_chains] [-fixup_chain_details] [-function_starts] [-symbolic_fixups] [-opcodes] [-uuid] [-disassemble] [-section segment-name section-name] [-all_sections] [-section_bytes segment-name section-name] [-all_sections_bytes] [-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 -linked_dylibs).

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 the UUID of the binary.
Display a disassemble of all code sections.
segment-name section-name
Display content of specified section. Content is formatted if the content type is known.
Display content of all sections. Content is formatted if the content type is known.
segment-name section-name
Display content of specified section as hex bytes.
Display content of all sections as hex bytes.
Display nothing if binary is valid, or information about what parts are malformed.
directory
Will start at specified directory, recursively scan, and run dyld_info on each file found.
Will run dyld_info on every dylib in the dyld cache.

otool(1) nm(1)

January 9, 2024 Darwin