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] why-2.24 install question
- Subject: [Frama-c-discuss] why-2.24 install question
- From: der.herr at hofr.at (Nicholas Mc Guire)
- Date: Wed, 21 Apr 2010 10:58:41 +0200
- In-reply-to: <4BCEB130.9040205@inria.fr>
- References: <4BCD7302.4010608@cea.fr> <20100420092826.GA18012@opentech.at> <4BCD74FB.5@inria.fr> <20100420094716.GA29920@opentech.at> <k2wb15d09071004200309s9b16d74blf291bb5311524916@mail.gmail.com> <20100420101921.GA20284@opentech.at> <20100420140021.6877f00a@is010235> <20100420165535.GA25683@opentech.at> <4BCEAB16.8030702@inria.fr> <4BCEB130.9040205@inria.fr>
On Wed, 21 Apr 2010, Claude Marche wrote: > > Here is a patch that should fix the problem. apply using > > patch -p0 < why-2.24.patch > > in the main directory where you uncompressed why-2.24.tar.gz > > Sorry for the inconvenience. > I'm waiting for a while, if other problems like that show up, and then > we will make a new release > cd why-2.24 patch -p0 < why-2.24.patch make clean ./configure make make install the make problem is gone for alt-ergo,z3,cvc3,simplify - Thanks ! from the makefile - I guess for isabelle you also would need Isabelle -> Isabelle.output_file (fwe ^ "_why.thy") ?? and... a new one poped up (max example from tutorial): /*@ requires \valid(i) && \valid(j); @ requires r == NULL || \valid(r); @ assigns *r; @ behavior zero: @ assumes r == NULL; @ assigns \nothing; @ ensures \result == -1; @ behavior normal: @ assumes \valid(r); @ assigns *r; @ ensures *r == ((*i < *j) ? *j : *i); @ ensures \result == 0; @*/ int max(int *r, int* i, int* j) { if (!r) return -1; *r = (*i < *j) ? *j : *i; return 0; } ... max1.c:2:[kernel] user error: Error during annotations analysis: unbound logic variable NULL ... if I remove the respective statements its "ok" - did not look into this in detail though. /*@ requires \valid(i) && \valid(j); @ requires \valid(r); @ assigns *r; @ behavior zero: @ assigns \nothing; @ ensures \result == -1; @ behavior normal: @ assumes \valid(r); @ assigns *r; @ ensures *r == ((*i < *j) ? *j : *i); @ ensures \result == 0; @*/ int max(int *r, int* i, int* j) { if (!r) return -1; *r = (*i < *j) ? *j : *i; return 0; } [kernel] preprocessing with "gcc -C -E -I. -dD max.c" [jessie] Starting Jessie translation [jessie] Producing Jessie files in subdir max.jessie [jessie] File max.jessie/max.jc written. [jessie] File max.jessie/max.cloc written. [jessie] Calling Jessie tool in subdir max.jessie Generating Why function max [jessie] Calling VCs generator. why -alt-ergo [...] why/max.why Running Alt-Ergo on proof obligations (. = valid * = invalid ? = unknown # = timeout ! = failure) why/max_why.why : ......?..?....?/bin/sh: line 1: 23245 CPU time limit exceeded why-cpulimit 10 alt-ergo /tmp/41f327ergo.why 2>&1 #?/bin/sh: line 1: 23249 CPU time limit exceeded why-cpulimit 10 alt-ergo /tmp/b00464ergo.why 2>&1 #........ (20/0/4/2/0) total : 26 valid : 20 ( 77%) invalid : 0 ( 0%) unknown : 4 ( 15%) timeout : 2 ( 8%) failure : 0 ( 0%) total wallclock time : 21.17 sec total CPU time : 20.91 sec valid VCs: average CPU time : 0.04 max CPU time : 0.05 invalid VCs: average CPU time : nan max CPU time : 0.00 unknown VCs: average CPU time : 0.05 max CPU time : 0.06 thx! hofrat
- Follow-Ups:
- [Frama-c-discuss] why-2.24 install question
- From: Claude.Marche at inria.fr (Claude Marche)
- [Frama-c-discuss] why-2.24 install question
- From: virgile.prevosto at cea.fr (Virgile Prevosto)
- [Frama-c-discuss] why-2.24 install question
- References:
- [Frama-c-discuss] why-2.24 install question
- From: Julien.Signoles at cea.fr (Julien Signoles)
- [Frama-c-discuss] why-2.24 install question
- From: der.herr at hofr.at (Nicholas Mc Guire)
- [Frama-c-discuss] why-2.24 install question
- From: Claude.Marche at inria.fr (Claude Marche)
- [Frama-c-discuss] why-2.24 install question
- From: der.herr at hofr.at (Nicholas Mc Guire)
- [Frama-c-discuss] why-2.24 install question
- From: pascal.cuoq at gmail.com (Pascal Cuoq)
- [Frama-c-discuss] why-2.24 install question
- From: der.herr at hofr.at (Nicholas Mc Guire)
- [Frama-c-discuss] why-2.24 install question
- From: virgile.prevosto at cea.fr (Virgile Prevosto)
- [Frama-c-discuss] why-2.24 install question
- From: der.herr at hofr.at (Nicholas Mc Guire)
- [Frama-c-discuss] why-2.24 install question
- From: Claude.Marche at inria.fr (Claude Marche)
- [Frama-c-discuss] why-2.24 install question
- From: Claude.Marche at inria.fr (Claude Marche)
- [Frama-c-discuss] why-2.24 install question
- Prev by Date: [Frama-c-discuss] why-2.24 install question
- Next by Date: [Frama-c-discuss] why-2.24 install question
- Previous by thread: [Frama-c-discuss] why-2.24 install question
- Next by thread: [Frama-c-discuss] why-2.24 install question
- Index(es):