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: abiao.yang at gmail.com (David Yang)
- Date: Sat, 11 Jan 2014 14:51:18 +0800
- In-reply-to: <BAY169-W753F885A8E7A8F9FF4B92D97B00@phx.gbl>
- References: <BAY169-W753F885A8E7A8F9FF4B92D97B00@phx.gbl>
On 9 January 2014 18:11, Xiao-lei Cui <x_cui at hotmail.com> wrote: > frama-c -wp -wp-prover z3 str_len.c /*@ loop assigns \nothing; */ while (*s++ !=((signed char) '\0')) { ; } Hi, The assigns clause is totally wrong here. s is assigned in the loop, so you should use: loop assigns s; Besides, the axiomatic Strlen might also need to be modified. But I am not very familiar with the ACSL spec language. HTH, -david
- Follow-Ups:
- [Frama-c-discuss] [wp] unproved goals for strlen() function
- From: x_cui at hotmail.com (Xiao-lei Cui)
- [Frama-c-discuss] [wp] unproved goals for strlen() function
- References:
- [Frama-c-discuss] [wp] unproved goals for strlen() function
- From: x_cui at hotmail.com (Xiao-lei Cui)
- [Frama-c-discuss] [wp] unproved goals for strlen() function
- Prev by Date: [Frama-c-discuss] How to discard a visiting glob?
- Next by Date: [Frama-c-discuss] RE : How to discard a visiting glob?
- Previous by thread: [Frama-c-discuss] [wp] unproved goals for strlen() function
- Next by thread: [Frama-c-discuss] [wp] unproved goals for strlen() function
- Index(es):