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] problem about initial values for pointer type
- Subject: [Frama-c-discuss] problem about initial values for pointer type
- From: kevin09fjw at gmail.com (kevin fu)
- Date: Tue, 15 Mar 2011 13:03:16 +0800
- In-reply-to: <C9A391A3.33DE%jens.gerlach@first.fraunhofer.de>
- References: <AANLkTikTQYwOSNULRurz23szymF7fRj7qQRxf0+L6ZZn@mail.gmail.com> <C9A391A3.33DE%jens.gerlach@first.fraunhofer.de>
hello Jens, I might have not explain my problem clearly, thanks anyway. Kevin 2011/3/14 Jens Gerlach <jens.gerlach at first.fraunhofer.de> > Hello Kevin, > > frankly, I do not understand your first sentence. > Regarding your second sentence, I think you should > consult a C programming book or C standard about the > initialisation of global objects in C. > > Jens > > > > On 14.03.11 04:55, "kevin fu" <kevin09fjw at gmail.com> wrote: > > Hello, > I've been told a pointer type is assumed to point at the beginning of > an array of two elements. And all remaining cells are made to contain a > non-deterministic superposition of the first ones. > but, when I define an global array ----- int *(array[5]) ------ > frama-c tells me that the array is initialed to array[0..4] {0; }, not > something like array[0] {{&NULL, &s_b_0_t}} which i think it should be. > > Can somebody explain this problem ? > > thank u. > > > kevin > > ------------------------------ > _______________________________________________ > Frama-c-discuss mailing list > Frama-c-discuss at lists.gforge.inria.fr > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/frama-c-discuss > > > _______________________________________________ > Frama-c-discuss mailing list > Frama-c-discuss at lists.gforge.inria.fr > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/frama-c-discuss > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.gforge.inria.fr/pipermail/frama-c-discuss/attachments/20110315/b6124580/attachment.htm>
- References:
- [Frama-c-discuss] problem about initial values for pointer type
- From: kevin09fjw at gmail.com (kevin fu)
- [Frama-c-discuss] problem about initial values for pointer type
- From: jens.gerlach at first.fraunhofer.de (Jens Gerlach)
- [Frama-c-discuss] problem about initial values for pointer type
- Prev by Date: [Frama-c-discuss] problem about initial values for pointer type
- Next by Date: [Frama-c-discuss] jessie-"No code for function<name>, default assigns generated"
- Previous by thread: [Frama-c-discuss] problem about initial values for pointer type
- Next by thread: [Frama-c-discuss] problem about initial values for pointer type
- Index(es):