]>
Commit | Line | Data |
---|---|---|
55e3d2f6 A |
1 | .Dd November 20, 2008 |
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 rebase | |
11 | .Op Fl bind | |
12 | .Op Fl weak_bind | |
13 | .Op Fl lazy_bind | |
14 | .Op Fl export | |
15 | .Op Fl opcodes | |
16 | .Ar file(s) | |
17 | .Sh DESCRIPTION | |
18 | Executables built for Mac OS X 10.6 and later have a new format for the | |
19 | information in the __LINKEDIT segment. The dyldinfo tool will display | |
20 | that information. | |
21 | .Pp | |
22 | The options are as follows: | |
23 | .Bl -tag -width indent | |
24 | .It Fl arch Ar arch | |
25 | Only display the specified architecture. Other architectures in a universal image are ignored. | |
26 | .It Fl rebase | |
27 | Display the table of rebasing information. Rebasing is what dyld does when an image is | |
28 | not loaded at its preferred address. Typically, this involves updating pointers in the __DATA | |
29 | segment which are point within the image. | |
30 | .It Fl bind | |
31 | Display the table of binding information. These are the symbolic fix ups that dyld must | |
32 | do when an image is loaded. | |
33 | .It Fl weak_bind | |
34 | Display the table of weak binding information. Typically, only C++ progams will have any | |
35 | weak binding. These are symbols which dyld must unique accross all images. | |
36 | .It Fl lazy_bind | |
37 | Display the table of lazy binding information. These are symbols which dyld delays binding | |
38 | until they are first used. Lazy binding is automatically used for all function calls to | |
39 | functions in some external dylib. | |
40 | .It Fl export | |
41 | Display the table symbols which this image exports. | |
42 | .It Fl opcodes | |
43 | Display the low level opcodes used to encode all rebase and binding information. | |
44 | .El | |
45 | .Sh SEE ALSO | |
46 | .Xr otool 1 | |
47 | .Xr nm 1 |