--- layout: fc_discuss_archives title: Message 15 from Frama-C-discuss on April 2015 ---
Hi Frama-c developers and users, I'm trying to use Frama-c to prove some programs but I'm stuck at how to use "assigns" to express that all the cells of a 3-d array will be changed. Take a simple example: int a[2][2][2]; int foo() { a[1][1][1] = 0; return 0; } How should I add an annotation of "assigns" the whole array ? I've tried using "assigns \forall integer i,j,k ;..." or just "assigns a", but none of them works because "assigns" is expecting a left value. Regards, Ziqing Luo -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.gforge.inria.fr/pipermail/frama-c-discuss/attachments/20150430/b26817ea/attachment.html>