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 identify macro definition during frama-c preprocessing


  • Subject: [Frama-c-discuss] How to identify macro definition during frama-c preprocessing
  • From: pascal.cuoq at gmail.com (Pascal Cuoq)
  • Date: Wed, 14 Sep 2011 06:36:23 +0200
  • In-reply-to: <CAL2=Xacej7itx4zuhxcMX3gi_5MLCg7jyd2uf_DMRB-0444Xdw@mail.gmail.com>
  • References: <CAL2=Xacej7itx4zuhxcMX3gi_5MLCg7jyd2uf_DMRB-0444Xdw@mail.gmail.com>

>
>
> Frama-c could analyze the preprocessed files for C programs. However,
> preprocessed files may miss some interesting stuff, like macro definition.
>
> I am wondering whether Frama-c has interfaces to identify macro definition
> (as a part of AST of whole project) during preprocessing.


You are right. analyzing pre-processed files is a technical choice with
advantages and drawbacks.

The only project I know of that tries to work at the unprocessed file level
is http://coccinelle.lip6.fr/

Pascal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gforge.inria.fr/pipermail/frama-c-discuss/attachments/20110914/e2406f4c/attachment.htm>