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 168
    • Issues 168
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
    • Model experiments
  • 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
  • #2262
Closed
Open
Issue created Dec 24, 2010 by mantis-gitlab-migration@mantis-gitlab-migration

array id "shift"

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


Id Project Category View Due Date Updated
ID0000651 Frama-C Plug-in > jessie public 2010-12-24 2010-12-24
Reporter evdenis Assigned To cmarche Resolution open
Priority normal Severity minor Reproducibility always
Platform - OS - OS Version -
Product Version Frama-C Boron-20100401 Target Version - Fixed in Version -

Description :

void alg( void ) { long shift[255];

/*@
  @ loop invariant 0 <= i <= 255;
  @ loop variant 255 - i;
  @ loop invariant \forall integer k; 0 <= k < i ==>
  @ 		shift[k] == -1;
  @*/
for ( unsigned i = 0; i < 255; ++i )
	shift[i] = -1;	

}

tester@ubuntu-fm:~/workspace/test5$ frama-c -jessie -jessie-atp gui alg1.c [kernel] preprocessing with "gcc -C -E -I. -dD alg1.c" [jessie] Starting Jessie translation [jessie] Producing Jessie files in subdir alg1.jessie [jessie] File alg1.jessie/alg1.jc written. [jessie] File alg1.jessie/alg1.cloc written. [jessie] Calling Jessie tool in subdir alg1.jessie Generating Why function alg [jessie] Calling VCs generator. gwhy-bin [...] why/alg1.why Computation of VCs... decomp_fun_type=long_P pointer ref File "why/alg1.why", line 452, characters 36-73: This term cannot be applied (either it is not a function or it is applied to non pure arguments) make: *** [alg1.stat] Error 1 [jessie] user error: Jessie subprocess failed: make -f alg1.makefile gui

Attachments

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