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

  • Subject: [Frama-c-discuss] Issue with non terminating function
  • From: dmentre at (David MENTRE)
  • Date: Tue, 3 Mar 2009 13:31:45 +0100
  • In-reply-to: <1236016984.4140.27.camel@guillaume-laptop>
  • References: <> <1236016984.4140.27.camel@guillaume-laptop>

Hello Guillaume,

On Mon, Mar 2, 2009 at 19:03, Guillaume Melquiond
<guillaume.melquiond at> wrote:
> By the time function "main" is analyzed, the tools have forgotten the
> body of "exit"; they only have its (empty) specification.

Ok, I overlooked that.

> Try with the
> following specification, it should work:
> /*@ ensures \false; */
> void exit(int err_code) ...

It worked. Thanks!

Is the "ensures \false;" the standard way to specify non-terminating
functions? ACSL provides the "terminates" clause (ACSL ?2.5.4) but it
is apparently unsupported by Jessie (Jessie doc ?7.2.3).