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_plistsection 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 π
llvm-nm(1)<llvm-nm.html>llvm-objdump(1)<llvm-objdump.html>
π Author π
Maintained by the LLVM Team (<https://llvm.org/>).
π Copyright π
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
- fedora 44: llvm21 21.1.8-5.fc44 Β· Apache-2.0 WITH LLVM-exception OR NCSA
- fedora 44: llvm21 21.1.8-5.fc44 Β· Apache-2.0 WITH LLVM-exception OR NCSA
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms