1LLVM-OTOOL(1)                        LLVM                        LLVM-OTOOL(1)
2
3
4

NAME

6       llvm-otool - Mach-O dumping tool
7

SYNOPSIS

9       llvm-otool [option...] [file...]
10

DESCRIPTION

12       llvm-otool is a tool for dumping Mach-O files.
13
14       It  attempts  to  be command-line-compatible and output-compatible with
15       macOS's otool.
16

OPTIONS

18       -arch <value>
19              Select slice of universal Mach-O file.
20
21       -C     Print linker optimization hints.
22
23       -D     Print shared library id.
24
25       -d     Print data section.
26
27       -f     Print universal headers.
28
29       -G     Print data-in-code table.
30
31       --help-hidden
32              Print help for hidden flags.
33
34       --help Print help.
35
36       -h     Print mach header.
37
38       -I     Print indirect symbol table.
39
40       -j     Print opcode bytes.
41
42       -L     Print used shared libraries.
43
44       -l     Print load commnads.
45
46       -mcpu=<value>
47              Select cpu for disassembly.
48
49       -o     Print Objective-C segment.
50
51       -P     Print __TEXT,__info_plist section as strings.
52
53       -p <function name>
54              Start disassembly at <function name>.
55
56       -r     Print relocation entries.
57
58       -s <segname> <sectname>
59              Print contents of section.
60
61       -t     Print text section.
62
63       --version
64              Print version.
65
66       -V     Symbolize disassembled operands (implies -v).
67
68       -v     Verbose output / disassemble when printing text sections.
69
70       -X     Omit leading addresses or headers.
71
72       -x     Print all text sections.
73
74       @<FILE>
75              Read  command-line  options  and  commands  from  response  file
76              <FILE>.
77

EXIT STATUS

79       llvm-otool  exits with a non-zero exit code if there is an error.  Oth‐
80       erwise, it exits with code 0.
81

BUGS

83       To report bugs, please visit <https://bugs.llvm.org/>.
84

SEE ALSO

86       llvm-nm(1), llvm-objdump(1)
87

AUTHOR

89       Maintained by the LLVM Team (https://llvm.org/).
90
92       2003-2023, LLVM Project
93
94
95
96
9713                                2023-01-31                     LLVM-OTOOL(1)
Impressum