GUI
- MacDependency shows all dependent libraries and frameworks of a given executable, dynamic library or framework on Mac OS X. It is a GUI replacement for the otool command, and provides almost the same functionality as the Dependency Walker on Windows.
Command line
- nm displays the name list (symbol table) of each object file in the argument list.
- otool displays specified parts of object files or libraries.
- class-dump examining the Objective-C runtime information stored in Mach-O files. It generates declarations for the classes, categories and protocols.
- class_dump_z
list all linked symbols
nm -u /Applications/.app/Contents/MacOS/executable | sort | less
Display global (external) symbol names (no value or type).
nm -g -j executable | sort | uniq | less
list all libraries the app has linked to.
otool -L executable
Display the contents of the __OBJC segment used by the Objective-C run-time system.
otool -ov executable | less
disassembly
otool -tvV executable | less
show implementation addresses
class-dump -A executable | less