红联Linux门户
Linux帮助

coccigrep 1.9发布,C语言语义grep工具

发布时间:2012-08-01 11:42:45来源:红联作者:empast
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/

来自:开源中国社区
文章评论

共有 0 条评论