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: Claude.Marche at inria.fr (Claude Marche)
  • Date: Fri, 12 Mar 2010 11:15:25 +0100
  • In-reply-to: <30588_1268388197_4B9A115D_30588_31_2_1268388175.14079.74.camel@ossiriand>
  • 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>

David Delmas wrote:
> Sorry, my last message was sent unfinished :
>
> Le vendredi 12 mars 2010 ? 10:48 +0100, David Delmas a ?crit :
>   
>> I don't know if it is any related, but I also just submitted a different
>> Jessie crash <http://bts.frama-c.com/view.php?id=426>.
>>     
>
> I would be happy to be shown a work-around to avoid this #426 crash.
> Indeed, it is blocking for my current experiments.
>
>   
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;
}*/



-- 
Claude March?                          | tel: +33 1 72 92 59 69           
INRIA Saclay - ?le-de-France           | mobile: +33 6 33 14 57 93 
Parc Orsay Universit?                  | fax: +33 1 74 85 42 29   
4, rue Jacques Monod - B?timent N      | http://www.lri.fr/~marche/
F-91893 ORSAY Cedex                    |