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] Ghost structure fields.
- Subject: [Frama-c-discuss] Ghost structure fields.
- From: virgile.prevosto at m4x.org (Virgile Prevosto)
- Date: Wed, 12 Nov 2014 17:53:44 +0100
- In-reply-to: <CAHhFON4vR2dDs37BRPksCgQTJC-oyHoVini6aWMRawQoHx5_GQ@mail.gmail.com>
- References: <CAHhFON4vR2dDs37BRPksCgQTJC-oyHoVini6aWMRawQoHx5_GQ@mail.gmail.com>
Hello, 2014-11-12 16:48 GMT+01:00 Jean Karim Zinzindohou? <jean-karim.zinzindohoue at inria.fr>: > Hi, > > The Frama-C Neon implementation manual mentions some properties it ghost > fields in structures, and the illustrative example in the appendix makes use > of some. > Yet I do not manage to get it running. I tried that for instance : > > typedef struct test{ > //@ ghost int lenght; > //@ ghost char * msg; > char hash[256]; > } test; > > I simply get a "[kernel] user error: syntax error" at the ghost field > declaration line. > Did it get the syntax wrong, or is it not supported by Frama-C ? > You're right, support of ghost code in Frama-C is currently minimal. Basically, you can only add ghost statements and ghost globals, and no verification of non-interference is done. Best regards, -- E tutto per oggi, a la prossima volta Virgile
- References:
- [Frama-c-discuss] Ghost structure fields.
- From: jean-karim.zinzindohoue at inria.fr (Jean Karim Zinzindohoué)
- [Frama-c-discuss] Ghost structure fields.
- Prev by Date: [Frama-c-discuss] Ghost structure fields.
- Next by Date: [Frama-c-discuss] Implicit Type Coercions
- Previous by thread: [Frama-c-discuss] Ghost structure fields.
- Next by thread: [Frama-c-discuss] Implicit Type Coercions
- Index(es):