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] Proving a simple property on bitshift with WP


  • Subject: [Frama-c-discuss] Proving a simple property on bitshift with WP
  • From: loic.correnson at cea.fr (Loïc Correnson)
  • Date: Mon, 2 Sep 2013 10:55:45 +0200
  • In-reply-to: <CAC3Lx=YhKt+5FGwwG1cmuFZxQm67QNeRPXmxtnYDqHmTpR189g@mail.gmail.com>
  • References: <CAC3Lx=YN+ofoawh_vint2WumaAd6=akQaLccmrg8BV6wBOphmA@mail.gmail.com> <CA+yPOVj2PgA5gtp-OhSgeNumhmvOmmtM78KNBcVTtBXdzJeAZg@mail.gmail.com> <CAC3Lx=b2ngvaheSxzLr=5ZZi_R1T4fym7uYOW1yV3ARg0QRY-w@mail.gmail.com> <1A32855E5FA08141A8C56E7CF24D442C0EFD8A23@SCTEX101.st-cloud.dassault-avion.fr> <CAC3Lx=YhKt+5FGwwG1cmuFZxQm67QNeRPXmxtnYDqHmTpR189g@mail.gmail.com>

Better support for bitwise operators in WP is an on-going work.
Technically, we have to cope with the fact that SMT solvers are generally poor when mixing arithmetics and bitwise operations.
Our working solution is to use, when needed, extended axiomatization for bitwise operators. The same observation applies to division and non-linear arithmetics.
	L.

Le 29 ao?t 2013 ? 16:32, David MENTRE <dmentre at linux-france.org> a ?crit :

> Hello Dillon,
> 
> 2013/8/29 Pariente Dillon <Dillon.Pariente at dassault-aviation.com>:
>> Coupling Value and WP to the extensive annotations below (discharged by Value) also allows to discharge the last assert by WP.
> 
> Thanks a lot for this solution!
> 
>> (This is a very verbose solution, indeed, but might be still readable)
> 
> This is verbose indeed but at least the verbose part is in the
> annotations and I don't need to modify the program, which is much
> better.
> 
> Best regards,
> david
> 
> _______________________________________________
> Frama-c-discuss mailing list
> Frama-c-discuss at lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/frama-c-discuss