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: virgile.prevosto at cea.fr (Virgile Prevosto)
- Date: Mon, 21 Feb 2011 10:27:42 +0100
- In-reply-to: <6e83fcb12c21b4e51a9436361dfbcabf.squirrel@webmail.informatik.htw-dresden.de>
- References: <6e83fcb12c21b4e51a9436361dfbcabf.squirrel@webmail.informatik.htw-dresden.de>
Le ven. 18 f?vr. 2011 15:28:58 CET, "Boris Hollas" <hollas at informatik.htw-dresden.de> a ?crit : > > The following code verifies, but the specification > unchanged{P,H}(\at(&this->a, P)); is quite clumsy. > OK, I see your point now. You're right, &this->a does not necessitate a memory state: it's merely a matter of adding the offset of field 'a' to 'this'. In fact, I guess that it can be argued that taking the address of any left value does not require a memory state: this address won't change for the lifetime of the variable.This would void that your next question: > Is &x automatically interpreted as \at(&x, Here) in this context? Yes. In code annotation, when a memory state is needed to evaluate e but not explicitely provided, it is interpreted as \at(e,Here). Best regards, -- E tutto per oggi, a la prossima volta. Virgile
- 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
- Prev by Date: [Frama-c-discuss] Problem with predicate and location labels
- Next by Date: [Frama-c-discuss] Ghost variables and function prototypes
- 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):