]> git.saurik.com Git - apple/ld64.git/blob - doc/man/man1/dyldinfo.1
92deb13bd6780e5774ad7b4f1066c233ca512e5d
[apple/ld64.git] / doc / man / man1 / dyldinfo.1
1 .Dd November 10, 2010
2 .Dt dyldinfo 1
3 .Os Darwin
4 .Sh NAME
5 .Nm dyldinfo
6 .Nd "Displays information used by dyld in an executable"
7 .Sh SYNOPSIS
8 .Nm
9 .Op Fl arch Ar arch-name
10 .Op Fl dylibs
11 .Op Fl rebase
12 .Op Fl bind
13 .Op Fl weak_bind
14 .Op Fl lazy_bind
15 .Op Fl export
16 .Op Fl opcodes
17 .Op Fl function_starts
18 .Ar file(s)
19 .Sh DESCRIPTION
20 Executables built for Mac OS X 10.6 and later have a new format for the
21 information in the __LINKEDIT segment. The dyldinfo tool will display
22 that information.
23 .Pp
24 The options are as follows:
25 .Bl -tag -width indent
26 .It Fl arch Ar arch
27 Only display the specified architecture. Other architectures in a universal image are ignored.
28 .It Fl dylibs
29 Display the table of dylibs on which this image depends.
30 .It Fl rebase
31 Display the table of rebasing information. Rebasing is what dyld does when an image is
32 not loaded at its preferred address. Typically, this involves updating pointers in the __DATA
33 segment which point within the image.
34 .It Fl bind
35 Display the table of binding information. These are the symbolic fix ups that dyld must
36 do when an image is loaded.
37 .It Fl weak_bind
38 Display the table of weak binding information. Typically, only C++ progams will have any
39 weak binding. These are symbols which dyld must unique accross all images.
40 .It Fl lazy_bind
41 Display the table of lazy binding information. These are symbols which dyld delays binding
42 until they are first used. Lazy binding is automatically used for all function calls to
43 functions in some external dylib.
44 .It Fl export
45 Display the table symbols which this image exports.
46 .It Fl opcodes
47 Display the low level opcodes used to encode all rebase and binding information.
48 .It Fl function_starts
49 Decodes the list of function start addresses.
50 .El
51 .Sh SEE ALSO
52 .Xr otool 1
53 .Xr nm 1