Adds a CodeQL plugin that supports CodeQL in the build system. 1. CodeQlBuildPlugin - Generates a CodeQL database for a given build. 2. CodeQlAnalyzePlugin - Analyzes a CodeQL database and interprets results. 3. External dependencies - Assist with downloading the CodeQL CLI and making it available to the CodeQL plugins. 4. CodeQlQueries.qls - A C/C++ CodeQL query set run against the code. 5. Readme.md - A comprehensive readme file to help: - Platform integrators understand how to configure the plugin - Developers understand how to modify the plugin - Users understand how to use the plugin Read Readme.md for additional details. Cc: Bob Feng <bob.c.feng@intel.com> Cc: Liming Gao <gaoliming@byosoft.com.cn> Cc: Michael D Kinney <michael.d.kinney@intel.com> Cc: Rebecca Cran <rebecca@bsdio.com> Cc: Sean Brogan <sean.brogan@microsoft.com> Cc: Yuwei Chen <yuwei.chen@intel.com> Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com> Reviewed-by: Yuwei Chen <yuwei.chen@intel.com> Reviewed-by: Sean Brogan <sean.brogan@microsoft.com> Acked-by: Laszlo Ersek <lersek@redhat.com> Acked-by: Michael D Kinney <michael.d.kinney@intel.com>
25 lines
921 B
YAML
25 lines
921 B
YAML
## @file codeqlcli_linux_ext_dep.yaml
|
|
#
|
|
# Downloads the Linux CodeQL Command-Line Interface (CLI) application.
|
|
#
|
|
# This download only supports Linux. In an environment where a platform might build in different operating
|
|
# systems, it is recommended to set the scope for the appropriate CodeQL external dependency based on the
|
|
# host operating system being used.
|
|
#
|
|
# Copyright (c) Microsoft Corporation. All rights reserved.
|
|
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
|
##
|
|
|
|
{
|
|
"scope": "codeql-linux-ext-dep",
|
|
"type": "web",
|
|
"name": "codeql_linux_cli",
|
|
"source": "https://github.com/github/codeql-cli-binaries/releases/download/v2.14.5/codeql-linux64.zip",
|
|
"version": "2.14.5",
|
|
"sha256": "72aa5d748ff9ab57cfd86045560683bdc4897e0fe6d9f9a2786d9394674ae733",
|
|
"compression_type": "zip",
|
|
"internal_path": "/codeql/",
|
|
"flags": ["set_shell_var", ],
|
|
"var_name": "STUART_CODEQL_PATH"
|
|
}
|