Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • F frama-c
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 168
    • Issues 168
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
    • Model experiments
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • pub
  • frama-c
  • Issues
  • #1384
Closed
Open
Issue created Dec 14, 2011 by Mounir Assaf@massaf

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;

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking