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] Validating a function with behavior spec.
- Subject: [Frama-c-discuss] [Value analysis] Validating a function with behavior spec.
- From: sylvain.nahas at googlemail.com (sylvain nahas)
- Date: Mon, 16 Apr 2012 10:34:46 +0200
- In-reply-to: <CABbVA-DQ25Dj-1Q35ZuMTP3BxFb_0uEdhyTqhMbCF+NiHb89mA@mail.gmail.com>
- References: <CAFaEDLCHYJtescjnsqs6gE5q_Nx5+CWSg_3AD=f9pN_AHhq4=w@mail.gmail.com> <CAOH62JgyUC8+2cHf-bsPmVnWcL+JxyV88mnVo9gHc0j5Ym=JqQ@mail.gmail.com> <CAFaEDLBrDs5iw6Udf4o++qKtXPfKQgqyN4u1Rg4gLUw0C2oQNQ@mail.gmail.com> <CABbVA-DQ25Dj-1Q35ZuMTP3BxFb_0uEdhyTqhMbCF+NiHb89mA@mail.gmail.com>
Hi, > 3) as Boris Hollas pointed out, an 'Unknown' status does not > intrinsically indicate a deficiency in the analyzer. For the record, I didn't suspected a deficiency in the analyzer but rather in my understanding of how V.A. works. I was right with that. > If you want to avoid those warnings, position your disjunction _before_ your > ? ? ? ?/*@ assert ( in_int8 < 0 ) || ( in_int8 >= 0 ); */ > ? ? ? ?uint8 out_uint8 = abs8(in_int8); So a "requires" in a contract hasn't the same effect? > Hope this helps, Yes, definitively. Thank you very much. Sylvain
- Follow-Ups:
- [Frama-c-discuss] [Value analysis] Validating a function with behavior spec.
- From: boris at yakobowski.org (Boris Yakobowski)
- [Frama-c-discuss] [Value analysis] Validating a function with behavior spec.
- References:
- [Frama-c-discuss] [Value analysis] Validating a function with behavior spec.
- From: sylvain.nahas at googlemail.com (sylvain nahas)
- [Frama-c-discuss] [Value analysis] Validating a function with behavior spec.
- From: pascal.cuoq at gmail.com (Pascal Cuoq)
- [Frama-c-discuss] [Value analysis] Validating a function with behavior spec.
- From: sylvain.nahas at googlemail.com (sylvain nahas)
- [Frama-c-discuss] [Value analysis] Validating a function with behavior spec.
- From: boris at yakobowski.org (Boris Yakobowski)
- [Frama-c-discuss] [Value analysis] Validating a function with behavior spec.
- Prev by Date: [Frama-c-discuss] Provide information to the value analysis
- Next by Date: [Frama-c-discuss] [Value analysis] Validating a function with behavior spec.
- Previous by thread: [Frama-c-discuss] [Value analysis] Validating a function with behavior spec.
- Next by thread: [Frama-c-discuss] [Value analysis] Validating a function with behavior spec.
- Index(es):