Upgrade `github/codeql` dependency to 2.10.5
This commit is contained in:
Родитель
03e0340cb0
Коммит
213047771c
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
dependencies:
|
||||
codeql/cpp-all:
|
||||
version: 0.2.3
|
||||
version: 0.3.5
|
||||
compiled: false
|
||||
lockVersion: 1.0.0
|
||||
|
|
|
@ -5,4 +5,4 @@ suites: codeql-suites
|
|||
license: MIT
|
||||
dependencies:
|
||||
codeql/common-c-coding-standards: '*'
|
||||
codeql/cpp-all: 0.2.3
|
||||
codeql/cpp-all: 0.3.5
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
dependencies:
|
||||
codeql/cpp-all:
|
||||
version: 0.2.3
|
||||
version: 0.3.5
|
||||
compiled: false
|
||||
lockVersion: 1.0.0
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
dependencies:
|
||||
codeql/cpp-all:
|
||||
version: 0.2.3
|
||||
version: 0.3.5
|
||||
compiled: false
|
||||
lockVersion: 1.0.0
|
||||
|
|
|
@ -3,4 +3,4 @@ version: 2.14.0-dev
|
|||
license: MIT
|
||||
dependencies:
|
||||
codeql/common-cpp-coding-standards: '*'
|
||||
codeql/cpp-all: 0.2.3
|
||||
codeql/cpp-all: 0.3.5
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
dependencies:
|
||||
codeql/cpp-all:
|
||||
version: 0.2.3
|
||||
version: 0.3.5
|
||||
compiled: false
|
||||
lockVersion: 1.0.0
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
dependencies:
|
||||
codeql/cpp-all:
|
||||
version: 0.2.3
|
||||
version: 0.3.5
|
||||
compiled: false
|
||||
lockVersion: 1.0.0
|
||||
|
|
|
@ -5,4 +5,4 @@ suites: codeql-suites
|
|||
license: MIT
|
||||
dependencies:
|
||||
codeql/common-c-coding-standards: '*'
|
||||
codeql/cpp-all: 0.2.3
|
||||
codeql/cpp-all: 0.3.5
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
dependencies:
|
||||
codeql/cpp-all:
|
||||
version: 0.2.3
|
||||
version: 0.3.5
|
||||
compiled: false
|
||||
lockVersion: 1.0.0
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
- `A2-10-4` - `IdentifierNameOfStaticFunctionReusedInNamespace.ql`:
|
||||
- Reuse of an identifier name of a static function in a namespace is now detected.
|
||||
- `A2-10-4` - `IdentifierNameOfStaticNonMemberObjectReusedInNamespace.ql`:
|
||||
- Reuse of an identifier name of a static non-member object in a namespace is now detected.
|
||||
- `A2-10-5` - `IdentifierNameOfStaticNonMemberObjectWithExternalOrInternalLinkageIsReused.ql`:
|
||||
- Reuse of an identifier name of a static non-member object with internal linkage in a namespace is now detected.
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
dependencies:
|
||||
codeql/cpp-all:
|
||||
version: 0.2.3
|
||||
version: 0.3.5
|
||||
compiled: false
|
||||
lockVersion: 1.0.0
|
||||
|
|
|
@ -5,4 +5,4 @@ suites: codeql-suites
|
|||
license: MIT
|
||||
dependencies:
|
||||
codeql/common-cpp-coding-standards: '*'
|
||||
codeql/cpp-all: 0.2.3
|
||||
codeql/cpp-all: 0.3.5
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
dependencies:
|
||||
codeql/cpp-all:
|
||||
version: 0.2.3
|
||||
version: 0.3.5
|
||||
compiled: false
|
||||
lockVersion: 1.0.0
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
| test1a.cpp:13:13:13:14 | f1 | Static function $@ reuses identifier of $@ | test1a.cpp:13:13:13:14 | f1 | f1 | test1b.cpp:6:13:6:14 | f1 | f1 |
|
||||
| test1b.cpp:6:13:6:14 | f1 | Static function $@ reuses identifier of $@ | test1b.cpp:6:13:6:14 | f1 | f1 | test1a.cpp:13:13:13:14 | f1 | f1 |
|
|
@ -0,0 +1,2 @@
|
|||
| test1a.cpp:2:12:2:13 | v1 | Non-member static object $@ reuses identifier name of non-member static object $@ | test1a.cpp:2:12:2:13 | v1 | v1 | test1b.cpp:2:12:2:13 | v1 | v1 |
|
||||
| test1b.cpp:2:12:2:13 | v1 | Non-member static object $@ reuses identifier name of non-member static object $@ | test1b.cpp:2:12:2:13 | v1 | v1 | test1a.cpp:2:12:2:13 | v1 | v1 |
|
|
@ -3,7 +3,6 @@ static int v1 = 3; // NON_COMPLIANT
|
|||
} // namespace ns1
|
||||
|
||||
namespace ns3 {
|
||||
static void f1() {} // NON_COMPLIANT - Not accepted by Clang linker and
|
||||
// therefore not alerted upon.
|
||||
static void f1() {} // NON_COMPLIANT - Not accepted by Clang linker
|
||||
void f2() {} // COMPLIANT - Not accepted by Clang linker
|
||||
} // namespace ns3
|
||||
} // namespace ns3
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
| test1a.cpp:6:12:6:13 | g3 | Identifier name of non-member object $@ reuses the identifier name of non-member object $@. | test1a.cpp:6:12:6:13 | g3 | g3 | test1b.cpp:7:12:7:13 | g3 | g3 |
|
||||
| test1a.cpp:17:43:17:43 | number_two | Identifier name of non-member object $@ reuses the identifier name of non-member object $@. | test1a.cpp:17:43:17:43 | number_two | number_two | test1b.cpp:12:43:12:43 | number_two | number_two |
|
||||
| test1b.cpp:7:12:7:13 | g3 | Identifier name of non-member object $@ reuses the identifier name of non-member object $@. | test1b.cpp:7:12:7:13 | g3 | g3 | test1a.cpp:6:12:6:13 | g3 | g3 |
|
||||
| test1b.cpp:12:43:12:43 | number_two | Identifier name of non-member object $@ reuses the identifier name of non-member object $@. | test1b.cpp:12:43:12:43 | number_two | number_two | test1a.cpp:17:43:17:43 | number_two | number_two |
|
||||
| test1a.cpp:2:12:2:13 | g1 | Identifier name of non-member object $@ reuses the identifier name of non-member object $@. | test1a.cpp:2:12:2:13 | g1 | g1 | test1b.cpp:2:12:2:13 | g1 | g1 |
|
||||
| test1a.cpp:6:12:6:13 | g3 | Identifier name of non-member object $@ reuses the identifier name of non-member object $@. | test1a.cpp:6:12:6:13 | g3 | g3 | test1b.cpp:6:12:6:13 | g3 | g3 |
|
||||
| test1b.cpp:2:12:2:13 | g1 | Identifier name of non-member object $@ reuses the identifier name of non-member object $@. | test1b.cpp:2:12:2:13 | g1 | g1 | test1a.cpp:2:12:2:13 | g1 | g1 |
|
||||
| test1b.cpp:6:12:6:13 | g3 | Identifier name of non-member object $@ reuses the identifier name of non-member object $@. | test1b.cpp:6:12:6:13 | g3 | g3 | test1a.cpp:6:12:6:13 | g3 | g3 |
|
|
@ -1,2 +1,2 @@
|
|||
| test1a.cpp:7:13:7:14 | f1 | Identifier name of static function $@ reuses identifier name of static function $@ | test1a.cpp:7:13:7:14 | f1 | f1 | test1b.cpp:10:13:10:14 | f1 | f1 |
|
||||
| test1b.cpp:10:13:10:14 | f1 | Identifier name of static function $@ reuses identifier name of static function $@ | test1b.cpp:10:13:10:14 | f1 | f1 | test1a.cpp:7:13:7:14 | f1 | f1 |
|
||||
| test1a.cpp:7:13:7:14 | f1 | Identifier name of static function $@ reuses identifier name of static function $@ | test1a.cpp:7:13:7:14 | f1 | f1 | test1b.cpp:9:13:9:14 | f1 | f1 |
|
||||
| test1b.cpp:9:13:9:14 | f1 | Identifier name of static function $@ reuses identifier name of static function $@ | test1b.cpp:9:13:9:14 | f1 | f1 | test1a.cpp:7:13:7:14 | f1 | f1 |
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
namespace n1 {
|
||||
static int g1 = 1; // NON_COMPLIANT[FALSE_NEGATIVE], considered the same as
|
||||
// n1::g1 in test1a.cpp.
|
||||
static int g1 = 1; // NON_COMPLIANT
|
||||
}
|
||||
|
||||
namespace n2 {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
dependencies:
|
||||
codeql/cpp-all:
|
||||
version: 0.2.3
|
||||
version: 0.3.5
|
||||
compiled: false
|
||||
lockVersion: 1.0.0
|
||||
|
|
|
@ -4,5 +4,5 @@ description: CERT C++ 2016
|
|||
suites: codeql-suites
|
||||
license: MIT
|
||||
dependencies:
|
||||
codeql/cpp-all: 0.2.3
|
||||
codeql/cpp-all: 0.3.5
|
||||
codeql/common-cpp-coding-standards: '*'
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
dependencies:
|
||||
codeql/cpp-all:
|
||||
version: 0.2.3
|
||||
version: 0.3.5
|
||||
compiled: false
|
||||
lockVersion: 1.0.0
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
dependencies:
|
||||
codeql/cpp-all:
|
||||
version: 0.2.3
|
||||
version: 0.3.5
|
||||
compiled: false
|
||||
lockVersion: 1.0.0
|
||||
|
|
|
@ -2,4 +2,4 @@ name: codeql/common-cpp-coding-standards
|
|||
version: 2.14.0-dev
|
||||
license: MIT
|
||||
dependencies:
|
||||
codeql/cpp-all: 0.2.3
|
||||
codeql/cpp-all: 0.3.5
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
dependencies:
|
||||
codeql/cpp-all:
|
||||
version: 0.2.3
|
||||
version: 0.3.5
|
||||
compiled: false
|
||||
lockVersion: 1.0.0
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
dependencies:
|
||||
codeql/cpp-all:
|
||||
version: 0.2.3
|
||||
version: 0.3.5
|
||||
compiled: false
|
||||
lockVersion: 1.0.0
|
||||
|
|
|
@ -5,4 +5,4 @@ suites: codeql-suites
|
|||
license: MIT
|
||||
dependencies:
|
||||
codeql/common-cpp-coding-standards: '*'
|
||||
codeql/cpp-all: 0.2.3
|
||||
codeql/cpp-all: 0.3.5
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
dependencies:
|
||||
codeql/cpp-all:
|
||||
version: 0.2.3
|
||||
version: 0.3.5
|
||||
compiled: false
|
||||
lockVersion: 1.0.0
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
dependencies:
|
||||
codeql/cpp-all:
|
||||
version: 0.2.3
|
||||
version: 0.3.5
|
||||
compiled: false
|
||||
lockVersion: 1.0.0
|
||||
|
|
|
@ -2,4 +2,4 @@ name: codeql/report-cpp-coding-standards
|
|||
version: 2.14.0-dev
|
||||
license: MIT
|
||||
dependencies:
|
||||
codeql/cpp-all: 0.2.3
|
||||
codeql/cpp-all: 0.3.5
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
dependencies:
|
||||
codeql/cpp-all:
|
||||
version: 0.2.3
|
||||
version: 0.3.5
|
||||
compiled: false
|
||||
lockVersion: 1.0.0
|
||||
|
|
|
@ -2,4 +2,4 @@ name: codeql/standard-library-extraction-cpp-coding-standards
|
|||
version: 0.0.0
|
||||
license: MIT
|
||||
dependencies:
|
||||
codeql/cpp-all: 0.2.3
|
||||
codeql/cpp-all: 0.3.5
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
{
|
||||
"supported_environment": [
|
||||
{
|
||||
"codeql_cli": "2.9.4",
|
||||
"codeql_standard_library": "codeql-cli/v2.9.4",
|
||||
"codeql_cli_bundle": "codeql-bundle-20220615"
|
||||
"codeql_cli": "2.10.5",
|
||||
"codeql_standard_library": "codeql-cli/v2.10.5",
|
||||
"codeql_cli_bundle": "codeql-bundle-20220908"
|
||||
}
|
||||
],
|
||||
"supported_language" : [
|
||||
|
|
Загрузка…
Ссылка в новой задаче