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

[Frama-c-discuss] How to use the frama-c builtins programmatically?



2013/9/2 David <abiao.yang at gmail.com>:

> I am trying to treat those C functions in fc_runtime.c to be analyzed.
> I can ahieve this by codeing like this:
>
> Kernel.Files.add "/usr/local/share/frama-c/libc/fc_runtime.c";
>

Yes, then it's the best way to achieve what you want. For portability,
if you use your script on different machines where Frama-C might not
always be installed on /usr/local, you can use something like
(Config.datadir ^ "/libc/fc_runtime.c"), but it really depends on your
configuration.

Best regards,
-- 
E tutto per oggi, a la prossima volta
Virgile