Frama-C Bug Tracking System

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001740Frama-CPlug-in > E-ACSLpublic2014-04-07 13:572017-03-02 15:18
Assigned Tosignoles 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0001740: Incorrectness when early exiting a block
DescriptionLocal variables of a block are de-allocated at the end of the block. However, they are not de-allocated when exiting a block earlier (e.g. by a goto or a break). That may lead to incorrectness as in the attached example.

$ frama-c -e-acsl a.i -then-on e-acsl -print -ocode b.i
$ ./ b.i
compiling b.i
executing b.i
Assertion failed at line 13 in function main.
The failing predicate is:

No error should be detected.
TagsNo tags attached.
Attached Files? file icon a.i [^] (156 bytes) 2014-04-07 13:57 [Show Content]

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2014-04-07 13:57 signoles New Issue
2014-04-07 13:57 signoles Status new => assigned
2014-04-07 13:57 signoles Assigned To => signoles
2014-04-07 13:57 signoles File Added: a.i
2014-04-07 13:57 signoles Status assigned => confirmed
2017-03-02 15:18 kvorobyov Status confirmed => resolved
2017-03-02 15:18 kvorobyov Resolution open => fixed

Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker