Re: Inquiry about Development Features and Integration of Source Code Version Control Systems

2024-04-10 Thread Frank Ch. Eigler
Hi - > [...] Specifically, I am interested in understanding how the > Debuginfod Server can facilitate the direct download of source code > from Git repositories. [...] Can you explain under what situations you think this would be helpful? The main challenge is that compilers don't generally ha

Re: Inquiry about Development Features and Integration of Source Code Version Control Systems

2024-04-10 Thread Matt Schulte
Hi Tobias, I wanted to provide an alternative solution that may work for you (with or without support from debuginfod). Support for reading source code directly from a code hosting service (such as GitHub) has been supported for years by Microsoft via SourceLink[1]. In 2018, a proposal[2] was sub

Re: Inquiry about Development Features and Integration of Source Code Version Control Systems

2024-04-10 Thread Frank Ch. Eigler
Hi - > Support for reading source code directly from a code hosting service > (such as GitHub) has been supported for years by Microsoft via > SourceLink[1]. [...] Thanks for that reminder. Yeah, eventually that could be an alternate way. > [...] > > Can you explain under what situations you th

Re: [PATCH] libdw: dwarf_getsrcfiles should not imply dwarf_getsrclines

2024-04-10 Thread Mark Wielaard
Hi Aaron, On Tue, 2024-04-09 at 23:45 -0400, Aaron Merey wrote: > dwarf_getsrcfiles causes line data to be read in addition to file data. > This is wasteful for programs which only need file or directory names. > Debuginfod server is one such example. > > Fix this by moving the srcfile reading in

Re: [PATCH] libdw: dwarf_getsrcfiles should not imply dwarf_getsrclines

2024-04-10 Thread Aaron Merey
Hi Mark, On Wed, Apr 10, 2024 at 3:48 PM Mark Wielaard wrote: > > v2 changes: > > Restored support for DW_LNE_define_file. > > Great. And sorry I first suggested to just drop it and then said I > would like it back. This was more work than I though. No problem, better if we support this just in

Re: [rfc] [patch] PR28204: debuginfod ima signature verification

2024-04-10 Thread Frank Ch. Eigler
Hi, Mark - > > - to drop "permissive" mode > > We discussed a bit on irc about "wording". But I think it isn't really > how it is worded, but that there is just different features. What is > called "enforcing" is an authenticity scheme. While "permissive" is > more like an (optional) error-detec

Re: Inquiry about Development Features and Integration of Source Code Version Control Systems

2024-04-10 Thread Matt Schulte
> i.e., a situation where even an internal debuginfod instance cannot be > trusted with the source code, but some version control system can be? That was my thought exactly. On Wed, Apr 10, 2024 at 9:07 AM Frank Ch. Eigler wrote: > > Hi - > > > Support for reading source code directly from a cod