Frama-C Bug Tracking System - Frama-C
View Issue Details
0001079Frama-CPlug-in > scopepublic2012-02-03 21:562014-02-12 16:58
yakobowski 
yakobowski 
normalfeaturealways
closedfixed 
Frama-C Nitrogen-20111001 
Frama-C Oxygen-20120901 
0001079: Imprecision of 'Defs' when querying precise location
------------------------- typedef struct { int a; int b; } ts; ts t[10]; void init() { t[1].a = 1; t[1].b = 2; } unsigned int main () { init(); return t[1].a; } ------------------------ Requiring the instructions that define t[1].a in main yields both lines of function init, which is a bit imprecise. Since slicing main on its return value removes the line 't[1].b = 2', the pdg is probably precise enough. Thus the imprecision lies somewhere in Scope.
No tags attached.
Issue History
2012-02-03 21:56yakobowskiNew Issue
2012-02-03 21:56yakobowskiStatusnew => assigned
2012-02-03 21:56yakobowskiAssigned To => Anne
2012-02-03 21:56yakobowskiAssigned ToAnne => yakobowski
2012-02-04 12:47svnCheckin
2012-02-04 12:47svnStatusassigned => resolved
2012-02-04 12:47svnResolutionopen => fixed
2012-09-19 17:15signolesFixed in Version => Frama-C Oxygen-20120901
2012-09-19 17:16signolesStatusresolved => closed
2014-02-12 16:58yakobowskiNote Added: 0004685
2014-02-12 16:58yakobowskiStatusclosed => resolved

Notes
(0004685)
yakobowski   
2014-02-12 16:58   
Fix committed to stable/neon branch.