Skip to content

unbound function \length in annotation

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


Id Project Category View Due Date Updated
ID0000967 Frama-C Kernel > ACSL implementation public 2011-09-19 2012-02-09
Reporter Mihaela Sighireanu Assigned To virgile Resolution open
Priority normal Severity minor Reproducibility have not tried
Platform - OS - OS Version -
Product Version Frama-C Carbon-20110201 Target Version - Fixed in Version -

Description :

It seems that the function \length cannot be used with logic array types, e.g.:

/*@ type node = int[]; */

/*@ predicate ls(node n) = @ \length(n) >= 1 ; */

returns after frama-c -typecheck

[kernel] user error: unbound function \length in annotation

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