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: [email protected]
GPG: BBB51E42

Attachment: readelf-S-invalid-left-shift
Description: Binary data

Attachment: pgp7vVtRD_3W6.pgp
Description: OpenPGP digital signature

Reply via email to