coccinelle - Semantic patch utility

Property Value
Distribution openSUSE Tumbleweed
Repository openSUSE Oss all
Package filename coccinelle-1.0.6-2.8.x86_64.rpm
Package name coccinelle
Package version 1.0.6
Package release 2.8
Package architecture x86_64
Package type rpm
Category Productivity/Text/Utilities
License GPL-2.0
Maintainer -
Download size 4.95 MB
Installed size 25.62 MB
Coccinelle is a program matching and transformation engine which
provides the language SmPL (Semantic Patch Language) for specifying
desired matches and transformations in C code. [It does not recognize
Coccinelle performs collateral evolutions in software. Such
evolutions comprise the changes that are needed in client code in
response to evolutions in library APIs, and may include modifications
such as renaming a function, adding a function argument whose value
is somehow context-dependent, and reorganizing a data structure.
Beyond collateral evolutions, Coccinelle is used for finding and
fixing bugs in systems code.


Package Version Architecture Repository
coccinelle-1.0.6-2.8.i586.rpm 1.0.6 i586 openSUSE Oss
coccinelle - - -


Name Value
/usr/bin/python - - - - - - - - - - -
python-base -
rtld(GNU_HASH) -


Name Value
coccinelle = 1.0.6-2.8
coccinelle(x86-64) = 1.0.6-2.8


Type URL
Binary Package coccinelle-1.0.6-2.8.x86_64.rpm
Source Package coccinelle-1.0.6-2.8.src.rpm

Install Howto

Install coccinelle rpm package:

# zypper install coccinelle




2018-01-24 -
- Build under rpm 4.14
2017-11-28 -
- Add kill-env.diff
2017-11-28 -
- use %make_install macro
- remove useless directory creation
2017-11-26 -
- Update to new upstream release 1.0.6
* Allow \ in #define in semantic patch rules, to allow body
with multiple lines, potentially including changes. As a side
effect, \ is also allowed in when specifications, again to
allow patterns to stretch over multiple lines.
* Add identifier list metavariables for #define parameter lists
* Support for Python 3. Pycaml has been patched.
- Remove coccinelle-1.0.4.patch (merged)
2016-05-30 -
- Use ocamlfind(camlp4) to refer to camlp4
- Add coccinelle-1.0.4.patch
2016-05-24 -
- Fix build with ocaml-4.03
Use ocaml-parmap and ocaml-menhir instead of old built-in copies
Use ocaml-pcre
2015-12-14 -
- Update to 1.0.4
* Language:
* Length for statement list metavariables
* Conjunction (analogous to disjunction)
* Drop Circles, Stars
* Drop Unique
* Default values for script metavariables
* Features:
* Introduce .cocciconfig configuration file
* Add some support for MetaStmtList.  Allowed at top level of {}.
* timeout of 0 is no timeout, to allow cancelling this option.
* Bugfixes:
* Allow virtual variable definition to contain an =.
* Improvement when exists rule contains when forall.
2015-08-22 -
- Update to 1.0.2
* Positions of C tokens are now computed while lexing rather than
during a distinct pass. This makes use of the Lexing.new_line
function which has been introduced in OCaml 3.11. Coccinelle
can thus no longer be compiled with OCaml 3.10. --use-gitgrep
falls back to --use-coccigrep for a non-git repository.
* ocaml coccilib allows propagating identifiers, expressions,
statements, listlens, and positions to subsequent matching rules
* Allow @S, for statement metavariable S on expressions
* Exploit explicit positive constraints (no regexps) on
identifiers in file filtering
* Ability to declare a rule as matching an identifier.  Doesn't
work properly for names of typedefs, enums, structures, or
* Iso: allow mixed for model for the case where the model is just
a metavar
* Allow ! to propagate into == or other ops in more cases.
2015-08-05 -
- Update to 1.0.1
* Language:
+ allow static on type-level declarers
* Features:
+  add --use-gitgrep option, for scanning with git grep
* Bugfix:
+ Take into account constraints when determining whether a
metavar is pure don't add switch fall through when a default
is hidden under another case label.
2015-05-05 -
- Update to release 1.0.0
* see changes.txt for full list of changes

See Also

Package Description
codec2-0.8.1-1.2.i586.rpm Low bit rate speech codec
codec2-0.8.1-1.2.x86_64.rpm Low bit rate speech codec
codec2-devel-0.8.1-1.2.i586.rpm Development library for codec2
codec2-devel-0.8.1-1.2.x86_64.rpm Development library for codec2
codec2-examples-0.8.1-1.2.noarch.rpm Example code for Codec 2
codelite-12.0-1.1.i586.rpm Code editor for C, C++, PHP and Node.js
codelite-12.0-1.1.x86_64.rpm Code editor for C, C++, PHP and Node.js
codespell-1.14.0-1.1.noarch.rpm Source code checker for common misspellings
cogl-devel-1.22.4+20190423.9bc253e9-1.1.i586.rpm Development files for the cogl GL/GLES abstraction/utility layer
cogl-devel-1.22.4+20190423.9bc253e9-1.1.x86_64.rpm Development files for the cogl GL/GLES abstraction/utility layer
cogl-lang-1.22.4+20190423.9bc253e9-1.1.noarch.rpm Translations for package cogl
collectd-5.7.2-5.3.i586.rpm Statistics Collection Daemon for filling RRD Files
collectd-5.7.2-5.3.x86_64.rpm Statistics Collection Daemon for filling RRD Files
collectd-plugin-dbi-5.7.2-5.3.i586.rpm DBI Storage Plugin for collectd
collectd-plugin-dbi-5.7.2-5.3.x86_64.rpm DBI Storage Plugin for collectd