C/C++
Applicability
C/C++ is supported for Snyk Open Source and Snyk Code.
Specific considerations apply for the Snyk CLI for open-source C++ scans. Guidance for Snyk for C/C++ is provided.
The following functions are available for C/C++:
SCM import - available only for Snyk Code.
Test or monitor your app through CLI and IDE
Test your app's SBOM using
pkg:generic
orpkg:conan
. For more information, see Test an SBOM document for vulnerabilities.Test your app's packages using
pkg:generic
orpkg:conan
. For more information, see List issues for a package.
Package managers and supported file extensions
For Conan, Snyk supports conan.io as a package registry.
No additional options are required for the Snyk IDE. You can display results within the IDE using the Snyk plugin views.
For C/C++ for Snyk Code, Snyk supports the following file formats: .c
, .cc
, .cpp
, .cxx
, .h
, .hpp
, .hxx
.
Frameworks and libraries
For C/C++, Snyk supports the following frameworks and libraries:
argparse parser - Comprehensive
Asio Library - Comprehensive
Boost Library - Partial
Botan LIbrary - Comprehensive
C Standard Library - Comprehensive
C++ Standard Library - Comprehensive
Curl library - Comprehensive
fstream framework - Comprehensive
grpc-cpp library - Comprehensive
HTTPlib framework - Comprehensive
JsonCpp library - Comprehensive
liboai framework - Comprehensive
libpq library - Comprehensive
libpqxx framework - Comprehensive
libsodium library - Comprehensive
LibTomCrypt framework - Comprehensive
libxml2 framework - Comprehensive
MySQL framework - Comprehensive
OpenSSL framework- Comprehensive
POSIX LIbrary - Comprehensive
pugixml library - Comprehensive
SQLite library - Comprehensive
WinHTTP framework - Comprehensive
Xerces libraries - Comprehensive
Features
For C/C++, Snyk supports the following features:
License scanning
Reports
Interfile analysis
Last updated
Was this helpful?