Re: [PATCH] elfclassify tool

2019-07-20 Thread Mark Wielaard
On Fri, Jul 19, 2019 at 02:47:09PM +0200, Mark Wielaard wrote: > The individual commits can be found here: > https://code.wildebeest.org/git/user/mjw/elfutils/log/?h=elfclassify > > Please let me know if any of this looks bad or unusual. > > I'll write some testcases. And as always when writing

Re: [PATCH] elfclassify tool

2019-07-20 Thread Mark Wielaard
On Sat, Jul 20, 2019 at 01:57:27AM +0300, Dmitry V. Levin wrote: > On Fri, Jul 19, 2019 at 11:36:53PM +0200, Mark Wielaard wrote: > > > If the ELF type is ET_DYN and the object is not marked as DF_1_PIE, > > > could we come up with a more reliable heuristics than DT_SONAME and > > > PT_INTERP? >