Re:Depressing and faintly terrifying days for the C standard...
by vyodaiken on Wednesday May 30, 2018 @09:26PM
(#17193284)
Right. C is not designed to be memory safe. So certain invariants are harder to prove (or just not true). One problem with UB is that it allows compilers to assume false things.
What you want is effectively automated proof-search (a hard problem) for an entirely-safe systems language (which doesn't even exist yet, AFAIK. at least not what I described).