====== Coccinelle wiki ======= =====spatch===== * [[Metavariables]] * [[C syntax errors]] * [[Coccinelle syntax errors]] * [[Matching Python rules]] =====Usage Tips===== * [[Language constructs]] * [[Controlling the running time of spatch]] * [[Pattern match failure]] * [[The use of "when"]] * [[Parameter list matching]] * [[global_local_var|Working on global/local variables -- using the ''local'' attribute]] * Position metavariables * [[Matching code that does not contain some construct|Working on if with single statement, ignoring if with curly brakets]] * [[ce_use_wrapper|Update function calls to use a wrapper function without updating the wrapper function itself]] * [[global_local_var|Working on global/local variables -- using positions]] * [[ce_func_ptr|Transform not only function calls but function pointers too]] * [[Dependencies between patterns]] * [[Virtual rules]] * [[Virtual identifiers]] * [[using_cpp|Working on preprocessed code/using CPP]] ===== Play with your ladybug and python ===== * [[Coccinelle API for use with Python]] * [[Controlling the execution of Python rules]] * [[Refine matching on identifiers with regexp on identifier name]] * [[Add a parameter throughout a call chain]] * [[Source location information]] * [[Executing Python at start/end of every source file]] =====Installation===== * [[Windows]] =====Links===== * Coccinelle main website: http://coccinelle.lip6.fr/ *[[wiki:syntax|wiki syntax]]