<div dir="ltr"><font face="georgia,serif"><br></font><br><div class="gmail_quote">On Mon, May 14, 2012 at 12:34 AM, Baruch Siach <span dir="ltr"><<a href="mailto:baruch@tkos.co.il" target="_blank">baruch@tkos.co.il</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi linux-il,<br>
<br>
I'm looking for a tool that can do semantic search is a body of C code.<br>
Example query: "give me all references to field y in struct x defined in file<br>
z.h". I would prefer an open source, command line driven tool. C++ support is<br>
an advantage. Does such a tool exist?<br></blockquote><div><br>Some things that come to mind, though I do not know how suitable each of them is for your particular needs, and I don't know how current or obsolete each is - you'll have to check and come to your conclusions (and report? :)<br>
<br>* etags/ctags<br>* cxref<br>* cscope<br>* LXR?<br> <br></div><br></div>-- <br>Oleg Goldshmidt | <a href="mailto:oleg@goldshmidt.org" target="_blank">oleg@goldshmidt.org</a><br>
</div>