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] using errno
- Subject: [Frama-c-discuss] using errno
- From: stephane.duprat at atosorigin.com (Stéphane Duprat)
- Date: Sat, 07 Nov 2009 00:20:20 +0100
Hi again, Is someone know how to treat errno ? The cil create a pointer not allowed and after an access to the location. thx, St?phane src code: if (errno == 0) j=2; the cil: int *tmp ; { /*undefined sequence*/ tmp = __errno_location(); ; } /*@ assert \valid(tmp); // synthesized */ if (*tmp == 0) { j = 2; } warning: warning: out of bounds read. assert \valid(tmp); -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.gforge.inria.fr/pipermail/frama-c-discuss/attachments/20091107/2a4f19d9/attachment.htm
- Follow-Ups:
- [Frama-c-discuss] using errno
- From: Pascal.CUOQ at cea.fr (CUOQ Pascal)
- [Frama-c-discuss] using errno
- Prev by Date: [Frama-c-discuss] different range in the loop depending de type
- Next by Date: [Frama-c-discuss] ask for slicing spec
- Previous by thread: [Frama-c-discuss] different range in the loop depending de type
- Next by thread: [Frama-c-discuss] using errno
- Index(es):