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] value analysis
- Subject: [Frama-c-discuss] value analysis
- From: jens.gerlach at first.fraunhofer.de (Jens Gerlach)
- Date: Tue, 10 Jul 2012 11:57:24 +0000
- In-reply-to: <CANGjuhot4EKegf_Rtgu9kNDVReumv_zaXbDXLA7dNXv+E1eYig@mail.gmail.com>
- References: <CANGjuhot4EKegf_Rtgu9kNDVReumv_zaXbDXLA7dNXv+E1eYig@mail.gmail.com>
Hello, I think your C-statements are easier to understand (and your question easier to answer) if you present them as part of a small C-function together with the ACSL contract you tried. Regards Jens On 8 Jul 2012, at 01:16, Drew Shaw wrote: I am trying to get frama-c to perform a value analysis on n_start. I have tried using axioms to tell frama-c that n_start greater than or equal to (start - 31) and less than or equal to start. Perhaps I am not taking the right approach can someone help? uint32_t start, n_start; n_start = 0; start = Frama_C_interval (0, CHAR_MAX); n_start = start - start%32; _______________________________________________ Frama-c-discuss mailing list Frama-c-discuss at lists.gforge.inria.fr<mailto:Frama-c-discuss at lists.gforge.inria.fr> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/frama-c-discuss
- References:
- [Frama-c-discuss] value analysis
- From: darwin401 at gmail.com (Drew Shaw)
- [Frama-c-discuss] value analysis
- Prev by Date: [Frama-c-discuss] Frama-C Development Tooling (FCDT) plug-in V1.2 Release
- Next by Date: [Frama-c-discuss] Using generated globals in the source code
- Previous by thread: [Frama-c-discuss] value analysis
- Next by thread: [Frama-c-discuss] Using generated globals in the source code
- Index(es):