LLVM-OBJDUMP(1)

πŸ’– llvm-objdump β€” LLVM-OBJDUMP(1), the manual page, bestie πŸ’–

okay so this is LLVM-OBJDUMP(1) β€” the llvm-objdump manual page, from the User Commands girlies. Version? llvm-objdump 18, and it's literally the LLVM object file dumper. Grab a snack, because we're going through every flag, no skips. πŸ“βœ¨

✨ NAME ✨

llvm-objdump β€” manual page for llvm-objdump 18. That's the name, no cap. πŸ‘‘

🌸 DESCRIPTION 🌸

OVERVIEW: llvm object file dumper

USAGE:

llvm-objdump [options] <input object files>

πŸ’… OPTIONS:

  • --adjust-vma=offset β€” bumps the displayed address by offset. cute little address glow-up. ✨
  • --all-headers β€” shows all available header info, relocation entries and the symbol table. the whole header buffet, slay. πŸ‘‘
  • --arch-name=<value> β€” target arch to disassemble for; peep --version for available targets. πŸ¦‹
  • --archive-headers β€” displays archive header information. periodt.
  • -a β€” alias for --archive-headers.
  • --build-id=<hex> β€” build ID to look up. once it's found, it gets added as an input file. πŸ’…
  • -C β€” alias for --demangle.
  • --debug-file-directory=<dir> β€” path to the directory where we look for debug files. πŸŽ€
  • --debug-vars-indent=<value> β€” distance to indent the source-level variable display, relative to the start of the disassembly.
  • --debug-vars=<value> β€” prints the locations (in registers or memory) of source-level variables alongside disassembly. supported formats: ascii, unicode (default). 🫢
  • --debuginfod β€” use debuginfod to find debug files.
  • --demangle β€” demangle symbol names. say it with your chest. πŸ’–
  • --disassemble-all β€” disassemble all sections found in the input files.
  • --disassemble-symbols=<value> β€” list of symbols to disassemble. accepts demangled names when --demangle is specified, otherwise accepts mangled names. 🧚
  • --disassemble-zeroes β€” do not skip blocks of zeroes when disassembling.
  • --disassembler-color=mode β€” enables or disables disassembler color output. valid options are "on", "off" and "terminal" (default). 🌈
  • --disassembler-options=options β€” pass target specific disassembler options.
  • --disassemble β€” disassemble all executable sections found in the input files.
  • --dwarf=<value> β€” dump the specified DWARF debug sections. the only supported value is 'frames'. πŸ¦‹
  • --dynamic-reloc β€” display the dynamic relocation entries in the file.
  • --dynamic-syms β€” display the contents of the dynamic symbol table.
  • -D β€” alias for --disassemble-all.
  • -d β€” alias for --disassemble.
  • --fault-map-section β€” display the content of the fault map section.
  • --file-headers β€” display the contents of the overall file header.
  • --full-contents β€” display the content of each section.
  • -f β€” alias for --file-headers.
  • --headers β€” alias for --section-headers.
  • --help β€” display available options (--help-hidden for more).
  • -h β€” alias for --section-headers.
  • -j <value> β€” alias for --section.
  • --line-numbers β€” when disassembling, display source line numbers. implies --disassemble. πŸ’…
  • -l β€” alias for --line-numbers.
  • --macho β€” use MachO specific object file parser.
  • --mattr=a1,+a2,-a3,... β€” target specific attributes (--mattr=help for details).
  • --mcpu=cpu-name β€” target a specific cpu type (--mcpu=help for details).
  • -mllvm <arg> β€” specify an argument to forward to LLVM's CommandLine library.
  • -M <value> β€” alias for --disassembler-options=.
  • -m β€” alias for --macho.
  • --no-addresses β€” alias for --no-leading-addr.
  • --no-debuginfod β€” don't use debuginfod to find debug files.
  • --no-leading-addr β€” when disassembling, do not print leading addresses for instructions or inline relocations.
  • --no-print-imm-hex β€” do not use hex format for immediate values.
  • --no-show-raw-insn β€” when disassembling instructions, do not print the instruction bytes.
  • --offloading β€” display the content of the offloading section.
  • --prefix-strip=prefix β€” strip out initial directories from absolute paths. no effect without --prefix. πŸŽ€
  • --prefix=prefix β€” add prefix to absolute paths.
  • --print-imm-hex β€” use hex format for immediate values (default).
  • --private-headers β€” display format specific file headers.
  • -p β€” alias for --private-headers.
  • --raw-clang-ast β€” dump the raw binary contents of the clang AST section.
  • --reloc β€” display the relocation entries in the file.
  • -R β€” alias for --dynamic-reloc.
  • -r β€” alias for --reloc.
  • --section-headers β€” display summaries of the headers for each section.
  • --section=<value> β€” operate on the specified sections only. with --macho, dump segment,section. πŸ’–
  • --show-all-symbols β€” show all symbols during disassembly, even if multiple symbols are defined at the same location.
  • --show-lma β€” display LMA column when dumping ELF section headers.
  • --source β€” when disassembling, display source interleaved with the disassembly. implies --disassemble.
  • --start-address=address β€” set the start address for disassembling, printing relocations and printing symbols.
  • --stop-address=address β€” set the stop address for disassembling, printing relocations and printing symbols.
  • --symbol-description β€” add symbol description for disassembly. this option is for XCOFF files only. πŸ‘€
  • --symbolize-operands β€” symbolize instruction operands when disassembling.
  • --syms β€” display the symbol table.
  • -S β€” alias for --source.
  • -s β€” alias for --full-contents.
  • --traceback-table β€” decode traceback table in disassembly. implies --disassemble. this option is for XCOFF files only. πŸ’€
  • --triple=<value> β€” target triple to disassemble for; peep --version for available targets. 🌟
  • -T β€” alias for --dynamic-syms.
  • -t β€” alias for --syms.
  • --unwind-info β€” display unwind information.
  • -u β€” alias for --unwind-info.
  • --version β€” display the version of this program.
  • -v β€” alias for --version.
  • --wide β€” ignored for compatibility with GNU objdump.
  • --x86-asm-syntax=att β€” emit AT&T-style disassembly.
  • --x86-asm-syntax=intel β€” emit Intel-style disassembly.
  • -x β€” alias for --all-headers.
  • -z β€” alias for --disassemble-zeroes.

