Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

33 lines (28 sloc) 1.251 kB
open Common
(* full_engine takes (coccifile, isofile) and cfiles in parameters and
* returns a list associating to the input cfiles, and maybe header
* files that was also required to be modified, the files containing the
* result (in general files in /tmp).
*
* This function use memoisation internally, which is useful when
* use -dir to not redo twice the same work. So take care!
*)
val full_engine :
(filename * filename) -> filename list ->
(filename * filename option) list
(* because of the #include "toto.c" and also because we may associate the
* same C file to multiple drivers because they share code, we can
* modify multiple times the same file when use -dir. This check
* remove duplicates and check that the modification are consistent
* among the different drivers.
*)
val check_duplicate_modif :
(filename * filename option) list -> (filename * filename option) list
(* provides memoization *)
val sp_of_file :
filename (* coccifile *) -> filename option (* isofile *) ->
Ast_cocci.rule list * Ast_cocci.meta_name list list list *
Ast_cocci.meta_name list list list *
Ast_cocci.meta_name list list list * Ast_cocci.meta_name list list list *
string list list *
string option
Jump to Line
Something went wrong with that request. Please try again.