[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1005326: no-code-sections triggered on non-ELF files



On Fri, 11 Feb 2022 12:51:06 -0800 Felix Lechner <felix.lechner@lease-up.com>
wrote:
> On Fri, Feb 11, 2022 at 12:09 PM Marc Dequènes <duck@duckcorp.org> wrote:
> >
> > Could you consider improving the check?
> 
> Yes, I'd like to.
> 
> > readelf fails with "readelf: Error: Not an ELF file - it has the wrong
> > magic bytes at the start"
> 
> I confirmed that Lintian's invocation produces that error for
> usr/lib/dxvk/wine64-development/d3d10.dll.a in dxvk, but how can we
> tell such archives apart from those that are legitimately broken?

They contain valid object files, just not in ELF format. file matches them
correctly. Would a signature check be good enough?

Regards,

Stephen

Attachment: pgpzgPZTicSYE.pgp
Description: OpenPGP digital signature


Reply to: