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] Can the tools be used with intrinsic in customer simulators
- Subject: [Frama-c-discuss] Can the tools be used with intrinsic in customer simulators
- From: hollas at informatik.htw-dresden.de (Boris Hollas)
- Date: Fri, 03 Feb 2012 15:36:32 +0100
- In-reply-to: <50186782-5889-49AE-BEB6-3E2EC153B8FC@cea.fr>
- References: <4F2BA78F.5050604@gmail.com> <50186782-5889-49AE-BEB6-3E2EC153B8FC@cea.fr>
On Fri, 2012-02-03 at 13:44 +0000, MONATE Benjamin 205998 wrote: > Hi, > Frama-C and some of its plugins do handle multithreaded programs : what kind of analysis do you have in mind? On the following code, Frama-C reports that is doesn't know about pthread_create [kernel] warning: No code for function pthread_create, default assigns generated for default behavior Value analysis reports x \in {1} for main, which is wrong. Jessie reports [jessie] warning: Unsupported feature(s). Jessie plugin can not be used on your code. wp gives a segmentation fault when trying to prove the assertion. Also, the ACSL-implementation document doesn't mention concurrency, which is what distinguishes multithreaded programs from singlethreaded code. So, what do you mean with "Frama-C and some of its plugins do handle multithreaded programs"? --------------------------------------------------------------------------- #include <pthread.h> #include <stdio.h> #include <unistd.h> int g; void *thread1() { g = 0; return NULL; } int main() { pthread_t thread; int x; g = 1; pthread_create(&thread, NULL, thread1, NULL); sleep(1); //@ assert g == 1; x = g; return 0; } -- Best regards, Boris -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.gforge.inria.fr/pipermail/frama-c-discuss/attachments/20120203/eff1a1d6/attachment-0001.htm>
- Follow-Ups:
- [Frama-c-discuss] Can the tools be used with intrinsic in customer simulators
- From: pascal.cuoq at gmail.com (Pascal Cuoq)
- [Frama-c-discuss] Can the tools be used with intrinsic in customer simulators
- References:
- [Frama-c-discuss] Can the tools be used with intrinsic in customer simulators
- From: ngcthuong at gmail.com (Nguyễn Cảnh Thướng)
- [Frama-c-discuss] Can the tools be used with intrinsic in customer simulators
- From: Benjamin.MONATE at cea.fr (MONATE Benjamin 205998)
- [Frama-c-discuss] Can the tools be used with intrinsic in customer simulators
- Prev by Date: [Frama-c-discuss] Frama C windows installer
- Next by Date: [Frama-c-discuss] Defining a new architecture
- Previous by thread: [Frama-c-discuss] Can the tools be used with intrinsic in customer simulators
- Next by thread: [Frama-c-discuss] Can the tools be used with intrinsic in customer simulators
- Index(es):