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
    • Planning hierarchy
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 208
    • Issues 208
    • 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
  • #330

Closed
Open
Created Jul 01, 2017 by mantis-gitlab-migration@mantis-gitlab-migration

unsoundness after external function call

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


Id Project Category View Due Date Updated
ID0002315 Frama-C Plug-in > Eva public 2017-07-01 2017-07-03
Reporter maxime Assigned To yakobowski Resolution no change required
Priority high Severity block Reproducibility always
Platform - OS - OS Version -
Product Version Frama-C 15-Phosphorus Target Version - Fixed in Version -

Description :

Hi everyone,

Frama-C is unsound after an external function call. See the attached file.

Running frama-c -val unsound.c gives me: [value] Called Frama_C_show_each_r({1})

This is wrong. The call to the external function f can update **x, and so *y can be anything.

At the call to f(x), I think you should grab all the base addresses that are reachable by the arguments and set them to TOP.

Steps To Reproduce :

frama-c -val unsound.c

Attachments

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