coccigrep-1.13p0 – semantic grep, based on coccinelle
(cvsweb
github)
Description
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.
- 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
WWW:
http://home.regit.org/software/coccigrep/
Maintainer
The OpenBSD ports mailing-list
Categories
devel
lang/python
textproc
Build dependencies
Run dependencies
- /etc/coccigrep
- /usr/local/bin/coccigrep
- /usr/local/lib/python2.7/site-packages/coccigrep-1.13-py2.7.egg-info/
- /usr/local/lib/python2.7/site-packages/coccigrep-1.13-py2.7.egg-info/PKG-INFO
- /usr/local/lib/python2.7/site-packages/coccigrep-1.13-py2.7.egg-info/SOURCES.txt
- /usr/local/lib/python2.7/site-packages/coccigrep-1.13-py2.7.egg-info/dependency_links.txt
- /usr/local/lib/python2.7/site-packages/coccigrep-1.13-py2.7.egg-info/top_level.txt
- /usr/local/lib/python2.7/site-packages/coccigrep/
- /usr/local/lib/python2.7/site-packages/coccigrep/__init__.py
- /usr/local/lib/python2.7/site-packages/coccigrep/__init__.pyc
- /usr/local/lib/python2.7/site-packages/coccigrep/coccigrep.cfg
- /usr/local/lib/python2.7/site-packages/coccigrep/coccigrep.py
- /usr/local/lib/python2.7/site-packages/coccigrep/coccigrep.pyc
- /usr/local/lib/python2.7/site-packages/coccigrep/data/
- /usr/local/lib/python2.7/site-packages/coccigrep/data/deref.cocci
- /usr/local/lib/python2.7/site-packages/coccigrep/data/func.cocci
- /usr/local/lib/python2.7/site-packages/coccigrep/data/named.cocci
- /usr/local/lib/python2.7/site-packages/coccigrep/data/set.cocci
- /usr/local/lib/python2.7/site-packages/coccigrep/data/test.cocci
- /usr/local/lib/python2.7/site-packages/coccigrep/data/used.cocci
- /usr/local/man/man1/coccigrep.1
- /usr/local/share/doc/coccigrep/
- /usr/local/share/doc/coccigrep/README.rst