Skip to content

"//@ assert i >= CHAR_MIN;" not proven for char

ID0000095: This issue was created automatically from Mantis Issue 95. Further discussion may take place here.


Id Project Category View Due Date Updated
ID0000095 Frama-C Plug-in > jessie public 2009-05-25 2009-06-23
Reporter mottainai Assigned To cmarche Resolution fixed
Priority normal Severity minor Reproducibility always
Platform - OS - OS Version -
Product Version Frama-C Lithium-20081201 Target Version - Fixed in Version Frama-C Beryllium-20090601-beta1

Description :

The first assertion in the the following code fragment is not proven. (neither alt-ergo nor yices nor cvc3).

char char_range(char i) { //@ assert i >= CHAR_MIN; //@ assert i <= CHAR_MAX; return i; }

Additional Information :

I am using Frama-C Lithium-20081201 on Mac OS X 10.5.7 This is probably related to bug http://bts.frama-c.com/view.php?id=94

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information