EU-ELFCLASSIFY(1) General Commands Manual EU-ELFCLASSIFY(1)

# [NAME](#NAME)

eu-elfclassify - Determine the type of an ELF file.

# [SYNOPSIS](#SYNOPSIS)

eu-elfclassify \[**--core**]  
\[**--debug-only**]  
\[**--elf**]  
\[**--elf-archive**]  
\[**--elf-file**]  
\[**--executable**]  
\[**--library**]  
\[**--linux-kernel-module**]  
\[**--loadable**]  
\[**--program**]  
\[**--shared**]  
\[**--unstripped**]  
\[**-f**| **--file**]  
\[**--no-stdin**]  
\[**--stdin**]  
\[**--stdin0**]  
\[**-z**| **--compressed**]  
\[**--matching**]  
\[**--no-print**]  
\[**--not-matching**]  
\[**--print**]  
\[**--print0**]  
\[**-q**| **--quiet**]  
\[**-v**| **--verbose**]  
\[**-?**| **--help**]  
\[**--usage**]  
\[**-V**| **--version**] *elffile*...

# [DESCRIPTION](#DESCRIPTION)

**eu-elfclassify** identifies the primary purpose of a particular kind of  
ELF file or files

# [OPTIONS](#OPTIONS)

The long and short forms of options, shown here as alternatives, are equivalent. All of the classification options must apply at the same time to a particular file. Classification options can be negated using a **--not-** prefix.

## [Classification Options](#Classification_Options)

[**--core**](#core)

File is an ELF core dump file.

[--debug-only](#debug)

File is a debug only ELF file (separate .debug, .dwo or dwz multi-file).

[**--elf**](#elf)

File looks like an ELF object or archive/static library (default).

[**--elf-archive**](#elf~2)

File is an ELF archive or static library.

[**--elf-file**](#elf~3)

File is an regular ELF object (not an archive/static library).

[**--executable**](#executable)

File is (primarily) an ELF program executable (not primarily a DS.O)

[**--library**](#library)

File is an ELF shared object (DSO) (might also be an executable).

[**--linux-kernel-module**](#linux)

File is a linux kernel module.

[**--loadable**](#loadable)

File is a loadable ELF object (program or shared object).

[**--program**](#program)

File is an ELF program executable (might also be a DSO).

[**--shared**](#shared)

File is (primarily) an ELF shared object (DSO) (not primarily an executable).

[**--unstripped**](#unstripped)

File is an ELF file with symbol table or .debug\_* sections and can be stripped further.

## [Input flags](#Input_flags)

[**-f**](#f)

[**--file**](#file)

Only classify regular (not symlink nor special device) files.

[**--no-stdin**](#no)

Do not read files from standard input (default).

[**--stdin**](#stdin)

Also read file names to process from standard input, separated by newlines.

[**--stdin0**](#stdin0)

Also read file names to process from standard input, separated by ASCII NUL bytes.

[**-z**](#z)

[**--compressed**](#compressed)

Try to open compressed files or embedded (kernel) ELF images.

## [Output flags](#Output_flags)

[**--matching**](#matching)

If printing file names, print matching files (default).

[**--no-print**](#no~2)

Do not output file names.

[**--not-matching**](#not)

If printing file names, print files that do not match.

[**--print**](#print)

Output names of files, separated by newline.

[**--print0**](#print0)

Output names of files, separated by ASCII NUL.

## [Additional flags](#Additional_flags)

[**-q**](#q)

[**--quiet**](#quiet)

Suppress some error output (counterpart to --verbose).

[**-v**](#v)

[**--verbose**](#verbose)

Output additional information (can be specified multiple times).

**-?**

[**--help**](#help)

Give this help list.

[**--usage**](#usage)

Give a short usage message.

[**-V**](#V)

[**--version**](#version)

Print program version.

# [AUTHOR](#AUTHOR)

Written by Florian Wiemer.

# [REPORTING BUGS](#REPORTING_BUGS)

Please reports bugs at https://sourceware.org/bugzilla/

# [COPYRIGHT](#COPYRIGHT)

Copyright © 2019 Red Hat Inc. License GPLv3+: GNU GPL version 3 or later &lt;https://gnu.org/licenses/gpl.html&gt;. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.

2019-Aug-20 elfutils

---

Document: eu-elfclassify(1) from elfutils 0.197-r0 (Chainguard OS)
Source: https://sourceware.org/git/elfutils.git
