--- layout: fc_discuss_archives title: Message 41 from Frama-C-discuss on November 2009 ---
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Frama-c-discuss] [Jessie Plugin] Can we trust prover CVC3 version 2.1 ?



Hello,

I found that CVC3 version 2.1 says produces a false positive on some VCs related to integer overflow safety.

The simple program below is an example where the second integer overflow VC is valid for CVC3 2.1:

-----------------------------------------------------
typedef struct { int balance; } purse;

//@ requires \valid(p);
void credit(purse* p, int s) {
  p->balance += s;
}
-----------------------------------------------------

Version 1.5 of CVC3 seems correct on this example ('timeout' for the same VC).

- Nicolas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.gforge.inria.fr/pipermail/frama-c-discuss/attachments/20091116/ddea93b6/attachment-0001.htm