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] preprocessing a file for E-ACSL
- Subject: [Frama-c-discuss] preprocessing a file for E-ACSL
- From: Andre.MARONEZE at cea.fr (Andre Maroneze)
- Date: Mon, 24 Aug 2020 11:41:20 +0200
- In-reply-to: <C61029F3-2D2A-453F-BD71-9191F422FD76@fokus.fraunhofer.de>
- References: <C61029F3-2D2A-453F-BD71-9191F422FD76@fokus.fraunhofer.de>
Did you try using "-ocode find_main.i"? It's the usual option to save the normalized source code produced by Frama-C, without having other messages redirected to the file. "-print" tells Frama-C to print the output, and "-ocode" tells Frama-C where to print it (stdout, by default). On 24/08/2020 11:31, Gerlach, Jens wrote: > Hello, > > I am using the following command line to preprocess/prepare an annotated C file for E-ACSL. > > frama-c -cpp-command 'gcc -C -E -I../.. -I../../Logic -I. ' -cpp-frama-c-compliant -pp-annot -no-unicode find_main.c -print > find_main.i > > In general, I am happy with the generated output, except that the first line reads > > [kernel] Parsing find_main.c (with preprocessing) > > How can I avoid that this line appears in the output? > (I can of course filter it out with 'grepâ but I assume that I am not using the Frama-C options quite correctly.) > > Thanks in advance. > > Jens > _______________________________________________ > Frama-c-discuss mailing list > Frama-c-discuss at lists.gforge.inria.fr > https://lists.gforge.inria.fr/mailman/listinfo/frama-c-discuss -- André Maroneze Researcher/Engineer CEA/List Software Reliability and Security Laboratory
- Follow-Ups:
- [Frama-c-discuss] preprocessing a file for E-ACSL
- From: jens.gerlach at fokus.fraunhofer.de (Gerlach, Jens)
- [Frama-c-discuss] preprocessing a file for E-ACSL
- References:
- [Frama-c-discuss] preprocessing a file for E-ACSL
- From: jens.gerlach at fokus.fraunhofer.de (Gerlach, Jens)
- [Frama-c-discuss] preprocessing a file for E-ACSL
- Prev by Date: [Frama-c-discuss] preprocessing a file for E-ACSL
- Next by Date: [Frama-c-discuss] preprocessing a file for E-ACSL
- Previous by thread: [Frama-c-discuss] preprocessing a file for E-ACSL
- Next by thread: [Frama-c-discuss] preprocessing a file for E-ACSL
- Index(es):