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 use the frama-c builtins programmatically? (David Yang)


  • Subject: [Frama-c-discuss] How to use the frama-c builtins programmatically? (David Yang)
  • From: abiao.yang at gmail.com (David)
  • Date: Wed, 04 Sep 2013 02:48:35 +0800
  • In-reply-to: <mailman.5305.1378193008.1217.frama-c-discuss@lists.gforge.inria.fr>
  • References: <mailman.5305.1378193008.1217.frama-c-discuss@lists.gforge.inria.fr>

? 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.