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: jean-karim.zinzindohoue at inria.fr (Jean Karim Zinzindohoué)
  • Date: Wed, 12 Nov 2014 16:48:22 +0100

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 ?

Thanks in advance,

Jean Karim Zinzindohou?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gforge.inria.fr/pipermail/frama-c-discuss/attachments/20141112/1a670c73/attachment.html>