Coverity Supported Platforms, Languages, and Compilers
Support for platforms, languages and compilers is different for Coverity on Polaris, compared to standard Coverity.
The requirements and capabilities for Coverity on Polaris are not identical to stand-alone Coverity.
Platforms
This table describes one set of requirements necessary to run both Polaris CLI Scan Client and Coverity tools. The Polaris CLI should not be installed if these requirements are not met.
Coverity 2019.12 | Coverity 2020.03 | Coverity 2020.06 | Coverity 2020.09 | |
---|---|---|---|---|
Linux | 64-bit kernel, version 2.6.32 and later with glibc 2.12-2.27 | 64-bit kernel, version 2.6.32 and later with glibc 2.12-2.27 | 64-bit kernel, version 2.6.32 and later with glibc 2.12-2.27 | 64-bit kernel, version 2.6.32 and later with glibc 2.12-2.27 |
macOS | OSX 10.13, 10.14 | OSX 10.13, 10.14 | OSX 10.13, 10.14 10.15 | OSX 10.13, 10.14 10.15 |
Windows | x86_64, Version 8.1 and later and Windows Server 2012 and later | x86_64, Version 8.1 and later and Windows Server 2012 and later | x86_64, Version 8.1 and later and Windows Server 2012 and later | x86_64, Version 8.1 and later and Windows Server 2012 and later |
Linux Platform Support Notes
Debian GNU/kFreeBSD is not supported.
Windows Platform Support Notes
- Coverity Analysis for C# and Visual Basic supports analysis of programs compiled by the Visual C# compiler (csc.exe) and Visual Basic compiler (vbc.exe) from .NET Framework versions 3.5 SP1 and 4.5.2–4.8.(Coverity 2019.12-2020.09)
- Coverity tools run notably slower on Windows than on other operating systems, such as Linux.
macOS Platform Support Notes
Deprecation notice: Support for macOS 10.13 has been deprecated as of Coverity 2020.06.
Supported Languages
Coverity 2019.12 | Coverity 2020.03 | Coverity 2020.06 | Coverity 2020.09 | |
---|---|---|---|---|
C/C++ | Windows, macOS, and Linux. (See compiler info below) | Windows, macOS, and Linux. (See compiler info below) | Windows, macOS, and Linux. (See compiler info below) | Windows, macOS, and Linux. (See compiler info below) |
C# | Windows only (See compiler info below) | Windows only (See compiler info below) | Windows only (See compiler info below) | Windows, Linux (See compiler info below) |
Objective C | Windows, macOS, and Linux. (See compiler info below) | Windows, macOS, and Linux. (See compiler info below) | Windows, macOS, and Linux. (See compiler info below) | Windows, macOS, and Linux. (See compiler info below) |
Go | Windows, macOS, and Linux. (See compiler info below) | Windows, macOS, and Linux. (See compiler info below) | Windows, macOS, and Linux. (See compiler info below) | Windows, macOS, and Linux. (See compiler info below) |
Java | Windows, macOS, and Linux. (See compiler info below) | Windows, macOS, and Linux. (See compiler info below) | Windows, macOS, and Linux. (See compiler info below) | Windows, macOS, and Linux. (See compiler info below) |
JavaScript | Windows, macOS, and Linux | Windows, macOS, and Linux | Windows, macOS, and Linux | Windows, macOS, and Linux |
Kotlin | Not supported on Polaris for this version of Coverity | Windows, macOS, and Linux. (See compiler info below) | Windows, macOS, and Linux. (See compiler info below) | Windows, macOS, and Linux. (See compiler info below) |
PHP | Windows, macOS, and Linux | Windows, macOS, and Linux | Windows, macOS, and Linux | Windows, macOS, and Linux |
Python | Windows, macOS, and Linux | Windows, macOS, and Linux | Windows, macOS, and Linux | Windows, macOS, and Linux |
Ruby | Windows, macOS, and Linux | Windows, macOS, and Linux | Windows, macOS, and Linux | Windows, macOS, and Linux |
Swift | Not supported on Polaris for this version of Coverity | macOS (See compiler info below) | macOS (See compiler info below) | macOS (See compiler info below) |
VB.NET | Windows (See compiler info below) | Windows (See compiler info below) | Windows (See compiler info below) | Windows (See compiler info below) |
Java Language Support Notes
Although Coverity is able to support compilers spanning multiple JDK versions, Coverity Analysis requires Oracle Java SE Runtime Environment 8 (JRE-8).
JavaScript Language Support Notes
Coverity supports the execution of JSHint analyses (through Coverity Analysis for JavaScript) on platforms supported by Node.js 8.11.1.
Compiler Support
C/C++ Compiler Support
Coverity 2019.12 | Coverity 2020.03 | Coverity 2020.06 | Coverity 2020.09 | |
---|---|---|---|---|
Linux | LLVM Clang 3.0–9.0. * Android NDK Clang 3.1–3.4 (NDK revisions r8c-r9d). * FSF GCC 3.0–9.1.0 | LLVM Clang 3.0–9.0. * Android NDK Clang 3.1–3.4 (NDK revisions r8c-r9d). * FSF GCC 3.0–9.1.0 | LLVM Clang 3.0–10.0. * Android NDK Clang 3.1–3.4 (NDK revisions r8c-r9d). * FSF GCC 3.0–9.2.0 | LLVM Clang 3.0–10.0. * Android NDK Clang 3.1–3.4 (NDK revisions r8c-r9d). * FSF GCC 3.0–10.1.0 |
macOS | LLVM Clang 3.0–9.0. * Android NDK Clang 3.1–3.4 (NDK revisions r8c-r9d). * FSF GCC 3.0–9.1.0 | LLVM Clang 3.0–9.0. * Android NDK Clang 3.1–3.4 (NDK revisions r8c-r9d). * FSF GCC 3.0–9.1.0 | LLVM Clang 3.0–10.0. * Android NDK Clang 3.1–3.4 (NDK revisions r8c-r9d). * FSF GCC 3.0–9.2.0 | LLVM Clang 3.0–10.0. * Android NDK Clang 3.1–3.4 (NDK revisions r8c-r9d). * FSF GCC 3.0–10.1.0 |
Windows | LLVM Clang 3.0–9.0 * Android NDK Clang 3.1–3.4 (NDK revisions r8c-r9d) * FSF GCC 3.0–9.1.0 * Microsoft Visual C++ 2013-2019 | LLVM Clang 3.0–9.0 * Android NDK Clang 3.1–3.4 (NDK revisions r8c-r9d) * FSF GCC 3.0–9.1.0 * Microsoft Visual C++ 2013-2019 | LLVM Clang 3.0–10.0 * Android NDK Clang 3.1–3.4 (NDK revisions r8c-r9d) * FSF GCC 3.0–9.2.0 * Microsoft Visual C++ 2013-2019 | LLVM Clang 3.0–10.0 * Android NDK Clang 3.1–3.4 (NDK revisions r8c-r9d) * FSF GCC 3.0–10.1.0 * Microsoft Visual C++ 2013-2019 |
C/C++ Compiler Support Notes Coverity 2019.12–2020.03
gcc
- ISO/IEC TR 18037 fixed point extensions are supported for C (not C++) code.
- Versions of any of these compilers that are modified to accept non-standard syntax are not supported.
- GNU GCC compilers distributed with Apple Xcode are not supported.
- Deprecation Notice: Support for GNU GCC and G++ 3.0– 3.4.6 is deprecated as of 2020.06 and will be removed in a future release.
clang
- Host OS support for Linux is limited to x86_64 when running Coverity on Polaris.
- Clang 3.3 with Android NDK r9d is not supported, please use clang 3.4 instead.
- Deprecation Notice: Support for LLVM Clang 3.0–3.6 is deprecated as of Coverity 2020.06 and will be removed in a future release.
msvc
- Managed C++ and Common Language Runtime (CLR) are not supported. Compilations with switches beginning with "/CLR" will be skipped.
- The compiler version can be determined by running the compiler (`cl`) on the command line, which returns detailed information.
C# Compiler Support
Coverity 2019.12 | Coverity 2020.03 | Coverity 2020.06 | Coverity 2020.09 | |
---|---|---|---|---|
Linux | Not supported | Not supported | Not supported | .NET Core 2.1 and 3.1 |
macOS | Not supported | Not supported | Not supported | Not supported |
Windows | Visual Studio 2010 - 2019 * .NET Core 2.0, 2.1, 2.2 and 3.0 * Language version up to C# 8 * (VS 2010 and 2012 is deprecated in Coverity) * (.NET Core 2.0 and 2.2 is deprecated in Coverity) | Visual Studio 2013 - 2019 * .NET Core 2.1, 3.0 and 3.1 * Language version up to C# 8 | Visual Studio 2013 - 2019 * .NET Core 2.1, 3.0 and 3.1 * Language version up to C# 8 * (.NET Core 3.0 is deprecated in Coverity) |
Visual Studio 2013 - 2019 .NET Core 2.1 and 3.1 Language version up to C# 8 |
C# Compiler Support Notes
Notes for Coverity 2019.12
- Visual Studio Express editions are not supported.
- Coverity supports analysis of Windows RT applications.
- Coverity supports capturing projects only with the Unity Roslyn compiler.
- Visual Studio 2010 and 2012 are deprecated and will be removed on a future release.
- The following KBs must be installed to avoid errors when capturing .NET Core projects or analyzing .NET web applications: For Windows 7: KB2533623 For Windows 8.1 and earlier versions, or Windows Server 2012 R2 and earlier versions: KB2999226.
Notes for Coverity 2020.03 -2020.09
- Visual Studio Express editions are not supported.
- Coverity supports analysis of Windows RT applications.
- Coverity supports capturing projects only with the Unity Roslyn compiler.
- Deprecation notice: Support for .NET Core 3.0 is deprecated as of 2020.03 and will be removed in a future release. (Coverity 2020.03-2020.06)
- The following KBs must be installed to avoid errors when capturing .NET Core projects or analyzing .NET web applications:For Windows 8.1 or Windows Server 2012 R2 and earlier versions: KB2999226.
Objective C Compiler Support
Coverity 2019.12 | Coverity 2020.03 | Coverity 2020.06 | Coverity 2020.09 | |
---|---|---|---|---|
Linux | Not supported | Not supported | Not supported | Not supported |
macOS | LLVM Clang 3.0–9.0 | LLVM Clang 3.0–9.0 | LLVM Clang 3.0–10.0 | LLVM Clang 3.0–10.0 |
Windows | Not supported | Not supported | Not supported | Not supported |
Go Compiler Support
Coverity 2019.12 | Coverity 2020.03 | Coverity 2020.06 | Coverity 2020.09 | |
---|---|---|---|---|
Linux | Go compiler 1.11-1.12.X | Go compiler 1.11-1.12.X | Go compiler 1.11-1.14.X | Go compiler 1.13-1.14.X |
macOS | Go compiler 1.11-1.12.X | Go compiler 1.11-1.12.X | Go compiler 1.11-1.14.X | Go compiler 1.13-1.14.X |
Windows | Go compiler 1.11-1.12.X | Go compiler 1.11-1.12.X | Go compiler 1.11-1.14.X | Go compiler 1.13-1.14.X |
Go compiler Support Notes
Go Compiler Support Notes for Coverity 2019.12-2020.03
- Coverity only supports projects that are built with the following commands: go build, go install, go run, and go test. Coverity does not support projects that are built by invoking either go tool compile or gccgo directly.
- Coverity does not directly recognize custom flags and arguments of go run or go test. In order for Coverity to recognize these custom flags and arguments, you must modify config/templates/go/go_switches.dat.
- Coverity requires the GOPATH environment variable to be set. Coverity does not support Go modules or Go binary-only packages.
- The cov-emit-go command might have dependencies on external tools, depending on the Go code being compiled. Refer to the cov-emit-go command in the Coverity Command Reference for details.
Go Compiler Support Notes for Coverity 2020.06-2020.09
- Coverity only supports projects that are built with the following commands: go build, go install, go run, and go test. Coverity does not support projects that are built by invoking either go tool compile or gccgo directly.
- Coverity does not directly recognize custom flags and arguments of go run or go test. In order for Coverity to recognize these custom flags and arguments, you must modify config/templates/ go/go_switches.dat.
- Coverity does not support Go binary-only packages. (Coverity 2020.06)
- The cov-emit-go command might have dependencies on external tools, depending on the Go code being compiled. Refer to the cov-emit-go command in the Coverity Command Reference for details.
- Deprecation Notice: Support for Go 1.11.x and 1.12.x is deprecated as of Coverity 2020.06 and will be removed in a future release. (Coverity 2020.06)
Java Compiler Support
Coverity 2019.12 | Coverity 2020.03 | Coverity 2020.06 | Coverity 2020.09 | |
---|---|---|---|---|
Linux | Sun/Oracle JDK 1.7–1.8, 11 * OpenJDK 1.8, 11 | Sun/Oracle JDK 1.7–1.8, 11, 13 * OpenJDK 1.8, 11, 13 | Sun/Oracle JDK 1.7–1.8, 11, 13 * OpenJDK 1.8, 11, 13 |
Sun/Oracle JDK 1.7–1.8, 11, 14 OpenJDK 1.8, 11, 14 |
macOS | Sun/Oracle JDK 1.7–1.8, 11 | Sun/Oracle JDK 1.7–1.8, 11, 13 | Sun/Oracle JDK 1.7–1.8, 11, 13 | Sun/Oracle JDK 1.7–1.8, 11, 14 |
Windows | Sun/Oracle JDK 1.7–1.8, 11 * OpenJDK 1.8, 11 | Sun/Oracle JDK 1.7–1.8, 11, 13 * OpenJDK 1.8, 11, 13 | Sun/Oracle JDK 1.7–1.8, 11, 13 * OpenJDK 1.8, 11, 13 * |
Sun/Oracle JDK 1.7–1.8, 11, 14 OpenJDK 1.8, 11, 14 |
Java Compiler Support Notes for Coverity 2019.12-2020.09
- JDK 1.7 is not supported on Windows 10.
- Coverity does not support Oracle JRockit JDK.
- Deprecation notice: Support for Sun/Oracle JDK 13 and Open JDK 13 is deprecated as of Coverity 2020.06 and will be removed in a future release. (Coverity 2020.06)
Kotlin Compiler Support
Coverity 2019.12 | Coverity 2020.03 | Coverity 2020.06 | Coverity 2020.09 | |
---|---|---|---|---|
Linux | Not supported | Kotlin 1.3 - 1.3.61 | Kotlin 1.3 - 1.3.71 | Kotlin 1.3 - 1.3.71 |
macOS | Not supported | Kotlin 1.3 - 1.3.61 | Kotlin 1.3 - 1.3.71 | Kotlin 1.3 - 1.3.71 |
Windows | Not supported | Kotlin 1.3 - 1.3.61 | Kotlin 1.3 - 1.3.71 | Kotlin 1.3 - 1.3.71 |
Kotlin Compiler Support Notes
- Coverity only supports Kotlin projects that are targeted to JVM or Android, not other platforms. For multi-platform projects, Coverity only captures Kotlin source files that are targeted to the supported platforms.
Swift Compiler Support
Coverity 2019.12 | Coverity 2020.03 | Coverity 2020.06 | Coverity 2020.09 | |
---|---|---|---|---|
Linux | Not supported | Not supported | Not supported | Not supported |
macOS | Not supported | Compiler: Swift 5.0.x (and Swift 4.x through Swift 5.0 compiler's compatibility mode) * IDE: Xcode 10.2.x * Minimum Host OS: 10.14.3 * (Swift 5.0.x support is deprecated in Coverity) | Compiler: Swift 5.2.x * IDE: Xcode 11.4.x * Minimum Host OS: 10.15.2 |
Compiler: Swift 5.2.x IDE: Xcode 11.4.x Minimum HostOS: 10.15.2 Deprecation Notice: Support for Swift 5.2.x is deprecated as of 2020.09 and will be removed in a future release. |
Windows | Not supported | Not supported | Not supported | Not supported |
Swift Compiler Support Notes for Coverity 2020.03-2020.09
- Coverity Analysis supports Swift compiler invocations via xcodebuild.
- Swift Package Manager is not supported.
- When using xcodebuild - UseModernBuildSystem=NO option must be set to emulate legacy capture behavior.
- Cross-compilaton using Mac Catalyst is not supported. (Coverity 2020.06- 2020.09)
Visual Basic Compiler Support
Coverity 2019.12 | Coverity 2020.03 | Coverity 2020.06 | Coverity 2020.09 | |
---|---|---|---|---|
Linux | Not supported | Not supported | Not supported | Not supported |
macOS | Not supported | Not supported | Not supported | Not supported |
Windows | Visual Studio 2013-2019 * .NET Core 2.0, 2.1, 2.2, 3.0 * Language version up to Visual Basic 16 * (.NET Core 2.0 and 2.2 is deprecated in Coverity) | Visual Studio 2013-2019 * .NET Core 2.1, 3.0, 3.1 * Language version up to Visual Basic 16 | Visual Studio 2013-2019 * .NET Core 2.1, 3.0, 3.1 * Language version up to Visual Basic 16 * (.NET Core 3.0 is deprecated in Coverity) |
Visual Studio 2013-2019 .NET Core 3.1 Language version up to Visual Basic 16 |
Visual Basic compiler Support Notes for Coverity 2019.12
- Visual Studio Express editions are not supported.
- The following KBs must be installed to avoid errors when capturing .NET Core projects or analyzing .NET web applications: For Windows 7: KB2533623. For Windows 8.1 and earlier versions, or Windows Server 2012 R2 and earlier versions: KB2999226.
Visual Basic compiler Support Notes for Coverity 2020.03-2020.09
- Visual Studio Express editions are not supported.
- Deprecation notice: Support for .NET Core 3.0 is deprecated as of Coverity 2020.03 and will be removed in a future release. (Coverity 2020.03-2020.06)
- The following KBs must be installed to avoid errors when capturing .NET Core projects or analyzing .NET web applications: For Windows 8.1 or Windows Server 2012 R2 and earlier versions: KB2999226.
Coverity Installation Guides
To find out more about platform and compiler compatibility, see the installation guides for these supported Coverity releases (requires login):