Frama-C Bug Tracking System - Frama-C
View Issue Details
0001050Frama-CPlug-in > aoraïpublic2011-12-14 11:502014-02-12 16:58
ReporterMounir 
Assigned Tovirgile 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product VersionFrama-C Nitrogen-20111001 
Target VersionFixed in VersionFrama-C Oxygen-20120901 
Summary0001050: Sequence number generated by aorai is incorrect
Descriptionvoid f(){};

void g(){};

The aorai counter generated for the program and automata below is incorrect. It should be 0 <= aorai_counter <= 5 while it's defined as <=6.

frama-c loop.c -aorai-automata loop.ya

* file: loop.c
int main(int c){
    if (c<0){ c = 0;}
    if (c>0){ c = 5;}

    while (c){
        f();
        g();
        c--;
    }
    return 0;
}

* file loop.ya

%init : S0;
%accept : Sf;

S0 : {[ main( [ f(); g() ]{0,5} ) ]} -> Sf;
Sf: -> Sf;
TagsNo tags attached.
Attached Files

Notes
(0002560)
signoles   
2011-12-21 17:29   
@Nicolas: it was already assigned to Virgile who already acknowledged ;-).
(0004694)
   
2014-02-12 16:58   
Fix committed to stable/neon branch.

Issue History
2011-12-14 11:50MounirNew Issue
2011-12-14 11:50MounirStatusnew => assigned
2011-12-14 11:50MounirAssigned To => nstouls
2011-12-15 08:44virgileAssigned Tonstouls => virgile
2011-12-15 08:44virgileStatusassigned => acknowledged
2011-12-21 16:38nstoulsStatusacknowledged => assigned
2011-12-21 17:28signolesStatusassigned => acknowledged
2011-12-21 17:29signolesNote Added: 0002560
2012-01-04 11:32svn
2012-01-04 11:32svnStatusacknowledged => resolved
2012-01-04 11:32svnResolutionopen => fixed
2012-09-19 17:15signolesFixed in Version => Frama-C Oxygen-20120901
2012-09-19 17:16signolesStatusresolved => closed
2013-12-19 01:12Source_changeset_attached => framac master 1da61d3f
2014-02-12 16:54Source_changeset_attached => framac stable/neon 1da61d3f
2014-02-12 16:58Note Added: 0004694
2014-02-12 16:58Statusclosed => resolved