The devel/coccigrep port
coccigrep-1.20p3 – semantic grep, based on coccinelle (cvsweb github mirror)
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 *cWWW: http://home.regit.org/software/coccigrep/
Maintainer
The OpenBSD ports mailing-list
Categories
Build dependencies
Run dependencies
Files
- /etc/coccigrep
- /usr/local/bin/coccigrep
- /usr/local/lib/python3.11/site-packages/coccigrep-1.20.dist-info/
- /usr/local/lib/python3.11/site-packages/coccigrep-1.20.dist-info/LICENSE
- /usr/local/lib/python3.11/site-packages/coccigrep-1.20.dist-info/METADATA
- /usr/local/lib/python3.11/site-packages/coccigrep-1.20.dist-info/RECORD
- /usr/local/lib/python3.11/site-packages/coccigrep-1.20.dist-info/WHEEL
- /usr/local/lib/python3.11/site-packages/coccigrep-1.20.dist-info/top_level.txt
- /usr/local/lib/python3.11/site-packages/coccigrep/
- /usr/local/lib/python3.11/site-packages/coccigrep/__init__.py
- /usr/local/lib/python3.11/site-packages/coccigrep/__pycache__/
- /usr/local/lib/python3.11/site-packages/coccigrep/__pycache__/__init__.cpython-311.opt-1.pyc
- /usr/local/lib/python3.11/site-packages/coccigrep/__pycache__/__init__.cpython-311.pyc
- /usr/local/lib/python3.11/site-packages/coccigrep/__pycache__/coccigrep.cpython-311.opt-1.pyc
- /usr/local/lib/python3.11/site-packages/coccigrep/__pycache__/coccigrep.cpython-311.pyc
- /usr/local/lib/python3.11/site-packages/coccigrep/coccigrep.cfg
- /usr/local/lib/python3.11/site-packages/coccigrep/coccigrep.py
- /usr/local/lib/python3.11/site-packages/coccigrep/data/
- /usr/local/lib/python3.11/site-packages/coccigrep/data/deref.cocci
- /usr/local/lib/python3.11/site-packages/coccigrep/data/func.cocci
- /usr/local/lib/python3.11/site-packages/coccigrep/data/named.cocci
- /usr/local/lib/python3.11/site-packages/coccigrep/data/set.cocci
- /usr/local/lib/python3.11/site-packages/coccigrep/data/test.cocci
- /usr/local/lib/python3.11/site-packages/coccigrep/data/used.cocci
- /usr/local/man/man1/coccigrep.1
- /usr/local/share/doc/coccigrep/
- /usr/local/share/doc/coccigrep/README.rst