LLVM-OTOOL(1)
π NAME π
Bestie, meet llvm-otool(1) β the LLVM Mach-O dumping tool, aka the little icon that stares into Mach-O files so you donβt have to. This is the LLVM manual page, and weβre gonna walk it together, no cap.
π SYNOPSIS π
llvm-otool [optionβ¦] [fileβ¦]
β¨ DESCRIPTION β¨
llvm-otool is a tool for dumping Mach-O files, periodt.
It attempts to be command-line-compatible and output-compatible with macOSβs otool. Like, itβs giving βI match the command line and the outputβ energy, and honestly? Respect.
π OPTIONS π
-arch <value>β selects the slice of a universal Mach-O file. Main-character slice selection, honestly.-Cβ prints linker optimization hints.-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 hidden flags. Secret menu vibes π--helpβ prints help.-hβ prints the mach header.-Iβ prints the indirect symbol table.-jβ prints opcode bytes.-Lβ prints used shared libraries.-lβ prints load commands.-mcpu=<value>β selects 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 contents of section.-tβ prints the text section.--versionβ prints version.-Vβ symbolizes disassembled operands (implies-v).-vβ verbose output / disassemble when printing text sections.-Xβ omits leading addresses or headers.-xβ prints all text sections.@<FILE>β reads command-line options and commands from response file<FILE>. Itβs giving βoptions in a little file,β iconic.
π¦ EXIT STATUS π¦
llvm-otool exits with a non-zero exit code if there is an error. Otherwise, it exits with code 0. Thatβs the whole vibe check: error = non-zero, no error = 0.
π«Ά BUGS π«Ά
To report bugs, please visit <β https://github.com/llvm/llvm-project/labels/tools:llvm-objdump/>. Go spill the tea to the LLVM team, bestie.
π SEE ALSO π
π AUTHOR π
Maintained by the LLVM Team (https://llvm.org/). Shoutout to the maintainers, fr fr.
π COPYRIGHT π
2003-2023, LLVM Project. Respect the legacy, periodt.
π and thatβs the LLVM-OTOOL(1) page β from LLVM, version 15, dated 2023-07-14 β mwah, bye bestie π
π¦ where this page comes from
- ubuntu jammy: llvm-15 1:15.0.7-0ubuntu0.22.04.3 Β· APACHE-2-LLVM-EXCEPTIONS
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms