LLVM-OBJDUMP(1)
πΈ NAME πΈ
okay bestie, welcome to the manual page for llvm-objdump 13 β the iconic object file dumper that's literally about to be your new fave π. this is the LLVM-OBJDUMP(1) page, and it's giving main character energy for all your object file needs.
π DESCRIPTION π
OVERVIEW: llvm object file dumper β that's the whole vibe, no cap.
here's the usage, bestie:
USAGE: llvm-objdump [options] <input object files>
like, you give it options and input object files, and it dumps. iconic.
π οΈ OPTIONS π οΈ
--adjust-vma=offsetβ bump the displayed address by the offset you give it β literally shifting the address vibe β¨--all-headersβ show every single header detail it can find β all the headers, all the tea π--arch-name=<value>β pick the target architecture to disassemble for; run--versionto see what targets are available π―--archive-headersβ dump the archive header info β archive vibes only π¦-aβ alias for--archive-headersβ same energy, fewer keystrokes π«Ά-Cβ alias for--demangleβ because who has time for mangled names? π--debug-vars-indent=<value>β how far to indent the source-level variable display from the start of the disassembly β literally setting the spacing vibe πΈ--debug-varsβ show where your source-level variables live (in registers or memory) right next to the disassembly β big detective energy π--demangleβ un-mangle those symbol names so they're actually readable β slay β¨--disassemble-allβ show assembler mnemonics for the machine instructions β all of them, no skips π--disassemble-symbols=<value>β give it a list of symbols to disassemble; if you use--demangle, it takes demangled names, otherwise it wants the mangled ones β read the room π--disassemble-zeroesβ don't skip blocks of zeroes when disassembling β zeroes deserve love too π₯Ί--disassembler-options=optionsβ pass target-specific disassembler options straight through β custom vibes only π οΈ--disassembleβ show assembler mnemonics for the machine instructions β the classic disassemble moment π«--dwarf=<value>β dump the DWARF debug sections β debug info but make it dwarfcore π§--dynamic-relocβ show the dynamic relocation entries in the file β dynamic relocation realness π--dynamic-symsβ display what's in the dynamic symbol table β symbol table but dynamic π-Dβ alias for--disassemble-allβ the short king π-dβ alias for--disassembleβ lowercase d for the win π--fault-map-sectionβ show the contents of the faultmap section β fault map, not fault vibes πΊοΈ--file-headersβ dump the overall file header contents β file header supremacy π--full-contentsβ show the content of every single section β full contents, full send π-fβ alias for--file-headersβ f for file headers, fr fr π«Ά--headersβ alias for--section-headersβ headers but make it section headers π--helpβ show available options; use--help-hiddenfor the secret extra ones β hidden gems only β¨-hβ alias for--section-headersβ h for headers, iconic πΈ-j <value>β alias for--sectionβ j for section, don't ask π--line-numbersβ show source line numbers alongside the disassembly; this implies disassemble object β line numbers but make it cute π-lβ alias for--line-numbersβ l for lines, lowkey useful π--machoβ use the MachO-specific object file parser β MachO mode activated π--mattr=a1,+a2,-a3,...β target-specific attributes; run--mattr=helpfor the details β attribute girlies rise π οΈ--mcpu=cpu-nameβ target a specific CPU type;--mcpu=helphas the details β CPU core π»-M <value>β alias for--disassembler-options=β M for machine options, iykyk π§-mβ alias for--machoβ m for MachO, simple as that π--no-leading-addrβ don't print the leading address β no leading addr, no problem π ββοΈ--no-print-imm-hexβ don't use hex format for immediate values β this is the default, so it's giving default behavior π--no-show-raw-insnβ when disassembling, skip printing the instruction bytes β raw insn? not today π«--prefix-strip <value>β strip initial directories from absolute paths; does literally nothing without--prefixβ no prefix, no effect, periodt π--prefix <value>β add a prefix to absolute paths β prefix it up π--print-imm-hexβ use hex format for immediate values β hex girl summer π₯--private-headersβ show format-specific file headers β private headers, private vibes π€«-pβ alias for--private-headersβ p for private, obviously π--raw-clang-astβ dump the raw binary contents of the clang AST section β raw AST, no filter π§--relocβ show the relocation entries in the file β relocation station π-Rβ alias for--dynamic-relocβ capital R for dynamic relocation π-rβ alias for--relocβ lowercase r for relocation π«Ά--section-headersβ show summaries of the headers for each section β section header summaries, slay π--section=<value>β only operate on the sections you specify; with--macho, it dumpssegment,sectionβ targeted section energy π―--show-lmaβ show the LMA column when dumping ELF section headers β LMA column, loaded π--sourceβ show source inlined with the disassembly; this implies disassemble object β source code meets assembly, cute π₯°--start-address=addressβ start disassembling at this address β begin at the address, bestie π--stop-address=addressβ stop disassembling at this address β stop right there, address π--symbol-descriptionβ add symbol descriptions to the disassembly; this one's only for XCOFF files β XCOFF exclusive π--symbolize-operandsβ symbolize the instruction operands when disassembling β operands but make them symbolic β¨--symsβ display the symbol table β syms the word π-Sβ alias for--sourceβ capital S for source π«Ά-sβ alias for--full-contentsβ lowercase s for full contents π--triple=<value>β pick the target triple to disassemble for;--versionshows available targets β triple threat π―-Tβ alias for--dynamic-symsβ capital T for dynamic syms π-tβ alias for--symsβ lowercase t for syms π«Ά--unwind-infoβ show unwind information β unwind and relax π§-uβ alias for--unwind-infoβ u for unwind π--versionβ show the version of this program β version check, iconic π«-vβ alias for--versionβ v for version, obviously π--wideβ ignored, but it's there for compatibility with GNU objdump β wide but not doing anything, respect π--x86-asm-syntax=attβ emit AT&T-style disassembly β AT&T syntax, classic π--x86-asm-syntax=intelβ emit Intel-style disassembly β Intel syntax, iconic π»-xβ alias for--all-headersβ x for all headers, why not π«Ά-zβ alias for--disassemble-zeroesβ z for zeroes, cute π₯Ί
π llvm-objdump MachO Specific Options π
--arch=<value>β architecture(s) from a Mach-O file to dump β pick your arch, bestie ποΈ--archive-member-offsetsβ print the offset to each archive member for Mach-O archives; requires--machoand--archive-headersβ member offsets, got it π¦--bindβ display Mach-O binding info β bind it up π--data-in-codeβ print the data in code table for Mach-O objects; requires--machoβ data in code, literally π--dis-symname <value>β disassemble just this one symbol's instructions; requires--machoβ one symbol at a time π―--dsym=<value>β use a.dSYMfile for debug info β dSYM for the win π--dylib-idβ print the shared library's ID for the dylib Mach-O file; requires--machoβ dylib ID, iconic π--dylibs-usedβ print the shared libraries used for linked Mach-O files; requires--machoβ dylibs used, got it π--exports-trieβ display Mach-O exported symbols β exports trie, export queen π--full-leading-addrβ print the full leading address β full address, no cuts π―--function-startsβ print the function starts table for Mach-O objects; requires--machoβ function starts, let's go π-gβ print line information from debug info if it's available β debug lines, cute π--indirect-symbolsβ print the indirect symbol table for Mach-O objects; requires--machoβ indirect symbols, indirect vibes π--info-plistβ print the info plist section as strings for Mach-O objects; requires--machoβ plist but make it strings π--lazy-bindβ display Mach-O lazy binding info β lazy bind, but make it informative π΄--link-opt-hintsβ print the linker optimization hints for Mach-O objects; requires--machoβ link opt hints, optimized π‘--no-leading-headersβ don't print leading headers β no leading headers, periodt π«--no-symbolic-operandsβ don't symbolize operands when disassembling; requires--machoβ no symbolic operands, okay π«--non-verboseβ print Mach-O object info in non-verbose or numeric form; requires--machoβ non-verbose, keep it brief π¬--objc-meta-dataβ print the Objective-C runtime metadata for Mach-O files; requires--machoβ ObjC metadata, iconic π--private-headerβ display only the first format-specific file header β just the first one, bestie π₯--rebaseβ display Mach-O rebasing info β rebase and chill π--rpathsβ print the runtime search paths for the Mach-O file; requires--machoβ rpaths, runtime paths, got it π€οΈ--universal-headersβ print Mach-O universal headers; requires--machoβ universal headers, universal slay π--weak-bindβ display Mach-O weak binding info β weak bind, strong info πͺ
oh and btw, you can pass @FILE as an argument to read options from FILE β file-based options, cute π
π and that's the whole manual, bestie! this page is from llvm-objdump 13, dated July 2023, and it's literally the LLVM-OBJDUMP(1) manual β now go dump some objects and slay β¨π
π¦ where this page comes from
- ubuntu jammy: llvm-13 1:13.0.1-2ubuntu2.2 Β· 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