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 provides solutions for problems you may encounter during the CodeSonar build/analysis process.
In this section (and throughout this manual), $CSONAR indicates the CodeSonar installation directory.
| (Fedora Core 9) |
libX11.so.6: cannot open shared object file
|
| (Ubuntu 9.04) |
No such file or directory
|
There are several possibilities.
Click Continue to proceed (you may also need to provide services authentication).
| Problem | Action |
|---|---|
| There is no hub running at the specified location. |
Either
|
| There is a hub running at the specified location, but
your build/analysis cannot connect to it using IPv6. (This may occur on legacy operating systems.) |
See FAQ: How do I specify that the build/analysis should communicate with the hub using IPv4 only? |
| There is a hub running on the indicated machine, but it is not listening on the interface specified in your build command. |
Either
|
| There is a hub listening on the interface specified in your build command, but a firewall is preventing access. | See FAQ: How do I allow hub access through a firewall? |
To resolve this, do the following.
For a compiler executable named compilername.exe, the renamed file must be named compilername.orig.exe.
For example:
rename cl.exe cl.orig.exe copy "c:\Program Files\CodeSecure\CodeSonar\codesonar\bin\spawncs_userland.exe" cl.exe
For versions that have this problem, Symantec's recommended workaround is to uninstall the "Application and Device Control" component of Symantec Endpoint Protection:
If CodeSonar is configured to recognize your compiler compiler_name.exe and the build still does not seem to be recognizing the compilations:
COMPILER_MODELS += orig.compiler_name.exe -> model_to_use DISABLED_COMPILERS += compiler_name.exe
To resolve this, use front end option --pending_instantiations to set a higher bound on the number of instantiations of a given template that may be pending at a time. Try setting to 256 first, then increasing in powers of 2 until the parse error is resolved. If you reach 4096 without resolving the parse error, it is worth making sure that the code really should use such a deep instantiation stack before increasing further.
To resolve:
| (Fedora Core 9) |
libX11.so.6: cannot open shared object file
|
| (Ubuntu 9.04) |
No such file or directory
|
To fix the problem, modify scriptname to start with an interpreter line of the form
For more information, see web search results for shebang+line.
To report problems with this documentation, please visit https://support.codesecure.com/.