Skip to content

Hypothesis missing about pointed datatypes

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


Id Project Category View Due Date Updated
ID0000779 Frama-C Plug-in > wp public 2011-04-08 2011-10-10
Reporter patrick Assigned To dargaye Resolution fixed
Priority normal Severity minor Reproducibility always
Platform - OS - OS Version -
Product Version Frama-C Carbon-20101202-beta2 Target Version - Fixed in Version Frama-C Nitrogen-20111001

Description :

An hypothesis about the bounds of the pointed data seems to be missing. The assertion of the given example cannot be proved with WP Carbon beta-2.

file pb_uint8.c

void f(unsigned char *t) { //@ assert t[0] < 256; t[1]=3; }

command: frama-c-gui -wp -wp-axioms pb_uint8.c

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