1EU-ELFCLASSIFY(1) General Commands Manual EU-ELFCLASSIFY(1)
2
3
4
6 eu-elfclassify - Determine the type of an ELF file.
7
9 eu-elfclassify [--core]
10 [--debug-only]
11 [--elf]
12 [--elf-archive]
13 [--elf-file]
14 [--executable]
15 [--library]
16 [--linux-kernel-module]
17 [--loadable]
18 [--program]
19 [--shared]
20 [--unstripped]
21 [-f| --file]
22 [--no-stdin]
23 [--stdin]
24 [--stdin0]
25 [-z| --compressed]
26 [--matching]
27 [--no-print]
28 [--not-matching]
29 [--print]
30 [--print0]
31 [-q| --quiet]
32 [-v| --verbose]
33 [-?| --help]
34 [--usage]
35 [-V| --version] elffile...
36
38 eu-elfclassify identifies the primary purpose of a particular kind of
39 ELF file or files
40
42 The long and short forms of options, shown here as alternatives, are
43 equivalent. All of the classification options must apply at the same
44 time to a particular file. Classification options can be negated using
45 a --not- prefix.
46
47 Classification Options
48 --core
49 File is an ELF core dump file.
50
51 --debug-only
52 File is a debug only ELF file (separate .debug, .dwo or dwz multi-
53 file).
54
55 --elf
56 File looks like an ELF object or archive/static library (default).
57
58 --elf-archive
59 File is an ELF archive or static library.
60
61 --elf-file
62 File is an regular ELF object (not an archive/static library).
63
64 --executable
65 File is (primarily) an ELF program executable (not primarily a
66 DS.O)
67
68 --library
69 File is an ELF shared object (DSO) (might also be an executable).
70
71 --linux-kernel-module
72 File is a linux kernel module.
73
74 --loadable
75 File is a loadable ELF object (program or shared object).
76
77 --program
78 File is an ELF program executable (might also be a DSO).
79
80 --shared
81 File is (primarily) an ELF shared object (DSO) (not primarily an
82 executable).
83
84 --unstripped
85 File is an ELF file with symbol table or .debug_* sections and can
86 be stripped further.
87
88 Input flags
89 -f
90 --file
91 Only classify regular (not symlink nor special device) files.
92
93 --no-stdin
94 Do not read files from standard input (default).
95
96 --stdin
97 Also read file names to process from standard input, separated by
98 newlines.
99
100 --stdin0
101 Also read file names to process from standard input, separated by
102 ASCII NUL bytes.
103
104 -z
105 --compressed
106 Try to open compressed files or embedded (kernel) ELF images.
107
108 Output flags
109 --matching
110 If printing file names, print matching files (default).
111
112 --no-print
113 Do not output file names.
114
115 --not-matching
116 If printing file names, print files that do not match.
117
118 --print
119 Output names of files, separated by newline.
120
121 --print0
122 Output names of files, separated by ASCII NUL.
123
124 Additional flags
125 -q
126
127 --quiet
128 Suppress some error output (counterpart to --verbose).
129
130 -v
131
132 --verbose
133 Output additional information (can be specified multiple times).
134
135 -?
136
137 --help
138 Give this help list.
139
140 --usage
141 Give a short usage message.
142
143 -V
144
145 --version
146 Print program version.
147
148
150 Written by Florian Wiemer.
151
153 Please reports bugs at https://sourceware.org/bugzilla/
154
156 Copyright © 2019 Red Hat Inc. License GPLv3+: GNU GPL version 3 or
157 later <https://gnu.org/licenses/gpl.html>. This is free software: you
158 are free to change and redistribute it. There is NO WARRANTY, to the
159 extent permitted by law.
160
161
162
163elfutils 2019-Aug-20 EU-ELFCLASSIFY(1)