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] Assigns broken for arrays?
- Subject: [Frama-c-discuss] Assigns broken for arrays?
- From: Boris.Hollas at de.bosch.com (Hollas Boris (CR/AEY1))
- Date: Thu, 2 Apr 2009 09:47:17 +0200
- In-reply-to: <20090401184532.6ad28d9e@is005115>
- References: <FC0686BB6178BC43B9DC035287A11A720816A163D9@SI-MBX12.de.bosch.com> <3d13dcfc0904010709ne85c819t8d5aef04540ac62c@mail.gmail.com> <3d13dcfc0904010855y7d8a86bfs838107627839c487@mail.gmail.com> <20090401184532.6ad28d9e@is005115>
Hello Virgile, Now I've added a loop assigns clause but I'm still unable to verify the code. Jessie can't prove the assigns postcondition - neither with Alt-Ergo, nor with Simplify or Z3. - Boris /*@ requires \valid(a+ (0..aLength-1)); assigns a[..]; */ void foo(int a[], int aLength) { int j; /*@ loop invariant 0 <= j; loop assigns a[..]; */ for(j=0; j<aLength; j++) { a[j] = 0; } }
- Follow-Ups:
- [Frama-c-discuss] Assigns broken for arrays?
- From: virgile.prevosto at cea.fr (Virgile Prevosto)
- [Frama-c-discuss] Assigns broken for arrays?
- References:
- [Frama-c-discuss] Assigns broken for arrays?
- From: Boris.Hollas at de.bosch.com (Hollas Boris (CR/AEY1))
- [Frama-c-discuss] Assigns broken for arrays?
- From: dmentre at linux-france.org (David MENTRE)
- [Frama-c-discuss] Assigns broken for arrays?
- From: dmentre at linux-france.org (David MENTRE)
- [Frama-c-discuss] Assigns broken for arrays?
- From: virgile.prevosto at cea.fr (Virgile Prevosto)
- [Frama-c-discuss] Assigns broken for arrays?
- Prev by Date: [Frama-c-discuss] Installation problem
- Next by Date: [Frama-c-discuss] Assigns broken for arrays?
- Previous by thread: [Frama-c-discuss] Assigns broken for arrays?
- Next by thread: [Frama-c-discuss] Assigns broken for arrays?
- Index(es):