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] Problem with predicate and location labels
- Subject: [Frama-c-discuss] Problem with predicate and location labels
- From: hollas at informatik.htw-dresden.de (Boris Hollas)
- Date: Thu, 17 Feb 2011 16:45:11 +0100
- In-reply-to: <4D5D3BDA.80509@cea.fr>
- References: <a3ffffe11e168693bb7066d5932fe18a.squirrel@webmail.informatik.htw-dresden.de> <20110216184311.7d78da4e@is010235> <1297933420.1735.76.camel@iti27> <4D5D3BDA.80509@cea.fr>
On Thu, 2011-02-17 at 16:16 +0100, BAUDIN Patrick wrote: > can be defined as follow: > //@predicate bar_spec{L1,L2}(int * p) = \at(*p, L1) == at(*p, L1); > //@ensures bar_spec{Here,Old}(&x) ; > bar(); Thanks, I'll try it. > They are described in section 2.6.9 "Hybrid functions and predicates". > You can have a look at exemples 2.43, 2.44 and 2.45 I see. However, I'd name that section "Labelled predicates and functions", as "hybrid" is a rather vague term. There's room for improvement wrt to the description of labelled predicates in section 2.6.9. There should be an example that doesn't use axioms because labels are also useful for predicates w/o axioms. -- Regards, Boris
- Follow-Ups:
- [Frama-c-discuss] Problem with predicate and location labels
- From: virgile.prevosto at cea.fr (Virgile Prevosto)
- [Frama-c-discuss] Problem with predicate and location labels
- References:
- [Frama-c-discuss] Problem with predicate and location labels
- From: hollas at informatik.htw-dresden.de (Boris Hollas)
- [Frama-c-discuss] Problem with predicate and location labels
- From: virgile.prevosto at cea.fr (Virgile Prevosto)
- [Frama-c-discuss] Problem with predicate and location labels
- From: hollas at informatik.htw-dresden.de (Boris Hollas)
- [Frama-c-discuss] Problem with predicate and location labels
- From: Patrick.Baudin at cea.fr (BAUDIN Patrick)
- [Frama-c-discuss] Problem with predicate and location labels
- Prev by Date: [Frama-c-discuss] Problem with predicate and location labels
- Next by Date: [Frama-c-discuss] Problem with predicate and location labels
- Previous by thread: [Frama-c-discuss] Problem with predicate and location labels
- Next by thread: [Frama-c-discuss] Problem with predicate and location labels
- Index(es):