Source Nav 4.5 XREF

Mo DeJong mdejong@cygnus.com
Tue Jul 18 10:57:00 GMT 2000


On Mon, 17 Jul 2000, Jorge E. Rodriguez wrote:

> Hello,
> 
> I was wondering if there are any options/features  to source navigator 4.5 which would
> allow me to determine all symbols which are not referenced in a given project.
> 
> My situation is that I have a C++ Source Nav project which may contain a
> fairly sizeable amount of "dead code" (i.e. not used, not referenced,... you get it).
> Well I would like to be able to get rid of these methods, constants,....
> 
> I was hoping that since source nav basically creates a Xref database, there would be a
> way to query this XREF db (or run a command on it maybe) which would give me a list
> (does not have to be graphical) of all the symbols which are not referenced.
> 
> Any help in this area would be greatly appreciated.

You would need to write your own code to query the databade
for this sort of thing.

http://sources.redhat.com/sourcenav/online-docs/progref/index_pr.html

Mo DeJong
Red Hat Inc


More information about the Sourcenav mailing list