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] Help, how to use Frama-C to scan linux kernel?
- Subject: [Frama-c-discuss] Help, how to use Frama-C to scan linux kernel?
- From: benjamin.monate at cea.fr (Benjamin Monate)
- Date: Wed, 30 Mar 2011 11:08:16 +0200
- In-reply-to: <CE761E84DADF2947A4AF22FB8D97A47356FC3199@shsmsx501.ccr.corp.intel.com>
- References: <CE761E84DADF2947A4AF22FB8D97A47356FC27E0@shsmsx501.ccr.corp.intel.com> <CE761E84DADF2947A4AF22FB8D97A47356FC27ED@shsmsx501.ccr.corp.intel.com> <AANLkTikA1SvGK37dax-QGWCgecSwSQgYkGZyqiO=xxcp@mail.gmail.com> <CE761E84DADF2947A4AF22FB8D97A47356FC3199@shsmsx501.ccr.corp.intel.com>
Hi, Le 30/03/2011 10:53, Zhao, Passion a ?crit : > But to scan more complicate project, it is still difficult to pass long file > list and various compiler parameters to -cpp-command. > Can we base on the default building to generate the pre-processed files for > frama-c? > And is there any method to feed these pre-processed files to frama-c to > analysis? > I believe if there is such generic method, we can use frama-c to scan any > complicate project easily. > Any suggestions? Thanks. As you seem to be using the gcc compiler with standard autotools for your project, you may try to recompile your project with the "-save-temps' option of gcc. ./configure CC="gcc -save-temps" && make will generate a bunch a .i files for each .c file. These files can be passed directly on frama-c's command line without passing any cpp-command. Hope this helps, -- | Benjamin Monate | mailto:benjamin.monate at cea.fr | | Head of Software Safety Lab. CEA-LIST/DRT/DILS/LSL |
- Follow-Ups:
- [Frama-c-discuss] Help, how to use Frama-C to scan linux kernel?
- From: passion.zhao at intel.com (Zhao, Passion)
- [Frama-c-discuss] Help, how to use Frama-C to scan linux kernel?
- References:
- [Frama-c-discuss] Help, how to use Frama-C to scan linux kernel?
- From: passion.zhao at intel.com (Zhao, Passion)
- [Frama-c-discuss] Help, how to use Frama-C to scan linux kernel?
- From: pascal.cuoq at gmail.com (Pascal Cuoq)
- [Frama-c-discuss] Help, how to use Frama-C to scan linux kernel?
- From: passion.zhao at intel.com (Zhao, Passion)
- [Frama-c-discuss] Help, how to use Frama-C to scan linux kernel?
- Prev by Date: [Frama-c-discuss] Help, how to use Frama-C to scan linux kernel?
- Next by Date: [Frama-c-discuss] Help, how to use Frama-C to scan linux kernel?
- Previous by thread: [Frama-c-discuss] Help, how to use Frama-C to scan linux kernel?
- Next by thread: [Frama-c-discuss] Help, how to use Frama-C to scan linux kernel?
- Index(es):