News for hackers. Stuff that matters.
Re:Select Code_execution from * Using SQLite; (2019) by skissane on Saturday June 13, 2020 @07:47PM (#23513855)
> In that case the behavior is, infamously, undefined, and anything can happen including accessing memory out of bounds

Undefined per the standard, yes. Undefined per a particular implementation? Well, that’s up to each particular implementation. A compiler is free to make stronger guarantees than the standard requires. And, a formal verification is allowed to presume a particular compiler, and rely on whatever stronger guarantees it makes. Which means of course that the verification is only valid as long as that compiler is used, and changing the compiler requires revisiting the verification (even if only just to confirm that the new compiler makes the same guarantees) - but, in many cases, especially the cases in which formal verification is in the most demand (safety critical systems), that’s an acceptable limitation.

There are no comments on this comment yet.