Using Filter without Value
ID0001110: This issue was created automatically from Mantis Issue 1110. Further discussion may take place here.
Id | Project | Category | View | Due Date | Updated |
---|---|---|---|---|---|
ID0001110 | Frama-C | Kernel | public | 2012-03-02 | 2014-02-12 |
Reporter | Anne | Assigned To | yakobowski | Resolution | fixed |
Priority | normal | Severity | crash | Reproducibility | have not tried |
Platform | - | OS | - | OS Version | - |
Product Version | Frama-C Nitrogen-20111001 | Target Version | Frama-C Oxygen-20120901 | Fixed in Version | Frama-C Oxygen-20120901 |
Description :
When using Filter to build a new project, if the visited old project has a [code_annotation], and the value analysis is not computed, [vcode_annot] crashes on [Db.Value.is_reachable_stmt] because of the assert : assert (is_computed ()); (* this assertion fails during value analysis *) in [Db.Value.get_stmt_state].
Either [Db.Value.is_reachable] should return true when the value analysis is not computed, or at least, Filter should call it only if it has been computed.