|
|
|
|
|
by tialaramex
1633 days ago
|
|
> -fsanitize=undefined. As you yourself almost immediately mention, that's not checking for overflow. Was the goal here to show that C and C++ programmers don't understand what overflow is? > Yes, but this happens to be defined behavior, even if it’s what you don’t want most of the time The defined behaviour is an overflow. Correct. So, checking for undefined behaviour does not check for overflow. See how that works? |
|