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

2023-11-20 Thread Mark Wielaard
Hi, On Wed, 2023-11-15 at 17:41 +0100, Mark Wielaard wrote: > 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 l

[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