Newsgroup: comp.unix.programmer


Date: Sun, 23 Apr 2006 11:14:33 +0300
From: Diomidis Spinellis <dds@aueb.gr>
Organization: Athens University of Economics and Business
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.2) Gecko/20060404 SeaMonkey/1.0.1
MIME-Version: 1.0
Newsgroups: comp.unix.programmer
Subject: Re: programming tools to list functions/variables
References: <1145633294.984739.167390@v46g2000cwv.googlegroups.com>
In-Reply-To: <1145633294.984739.167390@v46g2000cwv.googlegroups.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
vr wrote:
> is there any open source tool that i can use to list functions and
> variables in a given source code tree (C, C++). there are times when i
> want to know what functions are available and combined with cscope it
> helps with better understanding of a project i learned.

CScope already gives you the information you want.  If you want a tool 
with a lower overhead, running a version of ctags on a collection of 
source code files will create a tags file listing every global variable, 
function and structure definition.  You can also run nm on the compiled 
object files to get similar information.

-- 
Diomidis Spinellis
Code Quality: The Open Source Perspective (Addison-Wesley 2006)
http://www.spinellis.gr/codequality?cup



Newsgroup comp.unix.programmer contents
Newsgroup list
Diomidis Spinellis home page

Creative Commons License Unless otherwise expressly stated, all original material on this page created by Diomidis Spinellis is licensed under a Creative Commons Attribution-Share Alike 3.0 Greece License.