Semantic C code indexing and query tool

Semantic C code indexing and query tool

Baruch Siach baruch at tkos.co.il
Mon May 14 09:03:04 IDT 2012


Hi Gilboa,

On Mon, May 14, 2012 at 08:52:39AM +0300, Gilboa Davara wrote:
> On Mon, May 14, 2012 at 7:34 AM, Baruch Siach <baruch at tkos.co.il> wrote:
> > I'm looking for a tool that can do semantic search is a body of C code.
> > Example query: "give me all references to field y in struct x defined in
> > file z.h". I would prefer an open source, command line driven tool. C++ 
> > support is an advantage. Does such a tool exist?
> 
> I use cscope for more-or-less the same requirements.

I've tried cscope, but I couldn't find a way to find references to a field in 
a specific struct. Can this be done with cscope?

baruch

-- 
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -



More information about the Linux-il mailing list