top | item 47063471

(no title)

pseudohadamard | 11 days ago

That's "UB that was detected in this study". Since gcc will silently break code when it detects UB and you can't tell until you hit that specific case, the 40% is a lower bound. In practice it could be anything up to the full 100%.

discuss

order

uecker|11 days ago

In theory. But most C programs do not rely on UB. What is the basis for your claim?

pseudohadamard|10 days ago

Uhh... mathematics and logic? Since there's no perfect UB detector, one that detects UB in 40% of programs can only be presenting a lower bound. And I don't know why you think C programs rely on UB, they have it present without the programmer knowing about it.