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] trouble debugging assertions
- Subject: [Frama-c-discuss] trouble debugging assertions
- From: tim.newsham at gmail.com (Tim Newsham)
- Date: Mon, 17 Aug 2015 21:39:51 -1000
- In-reply-to: <CAGSRWbhVJxPyUYwyLJEKkGLixcK4cj9wk-4N=JqNWXXD4QydPA@mail.gmail.com>
- References: <CAGSRWbiNW1JwsppB0D3=Cz5G-V95TrpetE5cC4XkMDNLBDyWVA@mail.gmail.com> <55D2D767.4040603@free.fr> <CAGSRWbhVJxPyUYwyLJEKkGLixcK4cj9wk-4N=JqNWXXD4QydPA@mail.gmail.com>
ack, I apologize, I found it as "-val-split-return-auto" and that did fix the analysis. Thank you! On Mon, Aug 17, 2015 at 9:22 PM, Tim Newsham <tim.newsham at gmail.com> wrote: > Thank you. I tried this but it rejected the argument and I > couldn't find any arguments with "split" in the name: > > $ frama-c --version > Version: Sodium-20150201 > Compilation date: Tue Aug 4 10:08:25 HST 2015 > Share path: /usr/local/share/frama-c (may be overridden with FRAMAC_SHARE > variable) > Library path: /usr/local/lib/frama-c (may be overridden with FRAMAC_LIB > variable) > Plug-in paths: /usr/local/lib/frama-c/plugins (may be overridden with > FRAMAC_PLUGIN variable) > $ frama-c -kernel-help|grep split > $ > > is the name bad or do I need to be on a different version? > > > On Mon, Aug 17, 2015 at 8:57 PM, Anne Pacalet <anne.pacalet at free.fr> > wrote: > >> Hi Tim, >> >> Le 18/08/2015 08:44, Tim Newsham a écrit : >> > What is confusing me is that the assertion right after the call site is >> the >> > same (seems to me!) as the "ensures" clause of the implementation! So >> why >> > is the analyzer not drawing the connection? Is there something I can >> do to >> > help it out? >> >> I suspect that the states computed at the end of the function are merged >> before >> returning, so the assertion cannot be verified anymore on the merged >> state. >> Maybe you should try to use the option: >> -val-split-return auto >> or >> -val-split-return-function auth:full >> >> Hope this helps. >> >> Anne. >> _______________________________________________ >> Frama-c-discuss mailing list >> Frama-c-discuss at lists.gforge.inria.fr >> http://lists.gforge.inria.fr/mailman/listinfo/frama-c-discuss > > > > > -- > Tim Newsham | www.thenewsh.com/~newsham | @newshtwit | > thenewsh.blogspot.com > -- Tim Newsham | www.thenewsh.com/~newsham | @newshtwit | thenewsh.blogspot.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.gforge.inria.fr/pipermail/frama-c-discuss/attachments/20150817/6ed57aae/attachment-0001.html>
- Follow-Ups:
- [Frama-c-discuss] trouble debugging assertions
- From: tim.newsham at gmail.com (Tim Newsham)
- [Frama-c-discuss] trouble debugging assertions
- References:
- [Frama-c-discuss] trouble debugging assertions
- From: tim.newsham at gmail.com (Tim Newsham)
- [Frama-c-discuss] trouble debugging assertions
- From: anne.pacalet at free.fr (Anne Pacalet)
- [Frama-c-discuss] trouble debugging assertions
- From: tim.newsham at gmail.com (Tim Newsham)
- [Frama-c-discuss] trouble debugging assertions
- Prev by Date: [Frama-c-discuss] trouble debugging assertions
- Next by Date: [Frama-c-discuss] trouble debugging assertions
- Previous by thread: [Frama-c-discuss] trouble debugging assertions
- Next by thread: [Frama-c-discuss] trouble debugging assertions
- Index(es):