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
  • #805
Closed
Open
Issue created Jun 06, 2014 by Jochen Burghardt@burghardt

advanced adress arithmetic causes loss of source location

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


Id Project Category View Due Date Updated
ID0001802 Frama-Clang Plug-in > from public 2014-06-06 2015-02-20
Reporter Jochen Assigned To virgile Resolution no change required
Priority normal Severity minor Reproducibility always
Platform - OS xubuntu-cfe13.10 OS Version -
Product Version Frama-C Neon-20140301 Target Version - Fixed in Version -

Description :

output of "frama-c -deps from.c -slevel 10":

... [from] ====== DEPENDENCIES COMPUTED ====== These dependencies hold at termination for the executions that terminate: [from] Function main: publc2 FROM publc1 \result FROM \nothing [from] ====== END OF DEPENDENCIES ======

However, if "publc1" is located e.g. at address 0x30000, then "p" would point to 0x30004, that is, (possibly) to "secret1", which wasn't mentioned as source location by FromAnalysis.

Attachments

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