C cross-referencer wanted

Nick Maclaren nmm at cl.cam.ac.uk
Sat Mar 3 02:32:24 AEST 1990


Does anyone know of a decent C cross-referencer around?  cxref is almost
completely hopeless for my sort of program (10-20K of X code, heaven help
me!)  What I want are the following semantics:  

    Complete cross-references for all symbols that are defined in one of
    the files specified on the command line, which are visible outside the
    file in which they are defined.  I would prefer to be told about both
    pre-processor and compiler symbols.

I can live with having to do some post-processing, but I am not going to
parse C (so pre-processing is out)!  I can also live with being told just
about compiler symbols (i.e. the state after cpp), and with being told
about all symbols visible outside their function.  Unfortunately, I cannot
see how to do any of this with any reasonable combination of existing UNIX
utilities.

Please reply by EMAIL, if possible.

Nick Maclaren
University of Cambridge Computer Laboratory
nmm at cl.cam.ac.uk



More information about the Comp.lang.c mailing list