Binary package “dwarf2sources” in ubuntu jammy
utility to list the source files for a given binary
dwarf2sources is a command-line tool to list the source files that were
used to create a given binary and dump it in JSON format. The input files
must not be stripped and must contain debugging information in DWARF format.