Page MenuHomeFreeBSD

elfdump: Add -E to test if a file is an ELF binary.
ClosedPublic

Authored by brooks on Jun 22 2018, 9:16 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Oct 1, 4:31 AM
Unknown Object (File)
Mon, Sep 29, 5:21 AM
Unknown Object (File)
Sat, Sep 27, 8:39 PM
Unknown Object (File)
Fri, Sep 26, 6:50 PM
Unknown Object (File)
Aug 15 2025, 11:46 PM
Unknown Object (File)
Aug 2 2025, 12:38 AM
Unknown Object (File)
Jul 20 2025, 9:15 AM
Unknown Object (File)
Jul 5 2025, 3:59 AM
Subscribers

Details

Summary

This is intended to replace potentially unreliable checks like:

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

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

linimon retitled this revision from Add -E to test if a file is an ELF binary. to elfdump: Add -E to test if a file is an ELF binary..Jul 18 2018, 1:20 PM
This revision is now accepted and ready to land.Oct 4 2018, 9:35 PM
This revision was automatically updated to reflect the committed changes.