2 ms·
> Defining overflow as wrapping, for example, would be bad for security because it means we couldn't check it with UBSan. no, because unsigned overflow is vali
by jcelerier 7y ago
> Defining overflow as wrapping, for example, would be bad for security because it means we couldn't check it with UBSan.
no, because unsigned overflow is valid and yet ubsan is able to check for it with -funsigned-integer-overflow (and I caught so many bugs like this)