Skip to content

GitLab

  • Menu
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 204
    • Issues 204
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & 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
  • #2434
Closed
Open
Created Dec 03, 2009 by mantis-gitlab-migration@mantis-gitlab-migration

Arithmetic safety of bitwise operators cannot be verified

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


Id Project Category View Due Date Updated
ID0000348 Frama-C Plug-in > jessie public 2009-12-03 2009-12-03
Reporter boris Assigned To cmarche Resolution open
Priority normal Severity major Reproducibility always
Platform - OS - OS Version -
Product Version Frama-C Beryllium-20090901 Target Version - Fixed in Version -

Description :

Jessie cannot verify arithmetic safety in the following code:

typedef unsigned int uint32;

uint32 b1(uint32 x, uint32 y) { return x^y; }

uint32 b2(uint32 x, uint32 y) { return x&y; }

uint32 b3(uint32 x, uint32 y) { return x|y; }

uint32 b4(uint32 x) { return ~x; }

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