Skip to content
Pull request Compare This branch is 2 commits ahead, 5390 commits behind coccinelle:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
..
Failed to load latest commit information.
tests
.#arity.ml.1.81
.#arity.ml.1.82
.#ast0_cocci.ml.1.105
.#ast0_cocci.ml.1.106
.#ast0toast.ml.1.132
.#ast0toast.ml.1.133
.#ast_cocci.ml.1.142
.#ast_cocci.ml.1.143
.#check_meta.ml.1.79
.#check_meta.ml.1.80
.#compute_lines.ml.1.85
.#context_neg.ml.1.95
.#context_neg.ml.1.96
.#disjdistr.ml.1.20
.#index.ml.1.54
.#insert_plus.ml.1.68
.#insert_plus.ml.1.69
.#iso_pattern.ml.1.136
.#iso_pattern.ml.1.137
.#lexer_cocci.mll.1.80
.#parse_aux.ml.1.23
.#parse_cocci.ml.1.162
.#parse_cocci.ml.1.163
.#parser_cocci_menhir.mly.1.153
.#parser_cocci_menhir.mly.1.155
.#pretty_print_cocci.ml.1.127
.#pretty_print_cocci.ml.1.128
.#single_statement.ml.1.51
.#test_exps.ml.1.3
.#type_infer.ml.1.54
.#unify_ast.ml.1.70
.#unitary_ast0.ml.1.28
.#unparse_ast0.ml.1.107
.#unparse_ast0.ml.1.108
.#visitor_ast.ml.1.89
.#visitor_ast.ml.1.90
.#visitor_ast0.ml.1.79
.#visitor_ast0.ml.1.80
.cvsignore
.depend
Makefile
README
arity.ml
arity.mli
ast0_cocci.ml
ast0_cocci.mli
ast0toast.ml
ast0toast.mli
ast_cocci.ml
ast_cocci.mli
check_meta.ml
check_meta.mli
comm_assoc.ml
comm_assoc.mli
compute_lines.ml
compute_lines.mli
context_neg.ml
context_neg.mli
data.ml
data.mli
disjdistr.ml
disjdistr.mli
flag_parsing_cocci.ml
free_vars.ml
free_vars.mli
function_prototypes.ml
function_prototypes.mli
get_constants.ml
get_constants.mli
get_constants2.ml
get_constants2.mli
index.ml
index.mli
insert_plus.ml
insert_plus.mli
iso_compile.ml
iso_compile.mli
iso_pattern.ml
iso_pattern.mli
lexer_cocci.mll
lexer_script.mll
main.ml
merge.ml
merge.mli
parse_aux.ml
parse_cocci.ml
parse_cocci.mli
parser_cocci.mly
parser_cocci_menhir.ml
parser_cocci_menhir.mli
parser_cocci_menhir.mly
plus.ml
plus.mli
pretty_print_cocci.ml
pretty_print_cocci.mli
semantic_cocci.ml
simple_assignments.ml
simple_assignments.mli
single_statement.ml
single_statement.mli
test.cocci
test2.cocci
test_exps.ml
test_exps.mli
top_level.ml
top_level.mli
type_cocci.ml
type_cocci.mli
type_infer.ml
type_infer.mli
unify_ast.ml
unify_ast.mli
unitary_ast0.ml
unitary_ast0.mli
unparse_ast0.ml
unparse_ast0.mli
visitor_ast.ml
visitor_ast.mli
visitor_ast0.ml
visitor_ast0.mli

README

Workflow:

main.ml: an entry point to be used in place of the cocci top level, to
check only the parsing of SmPL files.

parse_cocci.ml: Initiates the parsing process and subsequent processing
phases.  There are two entry points:

   process: called by main, returns metavariables and merged ast code

   process_for_ctl: called by engine/main, returns no metavariables, but
   instead ast and ast0 code.  ast code is used by ast0toctl for printing
   and ast0 code is transformed to CTL.



arity.ml
ast0_cocci.ml
ast0toast.ml
ast_cocci.ml
check_meta.ml
data.ml
lexer_cocci.ml
main.ml
merge.ml
parse_cocci.ml
parser_cocci_menhir.ml
parser_cocci.ml
plus.ml
semantic_cocci.ml
top_level.ml
unparse_cocci.ml
Something went wrong with that request. Please try again.