logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Author

       Written by Florian Wiemer.

Description

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

Name

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

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.

   ClassificationOptions--core
           File is an ELF core dump file.

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

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

       --elf-archive
           File is an ELF archive or static library.

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

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

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

       --linux-kernel-module
           File is a linux kernel module.

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

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

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

       --unstripped
           File is an ELF file with symbol table or .debug_* sections and can be stripped further.

   Inputflags-f--file
           Only classify regular (not symlink nor special device) files.

       --no-stdin
           Do not read files from standard input (default).

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

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

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

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

       --no-print
           Do not output file names.

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

       --print
           Output names of files, separated by newline.

       --print0
           Output names of files, separated by ASCII NUL.

    Additionalflags-q--quiet
           Suppress some error output (counterpart to --verbose).

       -v--verbose
           Output additional information (can be specified multiple times).

       -?--help
           Give this help list.

       --usage
           Give a short usage message.

       -V--version
           Print program version.

Reporting Bugs

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

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...

See Also