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: hollas at (Boris Hollas)
  • Date: Mon, 21 Jun 2010 15:07:49 +0200


according to the Jessie tutorial, type invariants are not supported yet.
However, on code using a type invariant I obtained a message to use a
pointer instead. So I changed my type invariant to the one below, which
doesn't produce an error message. Still, I'm unsure whether Jessie uses
this type invariant as I have difficulties proving some related VCs.

What's the status of type invariants in Boron-20100401 + Jessie?

typedef struct _Car {
        int speed;
/*@ type invariant car_speed_constraint(Car* this) =
  @ 0 <= this->speed <= 250;