View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0001428 | Frama-C | Plug-in > wp | public | 2013-05-24 13:35 | 2013-05-24 14:15 | ||||||||
Reporter | Allan Blanchard | ||||||||||||
Assigned To | correnson | ||||||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||||||
Status | assigned | Resolution | open | ||||||||||
Product Version | Frama-C Fluorine-20130501 | ||||||||||||
Target Version | Fixed in Version | ||||||||||||
Summary | 0001428: Range verification in 2D-array fails | ||||||||||||
Description | Just consider this little example : void func(){ int a[5][5]; // This works : //@ assert \valid(a[0 .. 4]); //@ assert \valid(&a[0 .. 4][0 .. 4]); // OK : //@ assert \valid(&a[0][0 .. 4]); //@ assert \valid(&a[1][0]); //works with 1, 2, 3, 4 but //@ assert \valid(&a[1][0 .. 4]); //does not } | ||||||||||||
Tags | No tags attached. | ||||||||||||
Attached Files |
|
![]() |
|
signoles (manager) 2013-05-24 14:15 |
It works if you change the last assertion //@ assert \valid(&a[1][0 .. 4]); by the following equivalent one: //@ assert \forall integer i; 0 <= i <= 4 ==> \valid(&a[1][i]); So probably it is the same issue than bts 0001389. |
![]() |
|||
Date Modified | Username | Field | Change |
---|---|---|---|
2013-05-24 13:35 | Allan Blanchard | New Issue | |
2013-05-24 13:35 | Allan Blanchard | Status | new => assigned |
2013-05-24 13:35 | Allan Blanchard | Assigned To | => correnson |
2013-05-24 14:14 | signoles | Relationship added | related to 0001389 |
2013-05-24 14:15 | signoles | Note Added: 0003887 |