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 --version for 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 --demangle is 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-hidden for 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=help for details). the + and - are important bestie πŸ”₯
  • --mcpu=cpu-name β€” target a specific cpu type (--mcpu=help for 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 --macho dump segment,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 --version for 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 --macho and --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 .dSYM file for debug info. dSYM files for debug info, slay πŸ’–
  • --dyld_info β€” print bind and rebase information used by dyld to 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 @FILE as argument to read options from FILE. 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