Skip to content

Aggregate logic types containing only C types

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


Id Project Category View Due Date Updated
ID0000835 Frama-C Kernel > ACSL implementation public 2011-05-24 2014-02-12
Reporter proux Assigned To virgile Resolution fixed
Priority normal Severity minor Reproducibility N/A
Platform - OS - OS Version -
Product Version Frama-C Carbon-20110201 Target Version - Fixed in Version Frama-C Nitrogen-20111001

Description :

According to section 2.2.7 of current ACSL implementation documentation http://frama-c.com/download/acsl-implementation-Carbon-20110201.pdf it would be possible to use for example arrays of integers: "Aggregate types can be declared in logic, and their contents may be any logic types themselves." but when trying so, we got an error "not a C type". Looking at type logic_type in cil/src/cil_types.mli I understand that actually implementing what the documentation says may require a non negligible amount of work and I don't expect it anytime soon. But putting a "not yet implemented" warning or something like that in the implementation documentation would be nice.

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