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] Uncaught exception
- Subject: [Frama-c-discuss] Uncaught exception
- From: pascal.cuoq at gmail.com (Pascal Cuoq)
- Date: Fri, 7 May 2010 16:12:52 +0200
- In-reply-to: <k2x594c1e831005070655n6a13a161zb58db43039d2db28@mail.gmail.com>
- References: <v2r594c1e831005061442mf0378a5bg2dc75b5bd91e7353@mail.gmail.com> <z2jb15d09071005070527qd6b1a0c9xdaf0f02f6ee118a@mail.gmail.com> <k2x594c1e831005070655n6a13a161zb58db43039d2db28@mail.gmail.com>
I am leaving some of your questions for the experts who also read this list. > One thing I noticed when experimenting with definition and declaration > annotations is that "assign \nothing;" does not mean "no side > effects". No, please backtrack to this point in your reasoning. "assigns \nothing ;" does mean "no side effects". Example: t.c: static x; /*@ assigns x ; */ void f(void) { x = 12; } ___ t.h: /*@ assigns \nothing ; */ void f(void); ___ frama-c t.c t.h [kernel] preprocessing with "gcc -C -E -I. t.c" [kernel] preprocessing with "gcc -C -E -I. t.h" t.c:5:[kernel] warning: found contradictory assign clauses. Keeping only one Either you did not pay attention to this warning, or you typed "frama-c t.c". You do not have to list header files that are included in at least one .c file in your project, but you have to be aware that frama-c 1) uses standard pre-processing, and 2) only looks at files you list (modulo clause 1). Pascal
- Follow-Ups:
- [Frama-c-discuss] Uncaught exception
- From: tomahawkins at gmail.com (Tom Hawkins)
- [Frama-c-discuss] Uncaught exception
- References:
- [Frama-c-discuss] Uncaught exception
- From: tomahawkins at gmail.com (Tom Hawkins)
- [Frama-c-discuss] Uncaught exception
- From: pascal.cuoq at gmail.com (Pascal Cuoq)
- [Frama-c-discuss] Uncaught exception
- From: tomahawkins at gmail.com (Tom Hawkins)
- [Frama-c-discuss] Uncaught exception
- Prev by Date: [Frama-c-discuss] Uncaught exception
- Next by Date: [Frama-c-discuss] Restricting write access to globals in ACSL
- Previous by thread: [Frama-c-discuss] Uncaught exception
- Next by thread: [Frama-c-discuss] Uncaught exception
- Index(es):