llvm-otool - Mach-O dumping tool

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

llvm-otool is a tool for dumping Mach-O files.

It attempts to be command-line-compatible and output-compatible with macOS's otool.

Select slice of universal Mach-O file.
Print chained fixup information.
Print linker optimization hints.
Print bind and rebase information.
Print shared library id.
Print data section.
Print universal headers.
Print data-in-code table.
Print help for hidden flags.
Print help.
Print mach header.
Print indirect symbol table.
Print opcode bytes.
Print used shared libraries.
Print load commands.
Select cpu for disassembly.
Print Objective-C segment.
Print __TEXT,__info_plist section as strings.
Start disassembly at <function name>.
Print relocation entries.
Print contents of section.
Print text section.
Print version.
Symbolize disassembled operands (implies -v).
Verbose output / disassemble when printing text sections.
Omit leading addresses or headers.
Print all text sections.
Read command-line options and commands from response file <FILE>.

llvm-otool exits with a non-zero exit code if there is an error. Otherwise, it exits with code 0.

To report bugs, please visit https://github.com/llvm/llvm-project/labels/tools:llvm-objdump/.

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

Maintained by the LLVM Team (https://llvm.org/).

2003-2024, LLVM Project

2024-07-17 18