[Bug debuginfod/27669] extend webapi for partial match source queries

mark at klomp dot org sourceware-bugzilla@sourceware.org
Wed Mar 31 08:59:34 GMT 2021


Mark Wielaard <mark at klomp dot org> changed:

           What    |Removed                     |Added
                 CC|                            |mark at klomp dot org

--- Comment #1 from Mark Wielaard <mark at klomp dot org> ---
(In reply to Frank Ch. Eigler from comment #0)
> It may be desirable to fetch source files by buildid and __FILE__ name only,
> as these can be introspectively extracted sometimes from a running program
> image, without DWARF comp_dir etc. work.
> It could look like this:
>    /buildid/HEXCODE/source*/PARTIAL_PATH
> and implement the search by using a sql LIKE operator
>    artifactsrc like '%PARTIAL_PATH'
> in the mhd-query-s block of handle_buildid()

This might indeed be useful. But how exactly does one get just the buildid and
a source file (base) name? If this comes through DWARF then why not get the
comp_dir at the same time?

You are receiving this mail because:
You are on the CC list for the bug.

More information about the Elfutils-devel mailing list