Sequence number generated by aorai is incorrect
ID0001050: This issue was created automatically from Mantis Issue 1050. Further discussion may take place here.
Id | Project | Category | View | Due Date | Updated |
---|---|---|---|---|---|
ID0001050 | Frama-C | Plug-in > aoraï | public | 2011-12-14 | 2014-02-12 |
Reporter | Mounir | Assigned To | virgile | Resolution | fixed |
Priority | normal | Severity | minor | Reproducibility | always |
Platform | - | OS | - | OS Version | - |
Product Version | Frama-C Nitrogen-20111001 | Target Version | - | Fixed in Version | Frama-C Oxygen-20120901 |
Description :
void 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;