[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Having fun with the following C code (UB)



* Vincent Lefevre <vincent@vinc17.net>, 2014-04-14, 12:56:
IMHO, in general, for security, it is better to run code with a sanitizer (such as "clang -fsanitize=undefined -fno-sanitize-recover", assuming that the code does not use floating point),

gcc has also -ftrapv, which might be what you want.

--
Jakub Wilk


Reply to: