File tree
6 files changed
+85
-45
lines changedFilter options
- c
- cert
- src/rules/EXP43-C
- test/rules/EXP43-C
- common/src/codingstandards/c
6 files changed
+85
-45
lines changedc/cert/src/rules/EXP43-C/DoNotPassAliasedPointerToRestrictQualifiedParam.ql
Copy file name to clipboardExpand all lines: c/cert/src/rules/EXP43-C/DoNotPassAliasedPointerToRestrictQualifiedParam.ql+30-12Lines changed: 30 additions & 12 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
49 | 49 |
|
50 | 50 |
|
51 | 51 |
|
52 |
| - |
53 |
| - |
| 52 | + |
| 53 | + |
54 | 54 |
|
55 | 55 |
|
56 | 56 |
|
| ||
69 | 69 |
|
70 | 70 |
|
71 | 71 |
|
| 72 | + |
| 73 | + |
72 | 74 |
|
73 |
| - |
| 75 | + |
74 | 76 |
|
| 77 | + |
| 78 | + |
75 | 79 |
|
76 | 80 |
|
77 | 81 |
|
| ||
101 | 105 |
|
102 | 106 |
|
103 | 107 |
|
104 |
| - |
| 108 | + |
105 | 109 |
|
106 | 110 |
|
| 111 | + |
| 112 | + |
| 113 | + |
| 114 | + |
107 | 115 |
|
108 | 116 |
|
109 | 117 |
|
110 | 118 |
|
111 |
| - |
| 119 | + |
| 120 | + |
112 | 121 |
|
113 | 122 |
|
114 | 123 |
|
115 |
| - |
116 |
| - |
117 |
| - |
| 124 | + |
| 125 | + |
| 126 | + |
| 127 | + |
| 128 | + |
118 | 129 |
|
119 | 130 |
|
120 | 131 |
|
121 |
| - |
| 132 | + |
| 133 | + |
| 134 | + |
| 135 | + |
122 | 136 |
|
123 | 137 |
|
124 | 138 |
|
125 |
| - |
| 139 | + |
| 140 | + |
| 141 | + |
| 142 | + |
126 | 143 |
|
127 | 144 |
|
128 | 145 |
|
| ||
146 | 163 |
|
147 | 164 |
|
148 | 165 |
|
149 |
| - |
150 |
| - |
| 166 | + |
| 167 | + |
| 168 | + |
c/cert/src/rules/EXP43-C/RestrictPointerReferencesOverlappingObject.ql
Copy file name to clipboardExpand all lines: c/cert/src/rules/EXP43-C/RestrictPointerReferencesOverlappingObject.ql+34-18Lines changed: 34 additions & 18 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
28 | 28 |
|
29 | 29 |
|
30 | 30 |
|
| 31 | + |
| 32 | + |
| 33 | + |
| 34 | + |
| 35 | + |
31 | 36 |
|
32 | 37 |
|
33 | 38 |
|
| ||
46 | 51 |
|
47 | 52 |
|
48 | 53 |
|
| 54 | + |
| 55 | + |
| 56 | + |
| 57 | + |
49 | 58 |
|
50 | 59 |
|
51 | 60 |
|
52 |
| - |
53 |
| - |
54 |
| - |
| 61 | + |
| 62 | + |
| 63 | + |
55 | 64 |
|
56 | 65 |
|
57 | 66 |
|
| 67 | + |
| 68 | + |
| 69 | + |
| 70 | + |
| 71 | + |
58 | 72 |
|
59 | 73 |
|
60 |
| - |
61 |
| - |
62 |
| - |
63 |
| - |
64 |
| - |
65 |
| - |
66 |
| - |
67 |
| - |
68 |
| - |
69 |
| - |
70 |
| - |
71 |
| - |
72 |
| - |
| 74 | + |
| 75 | + |
| 76 | + |
| 77 | + |
| 78 | + |
| 79 | + |
| 80 | + |
| 81 | + |
| 82 | + |
| 83 | + |
| 84 | + |
| 85 | + |
| 86 | + |
| 87 | + |
| 88 | + |
73 | 89 |
|
74 |
| - |
75 |
| - |
| 90 | + |
| 91 | + |
c/cert/test/rules/EXP43-C/DoNotPassAliasedPointerToRestrictQualifiedParam.expected
Copy file name to clipboard+6-5Lines changed: 6 additions & 5 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
1 |
| - |
2 |
| - |
3 |
| - |
4 |
| - |
5 |
| - |
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
c/cert/test/rules/EXP43-C/RestrictPointerReferencesOverlappingObject.expected
Copy file name to clipboard+9-8Lines changed: 9 additions & 8 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
1 |
| - |
2 |
| - |
3 |
| - |
4 |
| - |
5 |
| - |
6 |
| - |
7 |
| - |
8 |
| - |
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
c/cert/test/rules/EXP43-C/test.c
Copy file name to clipboardExpand all lines: c/cert/test/rules/EXP43-C/test.c+5-2Lines changed: 5 additions & 2 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
60 | 60 |
|
61 | 61 |
|
62 | 62 |
|
63 |
| - |
64 |
| - |
| 63 | + |
| 64 | + |
| 65 | + |
| 66 | + |
| 67 | + |
65 | 68 |
|
66 | 69 |
|
67 | 70 |
|
|
c/common/src/codingstandards/c/Variable.qll
Copy file name to clipboardExpand all lines: c/common/src/codingstandards/c/Variable.qll+1Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
47 | 47 |
|
48 | 48 |
|
49 | 49 |
|
| 50 | + |
50 | 51 |
|
51 | 52 |
|
52 | 53 |
|
|
0 commit comments