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] NON TERMINATING FUNCTION when adding specification


  • Subject: [Frama-c-discuss] NON TERMINATING FUNCTION when adding specification
  • From: boris at yakobowski.org (Boris Yakobowski)
  • Date: Fri, 16 Nov 2012 12:11:30 +0100
  • In-reply-to: <50A61AB6.90503@free.fr>
  • References: <50A61AB6.90503@free.fr>

Hi Anne,


On Fri, Nov 16, 2012 at 11:51 AM, Anne Pacalet <anne.pacalet at free.fr> wrote:

> The strange thing is that, when I remove the `ensures` property
> from `str_add` specification, the value analysis gives :
>
[...]

> as expected.
>

I suspect that in the analysis with the 'ensures' clause, you also get a
message "postcondition got status invalid", which indicates that Value's
analysis cannot continue (by lack of memory state after the post). The
problem here is an instance of the one you had in your message of
2012-04-12, so I'm just going to refer you to it. In the meantime, we have
added support for \null, and the problem-to-come in Oxygen has been solved,
so everything should ultimately work as you expect.

Hope this helps,

-- 
Boris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gforge.inria.fr/pipermail/frama-c-discuss/attachments/20121116/c52beea2/attachment.html>