freebsd-skq/contrib/elftoolchain/readelf
Ed Maste ea444392bb readelf: return error in case of invalid file
GNU readelf exits with an error for a number of invalid file cases.
Previously ELF Tool Chain readelf always exited with 0.  Now we exit 1
upon detecting an error with one or more input files, but in any case
all of them are processed.

This should catch common failure cases.  We still do not report an error
for some types of malformed ELF files, but this is consistent with GNU
readelf.

PR:		252727
Reviewed by:	jkoshy, markj
MFC after:	1 week
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D29377
2021-04-04 21:01:28 -04:00
..
Makefile
os.NetBSD.mk
readelf.1 readelf: Add -z decompression support 2020-10-31 15:27:45 +00:00
readelf.c readelf: return error in case of invalid file 2021-04-04 21:01:28 -04:00