Coccinelle
Coccinelle matches and transforms C code using semantic patches for maintenance and bug fixing.
By The Coccinelle contributors
Read the Coccinelle documentation
Alternatives
About Coccinelle
Coccinelle provides the Semantic Patch Language, or SmPL, to describe patterns and transformations in C source code. It was developed for collateral changes after library API updates and is also used to find and fix bugs in systems code.
It is a command-line program available to download, with documentation and changelog on its official site.
Strengths
- Describes code matches and edits with semantic patches
- Supports large-scale C code maintenance
- Can help locate and fix systems code bugs
Limitations
- Focused on C source code transformations
Details
- Pricing
- FreeFree and open source under GPL-2.0-only.
- License
- GPL-2.0-only
- Developer
- The Coccinelle contributors
- Platforms
- Command line
- How it runs
- Downloadable app
- Best suited for
- C maintainers who need repeatable code changes across a codebase
- Categories
- CLI tools, Developer tools
- Last verified
- Added
- Provenance
- Selected from the Homebrew formula