Scroll to navigation

LLVM-OTOOL(1) LLVM LLVM-OTOOL(1)

NAME

llvm-otool - Mach-O dumping tool

SYNOPSIS

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

DESCRIPTION

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

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

OPTIONS

Select slice of universal Mach-O file.

Print linker optimization hints.

Print shared library id.

Print data section.

Print universal headers.

Print data-in-code table.

--help-hidden
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.

@<FILE>
Read command-line options and commands from response file <FILE>.

EXIT STATUS

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

BUGS

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

SEE ALSO

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

AUTHOR

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

COPYRIGHT

2003-2022, LLVM Project

2022-07-04 14