From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: 10d4db,1ef8db15df45f730,start X-Google-Attributes: gid10d4db,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!news.glorb.com!news.alt.net!cola.stump.algebra.com!robomod!not-for-mail From: "Andrew M. Bishop" Newsgroups: comp.os.linux.announce Subject: Cxref - C program cross-referencing & documentation tool Date: 2 May 2005 05:50:01 GMT Organization: Altopia Corp. - Usenet Access - www.altopia.com Message-ID: Return-Path: X-COLA-Policy: http://stump.algebra.com/~cola X-COLA-Info-1: Send submissions to cola@stump.algebra.com X-COLA-Info-2: Send complaints to cola-admin@stump.algebra.com X-Comment: moderators do not necessarily agree or disagree with this article. X-Robomod: STUMP, ichudov@algebra.com (Igor Chudov) X-Spam-Checker-Version: SpamAssassin 3.0.0 (2004-09-13) on ak74.algebra.com X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=FORGED_RCVD_HELO autolearn=disabled version=3.0.0 X-Auth: PGPMoose V1.1 PGP comp.os.linux.announce iQBVAwUAQnW9eCFvAtx2nXvNAQHrcwIAhDkaeX3MQqfdAP3dJRzHHTH4Yg49VwIt u2INDoMlecp/y27e0J2K/j9eG2eJsUMdMRQv4sEuOnieh6MIJwqtiQ== =k/TY Xref: g2news1.google.com comp.os.linux.announce:879 C Cross Referencing & Documenting tool. Version 1.6a - cxref ============================================================ Cxref is a program that will produce documentation (in LaTeX, HTML, RTF or SGML) including cross-references from C program source code. Works for ANSI C, including most gcc extensions. The documentation for the program is produced from comments in the code that are appropriately formatted. The cross referencing comes from the code itself and requires no extra work. The documentation is produced for each of the following: Files - A comment that applies to the whole file. Functions - A comment for the function, including a description of each of the arguments and the return value. Variables - A comment for each of a group of variables and/or individual variables. #include - A comment for each included file. #define - A comment for each pre-processor symbol definition, and for macro arguments. Type definitions - A comment for each defined type and for each element of a structure or union type. Any or all of these comments can be present in suitable places in the source code. The cross referencing is performed for the following items Files - The files that the current file is included in (even when included via other files). #includes - Files included in the current file. - Files included by these files etc. Variables - The location of the definition of external variables. - The files that have visibility of global variables. - The files / functions that use the variable. Functions - The file that the function is prototyped in. - The functions that the function calls. - The functions that call the function. - The files and functions that reference the function. - The variables that are used in the function. Each of these items is cross referenced in the output. Includes extensive README and FAQ with details and examples on how to use the program. Changes ------- Since version 1.6: Bug fixes Added function prototypes to allow cxref-cpp to work on 64-bit machines. Fix bug reading from freed memory and small memory leak. Stop comments intended for functions appearing on #defines inside function. If cxref-cpp cannot find include directory from cxref-cpp.defines then abort. Fix installation of manual page. Parsing changes Allow variable declaration in for(;;) statements. Allow named initialisation of structure/union using named initialisers. Fix bad handling of some vararg macros in cxref-cpp. Availability ------------ Previous versions of this program have been tested on the following systems: Linux 1.[123].x, Linux 2.[01234].x, SunOS 4.1.x, Solaris 2.x, HPUX 10.x FTP server: ftp://ftp.ibiblio.org/pub/Linux/devel/lang/c/cxref-1.6a.tgz HTTP server: http://www.gedanken.demon.co.uk/download-cxref/cxref-1.6a.tgz Web page: http://www.gedanken.demon.co.uk/cxref/ Author & Copyright ------------------ This program is copyright Andrew M. Bishop 1995,96,97,98,99,2000,01,02,03,04,05 (amb@gedanken.demon.co.uk) and distributed under GPL. email: amb@gedanken.demon.co.uk [Please put cxref in the subject line] -- Andrew. ---------------------------------------------------------------------- Andrew M. Bishop amb@gedanken.demon.co.uk http://www.gedanken.demon.co.uk/ ########################################################################## # Send submissions for comp.os.linux.announce to: cola@stump.algebra.com # # PLEASE remember a short description of the software and the LOCATION. # # This group is archived at http://stump.algebra.com/~cola/ # ##########################################################################