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 |
CodeSonar provides the cc1 compiler model for use with compilers such as Rowley CrossWorks, which use the GCC/LLVM cc1 compiler internally but do not have a compiler driver.
The following file extensions are supported:
| Compiler model | Modeled native compiler | Source file extensions | Description |
|---|---|---|---|
| cc1 | GCC/LLVM cc1 compiler | .c, .C, .cc, .cpp, .cxx, .c++, .i, .ii | Source file extensions indicate the source language unless the language is explicitly specified using the -x flag. An extension of (lower case) c or i indicates C; all other extensions (including capital C) indicate C++. |
| Platform Availability | The cc1 compiler model is available for all platforms. |
|---|---|
| Default Recognition/Handling | The model is disabled by default on all platforms. |
| Specifying Mappings | The cc1 model is disabled
by default due to executable name conflicts. In particular, it
will interfere with the behavior of the gcc and
clang compiler models and any models
based on them. Enable the cc1
model with the COMPILER_MODELS rules shown here only if you are
compiling with Rowley CrossWorks or another compiler that uses
the GCC/LLVM cc1 compiler internally but does not have a
compiler driver. Especially, do not specify these COMPILER_MODELS rules if you
are compiling with gcc or
clang.
To enable on Windows: COMPILER_MODELS += cc1.exe -> cc1 COMPILER_MODELS += cc1plus.exe -> cc1 COMPILER_MODELS += cc1 -> cc1 COMPILER_MODELS += cc1plus -> cc1 |
For full details of all native compilers recognized by CodeSonar by default, see section Compilers Recognized by CodeSonar.
| Model-Specific ABI Key Format | There is no model-specific ABI key format for the cc1 compiler model. |
|---|---|
| Compilation Mode | Compilation mode for each source file is determined from the file extension as described above. Source files with other extensions are ignored. |
| Include paths | Defined by compiler configuration files. |
| Environment Variables | Environment variables and their values are determined from the system environment (that is, the environment in which CodeSonar is invoked). |
To report problems with this documentation, please visit https://support.codesecure.com/.