semind(1) | General Commands Manual | semind(1) |
semind - Semantic Indexer for C
semind [options]
semind [options] add [command options] [--]
[compiler options] [files...]
semind [options] rm [command options]
pattern
semind [options] search [command options]
[pattern]
semind [options] search [command options]
(-e|-l) filename:linenr:column
semind is the simple to use cscope-like tool based on sparse/dissect. Unlike cscope it runs after pre-processor and thus it can't index the code filtered out by ifdef's, but otoh it understands how the symbol is used and it can track the usage of struct members.
The MODE is dumped as a 3-letter string. The first letter denotes address of part, 2-nd - access by value, 3-rd - access by pointer. A special value 'def' means a symbol definition.
https://sparse.docs.kernel.org
linux-sparse@vger.kernel.org