Jessie: static function specification
ID0000104: This issue was created automatically from Mantis Issue 104. Further discussion may take place here.
Id | Project | Category | View | Due Date | Updated |
---|---|---|---|---|---|
ID0000104 | Frama-C | Kernel | public | 2009-05-27 | 2009-06-23 |
Reporter | dpariente | Assigned To | virgile | Resolution | no change required |
Priority | normal | Severity | major | Reproducibility | always |
Platform | - | OS | - | OS Version | - |
Product Version | Frama-C GIT, precise the release id | Target Version | - | Fixed in Version | Frama-C Beryllium-20090601-beta1 |
Description :
(This issue was previously discussed through private messages but not fully resolved. It is now recorded into the BTS for traceability reasons.)
An annotated header file "foo.h" contains: //***** foo.h /*@ requires \valid(p); assigns *p; ensures *p==3; */ void f(int *p);
and this is the related "foo.c" file: //***** foo.c static void f(int *p) { *p = 3; }
Command line: frama-c.byte.exe -jessie-analysis -jessie-gui foo.c foo.h
Logical specifications from foo.h file are - apparently - not taken into account in the generated POs.