On 23. 09. 21 9:45, Richard W.M. Jones wrote:
After years of experience I wouldn't use "file" for
anything I needed
to work reliably.
If the test is really ELF or not ELF, how about detecting the ELF
header magic directly?
As I say in the rest of the email, I know how to detected elves. I just don't
know if that's enough.