LCLOADDYLIB
LC_LOAD_DYLIB is a Mach-O load command used by macOS and iOS binaries to declare a dependency on a dynamic library (dylib). It is part of the dynamic linking mechanism in the Mach-O format and is read by the dynamic linker, dyld, at launch time to locate and load required shared libraries.
Structure and location: An LC_LOAD_DYLIB entry comprises a load command header (cmd and cmdsize) followed by
Purpose and behavior: During program startup, dyld parses all LC_LOAD_DYLIB commands to build the dependency graph
Tools and manipulation: The command’s effect can be inspected with tools such as otool -L, which lists
See also: dyld, LC_LOAD_WEAK_DYLIB, install_name_tool, @rpath, @loader_path.