Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • 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 209
    • Issues 209
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • pub
  • frama-c
  • Issues
  • #86

Closed
Open
Created Oct 22, 2019 by Jens Gerlach@gerlach

WP warning not clear

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


Id Project Category View Due Date Updated
ID0002482 Frama-C Plug-in > wp public 2019-10-22 2020-02-17
Reporter jens Assigned To correnson Resolution no change required
Priority normal Severity minor Reproducibility always
Platform - OS Linux, macOS OS Version -
Product Version Frama-C 19-Potassium Target Version - Fixed in Version Frama-C 20-Calcium

Description :

When I run frama-c -wp -wp-rte -wp-model Typed f.c on the attached file, I obtain the warning

[wp] Warning: Memory model hypotheses for function 'f': /*@ behavior typed: requires \separated(p+(..),a); */ void f(int *a);

However, when I add this requirement by removing the corresponding comment in the contract, then the warning still occurs.

What can I do to make this warning disappear?

Attachments

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