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] YASE, back to the roots
- Subject: [Frama-c-discuss] YASE, back to the roots
- From: yannick.moy at gmail.com (Yannick Moy)
- Date: Thu Oct 30 09:37:13 2008
- In-reply-to: <769DEF79D24B4CD8A9177EDC35EE38BC@AHARDPLACE>
- References: <769DEF79D24B4CD8A9177EDC35EE38BC@AHARDPLACE>
Hi, There is indeed a problem with the changes we made in the memory model of the Jessie plugin. I think we'll have to patch the current release to overcome this problem. If so, we will announce it on this list soon. Yannick On Thu, Oct 30, 2008 at 9:01 AM, Christoph Weber < Christoph.Weber@first.fraunhofer.de> wrote: > Hello again, > > Thank You and granulations for the latest release. > > But I have some problems to get started. Lets start with an example. > Following Function in separate files: > > > fill.h: > > /*@ > requires valid_range(first, last); > requires \valid_range(first, 0, last-first -1); > behavior is_not_empty: > assumes not_empty_range(first, last); > ensures \forall integer i; > 0 <= i < last-first ==> first[i] == value; > */ > void fill (int* first, int* last, int value ); > > fill.c: > > #include > "fill.h" > void fill (int* first, int* last, int value ) { > int* it = first; > /*@ > loop invariant first <= it <= last; > loop invariant \forall integer k; 0 <= k < it - first ==> first[k] == > value; > */ > while (it != last) > *it++ = value; > } > > I call Jessie: > frama-c -jessie-analysis -jessie-int-model exact -jessie-no-regions > -jessie-gui fill.c > > Now the problems: > -the loop invariant cannot be preserved, => am I missing an option or an > annotation (it went fine on H and He) > -the declared int* it causes problems in pointer dereferencing > -Z3, CVC3, and Yices get stuck and wont abort, the timeout never worked on > any release yet (on my pc) > > > I hope for help > > Cheers > > > _______________________________________________ > Frama-c-discuss mailing list > Frama-c-discuss@lists.gforge.inria.fr > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/frama-c-discuss > > -- Yannick -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.gforge.inria.fr/pipermail/frama-c-discuss/attachments/20081030/973263ec/attachment.html
- Follow-Ups:
- [Frama-c-discuss] YASE, back to the roots
- From: Pascal.Cuoq at cea.fr (Pascal Cuoq)
- [Frama-c-discuss] YASE, back to the roots
- References:
- [Frama-c-discuss] YASE, back to the roots
- From: Christoph.Weber at first.fraunhofer.de (Christoph Weber)
- [Frama-c-discuss] YASE, back to the roots
- Prev by Date: [Frama-c-discuss] YASE, back to the roots
- Next by Date: [Frama-c-discuss] YASE, back to the roots
- Previous by thread: [Frama-c-discuss] YASE, back to the roots
- Next by thread: [Frama-c-discuss] YASE, back to the roots
- Index(es):