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