Imagix 4D User Guide


Analyzing Your C/C++ Code

While Imagix 4D can collect information from a number of software artifacts in your system, the most significant of these are your source code files themselves. The process of analyzing these source files is handled by the Imagix 4D analyzers. The Java analyzer is described in a later section. Here, the analyzer for C/C++ code is described.

The Imagix 4D C/C++ analyzer operates much like a compiler. Like a compiler, it does a full semantic parsing of your source files, analyzing all the symbols in your code. But whereas a compiler generates object files which get built into an executable by the linker, the Imagix 4D analyzers generate data files which are loaded and integrated with the other datafiles by the Imagix 4D database.

The analyzer is compiler independent, and is able to accurately analyze source code developed for any C or C++ compiler. Through the use of compiler configuration files, you can cause the analyzer to emulate whatever compiler you normally use with your software.

The Imagix 4D C/C++ analyzer is an independent executable, and can be invoked via command line, according the analyzer's syntax. Normally, however, the invocation is controlled from inside of the Imagix 4D user interface in order to simplify operation. For step-by-step instructions for creating a project and analyzing your code, see the Getting Started section of this User Guide. In this current section, you will find reference materials and advanced topics in applying the C/C++ analyzer.