[Visitor] Cil.JustCopy does not work on functions with contracts
ID0001282: This issue was created automatically from Mantis Issue 1282. Further discussion may take place here.
Id | Project | Category | View | Due Date | Updated |
---|---|---|---|---|---|
ID0001282 | Frama-C | Kernel | public | 2012-10-16 | 2014-02-12 |
Reporter | signoles | Assigned To | virgile | Resolution | fixed |
Priority | high | Severity | crash | Reproducibility | always |
Platform | - | OS | - | OS Version | - |
Product Version | Frama-C Oxygen-20120901 | Target Version | - | Fixed in Version | Frama-C Fluorine-20130401 |
Description :
Consider the attached script justcopy.ml which just implements a copy visitor with an invokation to Cil.JustCopy for vglob_aux.
$ touch justcopy.i $ frama-c -load-script justcopy.ml justcopy.i -check /usr/local/share/frama-c/libc/__fc_builtin_for_normalization.i:30:[kernel] failure: [AST Integrity Check] AST of justcopy logic variable dest(365) is not declared