[ANN] cdepend - function call mapping of C projects

From: Eli Billauer (eli_billauer_at_users.sf.net)
Date: 10/31/03


Date: 30 Oct 2003 15:41:28 -0800

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



Relevant Pages

  • [ANN] cdepend - function call mapping of C projects
    ... cdepend is a utility, which analyzes a project in C language. ... output is a mapping of which C function calls which. ... projects consisting of several source files. ...
    (comp.unix.programmer)
  • Re: [ANN] cdepend - function call mapping of C projects
    ... | cdepend is a utility, which analyzes a project in C language. ... | output is a mapping of which C function calls which. ... | projects consisting of several source files. ... | All this is accomplished by reading the assembly code, ...
    (comp.lang.c)