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] how to interpret ACSL annotations?


  • Subject: [Frama-c-discuss] how to interpret ACSL annotations?
  • From: njucslzh0714 at gmail.com (刘自恒)
  • Date: Sun, 3 Jul 2011 18:28:23 +0800
  • In-reply-to: <BANLkTi=2nhD9tKG1dig_-jYAG8oHYMy+SA@mail.gmail.com>
  • References: <BANLkTikopXNZ4LnRcirrNcUmUUJbiPCWdw@mail.gmail.com> <BANLkTi=2nhD9tKG1dig_-jYAG8oHYMy+SA@mail.gmail.com>

For example, there is a function max as follow which appears in page 3
,jessie-tutorial:

//@ ensures \result == ((i<j)?j:i);
int max(int i, int j)
{
    return (i<j)?j:i;
}

Now, I want to get the information of  annotation  //@ ensures \result ==
((i<j)?j:i); , including the structure, the semantic etc.
Just like we use AST, CFG to represent a C program.
I wonder whether you konw what I want.

Best Regards.


Henry Liu.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gforge.inria.fr/pipermail/frama-c-discuss/attachments/20110703/4f6bb225/attachment.htm>