JavaScript is not currently enabled, but is required for full CodeSonar manual search and browse functionality.
If you are viewing this file in your hub's Web GUI, enable JavaScript in your browser: you will also need it for GUI functionality.
If you opened this file directly from disk, your browser may be directly suppressing JavaScript functionality: certain browsers perform this suppression on local files (but not files delivered by web servers) for security reasons.
| CodeSonar® 9.2p0 | CONFIDENTIAL | CodeSecure Inc |
This section is designed to get you started using CodeSonar as quickly as possible. If you get stuck, see the links provided for more detailed information. For a guided introduction to CodeSonar see the tutorial.
In most cases we recommend starting with the CodeSonar tutorial. However, if you want to get started as quickly as possible (for example, because you have used CodeSonar before and just need a refresher), the steps are as follows.
The codesonar binary resides in the $CSONAR/codesonar/bin subdirectory of the CodeSonar installation. To invoke CodeSonar without specifying the path, add $CSONAR/codesonar/bin to your PATH environment variable.
On the command line, execute
where:
| project-name | is the CodeSonar project name, used to identify the project to the hub. It can be different to the name of the software project you are analyzing, although it does not have to be. |
| /path/to/ |
is the project directory that CodeSonar should use to
store files it
generates for the analysis.
|
| host:port | is the hub location. |
| command | varies depending on the language of the software to be analyzed. See the language-specific project build documentation for full details. |
For example, to analyze a C/C++ project whose regular build command is make myproj:
The degree of parallelism in the analysis will depend on the setting of ANALYSIS_SLAVES.
For more details, see section Command Line Build/Analysis.
When CodeSonar has finished building and analyzing your project, it will print the URL at which the analysis results will be available. Use a web browser to open the URL.
This is the Analysis page. It displays information about the CodeSonar analysis of the project. By default it will show the Warnings tab, which contains a table with a line of information about each warning generated.
To view a warning report, click anywhere on its entry in the summary table. A warning report page will open, containing:
For more details, see section Warning Report.
To report problems with this documentation, please visit https://support.codesecure.com/.