--- layout: fc_discuss_archives title: Message 21 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? (David Yang)



? 2013/9/3 15:23, frama-c-discuss-request at lists.gforge.inria.fr ??:
> Right. So I used the Ocaml module named Unix to add the kernel file.
> "
>      let in_channel = Unix.open_process_in "frama-c -print-share-path" in
>      let frama_c_share_path = Pervasives.input_line in_channel in
>      let filename = frama_c_share_path ^ "/libc/fc_runtime.c" in
>      Kernel.Files.add filename;
> "
Test again.