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] Strange results
- Subject: [Frama-c-discuss] Strange results
- From: boris at yakobowski.org (Boris Yakobowski)
- Date: Fri, 8 Feb 2013 12:07:02 +0100
- In-reply-to: <5114D8F7.4080204@free.fr>
- References: <5114D8F7.4080204@free.fr>
Hi, On Fri, Feb 8, 2013 at 11:52 AM, Anne Pacalet <anne.pacalet at free.fr> wrote: > if (p->a) { x3 = in; } > else { x3 = p->b; } > [snip] > p ? {{ &T + [242..1959] }} > p->a ? [--..--] or UNINITIALIZED > > The else branch is marked as dead (highlighted in red in the GUI). > I don't understand why the branch is dead, and moreover, > I don't understand why there is no generated assert... > I don't see any messages about that in the log. This might be a consequence of the way the GUI displays the values of lval accessed through an imprecise pointer. Can you re-run the analysis with the following instrumentation ? Frama_C_show_each(p, p->a); if (p->a) { x3 = in; } else { x3 = p->b; } and report your results ? -- Boris
- Follow-Ups:
- [Frama-c-discuss] Strange results
- From: anne.pacalet at free.fr (Anne Pacalet)
- [Frama-c-discuss] Strange results
- From: anne.pacalet at free.fr (Anne Pacalet)
- [Frama-c-discuss] Strange results
- References:
- [Frama-c-discuss] Strange results
- From: anne.pacalet at free.fr (Anne Pacalet)
- [Frama-c-discuss] Strange results
- Prev by Date: [Frama-c-discuss] Strange results
- Next by Date: [Frama-c-discuss] Strange results
- Previous by thread: [Frama-c-discuss] Strange results
- Next by thread: [Frama-c-discuss] Strange results
- Index(es):