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
C and C++


Using CodeSonar With CodeWarrior (Windows Only)

For software projects built with CodeWarrior, the methods CodeSonar will use to observe the software build process depend on the type of CodeWarrior installation you have.



Which Approach?

DLLs If your CodeWarrior installation uses DLLs, there will be a collection of compiler plugin .dll files in an installation subdirectory. Usually the subdirectory will be something like
cw_install\bin\plugins\compiler\
where cw_install is the CodeWarrior installation directory.

In this case, use the DLL approach.

compiler executables If your CodeWarrior installation uses compiler executables, there will be one or more compiler .exe files in an installation subdirectory. Usually the subdirectory will be something like
cw_install\bin
where cw_install is the CodeWarrior installation directory.

In this case, use the standard approach.

DLL Approach (Windows only)

If your CodeWarrior installation uses DLLs, you will need to install CodeSonar DLLs for CodeWarrior so that CodeSonar can capture full information about your software build. Section CodeSonar With CodeWarrior: DLL Approach provides full details.

Standard Approach

If your CodeWarrior installation uses compiler executables rather than DLLs, you don't need to install any additional components. Observed compiler invocations will be recognized and mapped to compiler models using exactly the same mechanisms as are used for other tools.

There are currently three pre-installed Freescale CodeWarrior compiler models: chc12 (HC12), mwccmcf (ColdFire), and mwccarm (Embedded ARM).

 

To report problems with this documentation, please visit https://support.codesecure.com/.