Commit bde048b
File tree
Expand file treeCollapse file tree
6 files changed
+73
-21
lines changedFilter options
- c
- common/src/codingstandards/c
- misra
- src/rules/RULE-1-3
- test/rules/RULE-1-3
- change_notes
- cpp/common/src/codingstandards/cpp
Expand file treeCollapse file tree
6 files changed
+73
-21
lines changedc/common/src/codingstandards/c/UndefinedBehavior.qll
Copy file name to clipboard+18-7Lines changed: 18 additions & 7 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
1 | 1 |
|
| 2 | + |
2 | 3 |
|
3 | 4 |
|
4 | 5 |
|
5 | 6 |
|
6 | 7 |
|
7 | 8 |
|
8 | 9 |
|
| 10 | + |
| 11 | + |
| 12 | + |
9 | 13 |
|
10 | 14 |
|
11 | 15 |
|
12 |
| - |
13 |
| - |
14 |
| - |
15 |
| - |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | + |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | + |
16 | 25 |
|
17 | 26 |
|
18 |
| - |
| 27 | + |
| 28 | + |
| 29 | + |
19 | 30 |
|
20 | 31 |
|
21 | 32 |
|
22 | 33 |
|
23 | 34 |
|
24 | 35 |
|
25 |
| - |
| 36 | + |
26 | 37 |
|
27 | 38 |
|
28 | 39 |
|
29 | 40 |
|
30 | 41 |
|
31 |
| - |
| 42 | + |
32 | 43 |
|
33 | 44 |
|
c/misra/src/rules/RULE-1-3/OccurrenceOfUndefinedBehavior.ql
Copy file name to clipboardExpand all lines: c/misra/src/rules/RULE-1-3/OccurrenceOfUndefinedBehavior.ql+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
18 | 18 |
|
19 | 19 |
|
20 | 20 |
|
21 |
| - |
| 21 | + |
c/misra/test/rules/RULE-1-3/OccurrenceOfUndefinedBehavior.expected
Copy file name to clipboard+8-5Lines changed: 8 additions & 5 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
1 |
| - |
2 |
| - |
3 |
| - |
4 |
| - |
5 |
| - |
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
c/misra/test/rules/RULE-1-3/test.c
Copy file name to clipboard+32-7Lines changed: 32 additions & 7 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
1 |
| - |
| 1 | + |
2 | 2 |
|
3 | 3 |
|
4 |
| - |
| 4 | + |
5 | 5 |
|
6 | 6 |
|
7 | 7 |
|
8 |
| - |
| 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 | + |
9 | 34 |
|
10 | 35 |
|
11 |
| - |
| 36 | + |
12 | 37 |
|
13 | 38 |
|
14 | 39 |
|
15 |
| - |
| 40 | + |
16 | 41 |
|
17 | 42 |
|
18 | 43 |
|
19 |
| - |
| 44 | + |
20 | 45 |
|
21 | 46 |
|
22 | 47 |
|
23 |
| - |
| 48 | + |
24 | 49 |
|
25 | 50 |
|
change_notes/2024-10-21-rule-1-3-main.md
Copy file name to clipboard+3Lines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
cpp/common/src/codingstandards/cpp/Pointers.qll
Copy file name to clipboardExpand all lines: cpp/common/src/codingstandards/cpp/Pointers.qll+11-1Lines changed: 11 additions & 1 deletion
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
6 | 6 |
|
7 | 7 |
|
8 | 8 |
|
9 |
| - |
| 9 | + |
10 | 10 |
|
11 | 11 |
|
12 | 12 |
|
| ||
15 | 15 |
|
16 | 16 |
|
17 | 17 |
|
| 18 | + |
| 19 | + |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | + |
| 25 | + |
| 26 | + |
| 27 | + |
18 | 28 |
|
19 | 29 |
|
20 | 30 |
|
|
0 commit comments