LLVM-OBJDUMP(1)
okay bestie, welcome to the LLVM-OBJDUMP(1) manual page β User Commands section β and we're about to get into llvm-objdump like it's the main character π
πΈ NAME πΈ
llvm-objdump β the manual page for llvm-objdump 15, and she's literally the object file dumper for LLVM π
β¨ DESCRIPTION β¨
the overview is giving "llvm object file dumper" β that's the whole vibe β¨
USAGE:
llvm-objdump [options] <input object files>
π« OPTIONS: π«
--adjust-vma=offsetβ increase the displayed address by the specified offset. like shifting the whole address bar so everything lands where you want π--all-headersβ display all available header information, relocation entries AND the symbol table. it's giving full package, no cap π--arch-name=<value>β target arch to disassemble for β see--versionfor available targets. iykyk if you need a specific architecture π₯--archive-headersβ display archive header information. archive girlies stay winning π-aβ alias for--archive-headers. short and sweet, just like you bestie π«Ά-Cβ alias for--demangle. same vibe, shorter name β¨--debug-vars-indent=<value>β distance to indent the source-level variable display, relative to the start of the disassembly. gotta make it pretty with the right indentation π--debug-vars=<value>β print the locations (in registers or memory) of source-level variables alongside disassembly. supported formats:ascii,unicode(default). unicode is the default because we have taste π--demangleβ demangle symbol names. make those mangled names make sense again, slay π--disassemble-allβ disassemble all sections found in the input files. not just the executable ones β ALL of them π--disassemble-symbols=<value>β list of symbols to disassemble. accept demangled names when--demangleis specified, otherwise accept mangled names. so pick your fighter based on whether you demangled or not π--disassemble-zeroesβ do not skip blocks of zeroes when disassembling. yes queen show us the zeros too π--disassembler-options=optionsβ pass target specific disassembler options. target specific means don't @ me about the details π₯--disassembleβ disassemble all executable sections found in the input files. the main event, the icon, the moment β¨--dwarf=<value>β dump the specified DWARF debug sections. the only supported value is'frames'. literally just frames, don't try anything else π--dynamic-relocβ display the dynamic relocation entries in the file. dynamic reloc girlies rise π--dynamic-symsβ display the contents of the dynamic symbol table. dynamic syms are giving main character energy π-Dβ alias for--disassemble-all. big D energy for disassembling everything π₯-dβ alias for--disassemble. lowercase d for the regular disassemble vibe β¨--fault-map-sectionβ display the content of the fault map section. fault map section? more like fault map slay π--file-headersβ display the contents of the overall file header. the big picture header, no cap π--full-contentsβ display the content of each section. every section, every byte, full send π-fβ alias for--file-headers. f for file headers, fr fr β¨--headersβ alias for--section-headers. same as section headers, just shorter π«Ά--helpβ display available options (--help-hiddenfor more). there's a hidden mode bestie, use it wisely π-hβ alias for--section-headers. h for headers, iconic π-j <value>β alias for--section. j is for section, don't ask why, just vibe β¨--line-numbersβ when disassembling, display source line numbers. implies--disassemble. line numbers make it all make sense π-lβ alias for--line-numbers. l for lines, slay π--machoβ use MachO specific object file parser. MachO mode activated, iykyk π--mattr=a1,+a2,-a3,...β target specific attributes (--mattr=helpfor details). the+and-are important bestie π₯--mcpu=cpu-nameβ target a specific cpu type (--mcpu=helpfor details). cpu-name goes here, no cap π-M <value>β alias for--disassembler-options=. capital M for the disassembler options vibe β¨-mβ alias for--macho. lowercase m for MachO, periodt π--no-leading-addrβ when disassembling, do not print leading addresses. no addresses, just vibes π--no-print-imm-hexβ do not use hex format for immediate values. this is the(default)behavior, just so you know π«Ά--no-show-raw-insnβ when disassembling instructions, do not print the instruction bytes. no raw instruction bytes, keep it clean β¨--offloadingβ display the content of the offloading section. offloading section? more like offloading slay π--prefix-strip=prefixβ strip out initial directories from absolute paths. no effect without--prefix. important caveat bestie, don't forget it π--prefix=prefixβ add prefix to absolute paths. prefix goes in front, simple as that β¨--print-imm-hexβ use hex format for immediate values. hex mode activated, slay π--private-headersβ display format specific file headers. private headers, format specific, no cap π-pβ alias for--private-headers. p for private headers π₯--raw-clang-astβ dump the raw binary contents of the clang AST section. raw and binary, just how we like it π--relocβ display the relocation entries in the file. reloc entries, giving necessary info β¨-Rβ alias for--dynamic-reloc. capital R for dynamic reloc, iconic π-rβ alias for--reloc. lowercase r for reloc, fr fr π--section-headersβ display summaries of the headers for each section. summaries, not full dumps, bestie π«Ά--section=<value>β operate on the specified sections only. with--machodumpsegment,section. so you can be specific about which sections you want π--show-lmaβ display LMA column when dumping ELF section headers. LMA column, ELF section headers, you got this β¨--sourceβ when disassembling, display source interleaved with the disassembly. implies--disassemble. source interleaved is giving main character energy π--start-address=addressβ set the start address for disassembling, printing relocations and printing symbols. start address goes here, no cap π₯--stop-address=addressβ set the stop address for disassembling, printing relocations and printing symbols. stop address is where it ends, simple β¨--symbol-descriptionβ add symbol description for disassembly. this option is for XCOFF files only. XCOFF only bestie, don't forget π--symbolize-operandsβ symbolize instruction operands when disassembling. symbolize those operands, slay π--symsβ display the symbol table. the symbol table, iconic β¨-Sβ alias for--source. capital S for source, periodt π₯-sβ alias for--full-contents. lowercase s for full contents, you got this π--triple=<value>β target triple to disassemble for β see--versionfor available targets. triple goes here, iykyk π-Tβ alias for--dynamic-syms. capital T for dynamic syms, no cap π-tβ alias for--syms. lowercase t for syms, fr fr β¨--unwind-infoβ display unwind information. unwind info, giving necessary vibes π-uβ alias for--unwind-info. u for unwind, slay π«Ά--versionβ display the version of this program. version check, always iconic π-vβ alias for--version. v for version, periodt π--wideβ ignored for compatibility with GNU objdump. literally ignored, bestie, don't worry about it π--x86-asm-syntax=attβ emit AT&T-style disassembly. AT&T style, old school cool β¨--x86-asm-syntax=intelβ emit Intel-style disassembly. Intel style, also iconic π-xβ alias for--all-headers. x for all headers, no cap π₯-zβ alias for--disassemble-zeroes. z for zeroes, slay π
π llvm-objdump MachO Specific Options: π
--arch=<value>β architecture(s) from a Mach-O file to dump. pick your architecture, bestie β¨--archive-member-offsetsβ print the offset to each archive member for Mach-O archives. requires--machoand--archive-headers. both flags needed, don't forget π--bindβ display mach-o binding info. binding info, giving necessary vibes π--data-in-codeβ print the data in code table for Mach-O objects. requires--macho. MachO mode required, iykyk π--dis-symname <value>β disassemble just this symbol's instructions. requires--macho. just this symbol, no cap β¨--dsym=<value>β use.dSYMfile for debug info. dSYM files for debug info, slay π--dyld_infoβ print bind and rebase information used bydyldto resolve external references in a final linked binary. requires--macho. dyld info, giving linked binary realness π--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, necessary info π--exports-trieβ display mach-o exported symbols. exports trie, giving exported symbols energy π--full-leading-addrβ print full leading address. full leading address, no cap β¨--function-startsβ print the function starts table for Mach-O objects. requires--macho. function starts, slay π-gβ print line information from debug info if available. debug info line numbers, if available π--indirect-symbolsβ print indirect symbol table for Mach-O objects. requires--macho. indirect symbols, giving necessary vibes β¨--info-plistβ print the info plist section as strings for Mach-O objects. requires--macho. info plist as strings, iconic π--lazy-bindβ display mach-o lazy binding info. lazy binding info, slay π--link-opt-hintsβ print the linker optimization hints for Mach-O objects. requires--macho. linker optimization hints, no cap β¨--no-leading-headersβ print no leading headers. no leading headers, simple as that π--no-symbolic-operandsβ do not symbolic operands when disassembling. requires--macho. note the exact wording bestie, that's what it says π--non-verboseβ print the info for Mach-O objects in non-verbose or numeric form. requires--macho. non-verbose or numeric, you choose π--objc-meta-dataβ print the Objective-C runtime meta data for Mach-O files. requires--macho. Objective-C runtime meta data, iconic β¨--private-headerβ display only the first format specific file header. singular header, not headers, bestie π--rebaseβ display mach-o rebasing info. rebasing info, slay π₯--rpathsβ print the runtime search paths for the Mach-O file. requires--macho. runtime search paths, no cap β¨--universal-headersβ print Mach-O universal headers. requires--macho. universal headers, giving universal energy π--weak-bindβ display mach-o weak binding info. weak binding info, iconic π
pass@FILEas argument to read options fromFILE. iykyk, that's the whole note π«Ά
and that's the whole manual, bestie β¨ this page was brought to you by llvm-objdump 15, July 2023, and the LLVM-OBJDUMP(1) energy β periodt π
π
π¦ 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