22 Oct
2006
22 Oct
'06
10:35
On Sat, 2006-10-21 at 11:31 -0400, Jerry Feldman wrote:
On Tue, 17 Oct 2006 13:11:12 +0200 Roger Oberholtzer
wrote: C question:
I can use the compiler to find unused variables declared in functions, and unused parameters to functions.
I want to see if I can locate potentially not used members of structures. I realize this is more difficult. But is there any tool out there (perhaps bundled with SUSE 10.x) that may help? At least, for a directory of code, report items not used by code in that directory. I am not aware of any tool that does this, or ever did. However, if you dump the symbol table with cxref(1) you have the information you need.
Thanks for the pointer. I will have a look. -- Roger Oberholtzer