--- layout: fc_discuss_archives title: Message 101 from Frama-C-discuss on September 2013 ---
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Frama-c-discuss] How to obtain a base variable's original variable?



>
> This information does not currently exist programatically. A slight
> modification of the file src/value/initial_state.ml should do the
> trick, if you feel motivated; as a bonus point, you would obtain a
> full l-value, and not just the base variable. Alternatively, you can
> have a look at the field vdescr of the varinfo underlying the base.
> This should be easier to parse than the name of the base.


Dear Boris,

Thank you very much for your suggestion.
I choose to use the field vdescr in the base varinfo.

By regular expression matching, this problem ca be solved.
Thanks again.

Best regards,
David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gforge.inria.fr/pipermail/frama-c-discuss/attachments/20130914/3f276e7f/attachment.html>