Frama-C Bug Tracking System

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001716Frama-CPlug-in > E-ACSLpublic2014-03-25 10:302014-09-15 17:20
Reporterarvidj 
Assigned Tosignoles 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in VersionFrama-C Neon-20140301 
Summary0001716: Dynamically allocated variables in body of while without break are not instrumented
DescriptionThe assertion on line 14 of the attached program fails even though p is a valid pointer at this point. However if the break on line 12 is uncommented, the assertion passes.
Steps To ReproduceFrama-c run with the following parameters:
 -machdep x86_64 -e-acsl bug-while-without-break.c -then-on e-acsl -print -ocode bug-while-without-break.gen.c

Compiled with the following flags:
 export SHARE=`frama-c -print-share-path`
 gcc -g -O0 -std=c99 -pedantic -Wall -Wno-long-long -Wno-attributes -Wno-unused-but-set-variable -fno-builtin -o bug-while-without-break.c.out $SHARE/e-acsl/e_acsl.c $SHARE/e-acsl/memory_model/e_acsl_bittree.c $SHARE/e-acsl/memory_model/e_acsl_mmodel.c bug-while-without-break.gen.c -lgmp
TagsNo tags attached.
Attached Filesc file icon bug-while-without-break.c [^] (459 bytes) 2014-03-25 10:30 [Show Content]

- Relationships

-  Notes
(0005460)
signoles (manager)
2014-09-15 17:20

Fixed in E-ACSL v0.4.1.

- Issue History
Date Modified Username Field Change
2014-03-25 10:30 arvidj New Issue
2014-03-25 10:30 arvidj Status new => assigned
2014-03-25 10:30 arvidj Assigned To => signoles
2014-03-25 10:30 arvidj File Added: bug-while-without-break.c
2014-03-25 17:37 signoles Status assigned => resolved
2014-03-25 17:37 signoles Resolution open => fixed
2014-09-15 17:20 signoles Fixed in Version => Frama-C Neon-20140301
2014-09-15 17:20 signoles Note Added: 0005460
2014-09-15 17:20 signoles Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team
Powered by Mantis Bugtracker