Hi,
When compiling elfutils with undefined behaviour sanitizer
(-fsanitize=undefined) a warning will be shown indicating an invalid
shiftleft operation on the attached elf file:
readelf.c:1133:28: runtime error: left shift of 1 by 31 places cannot
be represented in type 'int'
Tested with elfutils-0.161. This was found with zzuf.
cu,
--
Hanno Böck
http://hboeck.de/
mail/jabber: hanno(a)hboeck.de
GPG: BBB51E42