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] Value Analysis and user-defined predicates
- Subject: [Frama-c-discuss] Value Analysis and user-defined predicates
- From: loic.correnson at cea.fr (Loïc Correnson)
- Date: Tue, 10 Apr 2012 15:45:47 +0200
- In-reply-to: <CAFaEDLCVOx3eoeAnoyhzW+S_5F4+2170+psSvcTyyGEcjY35eQ@mail.gmail.com>
- References: <CAFaEDLCVOx3eoeAnoyhzW+S_5F4+2170+psSvcTyyGEcjY35eQ@mail.gmail.com>
Although, WP discharges the two, and more generally, the second one from the first ! L. Le 10 avr. 12 ? 15:04, sylvain nahas a ?crit : > Dear list, > > I am getting unexpected results with the value analysis plug-in, in > which basically boils down to the following code snippet: > > > /*@ predicate greater_than_zero(integer myval) = myval > 0; */ > ... > int a; > a = 10; > /*@ assert a > 0; */ > /*@ assert greater_than_zero(a); */ > ... > > > I would expect the status "valid" for all "assert" above, but the > value analysis obstinately considers the second one as "unknown". > > Could somebody by kind enough to point me at what I am doing wrong > there? > Thanks in advance, > Sylvain > > _______________________________________________ > Frama-c-discuss mailing list > Frama-c-discuss at lists.gforge.inria.fr > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/frama-c-discuss
- References:
- [Frama-c-discuss] Value Analysis and user-defined predicates
- From: sylvain.nahas at googlemail.com (sylvain nahas)
- [Frama-c-discuss] Value Analysis and user-defined predicates
- Prev by Date: [Frama-c-discuss] Value Analysis and user-defined predicates
- Next by Date: [Frama-c-discuss] Help, how to use Frama-C to scan linux kernel?
- Previous by thread: [Frama-c-discuss] Value Analysis and user-defined predicates
- Next by thread: [Frama-c-discuss] Uninitialized variables
- Index(es):