πŸ“ llvm-objdump MachO Specific Options:

  • --arch=<value> β€” architecture(s) from a Mach-O file to dump.
  • --archive-member-offsets β€” print the offset to each archive member for Mach-O archives (requires --macho and --archive-headers).
  • --bind β€” display mach-o binding info.
  • --chained-fixups β€” print chained fixup information (requires --macho).
  • --data-in-code β€” print the data in code table for Mach-O objects (requires --macho).
  • --dis-symname <value> β€” disassemble just this symbol's instructions (requires --macho).
  • --dsym=<value> β€” use .dSYM file for debug info.
  • --dyld-info β€” print bind and rebase information used by dyld to resolve external references in a final linked binary (requires --macho).
  • --dylib-id β€” print the shared library's id for the dylib Mach-O file (requires --macho).
  • --dylibs-used β€” print the shared libraries used for linked Mach-O files (requires --macho).
  • --exports-trie β€” display mach-o exported symbols.
  • --full-leading-addr β€” print full leading address.
  • --function-starts=<value> β€” print the function starts table for Mach-O objects. options: addrs (default), names, both (requires --macho). πŸŽ€
  • -g β€” print line information from debug info if available.
  • --indirect-symbols β€” print indirect symbol table for Mach-O objects (requires --macho).
  • --info-plist β€” print the info plist section as strings for Mach-O objects (requires --macho).
  • --lazy-bind β€” display mach-o lazy binding info.
  • --link-opt-hints β€” print the linker optimization hints for Mach-O objects (requires --macho).
  • --no-leading-headers β€” print no leading headers.
  • --no-symbolic-operands β€” don't use symbolic operands when disassembling (requires --macho).
  • --non-verbose β€” print the info for Mach-O objects in non-verbose or numeric form (requires --macho).
  • --objc-meta-data β€” print the Objective-C runtime meta data for Mach-O files (requires --macho).
  • --private-header β€” display only the first format specific file header.
  • --rebase β€” display mach-o rebasing info.
  • --rpaths β€” print the runtime search paths for the Mach-O file (requires --macho).
  • --universal-headers β€” print Mach-O universal headers (requires --macho).
  • --weak-bind β€” display mach-o weak binding info.

Pass @FILE as argument to read options from FILE. 🫢

mwah πŸ’‹ β€” this page is llvm-objdump 18, dated June 2025, and it lives in LLVM-OBJDUMP(1). bye bestie! 🫢✨

πŸ“¦ where this page comes from