Commit a20839c
File tree
16 files changed
+107
-56
lines changedFilter options
- c
- cert
- src/rules/STR34-C
- test/rules/STR34-C
- common/test/rules/castcharbeforeconvertingtolargersizes
- change_notes
- cpp/common
- src/codingstandards/cpp/rules/castcharbeforeconvertingtolargersizes
- test/rules/castcharbeforeconvertingtolargersizes
- rule_packages/c
16 files changed
+107
-56
lines changedc/cert/src/rules/STR34-C/CastCharBeforeConvertingToLargerSizes.ql
Copy file name to clipboardExpand all lines: c/cert/src/rules/STR34-C/CastCharBeforeConvertingToLargerSizes.ql+7-14Lines changed: 7 additions & 14 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
14 | 14 |
|
15 | 15 |
|
16 | 16 |
|
17 |
| - |
| 17 | + |
18 | 18 |
|
19 |
| - |
20 |
| - |
21 |
| - |
22 |
| - |
23 |
| - |
24 |
| - |
25 |
| - |
26 |
| - |
27 |
| - |
28 |
| - |
29 |
| - |
30 |
| - |
31 |
| - |
| 19 | + |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | + |
c/cert/test/rules/STR34-C/CastCharBeforeConvertingToLargerSizes.expected
Copy file name to clipboardExpand all lines: c/cert/test/rules/STR34-C/CastCharBeforeConvertingToLargerSizes.expected-21Lines changed: 0 additions & 21 deletions
This file was deleted.
c/cert/test/rules/STR34-C/CastCharBeforeConvertingToLargerSizes.qlref
Copy file name to clipboardExpand all lines: c/cert/test/rules/STR34-C/CastCharBeforeConvertingToLargerSizes.qlref-1Lines changed: 0 additions & 1 deletion
This file was deleted.
c/cert/test/rules/STR34-C/CastCharBeforeConvertingToLargerSizes.testref
Copy file name to clipboard+1Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
| 1 | + |
c/common/test/rules/castcharbeforeconvertingtolargersizes/CastCharBeforeConvertingToLargerSizes.expected
Copy file name to clipboard+21Lines changed: 21 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 | + |
c/cert/test/rules/STR34-C/CastCharBeforeConvertingToLargerSizes.expected.clang renamed to c/common/test/rules/castcharbeforeconvertingtolargersizes/CastCharBeforeConvertingToLargerSizes.expected.clang
Copy file name to clipboard+7-7Lines changed: 7 additions & 7 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
1 |
| - |
2 |
| - |
3 |
| - |
| 1 | + |
| 2 | + |
4 | 3 |
|
5 |
| - |
6 | 4 |
|
7 | 5 |
|
8 | 6 |
|
9 | 7 |
|
10 | 8 |
|
11 | 9 |
|
12 | 10 |
|
13 |
| - |
14 |
| - |
15 |
| - |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | + |
c/cert/test/rules/STR34-C/CastCharBeforeConvertingToLargerSizes.expected.gcc renamed to c/common/test/rules/castcharbeforeconvertingtolargersizes/CastCharBeforeConvertingToLargerSizes.expected.gcc
Copy file name to clipboard+6-6Lines changed: 6 additions & 6 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
1 |
| - |
2 |
| - |
3 |
| - |
| 1 | + |
| 2 | + |
4 | 3 |
|
5 |
| - |
6 | 4 |
|
7 | 5 |
|
8 | 6 |
|
9 | 7 |
|
10 | 8 |
|
11 | 9 |
|
12 | 10 |
|
13 |
| - |
14 |
| - |
| 11 | + |
| 12 | + |
| 13 | + |
15 | 14 |
|
| 15 | + |
c/cert/test/rules/STR34-C/CastCharBeforeConvertingToLargerSizes.expected.qcc renamed to c/common/test/rules/castcharbeforeconvertingtolargersizes/CastCharBeforeConvertingToLargerSizes.expected.qcc
Copy file name to clipboard+7-7Lines changed: 7 additions & 7 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
1 |
| - |
2 |
| - |
3 |
| - |
| 1 | + |
| 2 | + |
4 | 3 |
|
5 |
| - |
6 | 4 |
|
7 | 5 |
|
8 | 6 |
|
9 | 7 |
|
10 | 8 |
|
11 | 9 |
|
12 | 10 |
|
13 |
| - |
14 |
| - |
15 |
| - |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | + |
c/common/test/rules/castcharbeforeconvertingtolargersizes/CastCharBeforeConvertingToLargerSizes.ql
Copy file name to clipboard+4Lines changed: 4 additions & 0 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
c/cert/test/rules/STR34-C/test.c renamed to c/common/test/rules/castcharbeforeconvertingtolargersizes/test.c
Copy file name to clipboardExpand all lines: c/common/test/rules/castcharbeforeconvertingtolargersizes/test.c+2Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
| 1 | + |
| 2 | + |
1 | 3 |
|
2 | 4 |
|
3 | 5 |
|
|
change_notes/2024-07-05-fix-fp-576-STR34-C.md
Copy file name to clipboard+2Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
| 1 | + |
| 2 | + |
cpp/common/src/codingstandards/cpp/rules/castcharbeforeconvertingtolargersizes/CastCharBeforeConvertingToLargerSizes.qll
Copy file name to clipboard+26Lines changed: 26 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 | + |
cpp/common/test/rules/castcharbeforeconvertingtolargersizes/CastCharBeforeConvertingToLargerSizes.expected
Copy file name to clipboard+2Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
| 1 | + |
| 2 | + |
cpp/common/test/rules/castcharbeforeconvertingtolargersizes/CastCharBeforeConvertingToLargerSizes.ql
Copy file name to clipboard+4Lines changed: 4 additions & 0 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
cpp/common/test/rules/castcharbeforeconvertingtolargersizes/test.cpp
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 | + |
rule_packages/c/Strings3.json
Copy file name to clipboardExpand all lines: rule_packages/c/Strings3.json+1Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
12 | 12 |
|
13 | 13 |
|
14 | 14 |
|
| 15 | + |
15 | 16 |
|
16 | 17 |
|
17 | 18 |
|
|
0 commit comments