Skip to content

untypable ACSL in a sliced program containing \at(p,label) when the label was removed

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


Id Project Category View Due Date Updated
ID0000679 Frama-C Plug-in > slicing public 2011-01-19 2014-02-12
Reporter patrick Assigned To Anne Resolution fixed
Priority normal Severity crash Reproducibility have not tried
Platform - OS - OS Version -
Product Version - Target Version - Fixed in Version Frama-C Oxygen-20120901

Description :

bug when a code annotation refers to a label and the label is removed into the sliced program.

Additional Information :

===== bug.c ===== void f(void) { return; } int X = 1 ; int main(void) { call: f(); //@ assert X == \at(X,call); return X; }

$frama-c bug.c -slice-return main -then-on "Slicing export" -print -ocode sliced_bug.c ... [kernel] failure: Cannot find label for \at

$ frama-c sliced_bug.c

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