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] Prove the reverse of a char*, ensure problems
- Subject: [Frama-c-discuss] Prove the reverse of a char*, ensure problems
- From: Claude.Marche at inria.fr (Claude Marche)
- Date: Tue, 21 Jul 2015 11:48:11 +0200
- In-reply-to: <DUB118-W265E01ED279E2A80928F4B6840@phx.gbl>
- References: <DUB118-W29BA339E9F0CA295330E4FB6850@phx.gbl>, <55AE0CC6.70507@inria.fr> <DUB118-W265E01ED279E2A80928F4B6840@phx.gbl>
On 07/21/2015 11:16 AM, Francesco Bonizzi wrote: > Hi and thanks for answering. I didn't install any particular plugin, I just did "sudo apt-get installa frama-c", nothing more. Nothing more really? Not even a command-line like frama-c -wp my_code.c to run the WP plugin? Going back to the original question: yes it seems that automatic provers need a little help to establish the post-condition. I attach the file I obtained after small modifications, and a dump of the proof session obtained by the Jessie plugin. As you may see, you need the Z3 prover to complete the proof. Nice little exercise indeed, - Claude -- Claude Marché | tel: +33 1 69 15 66 08 INRIA Saclay - Ãle-de-France | Université Paris-sud, Bat. 650 | http://www.lri.fr/~marche/ F-91405 ORSAY Cedex | -------------- section suivante -------------- Une pièce jointe autre que texte a été nettoyée... Nom: reverse_array.c Type: text/x-csrc Taille: 813 octets Desc: non disponible URL: <http://lists.gforge.inria.fr/pipermail/frama-c-discuss/attachments/20150721/b090d492/attachment.c> -------------- section suivante -------------- Une pièce jointe HTML a été nettoyée... URL: <http://lists.gforge.inria.fr/pipermail/frama-c-discuss/attachments/20150721/b090d492/attachment.html>
- Follow-Ups:
- [Frama-c-discuss] Prove the reverse of a char*, ensure problems
- From: fbonizzi at hotmail.it (Francesco Bonizzi)
- [Frama-c-discuss] Prove the reverse of a char*, ensure problems
- References:
- [Frama-c-discuss] Prove the reverse of a char*, ensure problems
- From: fbonizzi at hotmail.it (Francesco Bonizzi)
- [Frama-c-discuss] Prove the reverse of a char*, ensure problems
- From: Claude.Marche at inria.fr (Claude Marche)
- [Frama-c-discuss] Prove the reverse of a char*, ensure problems
- From: fbonizzi at hotmail.it (Francesco Bonizzi)
- [Frama-c-discuss] Prove the reverse of a char*, ensure problems
- Prev by Date: [Frama-c-discuss] Prove the reverse of a char*, ensure problems
- Next by Date: [Frama-c-discuss] Prove the reverse of a char*, ensure problems
- Previous by thread: [Frama-c-discuss] Prove the reverse of a char*, ensure problems
- Next by thread: [Frama-c-discuss] Prove the reverse of a char*, ensure problems
- Index(es):