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] about volatile variable in value analysis plugin and "Volatile" plugin
- Subject: [Frama-c-discuss] about volatile variable in value analysis plugin and "Volatile" plugin
- From: pascal.cuoq at gmail.com (Pascal Cuoq)
- Date: Tue, 15 Oct 2013 19:11:19 +0200
- In-reply-to: <CAA1cxuj8a+cvM_GqgY8nEGqWM4qqHOko7jkS3X7M1P5COO3xNg@mail.gmail.com>
- References: <CAA1cxugCoVcCFSd4joSnq9Pnk5EstakSnTK6MuGZTKEvArK21Q@mail.gmail.com> <CAC3Lx=Z4f502mN3oLgXms6i5=NGExb32PbDdGxXczGuEEHHjkQ@mail.gmail.com> <CAA1cxujEDb5WjiLsyHn6D92O+9g133-QC9dfSfxyScF41dJaCg@mail.gmail.com> <CABbVA-DJ-P9cRKZn-f-gQZYfethHDdfzcfMn3RW2RWkrPbLf1Q@mail.gmail.com> <CAA1cxuj8a+cvM_GqgY8nEGqWM4qqHOko7jkS3X7M1P5COO3xNg@mail.gmail.com>
Hello, On Tue, Oct 15, 2013 at 12:12 PM, David Yang <abiao.yang at gmail.com> wrote: > The interpret function is the function in eval.c file of gawk-3.0.2 > software system. > According to the NEWS file in gawk, ?Uses volatile declaration if STDC > 0 to avoid problems due to longjmp.? The bad news is that it would be an enormous amount of work to correctly and precisely model longjmp so that you can analyze a gawk program that uses it. The good news is that since you are not going to model longjmp anyway, you can effectively ignore the volatile qualifier in the source files of gawk. Adding the option -Dvolatile= to the pre-processor's command-line options should do it. Without the ?volatile? qualifier, those pointers that are inputs of the analysis' entry point have variables generated for them to point to according to -context-width and similar options. The pointer arguments for functions that are not the entry point of the analysis will behave as you would expect. Pascal -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.gforge.inria.fr/pipermail/frama-c-discuss/attachments/20131015/dd6c76da/attachment.html>
- Follow-Ups:
- [Frama-c-discuss] about volatile variable in value analysis plugin and "Volatile" plugin
- From: abiao.yang at gmail.com (David Yang)
- [Frama-c-discuss] about volatile variable in value analysis plugin and "Volatile" plugin
- References:
- [Frama-c-discuss] about volatile variable in value analysis plugin and "Volatile" plugin
- From: abiao.yang at gmail.com (David Yang)
- [Frama-c-discuss] about volatile variable in value analysis plugin and "Volatile" plugin
- From: dmentre at linux-france.org (David MENTRE)
- [Frama-c-discuss] about volatile variable in value analysis plugin and "Volatile" plugin
- From: abiao.yang at gmail.com (David Yang)
- [Frama-c-discuss] about volatile variable in value analysis plugin and "Volatile" plugin
- From: boris at yakobowski.org (Boris Yakobowski)
- [Frama-c-discuss] about volatile variable in value analysis plugin and "Volatile" plugin
- From: abiao.yang at gmail.com (David Yang)
- [Frama-c-discuss] about volatile variable in value analysis plugin and "Volatile" plugin
- Prev by Date: [Frama-c-discuss] about volatile variable in value analysis plugin and "Volatile" plugin
- Next by Date: [Frama-c-discuss] about volatile variable in value analysis plugin and "Volatile" plugin
- Previous by thread: [Frama-c-discuss] about volatile variable in value analysis plugin and "Volatile" plugin
- Next by thread: [Frama-c-discuss] about volatile variable in value analysis plugin and "Volatile" plugin
- Index(es):