HomeFreeBSD

MFC r340169 (brooks): elfdump: Add -E to test if a file is an ELF binary.

Description

MFC r340169 (brooks): elfdump: Add -E to test if a file is an ELF binary.

This is intended to replace potentially unreliable checks like:

file -b $1 | grep -q '^ELF ..-bit .SB executable'

Details

Provenance
emasteAuthored on
Parents
rS358782: MFC r343610: elfdump: include note type names
Branches
Unknown
Tags
Unknown