When analyzing C/C++ source files, important information needed for the analysis is specified at compilation time and Kiuwan Local Analyzer can't know about this in advance.
For example:
Kiuwan Local Analyzer can automatically resolve this configuration to get a complete reliable analysis.
Kiuwan Local Analyzer can inspect C and C++ build log files to automatically resolve headers and macros used in your source code.
Follow these steps to configure Kiuwan Local Analyzer by inspecting your build logs:
make clean && make -n > build.log
nmake /N clean all > build.log --> cmd windows
msbuild /nologo /t:rebuild MyProject.proj > build.log
scons -Q -n > build.log
The selected build log file will be analyzed to resolve used headers and macro definitions. Once the build log file analysis is done, a results window will be shown:
Follow these steps to apply the found information to your configuration:
You can also click on "Cancel" button if you want to analyze again a log file, change the log file or not apply the found information to the current configuration. Note that the configuration will not be saved until you click on "Save" button in the main configuration dialog.
Now you can click on "Analyze" to analyze your C or C++ application with the new header and macro definitions.