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] Puzzled about apparent proof of false contract
- Subject: [Frama-c-discuss] Puzzled about apparent proof of false contract
- From: virgile.prevosto at m4x.org (Virgile Prevosto)
- Date: Tue, 20 May 2014 16:08:53 +0200
- In-reply-to: <9714BB54B80D7946B2C6265DCB0AE1491AF47E1D@EXDAG0-B0.intra.cea.fr>
- References: <537B23C4.9010700@cs.unipr.it> <9714BB54B80D7946B2C6265DCB0AE1491AF47E1D@EXDAG0-B0.intra.cea.fr>
2014-05-20 15:48 GMT+02:00 CORRENSON Loic 218851 <loic.correnson at cea.fr>: > > However, it is surprising that value-analysis plugin does not complain for this potential overflow. There's nothing surprising here. All computations in this example are done on unsigned integers, whose overflow semantics is perfectly defined (for once) by the standard. Hence no warning is output by default, and the modulo is taken. Alarms will be generated if -warn-unsigned-overflow is set. More information about overflows and integer downcasts warnings can be found with frama-c -kernel-help. Best regards, -- E tutto per oggi, a la prossima volta Virgile
- Follow-Ups:
- [Frama-c-discuss] Puzzled about apparent proof of false contract
- From: loic.correnson at cea.fr (CORRENSON Loic 218851)
- [Frama-c-discuss] Puzzled about apparent proof of false contract
- References:
- [Frama-c-discuss] Puzzled about apparent proof of false contract
- From: bagnara at cs.unipr.it (Roberto Bagnara)
- [Frama-c-discuss] Puzzled about apparent proof of false contract
- From: loic.correnson at cea.fr (CORRENSON Loic 218851)
- [Frama-c-discuss] Puzzled about apparent proof of false contract
- Prev by Date: [Frama-c-discuss] Puzzled about apparent proof of false contract
- Next by Date: [Frama-c-discuss] Puzzled about apparent proof of false contract
- Previous by thread: [Frama-c-discuss] Puzzled about apparent proof of false contract
- Next by thread: [Frama-c-discuss] Puzzled about apparent proof of false contract
- Index(es):