News for hackers. Stuff that matters.
Re:Translation of the Rust's core and alloc crates to Coq fo... by im3w1l on Wednesday May 15, 2024 @10:29AM (#40367442)
Let's say you want to check if use after free can ever occur. Your translation is bugged and translates the whole program to a single "nop". Then the verifier happily asserts that the translated program does not cause use after free.

I doubt the translation would be that bad but it could have more subtle issues of the same kind.

Re:Translation of the Rust's core and alloc crates to Coq fo... by bennofs on Thursday May 16, 2024 @03:06AM (#40375914)
My argument is that you typically also check other properties, like properties describing what your program should do. These other properties likely wouldn't be satisfied by a nop program, and hopefully the same is true for many subtle issues.