--- layout: fc_discuss_archives title: Message 16 from Frama-C-discuss on November 2012 ---
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Frama-c-discuss] NON TERMINATING FUNCTION when adding specification



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>