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 plugin



Hi,

> -------------------------------------------------------------------------------------------------------------
> 1) I would like to use behavior specification (see the function below).
> But I couldn?t prove the Vcs
> related with the behavior one:
> I didn't understand the problem. If I don?t use behavior , I have all
> the proven VCs.

>
> /*@ assigns \nothing;
>    @ ensures \result == \abs(x);
> @*/
> extern double fabs(double x);
>
> #define LIMIT 6.111111e-2
>
> /*@ requires \valid(AB_Ptr) && \valid(CD_Ptr);

The right question is: are AB_Ptr and CD_ptr separated ? My guess is 
that if you pass the same pointer for both arguments, your contract with 
behaviors does not hold.

- Claude

-- 
Claude March?                          | tel: +33 1 72 92 59 69
INRIA Saclay - ?le-de-France           |
Universit? Paris-sud, Bat. 650         | http://www.lri.fr/~marche/
F-91405 ORSAY Cedex                    |