LLVM-OTOOL(1)
๐ LLVM-OTOOL(1) โ the LLVM manual, bestie edition โจ
okay so this is llvm-otool, and it lives under the LLVM umbrella. she's a Mach-O dumping tool and honestly? she ate. ๐
โจ NAME โจ
llvm-otool โ Mach-O dumping tool ๐ซถ
๐ SYNOPSIS ๐
llvm-otool [option...] [file...]
๐ฆ DESCRIPTION ๐ฆ
llvm-otool is a tool for dumping Mach-O files. that's the whole vibe. ๐
she attempts to be command-line-compatible and output-compatible with macOS's otool โ like, she's trying so hard to be that girl and ngl she's doing great at it. no cap.
๐ธ OPTIONS ๐ธ
like a full menu of little flags, and every single one is iconic in her own way:
-aโ print the archive header. ๐ฆ-arch <value>โ pick which slice of a universal Mach-O file you want. choose your fighter bestie.-chained_fixupsโ print chained fixup information.-Cโ print linker optimization hints. little helpful notes from the linker, cute.-dyld_infoโ print bind and rebase information.-Dโ print the shared library id.-dโ print the data section.-fโ print universal headers.-Gโ print the data-in-code table.--help-hiddenโ print help for the hidden flags. secret menu energy ๐ฅ--helpโ print help. the basics, love her.-hโ print the mach header.-Iโ print the indirect symbol table.-jโ print opcode bytes.-Lโ print the used shared libraries.-lโ print load commands.-mโ don't usearchive(member)syntax. just say no to brackets โ-mcpu=<value>โ select the cpu for disassembly.-oโ print the Objective-C segment.-Pโ print the__TEXT,__info_plistsection as strings.-p <function name>โ start disassembly at<function name>. jump right in, main character energy ๐-rโ print relocation entries.-s <segname> <sectname>โ print the contents of a section. two args, one job ๐-tโ print the text section.--versionโ print version.-Vโ symbolize disassembled operands (implies-v). note that she implies-v, so verbose comes along for the ride whether you asked or not ๐-vโ verbose output / disassemble when printing text sections.-Xโ omit leading addresses or headers. minimalist era.-xโ print all text sections. go big or go home.@<FILE>โ read command-line options and commands from response file<FILE>. iykyk ๐
โญ EXIT STATUS โญ
llvm-otool exits with a non-zero exit code if there is an error. otherwise, she exits with code 0. so like... 0 means we're slaying, non-zero means something went sideways. periodt. ๐
๐ง BUGS ๐ง
found a bug? do NOT suffer in silence bestie. to report bugs, please visit <https://github.com/llvm/llvm-project/labels/tools:llvm-objdump/>. the team wants to hear it fr fr ๐ซถ
๐ SEE ALSO ๐
llvm-nm(1)<llvm-nm.html>llvm-objdump(1)<llvm-objdump.html>
go read those too, they're lowkey obsessed with each other.
๐ Author ๐
maintained by the LLVM Team (<https://llvm.org/>). kings. ๐
๐ Copyright ๐
2003-2026, LLVM Project
okay that's the whole page, bestie, and here's the cute sign-off: this was page 23 of the manual, dated 2026-10-20, and yes, the footer confirms she's still LLVM-OTOOL(1) at the end of the day. bye bestie, go dump some Mach-O files ๐โจ๐
๐ฆ where this page comes from
- arch rolling: llvm 23.1.4-1 ยท Apache-2.0 WITH LLVM-exception
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms