News for hackers. Stuff that matters.
Re:DARPA: Translating All C to Rust (Tractor) by astrange on Tuesday July 30, 2024 @09:39PM (#41115755)
A funny thing about this problem is that it gets worse the more formally correct your implementation is. Undefined behavior is undefined, so it's outside the model, and if your program is a 100% correct implementation of a model then how can it know what to do about something outside it?

But I don't think defining all behavior helps. The defined behavior could be /wrong/, and now you can't find it because the program using it is valid, so it can't be detected with UBSan.

There are no comments on this comment yet.