views:

39

answers:

1

Hi !

I remember reading something about a formal specification language for C a while ago, but I can not find it now that I need it.

It was inspired by JML, using as far as I saw the same syntax.

The only reference to it I found is a paper, but what I am talking about was more polished than that.

If this rings a bell to you...

If nobody knows about this, I'll be happy to hear about a way to do formal verification and automatic test generation in C.

Thanks in advance.

A: 

I am not familiar with CML, but the article you link starts with the statement that it is for specification of non-functional requirements.

JML is for functional requirements of Java programs (okay, the line is blurry, but I think the CML article is using the word in the same sense as this sentence). An equivalent of JML for C programs (therefore also purely for functional requirements) is ACSL.

For formal verification, I can only recommend Frama-C (disclaimer: I work on Frama-C but not on a part that has to do with ACSL specifications). For test generation for C programs, I have heard good things about CUTE.

Pascal Cuoq