Skip to content

Wrong [\valid(p)] outside the pointed variable scope

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


Id Project Category View Due Date Updated
ID0000986 Frama-C Plug-in > wp public 2011-10-17 2014-02-12
Reporter Anne Assigned To correnson Resolution fixed
Priority normal Severity minor Reproducibility have not tried
Platform - OS - OS Version -
Product Version - Target Version - Fixed in Version Frama-C Oxygen-20120901

Description :

The following assertion is said to be true, but it shouldn't :

void main (void) { int * p; { int x; p = &x; } /*@ assert \valid(p); */ }

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