cscope like tool

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

cscope like tool

Ajay Mendez
Looking for a tool to grok large projects, a la cscope. methods(method_name) is good but insufficient. For those unfamiliar with cscope, it allows the following queries:

Find this C symbol:
Find this global definition:
Find functions called by this function:
Find functions calling this function:
Find this text string:
Change this text string:
Find this egrep pattern:
Find this file:
Find files #including this file:
Find assignments to this symbol:

Reply | Threaded
Open this post in threaded view
|

Re: cscope like tool

Isaiah Norton
I don't think so, but Lint.jl might be of interest: https://github.com/tonyhffong/Lint.jl

On Wed, Oct 26, 2016 at 8:56 AM, Ajay Mendez <[hidden email]> wrote:
Looking for a tool to grok large projects, a la cscope. methods(method_name) is good but insufficient. For those unfamiliar with cscope, it allows the following queries:

Find this C symbol:
Find this global definition:
Find functions called by this function:
Find functions calling this function:
Find this text string:
Change this text string:
Find this egrep pattern:
Find this file:
Find files #including this file:
Find assignments to this symbol:


Reply | Threaded
Open this post in threaded view
|

Re: cscope like tool

Ajay Mendez
Thanks for the pointer. I'm looking for a way to browse code. Reduced to the essential, given a method foo() what are its callers and calees. The methods in Lint.jl do look promising, though I need to cobble together something I can call from the shell.

On Thursday, October 27, 2016 at 6:52:18 AM UTC+5:30, Isaiah wrote:
I don't think so, but Lint.jl might be of interest: <a href="https://github.com/tonyhffong/Lint.jl" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Ftonyhffong%2FLint.jl\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNH9hTaFX0sCRc64Z9SHjVnwIPQTBg&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2Ftonyhffong%2FLint.jl\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNH9hTaFX0sCRc64Z9SHjVnwIPQTBg&#39;;return true;">https://github.com/tonyhffong/Lint.jl

On Wed, Oct 26, 2016 at 8:56 AM, Ajay Mendez <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="m3oBPUXjAAAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">ajay....@...> wrote:
Looking for a tool to grok large projects, a la cscope. methods(method_name) is good but insufficient. For those unfamiliar with cscope, it allows the following queries:

Find this C symbol:
Find this global definition:
Find functions called by this function:
Find functions calling this function:
Find this text string:
Change this text string:
Find this egrep pattern:
Find this file:
Find files #including this file:
Find assignments to this symbol: