Tools for large C file cleanup?

C

C Programmer

Hi,

I have a number of large C source code files (.c and .h) which have been
updated by various people during long years.

What I want to do is to look at every function, structure, etc. and see
whether it is still needed and remove it if possible. I'm currently
using "cscope" but I think I need a better tool for this task.

What I need to do:
- Identify which functions, structures are not used (called, referenced)
anywhere in the code.
- Get a list of all functions, structures, global variables in each
file.

I'm sure there are already lots of commercial tools which can do this. I
can't afford one of those, so I would like to know if there is any good
FREEWARE package I can use.

Thank you very much
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

How can I view / open / render / display a pdf file with c code? 0
Object cleanup 4
Cleanup patterns 69
Queue cleanup 77
Cleanup code & malloc wrapper 4
tools for C and C++ 3
large xml file... 11
Clunky C cleanup code 0

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,022
Latest member
MaybelleMa

Latest Threads

Top