News for hackers. Stuff that matters.
Re:Almost Always Unsigned by jcelerier on Sunday January 02, 2022 @05:48AM (#29767639)
> In all fairness wrapping indicies are an extremely rare bug for me, so i cant say i have much experience debugging it.

Do you run your code with -fsanitize=undefined -fsanitize=integer ?

Re:Almost Always Unsigned by quelsolaar on Sunday January 02, 2022 @09:59AM (#29769198)
No I do not. I run ISO conformant C without options.
Re:Almost Always Unsigned by jcelerier on Sunday January 02, 2022 @10:32AM (#29769476)
You really should try it on your codebase if you have the occasion