Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit64ad8fb

Browse files
Add new query suites for CERT-C recommendations
1 parent3152769 commit64ad8fb

10 files changed

+57
-29
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
- description: CERT C 2016 (Default)
2+
- qlpack: codeql/cert-c-coding-standards
3+
- include:
4+
kind:
5+
- problem
6+
- path-problem
7+
- external/cert/obligation/rule
8+
- exclude:
9+
tags contain:
10+
- external/cert/default-disabled
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
- description: CERT C 2016 (Recommendations)
2+
- qlpack: codeql/cert-c-coding-standards
3+
- include:
4+
kind:
5+
- problem
6+
- path-problem
7+
- external/cert/obligation/recommendation
8+
- exclude:
9+
tags contain:
10+
- external/cert/default-disabled
Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,2 @@
1-
- description: CERT C 2016 (Default)
2-
- qlpack: codeql/cert-c-coding-standards
3-
- include:
4-
kind:
5-
- problem
6-
- path-problem
7-
- exclude:
8-
tags contain:
9-
- external/cert/default-disabled
1+
- description: "DEPRECATED - CERT C 2016 - use cert-c-default.qls instead"
2+
- import: codeql-suites/cert-c-default.qls

‎c/cert/src/qlpack.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ version: 2.44.0-dev
33
description:CERT C 2016
44
suites:codeql-suites
55
license:MIT
6+
default-suite-file:codeql-suites/cert-c-default.qls
67
dependencies:
78
codeql/common-c-coding-standards:'*'
89
codeql/cpp-all:2.1.1
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
- The following query suites have been added or modified for CERT C:
2+
- A new query suite has been created`cert-c-default.qls` to avoid confusion with the CERT C++ query suites. The`cert-default.qls` suite has been deprecated, and will be removed in a future releases, and is replaced by the`cert-c-default.qls` suite.
3+
- The`cert-c-default.qls` suite has been specified as the default for the pack, and will include our most up-to-date coverage for CERT C.
4+
- One new query suite,`cert-c-recommended.qls` has been added to enable running CERT recommendations (as opposed to rules) that will be added in the future.
5+
- The default query suite,`cert-c-default.qls` has been set to exclude CERT recommendations (as opposed to rules) that will be added in the future.
6+
- The following query suites have been added or modified for CERT C++:
7+
- A new query suite has been created`cert-cpp-default.qls` to avoid confusion with the CERT C query suites. The`cert-default.qls` suite has been deprecated, and will be removed in a future releases, and is replaced by the`cert-cpp-default.qls` suite.
8+
- The`cert-cpp-default.qls` suite has been specified as the default for the pack, and will include our most up-to-date coverage for CERT C.
9+
- A new query suite has been created`cert-cpp-single-translation-unit.qls` to avoid confusion with the CERT C query suites. The`cert-single-translation-unit.qls` suite has been deprecated, and will be removed in a future releases, and is replaced by the`cert-cpp-single-translation-unit.qls` suite.
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
- description: CERT C++ 2016 (Default)
2+
- qlpack: codeql/cert-cpp-coding-standards
3+
- include:
4+
kind:
5+
- problem
6+
- path-problem
7+
- exclude:
8+
tags contain:
9+
- external/cert/default-disabled
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
- description: CERT C++ 2016 (Single Translation Unit)
2+
- qlpack: codeql/cert-cpp-coding-standards
3+
- include:
4+
kind:
5+
- problem
6+
- path-problem
7+
tags contain:
8+
- scope/single-translation-unit
9+
- exclude:
10+
tags contain:
11+
- external/cert/default-disabled
Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,2 @@
1-
- description: CERT C++ 2016 (Default)
2-
- qlpack: codeql/cert-cpp-coding-standards
3-
- include:
4-
kind:
5-
- problem
6-
- path-problem
7-
- exclude:
8-
tags contain:
9-
- external/cert/default-disabled
1+
- description: "DEPRECATED - CERT C++ 2016 - use cert-cpp-default.qls instead"
2+
- import: codeql-suites/cert-cpp-default.qls
Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,2 @@
1-
- description: CERT C++ 2016 (Single Translation Unit)
2-
- qlpack: codeql/cert-cpp-coding-standards
3-
- include:
4-
kind:
5-
- problem
6-
- path-problem
7-
tags contain:
8-
- scope/single-translation-unit
9-
- exclude:
10-
tags contain:
11-
- external/cert/default-disabled
1+
- description: "DEPRECATED - CERT C++ 2016 (Single Translation Unit) - use cert-cpp-single-translation-unit.qls instead"
2+
- import: codeql-suites/cert-cpp-single-translation-unit.qls

‎cpp/cert/src/qlpack.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ version: 2.44.0-dev
33
description:CERT C++ 2016
44
suites:codeql-suites
55
license:MIT
6+
default-suite-file:codeql-suites/cert-cpp-default.qls
67
dependencies:
78
codeql/cpp-all:2.1.1
89
codeql/common-cpp-coding-standards:'*'

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp