Skip to content
GitLab
Projects Groups Topics 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
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 171
    • Issues 171
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • 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
  • #1028
Closed
Open
Issue created Oct 28, 2013 by Dillon Pariente@dillon

Extend smoke tests to incoherent specification of declared functions

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


Id Project Category View Due Date Updated
ID0001537 Frama-C Plug-in > wp public 2013-10-28 2014-06-02
Reporter dpariente Assigned To correnson Resolution open
Priority normal Severity feature Reproducibility always
Platform - OS - OS Version -
Product Version Frama-C Fluorine-20130601 Target Version - Fixed in Version -

Description :

[STANCE]

The following code:

//@ assigns \result \from p; ensures sizeof(\result)==5; charg(charp);

void f() { char *p=g(p); //@ assert sizeof(p)==5; //@ assert \false; }

analyzed by: frama-c foo.c -no-unicode -wp

Qed proves the 2nd assert in f(): [wp] [Qed] Goal typed_f_assert_2 : Valid

Edited Aug 05, 2021 by Allan Blanchard
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking