logoalt Hacker News

seeknotfind • today at 3:28 AM • 1 reply • view on HN

Yes, this is the best answer. This also works with `-fsanitize=unsigned-integer-overflow`.


Replies

Matheus28 • today at 8:13 AM

Unsigned integer overflow is well defined, though. Not something that should be sanitized. A lot of code out there relies on it.