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] patchFile


  • Subject: [Frama-c-discuss] patchFile
  • From: WPineault at xprt.dsci.com (Wayne Pineault)
  • Date: Wed, 11 Apr 2012 14:20:23 +0000

Hi!

My goal is to analyse C code without modifying the original source code.  I want to get rid of all the #include <filename.h> directives since Frama-C value analysis does not work properly with these files included.

After looking though the Frama-C code I found frontc.ml which tests for a patchFile and a comment about the arg --patchFile and code in patch.ml applyPatch.

There does not seem to be any documentation about patchFiles and it looks like I would need to implement a parameter access to include a file on the command line (or just hard code the filename in frontc)

I am still using an old version (Boron) version, does the patch code still exist in later versions, and is there an easier way of getting rid of the #include files?

Thanks,

Wayne
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gforge.inria.fr/pipermail/frama-c-discuss/attachments/20120411/75c8df39/attachment.html>