[PATCH] readelf: Don't print average number of tests when no tests are done

2023-11-15 Thread Mark Wielaard
If the symbol hash table only contains lenght zero chains, no lookup tests need to be done and eu-readelf -I would print out bogus numbers for the number of tests that were successful/unsuccessful. e.g. for an "empty" program like int main() {} eu-readelf -I would print: Histogram for bucket li

Re: [PATCH] PR28204, debuginfod IMA

2023-11-15 Thread Mark Wielaard
Hi Frank, On Tue, 2023-11-14 at 11:45 -0500, Frank Ch. Eigler wrote: > > >\fIima:optimistic\fP Every downloaded file with a known-invalid > > >signature is rejected, protecting against some types of corruption. > > > > I like this wording more. But maybe it would be helpful to split the >

Re: [PATCH] Minor: include for uintptr_t

2023-11-15 Thread Mark Wielaard
Hi Paul, On Tue, 2023-11-14 at 22:20 +, Paul Pluzhnikov wrote: > We have a clang-tidy complaining that uintptr_t is not provided by any > directly included header (it's only provided by a transitively included one). > > * libelf/elf_begin.c: Include > Makes sense. Pushed. Thanks, M