File tree
Expand file treeCollapse file tree
76 files changed
+242
-76
lines changedFilter options
- cpp/common/src/codingstandards/cpp/exclusions
- c
- cpp
- scripts
- generate_rules
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Expand file treeCollapse file tree
76 files changed
+242
-76
lines changedcpp/common/src/codingstandards/cpp/exclusions/c/Banned.qll
Copy file name to clipboardExpand all lines: cpp/common/src/codingstandards/cpp/exclusions/c/Banned.qll+3-1Lines changed: 3 additions & 1 deletion
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
24 | 24 |
|
25 | 25 |
|
26 | 26 |
|
27 |
| - |
| 27 | + |
| 28 | + |
| 29 | + |
28 | 30 |
|
29 | 31 |
|
30 | 32 |
|
|
cpp/common/src/codingstandards/cpp/exclusions/c/Concurrency1.qll
Copy file name to clipboardExpand all lines: cpp/common/src/codingstandards/cpp/exclusions/c/Concurrency1.qll+3-1Lines changed: 3 additions & 1 deletion
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
8 | 8 |
|
9 | 9 |
|
10 | 10 |
|
11 |
| - |
| 11 | + |
| 12 | + |
| 13 | + |
12 | 14 |
|
13 | 15 |
|
14 | 16 |
|
|
cpp/common/src/codingstandards/cpp/exclusions/c/Concurrency2.qll
Copy file name to clipboardExpand all lines: cpp/common/src/codingstandards/cpp/exclusions/c/Concurrency2.qll+3-1Lines changed: 3 additions & 1 deletion
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
7 | 7 |
|
8 | 8 |
|
9 | 9 |
|
10 |
| - |
| 10 | + |
| 11 | + |
| 12 | + |
11 | 13 |
|
12 | 14 |
|
13 | 15 |
|
|
cpp/common/src/codingstandards/cpp/exclusions/c/Concurrency3.qll
Copy file name to clipboardExpand all lines: cpp/common/src/codingstandards/cpp/exclusions/c/Concurrency3.qll+3-1Lines changed: 3 additions & 1 deletion
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
9 | 9 |
|
10 | 10 |
|
11 | 11 |
|
12 |
| - |
| 12 | + |
| 13 | + |
| 14 | + |
13 | 15 |
|
14 | 16 |
|
15 | 17 |
|
|
cpp/common/src/codingstandards/cpp/exclusions/c/Contracts1.qll
Copy file name to clipboardExpand all lines: cpp/common/src/codingstandards/cpp/exclusions/c/Contracts1.qll+3-1Lines changed: 3 additions & 1 deletion
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
7 | 7 |
|
8 | 8 |
|
9 | 9 |
|
10 |
| - |
| 10 | + |
| 11 | + |
| 12 | + |
11 | 13 |
|
12 | 14 |
|
13 | 15 |
|
|
cpp/common/src/codingstandards/cpp/exclusions/c/Declarations1.qll
Copy file name to clipboardExpand all lines: cpp/common/src/codingstandards/cpp/exclusions/c/Declarations1.qll+3-1Lines changed: 3 additions & 1 deletion
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
11 | 11 |
|
12 | 12 |
|
13 | 13 |
|
14 |
| - |
| 14 | + |
| 15 | + |
| 16 | + |
15 | 17 |
|
16 | 18 |
|
17 | 19 |
|
|
cpp/common/src/codingstandards/cpp/exclusions/c/Expressions.qll
Copy file name to clipboardExpand all lines: cpp/common/src/codingstandards/cpp/exclusions/c/Expressions.qll+3-1Lines changed: 3 additions & 1 deletion
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
9 | 9 |
|
10 | 10 |
|
11 | 11 |
|
12 |
| - |
| 12 | + |
| 13 | + |
| 14 | + |
13 | 15 |
|
14 | 16 |
|
15 | 17 |
|
|
cpp/common/src/codingstandards/cpp/exclusions/c/IO1.qll
Copy file name to clipboardExpand all lines: cpp/common/src/codingstandards/cpp/exclusions/c/IO1.qll+3-1Lines changed: 3 additions & 1 deletion
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
12 | 12 |
|
13 | 13 |
|
14 | 14 |
|
15 |
| - |
| 15 | + |
| 16 | + |
| 17 | + |
16 | 18 |
|
17 | 19 |
|
18 | 20 |
|
|
cpp/common/src/codingstandards/cpp/exclusions/c/IO2.qll
Copy file name to clipboardExpand all lines: cpp/common/src/codingstandards/cpp/exclusions/c/IO2.qll+3-1Lines changed: 3 additions & 1 deletion
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
9 | 9 |
|
10 | 10 |
|
11 | 11 |
|
12 |
| - |
| 12 | + |
| 13 | + |
| 14 | + |
13 | 15 |
|
14 | 16 |
|
15 | 17 |
|
|
cpp/common/src/codingstandards/cpp/exclusions/c/IO3.qll
Copy file name to clipboardExpand all lines: cpp/common/src/codingstandards/cpp/exclusions/c/IO3.qll+3-1Lines changed: 3 additions & 1 deletion
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
11 | 11 |
|
12 | 12 |
|
13 | 13 |
|
14 |
| - |
| 14 | + |
| 15 | + |
| 16 | + |
15 | 17 |
|
16 | 18 |
|
17 | 19 |
|
|
cpp/common/src/codingstandards/cpp/exclusions/c/Misc.qll
Copy file name to clipboardExpand all lines: cpp/common/src/codingstandards/cpp/exclusions/c/Misc.qll+3-1Lines changed: 3 additions & 1 deletion
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
8 | 8 |
|
9 | 9 |
|
10 | 10 |
|
11 |
| - |
| 11 | + |
| 12 | + |
| 13 | + |
12 | 14 |
|
13 | 15 |
|
14 | 16 |
|
|
cpp/common/src/codingstandards/cpp/exclusions/c/Pointers1.qll
Copy file name to clipboardExpand all lines: cpp/common/src/codingstandards/cpp/exclusions/c/Pointers1.qll+3-1Lines changed: 3 additions & 1 deletion
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
22 | 22 |
|
23 | 23 |
|
24 | 24 |
|
25 |
| - |
| 25 | + |
| 26 | + |
| 27 | + |
26 | 28 |
|
27 | 29 |
|
28 | 30 |
|
|
cpp/common/src/codingstandards/cpp/exclusions/c/Pointers2.qll
Copy file name to clipboardExpand all lines: cpp/common/src/codingstandards/cpp/exclusions/c/Pointers2.qll+3-1Lines changed: 3 additions & 1 deletion
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
5 | 5 |
|
6 | 6 |
|
7 | 7 |
|
8 |
| - |
| 8 | + |
| 9 | + |
| 10 | + |
9 | 11 |
|
10 | 12 |
|
11 | 13 |
|
|
cpp/common/src/codingstandards/cpp/exclusions/c/Preprocessor1.qll
Copy file name to clipboardExpand all lines: cpp/common/src/codingstandards/cpp/exclusions/c/Preprocessor1.qll+3-1Lines changed: 3 additions & 1 deletion
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
9 | 9 |
|
10 | 10 |
|
11 | 11 |
|
12 |
| - |
| 12 | + |
| 13 | + |
| 14 | + |
13 | 15 |
|
14 | 16 |
|
15 | 17 |
|
|
cpp/common/src/codingstandards/cpp/exclusions/c/Preprocessor2.qll
Copy file name to clipboardExpand all lines: cpp/common/src/codingstandards/cpp/exclusions/c/Preprocessor2.qll+3-1Lines changed: 3 additions & 1 deletion
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
9 | 9 |
|
10 | 10 |
|
11 | 11 |
|
12 |
| - |
| 12 | + |
| 13 | + |
| 14 | + |
13 | 15 |
|
14 | 16 |
|
15 | 17 |
|
|
cpp/common/src/codingstandards/cpp/exclusions/c/Preprocessor3.qll
Copy file name to clipboardExpand all lines: cpp/common/src/codingstandards/cpp/exclusions/c/Preprocessor3.qll+3-1Lines changed: 3 additions & 1 deletion
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
5 | 5 |
|
6 | 6 |
|
7 | 7 |
|
8 |
| - |
| 8 | + |
| 9 | + |
| 10 | + |
9 | 11 |
|
10 | 12 |
|
11 | 13 |
|
|
cpp/common/src/codingstandards/cpp/exclusions/c/Preprocessor4.qll
Copy file name to clipboardExpand all lines: cpp/common/src/codingstandards/cpp/exclusions/c/Preprocessor4.qll+3-1Lines changed: 3 additions & 1 deletion
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
8 | 8 |
|
9 | 9 |
|
10 | 10 |
|
11 |
| - |
| 11 | + |
| 12 | + |
| 13 | + |
12 | 14 |
|
13 | 15 |
|
14 | 16 |
|
|
cpp/common/src/codingstandards/cpp/exclusions/c/Preprocessor5.qll
Copy file name to clipboardExpand all lines: cpp/common/src/codingstandards/cpp/exclusions/c/Preprocessor5.qll+3-1Lines changed: 3 additions & 1 deletion
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
8 | 8 |
|
9 | 9 |
|
10 | 10 |
|
11 |
| - |
| 11 | + |
| 12 | + |
| 13 | + |
12 | 14 |
|
13 | 15 |
|
14 | 16 |
|
|
cpp/common/src/codingstandards/cpp/exclusions/c/SideEffects1.qll
Copy file name to clipboardExpand all lines: cpp/common/src/codingstandards/cpp/exclusions/c/SideEffects1.qll+3-1Lines changed: 3 additions & 1 deletion
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
15 | 15 |
|
16 | 16 |
|
17 | 17 |
|
18 |
| - |
| 18 | + |
| 19 | + |
| 20 | + |
19 | 21 |
|
20 | 22 |
|
21 | 23 |
|
|
cpp/common/src/codingstandards/cpp/exclusions/c/SideEffects2.qll
Copy file name to clipboardExpand all lines: cpp/common/src/codingstandards/cpp/exclusions/c/SideEffects2.qll+3-1Lines changed: 3 additions & 1 deletion
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
7 | 7 |
|
8 | 8 |
|
9 | 9 |
|
10 |
| - |
| 10 | + |
| 11 | + |
| 12 | + |
11 | 13 |
|
12 | 14 |
|
13 | 15 |
|
|
cpp/common/src/codingstandards/cpp/exclusions/c/Strings1.qll
Copy file name to clipboardExpand all lines: cpp/common/src/codingstandards/cpp/exclusions/c/Strings1.qll+3-1Lines changed: 3 additions & 1 deletion
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
8 | 8 |
|
9 | 9 |
|
10 | 10 |
|
11 |
| - |
| 11 | + |
| 12 | + |
| 13 | + |
12 | 14 |
|
13 | 15 |
|
14 | 16 |
|
|
cpp/common/src/codingstandards/cpp/exclusions/c/Strings2.qll
Copy file name to clipboardExpand all lines: cpp/common/src/codingstandards/cpp/exclusions/c/Strings2.qll+3-1Lines changed: 3 additions & 1 deletion
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
5 | 5 |
|
6 | 6 |
|
7 | 7 |
|
8 |
| - |
| 8 | + |
| 9 | + |
| 10 | + |
9 | 11 |
|
10 | 12 |
|
11 | 13 |
|
|
cpp/common/src/codingstandards/cpp/exclusions/c/Strings3.qll
Copy file name to clipboardExpand all lines: cpp/common/src/codingstandards/cpp/exclusions/c/Strings3.qll+3-1Lines changed: 3 additions & 1 deletion
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
7 | 7 |
|
8 | 8 |
|
9 | 9 |
|
10 |
| - |
| 10 | + |
| 11 | + |
| 12 | + |
11 | 13 |
|
12 | 14 |
|
13 | 15 |
|
|
cpp/common/src/codingstandards/cpp/exclusions/c/Syntax.qll
Copy file name to clipboardExpand all lines: cpp/common/src/codingstandards/cpp/exclusions/c/Syntax.qll+3-1Lines changed: 3 additions & 1 deletion
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
12 | 12 |
|
13 | 13 |
|
14 | 14 |
|
15 |
| - |
| 15 | + |
| 16 | + |
| 17 | + |
16 | 18 |
|
17 | 19 |
|
18 | 20 |
|
|
cpp/common/src/codingstandards/cpp/exclusions/cpp/Allocations.qll
Copy file name to clipboardExpand all lines: cpp/common/src/codingstandards/cpp/exclusions/cpp/Allocations.qll+3-1Lines changed: 3 additions & 1 deletion
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
26 | 26 |
|
27 | 27 |
|
28 | 28 |
|
29 |
| - |
| 29 | + |
| 30 | + |
| 31 | + |
30 | 32 |
|
31 | 33 |
|
32 | 34 |
|
|
cpp/common/src/codingstandards/cpp/exclusions/cpp/BannedFunctions.qll
Copy file name to clipboardExpand all lines: cpp/common/src/codingstandards/cpp/exclusions/cpp/BannedFunctions.qll+3-1Lines changed: 3 additions & 1 deletion
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
16 | 16 |
|
17 | 17 |
|
18 | 18 |
|
19 |
| - |
| 19 | + |
| 20 | + |
| 21 | + |
20 | 22 |
|
21 | 23 |
|
22 | 24 |
|
|
cpp/common/src/codingstandards/cpp/exclusions/cpp/BannedLibraries.qll
Copy file name to clipboardExpand all lines: cpp/common/src/codingstandards/cpp/exclusions/cpp/BannedLibraries.qll+3-1Lines changed: 3 additions & 1 deletion
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
17 | 17 |
|
18 | 18 |
|
19 | 19 |
|
20 |
| - |
| 20 | + |
| 21 | + |
| 22 | + |
21 | 23 |
|
22 | 24 |
|
23 | 25 |
|
|
cpp/common/src/codingstandards/cpp/exclusions/cpp/BannedSyntax.qll
Copy file name to clipboardExpand all lines: cpp/common/src/codingstandards/cpp/exclusions/cpp/BannedSyntax.qll+3-1Lines changed: 3 additions & 1 deletion
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
22 | 22 |
|
23 | 23 |
|
24 | 24 |
|
25 |
| - |
| 25 | + |
| 26 | + |
| 27 | + |
26 | 28 |
|
27 | 29 |
|
28 | 30 |
|
|
cpp/common/src/codingstandards/cpp/exclusions/cpp/BannedTypes.qll
Copy file name to clipboardExpand all lines: cpp/common/src/codingstandards/cpp/exclusions/cpp/BannedTypes.qll+3-1Lines changed: 3 additions & 1 deletion
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
9 | 9 |
|
10 | 10 |
|
11 | 11 |
|
12 |
| - |
| 12 | + |
| 13 | + |
| 14 | + |
13 | 15 |
|
14 | 16 |
|
15 | 17 |
|
|
cpp/common/src/codingstandards/cpp/exclusions/cpp/Classes.qll
Copy file name to clipboardExpand all lines: cpp/common/src/codingstandards/cpp/exclusions/cpp/Classes.qll+3-1Lines changed: 3 additions & 1 deletion
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
23 | 23 |
|
24 | 24 |
|
25 | 25 |
|
26 |
| - |
| 26 | + |
| 27 | + |
| 28 | + |
27 | 29 |
|
28 | 30 |
|
29 | 31 |
|
|
cpp/common/src/codingstandards/cpp/exclusions/cpp/Comments.qll
Copy file name to clipboardExpand all lines: cpp/common/src/codingstandards/cpp/exclusions/cpp/Comments.qll+3-1Lines changed: 3 additions & 1 deletion
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
10 | 10 |
|
11 | 11 |
|
12 | 12 |
|
13 |
| - |
| 13 | + |
| 14 | + |
| 15 | + |
14 | 16 |
|
15 | 17 |
|
16 | 18 |
|
|
cpp/common/src/codingstandards/cpp/exclusions/cpp/Concurrency.qll
Copy file name to clipboardExpand all lines: cpp/common/src/codingstandards/cpp/exclusions/cpp/Concurrency.qll+3-1Lines changed: 3 additions & 1 deletion
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
14 | 14 |
|
15 | 15 |
|
16 | 16 |
|
17 |
| - |
| 17 | + |
| 18 | + |
| 19 | + |
18 | 20 |
|
19 | 21 |
|
20 | 22 |
|
|
cpp/common/src/codingstandards/cpp/exclusions/cpp/Conditionals.qll
Copy file name to clipboardExpand all lines: cpp/common/src/codingstandards/cpp/exclusions/cpp/Conditionals.qll+3-1Lines changed: 3 additions & 1 deletion
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
22 | 22 |
|
23 | 23 |
|
24 | 24 |
|
25 |
| - |
| 25 | + |
| 26 | + |
| 27 | + |
26 | 28 |
|
27 | 29 |
|
28 | 30 |
|
|
cpp/common/src/codingstandards/cpp/exclusions/cpp/Const.qll
Copy file name to clipboardExpand all lines: cpp/common/src/codingstandards/cpp/exclusions/cpp/Const.qll+3-1Lines changed: 3 additions & 1 deletion
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
18 | 18 |
|
19 | 19 |
|
20 | 20 |
|
21 |
| - |
| 21 | + |
| 22 | + |
| 23 | + |
22 | 24 |
|
23 | 25 |
|
24 | 26 |
|
|
cpp/common/src/codingstandards/cpp/exclusions/cpp/DeadCode.qll
Copy file name to clipboardExpand all lines: cpp/common/src/codingstandards/cpp/exclusions/cpp/DeadCode.qll+3-1Lines changed: 3 additions & 1 deletion
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
21 | 21 |
|
22 | 22 |
|
23 | 23 |
|
24 |
| - |
| 24 | + |
| 25 | + |
| 26 | + |
25 | 27 |
|
26 | 28 |
|
27 | 29 |
|
|
cpp/common/src/codingstandards/cpp/exclusions/cpp/Declarations.qll
Copy file name to clipboardExpand all lines: cpp/common/src/codingstandards/cpp/exclusions/cpp/Declarations.qll+3-1Lines changed: 3 additions & 1 deletion
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
22 | 22 |
|
23 | 23 |
|
24 | 24 |
|
25 |
| - |
| 25 | + |
| 26 | + |
| 27 | + |
26 | 28 |
|
27 | 29 |
|
28 | 30 |
|
|
0 commit comments