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

EXIT STATUS

85       llvm-otool  exits with a non-zero exit code if there is an error.  Oth‐
86       erwise, it exits with code 0.
87

BUGS

89       To         report         bugs,         please         visit         <‐
90       https://github.com/llvm/llvm-project/labels/tools:llvm-objdump/>.
91

SEE ALSO

93       llvm-nm(1), llvm-objdump(1)
94

AUTHOR

96       Maintained by the LLVM Team (https://llvm.org/).
97
99       2003-2023, LLVM Project
100
101
102
103
10417                                2023-11-28                     LLVM-OTOOL(1)
Impressum