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
  • #2379
Closed
Open
Issue created Apr 06, 2010 by Jochen Burghardt@burghardt

assigns clause unchecked on arrays

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


Id Project Category View Due Date Updated
ID0000443 Frama-C Plug-in > jessie public 2010-04-06 2010-04-19
Reporter Jochen Assigned To cmarche Resolution fixed
Priority urgent Severity major Reproducibility always
Platform - OS - OS Version -
Product Version Frama-C Beryllium-20090902 Target Version Frama-C Boron-20100401 Fixed in Version Frama-C Boron-20100401

Description :

While a write-access to a simple variable (int a) is recognized to violate an assigns-clause, a similar access to an array variable (int a[1]) is not.

No proof obligation is generated in the latter case.

See attached file; uncomment / comment-out the #define to demonstrate the different behaviors.

I tried jessie only without the option "-jessie-no-regions".

Attachments

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