Joint a formally verified C compiler with seL4?
Hi all, I've heard a formally verified optimizing C compiler: CompCert recently: http://www.absint.com/compcert/ HN: https://news.ycombinator.com/item?id=9130934 . So what benefit will there be if some one use CompCert as the compiler for seL4? -- Cheers, Grissiom
Hello, I think SeL4 research team has already discussed this point and proposed binary verification alternative. Please check 4.7 in <http://ssrg.nicta.com.au/publications/nictaabstracts/Klein_AEMSKH_14.abstract.pml> Cheers, Julien On 03/02/2015 10:49 AM, Grissiom wrote:
Hi all,
I've heard a formally verified optimizing C compiler: CompCert recently: http://www.absint.com/compcert/ HN: https://news.ycombinator.com/item?id=9130934 .
So what benefit will there be if some one use CompCert as the compiler for seL4?
-- Cheers, Grissiom
_______________________________________________ Devel mailing list Devel@sel4.systems https://sel4.systems/lists/listinfo/devel
On 2 Mar 2015, at 20:49 , Grissiom <chaos.proton@gmail.com<mailto:chaos.proton@gmail.com>> wrote: Hi all, I've heard a formally verified optimizing C compiler: CompCert recently: http://www.absint.com/compcert/ HN: https://news.ycombinator.com/item?id=9130934 . CompCert has been around for a while, about as long as seL4 in fact. So what benefit will there be if some one use CompCert as the compiler for seL4? None for seL4 itself: the kernel is significantly slower when compiled with CompCert. Furthermore, we have an independent proof that our ARM binary is a correct translation of the C source (http://www.ssrg.nicta.com.au/publications/nictaabstracts/Sewell_MK_13.abstra...), meaning we don’t have to trust the compiler. For any user code, CompCert would get you peace of mind re compiler bugs, and it seems that for code that’s less challenging than seL4, the performance of CompCert’s output is quite good. Gernot ________________________________ The information in this e-mail may be confidential and subject to legal professional privilege and/or copyright. National ICT Australia Limited accepts no liability for any damage caused by this email or its attachments.
participants (3)
-
Gernot Heiser
-
Grissiom
-
Julien Iguchi-Cartigny