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
F147722230: D15971.id.diff
Fri, Mar 13, 5:09 AM
Unknown Object (File)
Sun, Mar 8, 6:06 PM
Unknown Object (File)
Sun, Mar 8, 6:06 PM
Unknown Object (File)
Sun, Mar 8, 6:06 PM
Unknown Object (File)
Sat, Mar 7, 9:29 PM
Unknown Object (File)
Sat, Mar 7, 9:28 PM
Unknown Object (File)
Fri, Mar 6, 1:48 PM
Unknown Object (File)
Fri, Mar 6, 1:28 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.