File tree
Expand file treeCollapse file tree
11 files changed
+194
-26
lines changedFilter options
- c/cert
- src/rules/PRE32-C
- test/rules/PRE32-C
- cpp/common/src/codingstandards/cpp
- exclusions/c
- rules/preprocessingdirectivewithinmacroargument
- rule_packages/c
Expand file treeCollapse file tree
11 files changed
+194
-26
lines changedc/cert/src/rules/PRE32-C/MacroOrFunctionArgsContainHashToken.md
Copy file name to clipboard+17Lines changed: 17 additions & 0 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + |
c/cert/src/rules/PRE32-C/MacroOrFunctionArgsContainHashToken.ql
Copy file name to clipboard+58Lines changed: 58 additions & 0 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | + |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | + |
| 25 | + |
| 26 | + |
| 27 | + |
| 28 | + |
| 29 | + |
| 30 | + |
| 31 | + |
| 32 | + |
| 33 | + |
| 34 | + |
| 35 | + |
| 36 | + |
| 37 | + |
| 38 | + |
| 39 | + |
| 40 | + |
| 41 | + |
| 42 | + |
| 43 | + |
| 44 | + |
| 45 | + |
| 46 | + |
| 47 | + |
| 48 | + |
| 49 | + |
| 50 | + |
| 51 | + |
| 52 | + |
| 53 | + |
| 54 | + |
| 55 | + |
| 56 | + |
| 57 | + |
| 58 | + |
c/cert/test/rules/PRE32-C/MacroOrFunctionArgsContainHashToken.expected
Copy file name to clipboard+8Lines changed: 8 additions & 0 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
c/cert/test/rules/PRE32-C/MacroOrFunctionArgsContainHashToken.qlref
Copy file name to clipboard+1Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
| 1 | + |
c/cert/test/rules/PRE32-C/test.c
Copy file name to clipboard+29Lines changed: 29 additions & 0 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | + |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | + |
| 25 | + |
| 26 | + |
| 27 | + |
| 28 | + |
| 29 | + |
cpp/common/src/codingstandards/cpp/Macro.qll
Copy file name to clipboardExpand all lines: cpp/common/src/codingstandards/cpp/Macro.qll+6Lines changed: 6 additions & 0 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
63 | 63 |
|
64 | 64 |
|
65 | 65 |
|
| 66 | + |
| 67 | + |
| 68 | + |
| 69 | + |
| 70 | + |
| 71 | + |
cpp/common/src/codingstandards/cpp/PreprocessorDirective.qll
Copy file name to clipboard+32Lines changed: 32 additions & 0 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | + |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | + |
| 25 | + |
| 26 | + |
| 27 | + |
| 28 | + |
| 29 | + |
| 30 | + |
| 31 | + |
| 32 | + |
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+18-1Lines changed: 18 additions & 1 deletion
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
3 | 3 |
|
4 | 4 |
|
5 | 5 |
|
6 |
| - |
| 6 | + |
| 7 | + |
| 8 | + |
7 | 9 |
|
8 | 10 |
|
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | + |
9 | 19 |
|
10 | 20 |
|
11 | 21 |
|
| ||
16 | 26 |
|
17 | 27 |
|
18 | 28 |
|
| 29 | + |
| 30 | + |
| 31 | + |
| 32 | + |
| 33 | + |
| 34 | + |
| 35 | + |
19 | 36 |
|
20 | 37 |
|
21 | 38 |
|
|
cpp/common/src/codingstandards/cpp/rules/preprocessingdirectivewithinmacroargument/PreprocessingDirectiveWithinMacroArgument.qll
Copy file name to clipboardExpand all lines: cpp/common/src/codingstandards/cpp/rules/preprocessingdirectivewithinmacroargument/PreprocessingDirectiveWithinMacroArgument.qll+2-24Lines changed: 2 additions & 24 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
5 | 5 |
|
6 | 6 |
|
7 | 7 |
|
| 8 | + |
8 | 9 |
|
9 | 10 |
|
10 | 11 |
|
11 | 12 |
|
12 | 13 |
|
13 |
| - |
14 |
| - |
15 |
| - |
16 |
| - |
17 |
| - |
18 |
| - |
19 |
| - |
20 |
| - |
21 |
| - |
22 |
| - |
23 | 14 |
|
24 | 15 |
|
25 | 16 |
|
26 |
| - |
27 |
| - |
28 |
| - |
29 |
| - |
30 |
| - |
31 |
| - |
32 |
| - |
33 |
| - |
34 |
| - |
35 |
| - |
36 |
| - |
37 |
| - |
38 |
| - |
39 |
| - |
| 17 | + |
40 | 18 |
|
41 | 19 |
|
42 | 20 |
|
|
rule_packages/c/Preprocessor5.json
Copy file name to clipboardExpand all lines: rule_packages/c/Preprocessor5.json+22Lines changed: 22 additions & 0 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
1 | 1 |
|
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | + |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | + |
2 | 24 |
|
3 | 25 |
|
4 | 26 |
|
|
+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
587 | 587 |
|
588 | 588 |
|
589 | 589 |
|
590 |
| - |
| 590 | + |
591 | 591 |
|
592 | 592 |
|
593 | 593 |
|
|
0 commit comments