News for hackers. Stuff that matters.
Re:Catch-23: The New C Standard Sets the World on Fire by the_why_of_y on Sunday April 02, 2023 @04:36AM (#35408432)
Compilers actually have some options to enable that.

The problem is, it only works well in the simplest cases when the code will 100% exhibit UB within a single function.

In most cases, the UB would only manifest on particular input values - if you want your compiler to warn about that then it will report one "potential UB" for every 10 lines of C code, and nobody wants to use such a compiler.

There are no comments on this comment yet.