eu-unstrip --version (return code: 0)
eu-unstrip (elfutils) 0.170
Copyright (C) 2017 The elfutils developers <http://elfutils.org/>.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
eu-unstrip --help (return code: 0)
Usage: eu-unstrip [OPTION...] STRIPPED-FILE DEBUG-FILE
or: eu-unstrip [OPTION...] [MODULE...]
Combine stripped files with separate symbols and debug information.
Input selection options:
--core=COREFILE Find addresses from signatures found in COREFILE
--debuginfo-path=PATH Search path for separate debuginfo files
-e, --executable=FILE Find addresses in FILE
-k, --kernel Find addresses in the running kernel
-K, --offline-kernel[=RELEASE] Kernel with all modules
-M, --linux-process-map=FILE Find addresses in files mapped as read from
FILE in Linux /proc/PID/maps format
-p, --pid=PID Find addresses in files mapped into process PID
-f, --match-file-names Match MODULE against file names, not module names
-i, --ignore-missing Silently skip unfindable files
Output options:
-a, --all Create output for modules that have no separate
debug information
-d, --output-directory=DIRECTORY
Create multiple output files under DIRECTORY
-F, --force Force combining files even if some ELF headers
don't seem to match
-m, --module-names Use module rather than file names
-n, --list-only Only list module and file names, build IDs
-o, --output=FILE Place output into FILE
-R, --relocate Apply relocations to section contents in ET_REL
files
-?, --help Give this help list
--usage Give a short usage message
-V, --version Print program version
Mandatory or optional arguments to long options are also mandatory or optional
for any corresponding short options.
The first form puts the result in DEBUG-FILE if -o was not given.
MODULE arguments give file name patterns matching modules to process.
With -f these match the file name of the main (stripped) file (slashes are
never special), otherwise they match the simple module names. With no
arguments, process all modules found.
Multiple modules are written to files under OUTPUT-DIRECTORY, creating
subdirectories as needed. With -m these files have simple module names,
otherwise they have the name of the main file complete with directory
underneath OUTPUT-DIRECTORY.
With -n no files are written, but one line to standard output for each module:
START+SIZE BUILDID FILE DEBUGFILE MODULENAME
START and SIZE are hexadecimal giving the address bounds of the module.
BUILDID is hexadecimal for the build ID bits, or - if no ID is known; the
hexadecimal may be followed by @0xADDR giving the address where the ID resides
if that is known. FILE is the file name found for the module, or - if none was
found, or . if an ELF image is available but not from any named file.
DEBUGFILE is the separate debuginfo file name, or - if no debuginfo was found,
or . if FILE contains the debug information.
Report bugs to https://sourceware.org/bugzilla.