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] [value analysis] calls the system library function abort or exit will result in NON TERMINATING FUNCTION. Why?
- Subject: [Frama-c-discuss] [value analysis] calls the system library function abort or exit will result in NON TERMINATING FUNCTION. Why?
- From: boris at yakobowski.org (Boris Yakobowski)
- Date: Mon, 21 Oct 2013 20:43:50 +0200
Hi, NON TERMINATING FUNCTION means that the final statement of the function is either unreachable, or results in an error ; this also implies that the control does not return to the caller. This is indeed the case for functions that call exit (), and is automatically handled by the various plugins derived from Value. To determine if a function returns, Frama-C/Cil either read GCC's __attribute__ ((noreturn)) (that is present in system headers), or uses 'ensures \false' clauses, as suggested by David. On Fri, Oct 18, 2013 at 1:29 PM, David Yang <abiao.yang at gmail.com> wrote: > I thought NON TERMINATING FUNCTION has no corresponding Pdg. But indeed, the > pdg was also constructed. so that would not be a problem now. -- Boris
- Follow-Ups:
- [Frama-c-discuss] [value analysis] calls the system library function abort or exit will result in NON TERMINATING FUNCTION. Why?
- From: abiao.yang at gmail.com (David Yang)
- [Frama-c-discuss] [value analysis] calls the system library function abort or exit will result in NON TERMINATING FUNCTION. Why?
- Prev by Date: [Frama-c-discuss] Array problem - Jessie plugin
- Next by Date: [Frama-c-discuss] [value analysis] calls the system library function abort or exit will result in NON TERMINATING FUNCTION. Why?
- Previous by thread: [Frama-c-discuss] [value analysis] calls the system library function abort or exit will result in NON TERMINATING FUNCTION. Why?
- Next by thread: [Frama-c-discuss] [value analysis] calls the system library function abort or exit will result in NON TERMINATING FUNCTION. Why?
- Index(es):