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 failure: "Unexpected internal region in logic"


  • Subject: [Frama-c-discuss] Jessie failure: "Unexpected internal region in logic"
  • From: david.delmas at airbus.com (David Delmas)
  • Date: Fri, 12 Mar 2010 11:43:37 +0100
  • In-reply-to: <15856_1268388952_4B9A1455_15856_59_11_4B9A143D.90101@inria.fr>
  • References: <30805_1268379953_4B99F131_30805_43_1_1268379937.14079.57.camel@ossiriand> <16815_1268385626_4B9A0756_16815_42_1_20100312102010.371ee855@is010235> <1268387337.14079.69.camel@ossiriand> <30588_1268388197_4B9A115D_30588_31_2_1268388175.14079.74.camel@ossiriand> <15856_1268388952_4B9A1455_15856_59_11_4B9A143D.90101@inria.fr>

thank you Claude, this helps.

Le vendredi 12 mars 2010 ? 11:15 +0100, Claude Marche a ?crit :
> Jessie does not like structures passed by value to logic functions
> and 
> predicates. Please use extra pointers:
> 
> typedef struct {
>     int index;
>     char b;
> } T_S;
> 
> //@ predicate P0{L}(T_S *s) = (s->b==1) ;
> 
> /*@ axiomatic Index {
> 
> logic integer f_index{L}(integer old, T_S *new);
> 
> // YYY ceci ne fait plus crasher Jessie  :-)
> 
> axiom Index1{L}:
>     \forall integer old, T_S *new;
>         P0{L}(new) ==> f_index{L}(old, new) == old;
> }*/

The information in this e-mail is confidential. The contents may not be disclosed or used by anyone other than the addressee. Access to this e-mail by anyone else is unauthorised.
If you are not the intended recipient, please notify Airbus immediately and delete this e-mail.
Airbus cannot accept any responsibility for the accuracy or completeness of this e-mail as it has been sent over public networks. If you have any concerns over the content of this message or its Accuracy or Integrity, please contact Airbus immediately.
All outgoing e-mails from Airbus are checked using regularly updated virus scanning software but you should take whatever measures you deem to be appropriate to ensure that this message and any attachments are virus free.