coccigrep 1.9 发布了,Coccigrep 是一个 C 语言的语义 grep 工具,用于查找代码中给定的结构定义的位置以及某个属性、集合被引用的位置。
示例用法:
$ coccigrep -t Packet *c
source-af-packet.c:272: p = ptv->in_p;
source-af-packet.c:300: p->datalink = ptv->datalink;
source-af-packet.c:758: switch(p->datalink) {
changes:
This release makes use of a new coccinelle feature allowing you to set or unset variables to select on which part of the code the search is done.
下载:http://home.regit.org/software/coccigrep/
来自:开源中国社区

