4670d75c388042d6f21d76d1052e19f96e37333b blob 1315 bytes (raw)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
| | #compdef elfdump
local -a args
args=(
'-c[dump section header information]'
'-d[dump .dynamic section]'
'-e[dump file header]'
'-G[dump .got (global offset table) section]'
'-h[dump .hash section]'
'-i[dump .interp (interpreter) section]'
'-n[dump .note sections]'
'(-w)-p[dump program headers]'
'-r[dump relocation sections]'
'-s[dump symbol table sections]'
'(-p)-w[write contents of matched sections to file]:file:_files'
)
case $OSTYPE in
solaris*)
args+=(
'-g[dump .group section]'
'-H[dump .SUNW_cap (capabilities) section]'
'-m[dump .SUNW_move section]'
'-S[dump symbol table sections sorted according to symbol sort sections]'
'-u[dump stack unwind/exceptions sections]'
'-v[dump .SUNW_version (versioning) sections]'
'-y[dump .SUNW_syminfo (symbol bindings) section]'
'-I[match sections by index]:index or range'
"-N[match sections by name]:section"
'-T[match sections by type]:type'
'-C[demangle C++ symbol names]'
'-k[calculate ELF checksum]'
'-l[show long section names without truncation]'
'-O[specify osabi to apply]:osabi'
'-P[use alternative section header]'
"*:elf file:_elf_files"
)
;;
freebsd*) args+=( '-a[dump all information]' ) ;;
esac
_arguments -s $args
|
debug log:
solving 4670d75 ...
found 4670d75 in https://inbox.vuxu.org/zsh-workers/20151211064440.GA19567@CptOrmolo.darkstar/
found ee92402 in https://git.vuxu.org/mirror/zsh/
preparing index
index prepared:
100644 ee92402d286f4455842307fa2b2db5429155e7fe Completion/Unix/Command/_elfdump
applying [1/1] https://inbox.vuxu.org/zsh-workers/20151211064440.GA19567@CptOrmolo.darkstar/
diff --git a/Completion/Unix/Command/_elfdump b/Completion/Unix/Command/_elfdump
index ee92402..4670d75 100644
Checking patch Completion/Unix/Command/_elfdump...
Applied patch Completion/Unix/Command/_elfdump cleanly.
index at:
100644 4670d75c388042d6f21d76d1052e19f96e37333b Completion/Unix/Command/_elfdump
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).