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] requires on arrays and strct
- Subject: [Frama-c-discuss] requires on arrays and strct
- From: Julien.Signoles at cea.fr (Julien Signoles)
- Date: Fri, 25 Sep 2009 10:09:31 +0200
- In-reply-to: <4ABB9FBE.1020603@gmail.com>
- References: <4ABB9FBE.1020603@gmail.com>
Hello, > one question about syntax in frama-C. > why it'not possible to write the following requires; > > /*@ requires \valid((v.c[0 .. MAXLEN-1])->c[0 .. MAXLEN-1]); */ > frama-c -main f e.c -jessie > Uncaught exception: File "jc/jc_interp.ml", line 939, characters 25-31: > Assertion failed > > /*@ requires \valid((v.c[0 .. MAXLEN-1])->c+(0 .. MAXLEN-1)); */ > frama-c -main f e.c -jessie > Uncaught exception: File "jc/jc_interp.ml", line 939, characters 25-31: > Assertion failed > > /*@ requires \valid((v.c+(0 .. MAXLEN-1))->c+(0 .. MAXLEN-1)); */ > frama-c -main f e.c -jessie > e.c:8:[kernel] user error: Error during annotations analysis: expected a > struct with field c > > something wrong in my predicates or some todos in tools (-> assert false)? It is difficult to response precisely to your question since there is not a full compilable and reproducible case. However, an uncaught exception is always a bug in the tool. So please report a bug on the BTS (http://bts.frama-c.com). -- Julien
- Follow-Ups:
- [Frama-c-discuss] requires on arrays and strct
- From: johcrown at gmail.com (Jean Couron)
- [Frama-c-discuss] requires on arrays and strct
- References:
- [Frama-c-discuss] requires on arrays and strct
- From: johcrown at gmail.com (johcrown)
- [Frama-c-discuss] requires on arrays and strct
- Prev by Date: [Frama-c-discuss] why eclipse plugin
- Next by Date: [Frama-c-discuss] requires on arrays and strct
- Previous by thread: [Frama-c-discuss] requires on arrays and strct
- Next by thread: [Frama-c-discuss] requires on arrays and strct
- Index(es):