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] type invariants

  • Subject: [Frama-c-discuss] type invariants
  • From: Christoph.Weber at (Christoph Weber)
  • Date: Tue Nov 18 09:13:59 2008

Hello again,

today I had a look on invariants.
I tried the code-example from the 1.4 ACSL document.

void out_char(char c) 
int col = 0;
//@ global invariant I : 0 <= col <= 79;
if (col >= 80) col = 0;

Doing this, I get:

$ frama-c -jessie-analysis -jessie-int-model exact -jessie-gui invariant.c
[preprocessing] running gcc -C -E -I. -include C:\Frama-C\share\frama-c\jessie\j
essie_prolog.h -D JESSIE_EXACT_INT_MODEL -dD invariant.c
invariant.c[14:0-0] : syntax error
Parsing error
Skipping file "invariant.c" that has errors.
Cleaning unused parts
Symbolic link
Your code cannot be parsed. Aborting analysis.
Starting semantical analysis
Starting Jessie translation
Nothing to process. There was probably an error before.

What to do?

By the way, I want to ask again, when to expect the the next release.

-------------- next part --------------
An HTML attachment was scrubbed...