Source code of the Coccinelle project (mirror of the main Coccinelle repository located at Inria)
Browse cluster: OCaml incremental computation and PPX tooling →Coccinelle is a source code analysis and transformation tool developed at Inria. The project consists of multiple components, including spgen, a tool that hardens Coccinelle scripts by generating context and printing modes for semantic patches written in the SmPL (Semantic Patch Language). The codebase is written in OCaml and relies on several bundled libraries and tools, including Menhir (a parser generator), Parmap (for multicore OCaml programming), and py.ml (OCaml bindings for Python). Coccinelle also includes auxiliary tools such as coccicheck for applying semantic patches to projects and vim syntax highlighting for cocci files.