E
Eli Billauer
cdepend is a utility, which analyzes a project in C language. Its
output is a mapping of which C function calls which. cdepend works on
projects consisting of several source files.
cdepend makes a list of unused functions, and functions that are not
declared. For each function you also get a detailed report file,
saying where the function is called (file and row number). It's also
easy to get a picture of which library functions the project relies
on.
All this is accomplished by reading the assembly code, which gcc
creates when invoked with the -S flag. Hence, the entire project needs
to be recompiled to generate the necessary data for cdepend.
More about the project (and download):
http://www.billauer.co.il/cdepend.html
The current release is an early Alpha, and is expected to work on
recent i386-Linux distros.
The project is licensed under GPL.
Hope you like it,
Eli
output is a mapping of which C function calls which. cdepend works on
projects consisting of several source files.
cdepend makes a list of unused functions, and functions that are not
declared. For each function you also get a detailed report file,
saying where the function is called (file and row number). It's also
easy to get a picture of which library functions the project relies
on.
All this is accomplished by reading the assembly code, which gcc
creates when invoked with the -S flag. Hence, the entire project needs
to be recompiled to generate the necessary data for cdepend.
More about the project (and download):
http://www.billauer.co.il/cdepend.html
The current release is an early Alpha, and is expected to work on
recent i386-Linux distros.
The project is licensed under GPL.
Hope you like it,
Eli