1. This forum section is a read-only archive which contains old newsgroup posts. If you wish to post a query, please do so in one of our main forum sections (here). This way you will get a faster, better response from the members on Motherboard Point.

[ANN] cdepend - function call mapping of C projects

Discussion in 'Embedded' started by Eli Billauer, Oct 30, 2003.

  1. Eli Billauer

    Eli Billauer Guest

    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.

    This utility can be very useful when porting C code from UNIX to an
    environment which is not as rich with library functions, since the
    dependency on these functions is easily tracked down.

    Also, 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

    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):

    The current release is an early Alpha stage, and is expected to work
    on recent i386-Linux distros.

    The project is licensed under GPL.

    Hope you like it,
    Eli Billauer, Oct 30, 2003
    1. Advertisements

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 (here). After that, you can post your question and our members will help you out.