Re:Introduction to Ada and SPARK (2009) [pdf]
by hga on Monday November 02, 2015 @01:03PM
(#10493699)
My suggestion of a wildly different approach was to more or less replicate what NICTA et. al. did with seL4 with your own project. There's also the Coq ecosystem, which includes a verified free for non-commercial use C compiler.
Re:Introduction to Ada and SPARK (2009) [pdf]
by pgeorgi on Tuesday November 03, 2015 @06:52AM
(#10498927)
That's possible, but incredibly tedious.
It may be easier to just generate binary code from assembly in coq (as Microsoft Research has demonstrated: http://research.microsoft.com/en-us/um/people/nick/coqasm.pd...) instead of trying to shoehorn a C compiler into a verified context and then running proofs over that for non-trivial problems.
seL4 was a huge project. Once you start reasoning about using L4 APIs, it will only become worse (eg. it's not simple to determine who has access to the pages in any L4 AddressSpace)
It's possible to run L4 processes written in SPARK on top of seL4.