--- layout: fc_discuss_archives title: Message 71 from Frama-C-discuss on October 2013 ---
[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?



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>