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] Issues with WP on program doing simple pointer arithmetic
- Subject: [Frama-c-discuss] Issues with WP on program doing simple pointer arithmetic
- From: Dillon.Pariente at dassault-aviation.com (Pariente Dillon)
- Date: Wed, 4 Sep 2013 14:27:46 +0000
- In-reply-to: <CC46779E-C34B-47DC-8623-3807A83D8152@cea.fr>
- References: <CAC3Lx=aO-5GZmk_SOJ1w8=9P=VoXFM0K1Wf7xptVXR1a4YXYwA@mail.gmail.com> <15358548-77DD-4ED7-B160-25FC7B5618F4@cea.fr> <CC46779E-C34B-47DC-8623-3807A83D8152@cea.fr>
Hi Lo?c, I don't know if it can help, but: frama-c -save q6.sav q6_stack.c and then frama-c -load q6.sav -wp -wp-rte ... does not solve the problem (ie, some VCs are still missing). Does WP access to the AST before kernel normalization? (Your solution of "hard normalization" through <frama-c -print ..> is a good workaround) D. De : frama-c-discuss-bounces at lists.gforge.inria.fr [mailto:frama-c-discuss-bounces at lists.gforge.inria.fr] De la part de Lo?c Correnson Envoy? : mercredi 4 septembre 2013 16:23 ? : Frama-C public discussion Objet : Re: [Frama-c-discuss] Issues with WP on program doing simple pointer arithmetic The kind of rephrasing that may work is to use 'frama-c -print' to normalize the source code. L. Le 4 sept. 2013 ? 16:21, Lo?c Correnson <loic.correnson at cea.fr<mailto:loic.correnson at cea.fr>> a ?crit : Hi, It seems that, actually, many proof obligations are missing. The simple invariant over variable i is easily discharged on simple goals, but the proof obligation for preservation is missing in your case. There is a dangling node in the internal CFG generated by WP for your code, but don't know why ! Somebody else reported a simiar problem recently, but I can not figure out what is the origin. As reported by Dillon, rephrasing the code can help. We are investigating the problem ! L. Le 4 sept. 2013 ? 15:17, David MENTRE <dmentre at linux-france.org<mailto:dmentre at linux-france.org>> a ?crit : -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.gforge.inria.fr/pipermail/frama-c-discuss/attachments/20130904/60c6c3ce/attachment-0001.html>
- References:
- [Frama-c-discuss] Issues with WP on program doing simple pointer arithmetic
- From: dmentre at linux-france.org (David MENTRE)
- [Frama-c-discuss] Issues with WP on program doing simple pointer arithmetic
- From: loic.correnson at cea.fr (Loïc Correnson)
- [Frama-c-discuss] Issues with WP on program doing simple pointer arithmetic
- From: loic.correnson at cea.fr (Loïc Correnson)
- [Frama-c-discuss] Issues with WP on program doing simple pointer arithmetic
- Prev by Date: [Frama-c-discuss] Issues with WP on program doing simple pointer arithmetic
- Next by Date: [Frama-c-discuss] Issues with WP on program doing simple pointer arithmetic
- Previous by thread: [Frama-c-discuss] Issues with WP on program doing simple pointer arithmetic
- Next by thread: [Frama-c-discuss] Issues with WP on program doing simple pointer arithmetic
- Index(es):