Short description for the package layout of the generic CodeChecker package. Package creation is based on the package layout config file. It has two main parts a static and a runtime part.
External checker libraries can be used in the package. The shared object files should be in the plugin directory and will be automatically loaded at runtime.
The runtime part contains information which will be used only at runtime to find files during the checking process.
This section can be used to register multiple analyzers and their binaries:
"analyzers": {
"clangsa": "clang",
"clang-tidy": "/path/to/clang-tidy"
}
The given binaries can be absolute or relative (to the package root directory) paths.
You can set the CC_ANALYZERS_FROM_PATH
environment variable before running a
CodeChecker command to yes
or 1
to enforce taking the analyzers from the
PATH
instead of the given binaries. If this option is set you can also
configure the plugin directory of the Clang Static Analyzer by using the
CC_CLANGSA_PLUGIN_DIR
environment variable.