Commit 68ad087
authored
File tree
21 files changed
+126
-31
lines changedFilter options
- c
- cert/src/rules
- ENV33-C
- EXP37-C
- FIO39-C
- FIO42-C
- FIO46-C
- misra/src/rules
- RULE-13-3
- RULE-22-6
- RULE-22-7
- RULE-4-12
- RULE-4-8
- rule_packages/c
- schemas
- scripts
21 files changed
+126
-31
lines changedc/cert/src/rules/ENV33-C/DoNotCallSystem.ql
Copy file name to clipboardExpand all lines: c/cert/src/rules/ENV33-C/DoNotCallSystem.ql+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
7 | 7 |
|
8 | 8 |
|
9 | 9 |
|
10 |
| - |
| 10 | + |
11 | 11 |
|
12 | 12 |
|
13 | 13 |
|
|
c/cert/src/rules/EXP37-C/CallPOSIXOpenWithCorrectArgumentCount.md
Copy file name to clipboardExpand all lines: c/cert/src/rules/EXP37-C/CallPOSIXOpenWithCorrectArgumentCount.md+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
1 |
| - |
| 1 | + |
2 | 2 |
|
3 | 3 |
|
4 | 4 |
|
|
c/cert/src/rules/EXP37-C/CallPOSIXOpenWithCorrectArgumentCount.ql
Copy file name to clipboardExpand all lines: c/cert/src/rules/EXP37-C/CallPOSIXOpenWithCorrectArgumentCount.ql+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
1 | 1 |
|
2 | 2 |
|
3 |
| - |
| 3 | + |
4 | 4 |
|
5 | 5 |
|
6 | 6 |
|
|
c/cert/src/rules/EXP37-C/DoNotCallFunctionsWithIncompatibleArguments.md
Copy file name to clipboardExpand all lines: c/cert/src/rules/EXP37-C/DoNotCallFunctionsWithIncompatibleArguments.md+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
1 |
| - |
| 1 | + |
2 | 2 |
|
3 | 3 |
|
4 | 4 |
|
|
c/cert/src/rules/EXP37-C/DoNotCallFunctionsWithIncompatibleArguments.ql
Copy file name to clipboardExpand all lines: c/cert/src/rules/EXP37-C/DoNotCallFunctionsWithIncompatibleArguments.ql+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
1 | 1 |
|
2 | 2 |
|
3 |
| - |
| 3 | + |
4 | 4 |
|
5 | 5 |
|
6 | 6 |
|
|
c/cert/src/rules/FIO39-C/DoNotAlternatelyIOFromAStreamWithoutPositioning.ql
Copy file name to clipboardExpand all lines: c/cert/src/rules/FIO39-C/DoNotAlternatelyIOFromAStreamWithoutPositioning.ql+2-1Lines changed: 2 additions & 1 deletion
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 |
|
|
c/cert/src/rules/FIO42-C/CloseFilesWhenTheyAreNoLongerNeeded.ql
Copy file name to clipboardExpand all lines: c/cert/src/rules/FIO42-C/CloseFilesWhenTheyAreNoLongerNeeded.ql+2-1Lines changed: 2 additions & 1 deletion
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 |
|
|
c/cert/src/rules/FIO46-C/UndefinedBehaviorAccessingAClosedFile.ql
Copy file name to clipboardExpand all lines: c/cert/src/rules/FIO46-C/UndefinedBehaviorAccessingAClosedFile.ql+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
1 | 1 |
|
2 | 2 |
|
3 | 3 |
|
4 |
| - |
| 4 | + |
5 | 5 |
|
6 | 6 |
|
7 | 7 |
|
|
c/misra/src/rules/RULE-13-3/SideEffectAndCrementInFullExpression.ql
Copy file name to clipboardExpand all lines: c/misra/src/rules/RULE-13-3/SideEffectAndCrementInFullExpression.ql+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
3 | 3 |
|
4 | 4 |
|
5 | 5 |
|
6 |
| - |
| 6 | + |
7 | 7 |
|
8 | 8 |
|
9 | 9 |
|
|
c/misra/src/rules/RULE-22-6/FileUsedAfterClosed.ql
Copy file name to clipboardExpand all lines: c/misra/src/rules/RULE-22-6/FileUsedAfterClosed.ql+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
1 | 1 |
|
2 | 2 |
|
3 | 3 |
|
4 |
| - |
| 4 | + |
5 | 5 |
|
6 | 6 |
|
7 | 7 |
|
|
c/misra/src/rules/RULE-22-7/EofShallBeComparedWithUnmodifiedReturnValues.ql
Copy file name to clipboardExpand all lines: c/misra/src/rules/RULE-22-7/EofShallBeComparedWithUnmodifiedReturnValues.ql+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
2 | 2 |
|
3 | 3 |
|
4 | 4 |
|
5 |
| - |
| 5 | + |
6 | 6 |
|
7 | 7 |
|
8 | 8 |
|
|
c/misra/src/rules/RULE-4-12/StdLibDynamicMemoryAllocationUsed.ql
Copy file name to clipboardExpand all lines: c/misra/src/rules/RULE-4-12/StdLibDynamicMemoryAllocationUsed.ql+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
3 | 3 |
|
4 | 4 |
|
5 | 5 |
|
6 |
| - |
| 6 | + |
7 | 7 |
|
8 | 8 |
|
9 | 9 |
|
|
c/misra/src/rules/RULE-4-8/ObjectWithNoPointerDereferenceShouldBeOpaque.ql
Copy file name to clipboardExpand all lines: c/misra/src/rules/RULE-4-8/ObjectWithNoPointerDereferenceShouldBeOpaque.ql-1Lines changed: 0 additions & 1 deletion
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
10 | 10 |
|
11 | 11 |
|
12 | 12 |
|
13 |
| - |
14 | 13 |
|
15 | 14 |
|
16 | 15 |
|
|
rule_packages/c/Banned.json
Copy file name to clipboardExpand all lines: rule_packages/c/Banned.json+2-2Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
2 | 2 |
|
3 | 3 |
|
4 | 4 |
|
5 |
| - |
| 5 | + |
6 | 6 |
|
7 | 7 |
|
8 | 8 |
|
| ||
310 | 310 |
|
311 | 311 |
|
312 | 312 |
|
313 |
| - |
| 313 | + |
314 | 314 |
|
315 | 315 |
|
316 | 316 |
|
|
rule_packages/c/Expressions.json
Copy file name to clipboardExpand all lines: rule_packages/c/Expressions.json+2-2Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
22 | 22 |
|
23 | 23 |
|
24 | 24 |
|
25 |
| - |
| 25 | + |
26 | 26 |
|
27 | 27 |
|
28 | 28 |
|
| ||
33 | 33 |
|
34 | 34 |
|
35 | 35 |
|
36 |
| - |
| 36 | + |
37 | 37 |
|
38 | 38 |
|
39 | 39 |
|
|
+4-4Lines changed: 4 additions & 4 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
65 | 65 |
|
66 | 66 |
|
67 | 67 |
|
68 |
| - |
| 68 | + |
69 | 69 |
|
70 | 70 |
|
71 | 71 |
|
| ||
88 | 88 |
|
89 | 89 |
|
90 | 90 |
|
91 |
| - |
| 91 | + |
92 | 92 |
|
93 | 93 |
|
94 | 94 |
|
| ||
111 | 111 |
|
112 | 112 |
|
113 | 113 |
|
114 |
| - |
| 114 | + |
115 | 115 |
|
116 | 116 |
|
117 | 117 |
|
| ||
136 | 136 |
|
137 | 137 |
|
138 | 138 |
|
139 |
| - |
| 139 | + |
140 | 140 |
|
141 | 141 |
|
142 | 142 |
|
|
+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
113 | 113 |
|
114 | 114 |
|
115 | 115 |
|
116 |
| - |
| 116 | + |
117 | 117 |
|
118 | 118 |
|
119 | 119 |
|
|
rule_packages/c/Pointers1.json
Copy file name to clipboardExpand all lines: rule_packages/c/Pointers1.json+1-2Lines changed: 1 addition & 2 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
308 | 308 |
|
309 | 309 |
|
310 | 310 |
|
311 |
| - |
312 |
| - |
| 311 | + |
313 | 312 |
|
314 | 313 |
|
315 | 314 |
|
|
rule_packages/c/SideEffects2.json
Copy file name to clipboardExpand all lines: rule_packages/c/SideEffects2.json+1-1Lines changed: 1 addition & 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 |
|
|
schemas/rule-package.schema.json
Copy file name to clipboardExpand all lines: schemas/rule-package.schema.json+100-5Lines changed: 100 additions & 5 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
45 | 45 |
|
46 | 46 |
|
47 | 47 |
|
48 |
| - |
49 | 48 |
|
50 | 49 |
|
51 | 50 |
|
| ||
67 | 66 |
|
68 | 67 |
|
69 | 68 |
|
| 69 | + |
70 | 70 |
|
71 | 71 |
|
72 | 72 |
|
| ||
85 | 85 |
|
86 | 86 |
|
87 | 87 |
|
| 88 | + |
| 89 | + |
| 90 | + |
| 91 | + |
| 92 | + |
| 93 | + |
| 94 | + |
| 95 | + |
| 96 | + |
| 97 | + |
| 98 | + |
| 99 | + |
| 100 | + |
| 101 | + |
| 102 | + |
| 103 | + |
| 104 | + |
| 105 | + |
| 106 | + |
| 107 | + |
| 108 | + |
| 109 | + |
| 110 | + |
| 111 | + |
| 112 | + |
| 113 | + |
| 114 | + |
| 115 | + |
| 116 | + |
| 117 | + |
| 118 | + |
| 119 | + |
| 120 | + |
| 121 | + |
| 122 | + |
| 123 | + |
| 124 | + |
| 125 | + |
| 126 | + |
| 127 | + |
| 128 | + |
| 129 | + |
| 130 | + |
| 131 | + |
| 132 | + |
| 133 | + |
| 134 | + |
| 135 | + |
| 136 | + |
| 137 | + |
| 138 | + |
| 139 | + |
| 140 | + |
| 141 | + |
| 142 | + |
| 143 | + |
| 144 | + |
| 145 | + |
| 146 | + |
| 147 | + |
| 148 | + |
| 149 | + |
| 150 | + |
| 151 | + |
| 152 | + |
| 153 | + |
| 154 | + |
| 155 | + |
| 156 | + |
| 157 | + |
| 158 | + |
| 159 | + |
| 160 | + |
| 161 | + |
| 162 | + |
| 163 | + |
| 164 | + |
| 165 | + |
| 166 | + |
| 167 | + |
| 168 | + |
| 169 | + |
| 170 | + |
| 171 | + |
| 172 | + |
| 173 | + |
| 174 | + |
| 175 | + |
| 176 | + |
| 177 | + |
| 178 | + |
| 179 | + |
| 180 | + |
| 181 | + |
88 | 182 |
|
89 | 183 |
|
90 | 184 |
|
| ||
95 | 189 |
|
96 | 190 |
|
97 | 191 |
|
98 |
| - |
99 |
| - |
| 192 | + |
| 193 | + |
100 | 194 |
|
101 | 195 |
|
102 | 196 |
|
| ||
119 | 213 |
|
120 | 214 |
|
121 | 215 |
|
122 |
| - |
| 216 | + |
| 217 | + |
123 | 218 |
|
124 | 219 |
|
125 | 220 |
|
| ||
128 | 223 |
|
129 | 224 |
|
130 | 225 |
|
131 |
| - |
| 226 | + |
132 | 227 |
|
133 | 228 |
|
134 | 229 |
|
|
+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
12 | 12 |
|
13 | 13 |
|
14 | 14 |
|
15 |
| - |
| 15 | + |
16 | 16 |
|
0 commit comments