LLVM-OTOOL(1)

πŸ’… NAME πŸ’…

llvm-otool β€” the Mach-O dumping tool, bestie. That's it, that's the vibe.


✨ SYNOPSIS ✨

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

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so llvm-otool is a tool for dumping Mach-O files β€” literally its whole personality. πŸŽ€

And the way it's designed? It attempts to be command-line-compatible and output-compatible with macOS's otool. Like, it's out here trying to match the original beat for beat. Respect. πŸ‘‘


🌸 OPTIONS 🌸

  • -arch <value> β€” picks which slice of a universal Mach-O file you wanna look at.
  • -chained_fixups β€” prints chained fixup info.
  • -C β€” prints linker optimization hints.
  • -dyld_info β€” prints bind and rebase information.
  • -D β€” prints the shared library id.
  • -d β€” prints the data section.
  • -f β€” prints universal headers.
  • -G β€” prints the data-in-code table.
  • --help-hidden β€” prints help for the hidden flags (iykyk).
  • --help β€” prints help. classic.
  • -h β€” prints the mach header.
  • -I β€” prints the indirect symbol table.
  • -j β€” prints opcode bytes.
  • -L β€” prints the used shared libraries.
  • -l β€” prints load commands.
  • -mcpu= <value> β€” selects the cpu for disassembly.
  • -o β€” prints the Objective-C segment. 🫢
  • -P β€” prints the __TEXT,__info_plist section as strings.
  • -p <function name> β€” starts disassembly at <function name>.
  • -r β€” prints relocation entries.
  • -s <segname> <sectname> β€” prints the contents of a section. two args, bestie, don't forget.
  • -t β€” prints the text section.
  • --version β€” prints the version.
  • -V β€” symbolizes disassembled operands (and yeah, it implies -v).
  • -v β€” verbose output, and disassembles when printing text sections.
  • -X β€” omits leading addresses or headers.
  • -x β€” prints all text sections.
  • @ <FILE> β€” reads command-line options and commands from the response file <FILE>.

πŸ’€ EXIT STATUS πŸ’€

llvm-otool exits with a non-zero exit code if there's an error. Otherwise? It exits with code 0. Slay. ✨


πŸ™ˆ BUGS πŸ™ˆ

Wanna report bugs? Please visit <https://github.com/llvm/llvm-project/labels/tools:llvm-objdump/>. Do it for the culture. πŸ›


🌈 SEE ALSO 🌈


πŸ‘‘ Author πŸ‘‘

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

2003-2026, LLVM Project


okay that's the whole page, bestie β€” go dump some Mach-O files and be iconic about it πŸ’–

kisses, this was LLVM-OTOOL(1) from LLVM, page 21, dated 2026-05-15 β€” see u in the next manpage πŸ¦‹βœ¨

πŸ“¦ where this page comes from