Skip to content

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

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