]> git.ipfire.org Git - thirdparty/elfutils.git/commit
PR 30000: debuginfod-find should have a source-list verb
authorHousam Alamour <halamour@redhat.com>
Thu, 7 Sep 2023 18:29:19 +0000 (14:29 -0400)
committerAaron Merey <amerey@redhat.com>
Tue, 24 Oct 2023 19:50:30 +0000 (15:50 -0400)
commitcb4f0e0fffbcdb124bd1b82f558095a9c7aa64b1
tree11caa8f08c83b5c25a581f80f9df9e47ac5f885c
parentb770e1c4def3532c7b59c4d2e4cd3cee26d4548b
PR 30000: debuginfod-find should have a source-list verb

* seclines.cxx: Introduce new tool  that compiles a list of source
files associated with a specified dwarf/elf file. This
compilation relies on searching the dwarf debug information,
which can be automatically retrieved via debuginfod using
libdwfl functions when required. The target file can
encompass various types, such as an executable, a coredump,
a running process, or the currently executing kernel. The
source file names are rendered as unique entries and then
displayed on the standard output.

*  run-srcfiles-self.sh: New test-case for tool.

https://sourceware.org/bugzilla/show_bug.cgi?id=30000

Signed-off-by: Housam Alamour <halamour@redhat.com>
doc/Makefile.am
doc/srcfiles.1 [new file with mode: 0644]
lib/printversion.h
src/.gitignore
src/Makefile.am
src/srcfiles.cxx [new file with mode: 0644]
tests/Makefile.am
tests/run-srcfiles-self.sh [new file with mode: 0755]