Frama-C-discuss mailing list archives
This page gathers the archives of the old Frama-C-discuss archives, that was hosted by Inria's gforge before its demise at the end of 2020. To search for mails newer than September 2020, please visit the page of the new mailing list on Renater.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Frama-c-discuss] Feature or bug?
- Subject: [Frama-c-discuss] Feature or bug?
- From: jens.gerlach at first.fraunhofer.de (Jens Gerlach)
- Date: Thu, 5 Nov 2009 19:55:10 +0100
Hi,
in the following example the function foo is called twice by the
function bar
and in both cases bar does not fulfill foo's precondition "x >= 0" .
----------------
/*@
requires 0 <= x;
ensures 0 <= \result;
*/
int foo(int x);
void bar()
{
foo(-1);
foo(-1);
}
--------------
However, all provers "proof" that for the second case the precondition
is fulfilled (see below).
Is this behaviour of Jessie intended? (I am using the Beryllium1
release on Mac OS X.)
Regards
Jens Gelach
-------------- next part --------------
A non-text attachment was scrubbed...
Name: results.jpg
Type: image/jpg
Size: 34561 bytes
Desc: not available
Url : http://lists.gforge.inria.fr/pipermail/frama-c-discuss/attachments/20091105/ae6c55a3/attachment-0001.jpg
- Follow-Ups:
- [Frama-c-discuss] Feature or bug?
- From: guillaume.melquiond at inria.fr (Guillaume Melquiond)
- [Frama-c-discuss] Feature or bug?
- Prev by Date: [Frama-c-discuss] Why missing in Frama-C-Beryllium-20090902 Windows binary distribution
- Next by Date: [Frama-c-discuss] Feature or bug?
- Previous by thread: [Frama-c-discuss] Why missing in Frama-C-Beryllium-20090902 Windows binary distribution
- Next by thread: [Frama-c-discuss] Feature or bug?
- Index(es):
