update to coccigrep 1.11
This commit is contained in:
parent
4448c8d0b6
commit
a87278868f
@ -1,8 +1,8 @@
|
||||
# $OpenBSD: Makefile,v 1.2 2011/11/17 14:27:14 sthen Exp $
|
||||
# $OpenBSD: Makefile,v 1.3 2012/12/08 10:10:22 sthen Exp $
|
||||
|
||||
COMMENT = semantic grep, based on coccinelle
|
||||
|
||||
MODPY_EGG_VERSION = 1.6
|
||||
MODPY_EGG_VERSION = 1.11
|
||||
DISTNAME = coccigrep-${MODPY_EGG_VERSION}
|
||||
|
||||
CATEGORIES = devel textproc
|
||||
|
@ -1,5 +1,2 @@
|
||||
MD5 (coccigrep-1.6.tar.gz) = IgJsOc8hGu3KaG30n/tpEQ==
|
||||
RMD160 (coccigrep-1.6.tar.gz) = 4/Txw1L29e0GkhbtJI58Yk4/Clc=
|
||||
SHA1 (coccigrep-1.6.tar.gz) = eawk33z8ywBuEhSmZcwYHznGVmM=
|
||||
SHA256 (coccigrep-1.6.tar.gz) = zoL9bj+Ea5Ul+rqKZaZpYSfrM/Re6yyuTxyswf84/vg=
|
||||
SIZE (coccigrep-1.6.tar.gz) = 31788
|
||||
SHA256 (coccigrep-1.11.tar.gz) = Td12Log3t7lq9NCnP+fFijAQmLQSE11CBxnITgr4eoI=
|
||||
SIZE (coccigrep-1.11.tar.gz) = 32743
|
||||
|
@ -1,7 +1,7 @@
|
||||
$OpenBSD: patch-src_coccigrep_py,v 1.1.1.1 2011/09/15 20:20:06 sthen Exp $
|
||||
--- src/coccigrep.py.orig Sun Sep 4 22:34:12 2011
|
||||
+++ src/coccigrep.py Wed Sep 7 01:09:50 2011
|
||||
@@ -77,7 +77,7 @@ class CocciRunException(CocciException):
|
||||
$OpenBSD: patch-src_coccigrep_py,v 1.2 2012/12/08 10:10:22 sthen Exp $
|
||||
--- src/coccigrep.py.orig Mon Sep 10 15:50:20 2012
|
||||
+++ src/coccigrep.py Sat Dec 8 10:05:31 2012
|
||||
@@ -79,7 +79,7 @@ class CocciRunException(CocciException):
|
||||
_CONF_FILES = tuple((path.join(dirname, name_format % 'coccigrep')
|
||||
for dirname, name_format in
|
||||
((path.dirname(__file__), '%s.cfg'),
|
||||
|
@ -1,3 +1,11 @@
|
||||
coccigrep is a semantic grep for the C language based on coccinelle.
|
||||
It can be used to find where a given structure is used in code files.
|
||||
coccigrep depends on the spatch program which comes with coccinelle.
|
||||
|
||||
- find where struct bpf_program is used:
|
||||
coccigrep -t 'struct bpf_program' *c
|
||||
|
||||
- find where bf_len in struct bpf_program is used:
|
||||
coccigrep -t 'struct bpf_program' -a bf_len *c
|
||||
|
||||
- find where bf_len in struct bpf_program is *set*:
|
||||
coccigrep -t 'struct bpf_program' -a bf_len -o set *c
|
||||
|
Loading…
Reference in New Issue
Block a user