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 |
Note that these models do not rely on the specialized CodeSonar CodeWarrior DLL Approach. In particular, you do not need to install the CodeWarrior support component to use the chc12, mwccmcf or mwccarm model.
The following file extensions are supported:
| Compiler model | Modeled native compiler | Source file extensions | Description |
|---|---|---|---|
| chc12 | Freescale CodeWarrior for HC12 compiler | .c, .C | C source file. |
| .cc, .cpp, .CPP, .cxx, .CXX, .ii | C++ source file. | ||
| mwccarm | Freescale CodeWarrior for Embedded ARM compiler | .c, .C (case insensitive) |
C source file. |
| .cc, .cpp, .cxx,
.i, .ii (case insensitive) |
C++ source file. | ||
| mwccmcf | Freescale CodeWarrior for ColdFire compiler | .c, .C (case insensitive) |
C source file. |
| .cc, .cpp, .cxx,
.i, .ii (case insensitive) |
C++ source file. |
| Platform Availability | The chc12, mwccarm, and mwccmcf compiler models are available as follows.
|
|||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Default Recognition/Handling | By default, compilations
are recognized and handled as follows.
|
|||||||||
| Specifying Additional Mappings | To map the 'chc12' compiler executable to the chc12 model on Windows:
COMPILER_MODELS += chc12.exe -> chc12 COMPILER_MODELS += chc12 -> chc12 If you wish to use the mwccmcf model to handle other CodeWarrior compilations, use a COMPILER_MODELS configuration file rule to specify the mapping. For example: COMPILER_MODELS += mwccfoo.exe -> mwccmcf |
The chc12 compiler model may also be a suitable model for the chc08 compiler, but it is important to note that chc12 takes a single source file input and the chc12 model follows this behavior, so chc08 invocations with multiple source file inputs will not be handled correctly.
If you wish to use the chc12 model to handle chc08 compilations, use a COMPILER_MODELS configuration file rule to specify the mapping:
| Windows: |
COMPILER_MODELS += chc08.exe -> chc12 |
|---|---|
| Other systems: |
COMPILER_MODELS += chc08 -> chc12 |
If you encounter unexpected parse errors, contact CodeSecure support for assistance.
For full details of all native compilers recognized by CodeSonar by default, see section Compilers Recognized by CodeSonar.
To report problems with this documentation, please visit https://support.codesecure.com/.