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] How to break down the fields in structure


  • Subject: [Frama-c-discuss] How to break down the fields in structure
  • From: haihaoshen at gmail.com (haihao shen)
  • Date: Tue, 22 Mar 2011 20:08:16 +0800

Hi,

I am wondering whether Frama-C could help to print the fields for a
structure, and break down the fields when there is nested structure in a
structure.

Say you have an example:

struct a
{
   int a_a;
}

struct b
{
   int b_a;
   struct a s_a;
}


I would like Frama-C to help print the detailed field of each structure.

For example:
For struct a, the field list includes: a.a_a
For struct b, the field list includes: b.b_a, s_a.a_a

Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gforge.inria.fr/pipermail/frama-c-discuss/attachments/20110322/327aca8b/attachment.htm>