Crash when a 'break' occurs outside a proper statement
ID0000451: This issue was created automatically from Mantis Issue 451. Further discussion may take place here.
| Id | Project | Category | View | Due Date | Updated |
|---|---|---|---|---|---|
| ID0000451 | Frama-C | Kernel | public | 2010-04-13 | 2014-02-12 |
| Reporter | yakobowski | Assigned To | virgile | Resolution | fixed |
| Priority | normal | Severity | crash | Reproducibility | always |
| Platform | - | OS | - | OS Version | - |
| Product Version | Frama-C GIT, precise the release id | Target Version | - | Fixed in Version | Frama-C Carbon-20101201-beta1 |
Description :
The following code causes Frama-C to crash when it is started with the -simplify-cfg option. Cil does not verify that breaks do not occur outside of loops or switches, while it does so for continues.
int main (void) { break; }