Skip to content
GitLab
Projects Groups 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
    • Contributors
    • Graph
    • Compare
  • Issues 173
    • Issues 173
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • 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
  • #2382
Closed
Open
Issue created Feb 06, 2010 by Dillon Pariente@dillon

Statement contract and "hiding" of statement

ID0000399: This issue was created automatically from Mantis Issue 399. Further discussion may take place here.


Id Project Category View Due Date Updated
ID0000399 Frama-C Plug-in > jessie public 2010-02-06 2010-04-19
Reporter dpariente Assigned To cmarche Resolution fixed
Priority normal Severity major Reproducibility always
Platform - OS - OS Version -
Product Version Frama-C GIT, precise the release id Target Version - Fixed in Version Frama-C Boron-20100401

Description :

Hello,

On the following annotated code:

int main(int x) { int y=0; //@ assigns y; ensures y==3; y=x; //@ assert y>0; }

analyzed by: frama-c -jessie foo.c assert y>0 is not discharged (no matter the preceding statement contract is valid or not).

Indeed, statement contract (assigns y; ensures y==3;) doesn't seem to be taken into account as it does not appear in .jc file.

Additional Information :

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