File: llvm-otool.1

package info (click to toggle)
llvm-toolchain-13 1%3A13.0.1-6~deb10u4
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,418,792 kB
  • sloc: cpp: 5,290,827; ansic: 996,570; asm: 544,593; python: 188,212; objc: 72,027; lisp: 30,291; f90: 25,395; sh: 24,900; javascript: 9,780; pascal: 9,398; perl: 7,484; ml: 5,432; awk: 3,523; makefile: 2,892; xml: 953; cs: 573; fortran: 539
file content (188 lines) | stat: -rw-r--r-- 3,181 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
.\" Man page generated from reStructuredText.
.
.TH "LLVM-OTOOL" "1" "2021-09-18" "13" "LLVM"
.SH NAME
llvm-otool \- Mach-O dumping tool
.
.nr rst2man-indent-level 0
.
.de1 rstReportMargin
\\$1 \\n[an-margin]
level \\n[rst2man-indent-level]
level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
-
\\n[rst2man-indent0]
\\n[rst2man-indent1]
\\n[rst2man-indent2]
..
.de1 INDENT
.\" .rstReportMargin pre:
. RS \\$1
. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
. nr rst2man-indent-level +1
.\" .rstReportMargin post:
..
.de UNINDENT
. RE
.\" indent \\n[an-margin]
.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
.nr rst2man-indent-level -1
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
..
.SH SYNOPSIS
.sp
\fBllvm\-otool\fP [\fIoption…\fP] \fI[file…]\fP
.SH DESCRIPTION
.sp
\fBllvm\-otool\fP is a tool for dumping Mach\-O files.
.sp
It attempts to be command\-line\-compatible and output\-compatible with macOS’s
\fBotool\fP\&.
.SH OPTIONS
.INDENT 0.0
.TP
.B \-arch <value>
Select slice of universal Mach\-O file.
.UNINDENT
.INDENT 0.0
.TP
.B \-C
Print linker optimization hints.
.UNINDENT
.INDENT 0.0
.TP
.B \-D
Print shared library id.
.UNINDENT
.INDENT 0.0
.TP
.B \-d
Print data section.
.UNINDENT
.INDENT 0.0
.TP
.B \-f
Print universal headers.
.UNINDENT
.INDENT 0.0
.TP
.B \-G
Print data\-in\-code table.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-help\-hidden
Print help for hidden flags.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-help
Print help.
.UNINDENT
.INDENT 0.0
.TP
.B \-h
Print mach header.
.UNINDENT
.INDENT 0.0
.TP
.B \-I
Print indirect symbol table.
.UNINDENT
.INDENT 0.0
.TP
.B \-j
Print opcode bytes.
.UNINDENT
.INDENT 0.0
.TP
.B \-L
Print used shared libraries.
.UNINDENT
.INDENT 0.0
.TP
.B \-l
Print load commands.
.UNINDENT
.INDENT 0.0
.TP
.B \-mcpu=<value>
Select cpu for disassembly.
.UNINDENT
.INDENT 0.0
.TP
.B \-o
Print Objective\-C segment.
.UNINDENT
.INDENT 0.0
.TP
.B \-P
Print __TEXT,__info_plist section as strings.
.UNINDENT
.INDENT 0.0
.TP
.B \-p <function name>
Start disassembly at <function name>.
.UNINDENT
.INDENT 0.0
.TP
.B \-r
Print relocation entries.
.UNINDENT
.INDENT 0.0
.TP
.B \-s <segname> <sectname>
Print contents of section.
.UNINDENT
.INDENT 0.0
.TP
.B \-t
Print text section.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-version
Print version.
.UNINDENT
.INDENT 0.0
.TP
.B \-V
Symbolize disassembled operands (implies \fI\%\-v\fP).
.UNINDENT
.INDENT 0.0
.TP
.B \-v
Verbose output / disassemble when printing text sections.
.UNINDENT
.INDENT 0.0
.TP
.B \-X
Omit leading addresses or headers.
.UNINDENT
.INDENT 0.0
.TP
.B \-x
Print all text sections.
.UNINDENT
.INDENT 0.0
.TP
.B @<FILE>
Read command\-line options and commands from response file \fI<FILE>\fP\&.
.UNINDENT
.SH EXIT STATUS
.sp
\fBllvm\-otool\fP exits with a non\-zero exit code if there is an error.
Otherwise, it exits with code 0.
.SH BUGS
.sp
To report bugs, please visit <\fI\%https://bugs.llvm.org/\fP>.
.SH SEE ALSO
.sp
\fBllvm\-nm(1)\fP, \fBllvm\-objdump(1)\fP
.SH AUTHOR
Maintained by the LLVM Team (https://llvm.org/).
.SH COPYRIGHT
2003-2021, LLVM Project
.\" Generated by docutils manpage writer.
.