Re:CompCert – A formally verified C compiler
by nickpsecurity on Wednesday January 23, 2019 @01:53PM
(#18981352)
There's a new extractor that can output C from Coq. There's also multiple compilers for each language you can extract to. My solution was to do diverse compilation where multiple compilers, OS's, and ISA's compiled the compiler. Then you just run it through itself on each one. Use end result that most agree on.
Re:CompCert – A formally verified C compiler
by unboxed_type on Friday January 25, 2019 @07:51AM
(#18997470)
Are you talking about CertiCoq project? It is not ready yet and not clear when will be.
Re:CompCert – A formally verified C compiler
by nickpsecurity on Friday January 25, 2019 @12:42PM
(#19000316)
Talking about this:
https://staff.aist.go.jp/tanaka-akira/succinct/slide-pro114....
They extract from Coq to C. Like in my Brute-Force Assurance concept, that would let us confirm and supplement the formal verification by hitting the C output with every V&V tool for C programs that we have on hand.
Re:CompCert – A formally verified C compiler
by iaabtpbtpnn on Tuesday January 22, 2019 @05:28PM
(#18973250)
The ML compiler tech is OCaml which is bootstrapped on C. (It wasn't always so, but has been since Caml Light.)
But aside from these incidental properties, yes the same thing could be done.
(This still leaves a large class of related, less recursively symmetric integrity attacks that could be made without the language fully bootstrapping itself, of course)