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] [wp] unproved goals for strlen() function


  • Subject: [Frama-c-discuss] [wp] unproved goals for strlen() function
  • From: x_cui at hotmail.com (Xiao-lei Cui)
  • Date: Sat, 11 Jan 2014 05:53:30 -0500
  • In-reply-to: <CAA1cxuhydGEd8bf0rb=JXUo2Xr5RmTqzoumwWXb=veO2ZLOjZw@mail.gmail.com>
  • References: <BAY169-W753F885A8E7A8F9FF4B92D97B00@phx.gbl>, <CAA1cxuhydGEd8bf0rb=JXUo2Xr5RmTqzoumwWXb=veO2ZLOjZw@mail.gmail.com>

Hi,
   Thanks. You are right, the "loop assigns" cluase is wrong. 
  
/*@
  loop assigns s;
 */
 while (*s++ !=((signed char) '\0'))
 {
    ;
 }
    This will discharge the following proof obligation:
[wp] [Z3] Goal typed_strlen_loop_assign_part3.  
  
    But the post condition is still left unproved.  The spec seems to be correct? and  the automatic prover can not prove it due to complexity. I want to try Coq this time.

xiaolei
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gforge.inria.fr/pipermail/frama-c-discuss/attachments/20140111/08d69e6b/attachment.html>