--- layout: fc_discuss_archives title: Message 25 from Frama-C-discuss on April 2012 ---
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Frama-c-discuss] patchFile



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>