Profile cover photo
Profile photo
Coccigrep
11 followers -
The semantic grep for the C langage based on coccinelle
The semantic grep for the C langage based on coccinelle

11 followers
About
Communities and Collections
Posts

Post has attachment
+Coccigrep 1.13 is out after more than one year since previous version. No big new features but a good improvement in accuracy thanks to a better usage of coccinelle. It has now a better understanding of the usage of complex structure inside the searched code source. The vim plugin has been updated by +Frédéric Yhuel to support the specification of a file list to do search in.
Add a comment...

Post has attachment
Add a comment...

If you want to exclude some useless code from your search, you can use the -U option which will undefined the code. For example, to exclude the unit tests in Suricata (with source in git/oisf), you can add to your vimrc:
autocmd BufEnter,BufNewFile,BufRead **/git/oisf/** let g:coccigrep_path="coccigrep -U UNITTESTS"

For command line, simply use -U UNITTESTS...
Add a comment...

Version 1.8 is out fixing a regression introduced in 1.7 in the handling of C++ files. Thanks to Benoît Rouits for reporting this.
Add a comment...

Post has attachment
Add a comment...

Post has attachment
Coccigrep is featured on root.cz website. Thanks a lot for this small article.
Add a comment...

Post has attachment
Here's the first coccigrep logo. The image has been build upon an original image by Dominik Stodulski (pandominik [at] interia.pl) which can be found at http://fr.wikipedia.org/wiki/Fichier:BIEDRONA.JPG. Logo Licence is thus http://creativecommons.org/licenses/by-sa/3.0/deed.fr.
Photo
Add a comment...

Post has attachment

Post has attachment
Wait while more posts are being loaded