2 # vi: ts=2 sw=2 et syntax=yaml:
3 # SPDX-License-Identifier: LGPL-2.1-or-later
5 # Note: it is not recommended to directly reference the respective queries from
6 # the github/codeql repository, so we have to "dance" around it using
9 # - https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#running-additional-queries
10 # - https://github.com/github/codeql-action/issues/430#issuecomment-806092120
11 # - https://codeql.github.com/docs/codeql-cli/creating-codeql-query-suites/
13 # Note: the codeql/<lang>-queries pack name can be found in the CodeQL repo[0]
14 # in <lang>/ql/src/qlpack.yml. The respective codeql-suites are then
15 # under <lang>/ql/src/codeql-suites/.
17 # [0] https://github.com/github/codeql
18 - import: codeql-suites/cpp-lgtm.qls
19 from: codeql/cpp-queries
20 - import: codeql-suites/python-lgtm.qls
21 from: codeql/python-queries
24 - cpp/bad-strncpy-size
25 - cpp/declaration-hides-variable
26 - cpp/include-non-header
27 - cpp/inconsistent-null-check
28 - cpp/mistyped-function-arguments
29 - cpp/nested-loops-with-same-variable
30 - cpp/sizeof-side-effect
31 - cpp/suspicious-pointer-scaling
32 - cpp/suspicious-pointer-scaling-void
33 - cpp/suspicious-sizeof
36 - cpp/unsigned-difference-expression-compared-zero
37 - cpp/unused-local-variable