Blog

A portable OCaml function to print floats
Pascal Cuoq on 29 October 2011

For printing the results of automated Frama-C tests, we need printing functions with the following properties: they should print all the information available (doing otherwise might mask an existing bug); they should produce results readable enough for a person to validate the result of each test once; and their output...

Read More

Covering all interlacings in a single short context
Pascal Cuoq on 27 October 2011

Answering the two questions from last post in reverse order: What shorter analysis context would test arbitrarily long sequences of interrupts, with repetitions? There was a hint in the previous post in the link to the Skein-256 tutorial. A stronger hint would have been to link directly to this post...

Read More

Verifying for all interlacings
Pascal Cuoq on 27 October 2011

A prospective user experimenting with Frama-C wonders whether it is possible to verify the behavior of an interrupt-driven system for all possible interlacing of interrupts. We assume, for now, that interrupts are themselves uninterruptible. The prospective user wants to verify that nothing wrong happens when each interrupt is called once,...

Read More

Escher C Verifier
Pascal Cuoq on 24 October 2011

According to David Crocker's blog Escher C Verifier has been released. Congratulations!

Read More

How to waste a Friday evening
Pascal Cuoq on 21 October 2011

Here is a quick recipe for completely wasting a Friday evening: use Csmith to generate a program that GCC happens to mis-compile in 32-bit into an executable that produces the same result as the correct 64-bit compilation of the same program; mess up the Clang double-check by forgetting the -m32...

Read More