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

On 9 January 2014 18:11, Xiao-lei Cui <x_cui at> wrote:
> frama-c -wp -wp-prover z3 str_len.c

    loop assigns \nothing;
    while (*s++ !=((signed char) '\0'))


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.