Frama-C-discuss mailing list archives

This page gathers the archives of the old Frama-C-discuss archives, that was hosted by Inria's gforge before its demise at the end of 2020. To search for mails newer than September 2020, please visit the page of the new mailing list on Renater.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Frama-c-discuss] Frama-C/Jessie: memory set problem

  • Subject: [Frama-c-discuss] Frama-C/Jessie: memory set problem
  • From: dillon.pariente at (Dillon Pariente)
  • Date: Sat, 28 Mar 2009 16:57:34 +0100


	frama-c.byte.exe -jessie-analysis -jessie-gen-goals foo.c

with foo.c containing:

typedef struct {int i;int j;} las;

/*@ requires \valid(a) && \valid(b);
    assigns *a, *b; */
void g (int *a,int *b){ *a=11; *b=15; }

/*@ requires \valid(p) ;
assigns p->i,p->j;
void f (las *p)
{  g (&(p->i), &(p->j)); }

returns the following error:

memory (mem-field(int_M),b_21)
in memory set (mem-field(int_M),a_20),
File "jc/", line 716, characters 7-7:
Uncaught exception: File "jc/", line 716, characters 
7-13: Assertion failed
Jessie subprocess failed:    jessie  -why-opt -split-user-conj  -v 
  -locs foo.cloc foo.jc

Jessie/Why version is 2.18.

C code seems to be OK as Frama-C Value Analysis plug-in correctly 
analyzes it!
May this be a problem with Jessie?

Thanks in advance for your help!