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: abiao.yang at gmail.com (David Yang)
  • Date: Thu, 17 Oct 2013 19:01:21 +0100

Dear all,

While analyzing a function which calls the system library function (abort
or exit), the value analysis result is non terminating function.

Why?


1. command for the value analysis of the tesing function in test.c file:

$: frama-c -lib-entry -main test_abort test.c -val
$: frama-c -lib-entry -main test_abort test.c -val

2. the content of the test.c file

/** test.c **/
#include <stdio.h>
#include <stdlib.h>

void
test_abort()
{
printf("hello, world");
abort();
}

void test_exit () {
 printf("hello, world");
exit(1);
}


Thank for very much.

Looking forward to hearing from you.

Best regards,
David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gforge.inria.fr/pipermail/frama-c-discuss/attachments/20131017/e99af344/attachment.html>