summaryrefslogtreecommitdiff
path: root/Completion/Unix/Command/_readelf
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Unix/Command/_readelf')
-rw-r--r--Completion/Unix/Command/_readelf16
1 files changed, 12 insertions, 4 deletions
diff --git a/Completion/Unix/Command/_readelf b/Completion/Unix/Command/_readelf
index fc0fb7ce1..43cbc81c6 100644
--- a/Completion/Unix/Command/_readelf
+++ b/Completion/Unix/Command/_readelf
@@ -16,10 +16,12 @@ args=(
'(-V --version-info)'{-V,--version-info}'[show version sections (if present)]'
'(-A --arch-specific)'{-A,--arch-specific}'[show architecture specific information (if any)]'
'(-c --archive-index)'{-c,--archive-index}'[show symbol/file index in an archive]'
+ '(-D --use-dynamic)'{-D,--use-dynamic}'[use dynamic section info when showing symbols]'
\*{-x,--hex-dump=}"[dump contents of specified section as bytes]:section:($sections)"
\*{-p,--string-dump=}"[dump contents of specified section as strings]:section:($sections)"
- '-w+[show the contents of DWARF2 debug sections]::debug section:(l L i a p r m f F s o O R t U u T g A c k K)'
- '--debug-dump=[show the contents of DWARF2 debug sections]::section:(rawline decodedline info abbrev pubnames aranges macro frames frames-interp str loc Ranges pubtypes gdb_index trace_info trace_abbrev trace_aranges addr cu_index links follow-links)'
+ '*-w+[show the contents of DWARF2 debug sections]::debug section:(a A r c f F g i k K N D E l L m o O p r R s t T u U)'
+ '*--debug-dump=[show the contents of DWARF2 debug sections]::section:(abbrev addr cu_index frames frames-interp gdb_index info links follow-links no-follow-links use-debuginfod do-not-use-debuginfod rawline decodedline macro loc str-offsets pubnames aranges Ranges str pubtype trace_aranges trace_abbrev trace_info)'
+ '(-P --process-links)'{-P,--process-links}'[display the contents of non-debug sections in separate debuginfo files]'
'(-I --histogram)'{-I,--histogram}'[show histogram of bucket list lengths]'
'(-W --wide)'{-W,--wide}'[allow output width to exceed 80 characters]'
'(- *)'{-H,--help}'[display help information]'
@@ -35,7 +37,6 @@ case $variant in
'(-s --syms --symbols)'{-s,--syms,--symbols}'[show symbol table]'
'(-n --notes)'{-n,--notes}'[show core notes (if present)]'
'(-u --unwind)'{-u,--unwind}'[show unwind info (if present)]'
- '(-D --use-dynamic)'{-D,--use-dynamic}'[use dynamic section info when showing symbols]'
)
;|
elfutils|binutils)
@@ -50,19 +51,26 @@ case $variant in
;|
binutils)
args+=(
+ '--sym-base=[force base for symbol sizes]:base:(0 8 10 16)'
'!(-C --demangle)--no-demangle'
'(--demangle)-C[decode symbol names]'
- '(-C)--demangle=-[decode symbol names]::style [auto]:(auto gnu lucid arm hp edg gnu-v3 java gnat)'
+ '(-C)--demangle=-[decode symbol names]::style [auto]:(none auto gnu-v3 java gnat dlang rust)'
'!(--no-recurse-limit)--recurse-limit'
'--no-recurse-limit[disable demangling recursion limit]'
+ '-U+[specify how to display unicode characters]:method:(d l e x h i)'
+ '--unicode=[specify how to display unicode characters]:method:(default locale escape hex highlight invalid)'
+ '(-X --extra-sym-info)'{-X,--extra-sym-info}'[display extra information when showing symbols]'
+ '!(-X --extra-sym-info)--no-extra-sym-info'
'(-L --lint --enable-checks)'{-L,--lint,--enable-checks}'[display warning messages for possible problems]'
\*{-R,--relocated-dump=}"[dump contents of specified section as relocated bytes]:section:($sections)"
+ \*{-j,--display-section=}'[display contents of specified section]:section'
"--dwarf-depth=[don't show DIEs at greater than specified depth]:depth"
'--dwarf-start=[show DIEs starting at specified depth or deeper]:depth'
'--ctf=[display compact C type format info from section]:section'
'--ctf-parent=[use specified section as the CTF parent]:section'
'--ctf-symbols=[use specified section as the CTF external symbol table]:section'
'--ctf-strings=[use specified section as the CTF external string table]:section'
+ '--sframe=-[display SFrame info from section]::section name [.sframe]'
'(-T --silent-truncation)'{-T,--silent-truncation}"[if a symbol name is truncated, don't add ... suffix]"
)
;;