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] Issue with non terminating function

> Is the "ensures \false;" the standard way to specify non-terminating
> functions?

It is a standard way to specify that a program point is not reachable,  

> ACSL provides the "terminates" clause (ACSL ?2.5.4) but it
> is apparently unsupported by Jessie (Jessie doc ?7.2.3).

And it serves a different purpose anyway. "ensures \false;"
is a specification that can only be satisfied by a function that does
not terminate. "terminates \false;" is a specification that can
be satisfied by any function, since it only means that the function
does not have to terminate.