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] math vs. bits
- Subject: [Frama-c-discuss] math vs. bits
- From: pascal.cuoq at gmail.com (Pascal Cuoq)
- Date: Tue, 12 Nov 2013 11:00:10 +0100
- In-reply-to: <528173A8.8070301@inria.fr>
- References: <527C59A7.1040804@cs.utah.edu> <528173A8.8070301@inria.fr>
Hello, On Tue, Nov 12, 2013 at 1:17 AM, Claude Marche <Claude.Marche at inria.fr>wrote: > > I'm not sure Jessie is the right tool for that, The Value plugin or the > WP plugin might do better. > The value analysis plug-in is not designed to verify properties expressed as equations between argument and result, such as: ensures x <= INT32_MAX ==> \result == 2 * x ; At the time John posted about saturating arithmetic functions that he gave to implement in standard C to his students ( http://blog.regehr.org/archives/277 , http://blog.regehr.org/archives/392), I tried to verify my own solutions (correct ones, obviously) in Frama-C. Not much was missing in order to be able to do the exercise in Jessie. This time, what the value analysis plug-in was missing was the ability to hold relational information between the two inputs. The documentation recommends case analysis for this situation. The value analysis plug-in typically required the O(n^2) input space (with n the number of values each of the arguments could take) to be sub-divided by hand into O(n) cases for separate analysis. That was tedious for 32-bit integer inputs and impossible for 64-bit integer inputs. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.gforge.inria.fr/pipermail/frama-c-discuss/attachments/20131112/98ed50a8/attachment.html>
- Follow-Ups:
- [Frama-c-discuss] math vs. bits
- From: dcok at grammatech.com (David Cok)
- [Frama-c-discuss] math vs. bits
- References:
- [Frama-c-discuss] math vs. bits
- From: regehr at cs.utah.edu (John Regehr)
- [Frama-c-discuss] math vs. bits
- From: Claude.Marche at inria.fr (Claude Marche)
- [Frama-c-discuss] math vs. bits
- Prev by Date: [Frama-c-discuss] counterexamples through Frama-C WP
- Next by Date: [Frama-c-discuss] JessieIntegerModel question
- Previous by thread: [Frama-c-discuss] math vs. bits
- Next by thread: [Frama-c-discuss] math vs. bits
- Index(es):