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] jessie - struct as parameter to logic functions


  • Subject: [Frama-c-discuss] jessie - struct as parameter to logic functions
  • From: kerstin.hartig at first.fraunhofer.de (Kerstin Hartig)
  • Date: Wed, 9 Jun 2010 13:30:14 +0200

Hello,

using the new Boron version of Frama-C I found a change to the Beryllium2
version I would like to ask about.
Below a simplified example.

typedef struct Test{
  int a;
} Test;

/*@ predicate test_a{L}(Test test) =
      (test.a == 0) || (test.a == 1);
 */

Trying to run Jessie on it returns:
failure: Jessie plugin does not support struct or union as parameter to
logic functions. Please use a pointer instead.

In Beryllium it was possible to have structs as a parameter in a predicate
like this.

Even though using pointers instead works, I wonder if there is a reason why
this has changed?

Kind Regards,
Kerstin