LLVM-READELF(1)
πΈ NAME πΈ
okay so bestie, this is llvm-readelf from the LLVM manual β the GNU-style LLVM Object Reader π
It's the tool that displays low-level format-specific information about one or more object files. Think object-file detective, but make it main character energy β¨
π¦ SYNOPSIS π¦
llvm-readelf [options] [input...]
π DESCRIPTION π
llvm-readelf displays low-level format-specific information about one or more object files.
If input is -, llvm-readelf reads from standard input. Otherwise, it will read from the specified filenames.
π OPTIONS π
--all,-aβ equivalent to specifying all the main display options relevant to the file format. Basically the βgive me the whole menuβ vibe π--addrsigβ display the address-significance table.--arch-specific,-Aβ display architecture-specific information, e.g. the ARM attributes section on ARM.--bb-addr-mapβ display the contents of the basic block address map section(s), which contain the address of each function, along with the relative offset of each basic block.--demangle,-Cβ display demangled symbol names in the output.--dependent-librariesβ display the dependent libraries section.--dyn-relocationsβ display the dynamic relocation entries.--dyn-symbols,--dyn-symsβ display the dynamic symbol table.--dynamic-table,--dynamic,-dβ display the dynamic table.--cg-profileβ display the callgraph profile section.--histogram,-Iβ display a bucket list histogram for dynamic symbol hash tables.--elf-linker-optionsβ display the linker options section.--elf-output-style=<value>β format ELF information in the specified style. Valid options areLLVM,GNU, andJSON.LLVMoutput is an expanded and structured format.GNU(the default) output mimics the equivalent GNU readelf output.JSONis JSON formatted output intended for machine consumption.--section-groups,-gβ display section groups.--expand-relocsβ when used with--relocations, display each relocation in an expanded multi-line format.--file-header,-hβ display file headers.--gnu-hash-tableβ display the GNU hash table for dynamic symbols.--hash-symbolsβ display the expanded hash table with dynamic symbol data.--hash-tableβ display the hash table for dynamic symbols.--headers,-eβ equivalent to setting:--file-header,--program-headers, and--sections.--helpβ display a summary of command line options.--hex-dump=<section[,section,...]>,-xβ display the specified section(s) as hexadecimal bytes.sectionmay be a section index or section name.--needed-libsβ display the needed libraries.--no-demangleβ do not display demangled symbol names in the output. On by default.--notes,-nβ display all notes.--pretty-printβ when used with--elf-output-style, JSON output will be formatted in a more readable format.--program-headers,--segments,-lβ display the program headers.--raw-relrβ do not decode relocations in RELR relocation sections when displaying them.--relocations,--relocs,-rβ display the relocation entries in the file.--sections,--section-headers,-Sβ display all sections.--section-dataβ when used with--sections, display section data for each section shown. This option has no effect for GNU style output.--section-details,-tβ display all section details. Used as an alternative to--sections.--section-mappingβ display the section to segment mapping.--section-relocationsβ when used with--sections, display relocations for each section shown. This option has no effect for GNU style output.--section-symbolsβ when used with--sections, display symbols for each section shown. This option has no effect for GNU style output.--stackmapβ display contents of the stackmap section.--stack-sizesβ display the contents of the stack sizes section(s), i.e. pairs of function names and the size of their stack frames. Currently only implemented for GNU style output.--string-dump=<section[,section,...]>,-pβ display the specified section(s) as a list of strings.sectionmay be a section index or section name.--symbols,--syms,-sβ display the symbol table. Also display the dynamic symbol table when using GNU output style for ELF.--unwind,-uβ display unwind information.--versionβ display the version of thellvm-readelfexecutable.--version-info,-Vβ display version sections.--wide,-Wβ ignored for GNU readelf compatibility. The output is already similar to when using-Wwith GNU readelf.@<FILE>β read command-line options from response file<FILE>.
π EXIT STATUS π
llvm-readelf returns 0 under normal operation. It returns a non-zero exit code if there were any errors.
π SEE ALSO π
llvm-nm(1), llvm-objdump(1), llvm-readobj(1)
π«Ά AUTHOR π«Ά
Maintained by the LLVM Team (https://llvm.org/).
π COPYRIGHT π
2003-2023, LLVM Project
mwah π that's the whole page β source/version 15, dated 2023-01-14, signing off as LLVM-READELF(1) π«Ά periodt.
π¦ where this page comes from
- opensuse-leap 16.0: llvm15 15.0.7-160000.3.1 Β· Apache-2.0 WITH LLVM-exception AND NCSA
- opensuse-leap 16.0: llvm15 15.0.7-160000.3.1 Β· Apache-2.0 WITH LLVM-exception AND NCSA
- opensuse-leap 16.0: llvm15 15.0.7-160000.3.1 Β· Apache-2.0 WITH LLVM-exception AND NCSA
- opensuse-leap 16.0: llvm15 15.0.7-160000.3.1 Β· Apache-2.0 WITH LLVM-exception AND NCSA
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms