Re:UndefinedBehaviorSanitizer's Unexpected Behavior
by uecker on Thursday October 17, 2024 @02:40PM
(#41872465)
C does give a lot of low-level control, but it is still an abstraction - as it should be.
Signed integer overflow is something were I personally like that it is UB, because I can turn on UBSan and find overflow bugs. If it were defined to wrap-around I could not do this.
Signed integer overflow is something were I personally like that it is UB, because I can turn on UBSan and find overflow bugs. If it were defined to wrap-around I could not do this.