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.0p0 Hot Tips | CONFIDENTIAL | CodeSecure Inc |
The minimum CodeSonar version for direct upgrade to CodeSonar 7.0 or later is 4.1p0. If you have a hub that is running CodeSonar 4.0p2 or earlier, contact CodeSecure support for assistance in upgrading.
CodeSonar is now a product of CodeSecure, Inc. There are several consequences for upgrading from CodeSonar 7.4 or earlier.
If you have made changes to any of your CodeSonar configuration files, you will need to upgrade those files as part of the upgrade process.
If you have previously installed the CodeSonar plug-in for Visual Studio or CodeSonar plug-in for Eclipse, upgrade those installations after upgrading CodeSonar.
| CodeSecure | CodeSonar is now a product of CodeSecure, Inc. In some cases this may mean that you need to take additional steps when upgrading: see the notes on upgrading above for details. |
|---|---|
| Warning Classes |
There are several new C/C++ warning classes. |
| GUI | There is a new User Sessions page type, and there are several changes to the Settings and Account Editor page types. |
| Sessions |
A single hub user account can now have multiple simultaneous
associated sessions.
|
| Bearer Token Authentication |
Authenticated codesonar
subcommands and HTTP API operations can now be authenticated
with respect to a session by presenting that session's
bearer token. The expected use case is for automated operations
that are noninteractive or unattended, such as continuous
integration or nightly scripts.
|
| Kubernetes deployment | We now provide Helm charts and templates for deploying CodeSonar on a Kubernetes cluster. |
| codesonar generate_hubpwfile.py | This is a new codesonar subcommand for interactively generating a password file. The password file can then be supplied with the -hubpwfile option to any codesonar subcommands that require hub authentication. For full details see codesonar generate_hubpwfile.py: Interactively Generate a Hub Password File. |
| Configuration Parameters | A configuration parameter has been renamed: MAX_CONCURRENT_BUILD_PROCESSES (previously MAX_CONCURRENT_PARSE_PROCESSES) |
| Plug-in for Eclipse |
The plug-in ID is now com.codesonar.eclipse (previously
com.grammatech.codesonar). If you are upgrading CodeSonar:
|
| Plug-in for Visual Studio |
The behavior of the installer has
changed slightly. You will now see up to three installer
dialogs, depending on the versions of Visual Studio you have
installed: a separate dialog for each of the following.
|
| New Compiler Model | There is one new compiler model: mwccarm, for the Freescale CodeWarrior for Embedded ARM compiler. |
| Terminology Change |
The three
intervals involved in a CodeSonar build and analysis are
now referred to as build (B), analyze (A), and
daemon mode (D). (Previously parse (P), analyze (A), and daemon mode (D).)
|
| CWE | This version of CodeSonar uses CWE v4.12, released June 29, 2023. |
| Jira Server Integration | Support for the CodeSonar integration for Jira Server has been restored. |
| API Changes |
There are several changes to the CodeSonar Plug-in API.
|
| HTML5 Visualization Tool | The HTML5 Visualization Tool visualization feature has been removed. The 'graphical (lite)' visualization provided by the Explore Callers GUI page type is still available. |
| Release Status | For full information about release status for all current and past CodeSonar versions, see the Supported Product Versions page on the CodeSecure support site. |
There are several new C/C++ warning classes and several modified C/C++ warning classes.
| Modified Warning Class | Changes |
|---|---|
| Inappropriate Argument to memcmp | New name (previously "Inappropriate Argument Type") and new mnemonic LANG.TYPE.IARGT.MEMCMP (previously LANG.TYPE.IARGT). |
| Use of C Generic | New mnemonic LANG.STRUCT.CGEN (previously LANG.STRUCT.C_GENERIC) . |
| Essential Type
Diagnostic Inappropriate Assignment Type Inappropriate Cast Type Inappropriate Cast Type: Expression Inappropriate Operand Type Mismatched Operand Types |
Checkers for C/C++ warning classes that make use of the MISRA C:2012 concept of essential type category now account for the essential type model extensions and corresponding rule refinements in MISRA C:2012 – Addendum 3. |
There are several changes to the CodeSonar web GUI to reflect the extended session functionality introduced in this release:
The new User Sessions page type shows the current sessions for a hub user, and provides functionality for creating and deleting sessions.
These page types have new session-related functionality, as follows.
| Settings |
Two changes on the Account tab:
|
|---|---|
| Account Editor |
Two changes on the Account
Settings tab:
|
| NUMBER | NAME | NOTES |
|---|---|---|
| BZ-64057 | Launchd protocol version not always set, resulting in bad rpc requests | fixed |
| CSO-2117 | Add manual task for setting up and performing a remote analysis | see Task: Set Up and Perform a Remote-Managed Analysis |
| CSO-2266 | [vscode] Code markers (Funky flags) not working | fixed |
| ZD-27603, ZD-28014, ZD-28043, ZD-18407, ZD-28701, CSO-2547 | Analysis performance issue | fixed |
| ZD-28226, CSO-2819 | Parse errors mostly related to va_list | fixed |
| ZD-28369, CSO-2953 | Enumeration value is out of "int" range | fixed |
| ZD-28381, CSO-2918 | Create 16-bit conf file for cl6x compiler model | fixed |
| ZD-28391, CSO-2917 | MISRA analysis takes too long | fixed |
| ZD-28505, CSO-2981 | CodeSonar performance slowdown from close() on exec | fixed |
| ZD-28844, CSO-3366 | cl2000 compiler model weaknesses | fixed |
| ZD-28943, CSO-3375 | TI armcl parse errors | fixed |
| ZD-29120, CSO-3459 | Update k8s/cso-components/Dockerfile-hub ubuntu version | fixed |
| ZD-29124, CSO-3470 | Too many parse errors - iccarm compiler | fixed |
| ZD-29168, CSO-3485 | Unexpected results for project search | Search language documentation extended. |
| ZD-29189, CSO-3488 | 'Conversion: Pointer to Incomplete' warning when comparing with NULL | fixed |
| ZD-29231, CSO-3520 | Jenkins plugin sees no warnings | fixed |
| ZD-29265, CSO-3547 | Problem uploading results to GitLab Ultimate | fixed |
Note. This page contains references to HTTP API documentation, which is served directly by the hub and cannot be accessed via a file:// URL. For active HTTP API documentation links, start a hub (if one is not already running), then open the manual from the hub.