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] Frama C path sensitiveness
- Subject: [Frama-c-discuss] Frama C path sensitiveness
- From: pascal.cuoq at gmail.com (Pascal Cuoq)
- Date: Mon, 23 May 2011 11:15:06 +0200
- In-reply-to: <BANLkTimq429Nsy_c9LL6aiNr2w2OGyCqow@mail.gmail.com>
- References: <4DD9CDDB.9080102@nus.edu.sg> <BANLkTimq429Nsy_c9LL6aiNr2w2OGyCqow@mail.gmail.com>
Hello David, > It seems that the "n1 < n2" expression is a bit too complicated for > the value analysis plugin. > [...] > I tried to add an "//@ assert n1 < n2 || n1 >= n2;" The situation is a little bit like adding //@ assert x1 - x0 >= 0.125; in this example: http://blog.frama-c.com/index.php?post/2011/03/26/Helping-the-value-analysis-2 It doesn't work because the relation between two variables that you are offering is not in the general pattern of the information that the value analysis represents. It generally is able to represent precisely more simple properties such as "x >= 12" or "x <= 17" or the conjunction of properties that it can represent (such as the conjunction of the above). If you are writing assertions for the purpose of helping it, you should offer them in a format that matches its internal representation for memory states. Pascal
- References:
- [Frama-c-discuss] Frama C path sensitiveness
- From: m.vijay at nus.edu.sg (Vijayaraghavan Murali)
- [Frama-c-discuss] Frama C path sensitiveness
- From: dmentre at linux-france.org (David MENTRE)
- [Frama-c-discuss] Frama C path sensitiveness
- Prev by Date: [Frama-c-discuss] Frama C path sensitiveness
- Next by Date: [Frama-c-discuss] Frama C path sensitiveness
- Previous by thread: [Frama-c-discuss] Frama C path sensitiveness
- Next by thread: [Frama-c-discuss] coqc: The reference frame_between_sub was not found in the current environment
- Index(es):