Commit 07495b3
File tree
33 files changed
+1440
-31
lines changedFilter options
- .vscode
- c
- cert
- src/rules
- EXP33-C
- EXP34-C
- MEM30-C
- test/rules
- EXP33-C
- EXP34-C
- MEM30-C
- common/test/rules
- dereferenceofnullpointer
- readofuninitializedmemory
- misra
- src/rules/RULE-9-1
- test/rules/RULE-9-1
- cpp
- autosar
- src/rules/A5-3-2
- test/rules
- A5-3-2
- M5-3-2
- common
- src/codingstandards/cpp
- exclusions/c
- rules/dereferenceofnullpointer
- test/rules/dereferenceofnullpointer
- rule_packages
- c
- cpp
33 files changed
+1440
-31
lines changed+4Lines changed: 4 additions & 0 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
223 | 223 |
|
224 | 224 |
|
225 | 225 |
|
| 226 | + |
| 227 | + |
226 | 228 |
|
227 | 229 |
|
228 | 230 |
|
| ||
231 | 233 |
|
232 | 234 |
|
233 | 235 |
|
| 236 | + |
| 237 | + |
234 | 238 |
|
235 | 239 |
|
236 | 240 |
|
|
c/cert/src/rules/EXP33-C/DoNotReadUninitializedMemory.md
Copy file name to clipboardExpand all lines: c/cert/src/rules/EXP33-C/DoNotReadUninitializedMemory.md+417Lines changed: 417 additions & 0 deletions
Large diffs are not rendered by default.
c/cert/src/rules/EXP33-C/DoNotReadUninitializedMemory.ql
Copy file name to clipboard+23Lines changed: 23 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 | + |
c/cert/src/rules/EXP34-C/DoNotDereferenceNullPointers.md
Copy file name to clipboardExpand all lines: c/cert/src/rules/EXP34-C/DoNotDereferenceNullPointers.md+219Lines changed: 219 additions & 0 deletions
Large diffs are not rendered by default.
c/cert/src/rules/EXP34-C/DoNotDereferenceNullPointers.ql
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/src/rules/MEM30-C/DoNotAccessFreedMemory.md
Copy file name to clipboardExpand all lines: c/cert/src/rules/MEM30-C/DoNotAccessFreedMemory.md+258Lines changed: 258 additions & 0 deletions
Large diffs are not rendered by default.
c/cert/src/rules/MEM30-C/DoNotAccessFreedMemory.ql
Copy file name to clipboard+66Lines changed: 66 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 | + |
| 59 | + |
| 60 | + |
| 61 | + |
| 62 | + |
| 63 | + |
| 64 | + |
| 65 | + |
| 66 | + |
c/cert/test/rules/EXP33-C/DoNotReadUninitializedMemory.testref
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/EXP34-C/DoNotDereferenceNullPointers.testref
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/MEM30-C/DoNotAccessFreedMemory.expected
Copy file name to clipboard+5Lines changed: 5 additions & 0 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
c/cert/test/rules/MEM30-C/DoNotAccessFreedMemory.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/MEM30-C/test.c
Copy file name to clipboard+38Lines changed: 38 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 | + |
c/common/test/rules/dereferenceofnullpointer/DereferenceOfNullPointer.expected
Copy file name to clipboard+2Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
| 1 | + |
| 2 | + |
c/common/test/rules/dereferenceofnullpointer/DereferenceOfNullPointer.ql
Copy file name to clipboard+2Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
| 1 | + |
| 2 | + |
c/common/test/rules/dereferenceofnullpointer/test.c
Copy file name to clipboard+31Lines changed: 31 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 | + |
c/common/test/rules/readofuninitializedmemory/ReadOfUninitializedMemory.expected
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/common/test/rules/readofuninitializedmemory/ReadOfUninitializedMemory.ql
Copy file name to clipboard+2Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
| 1 | + |
| 2 | + |
c/common/test/rules/readofuninitializedmemory/test.c
Copy file name to clipboard+97Lines changed: 97 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 | + |
| 59 | + |
| 60 | + |
| 61 | + |
| 62 | + |
| 63 | + |
| 64 | + |
| 65 | + |
| 66 | + |
| 67 | + |
| 68 | + |
| 69 | + |
| 70 | + |
| 71 | + |
| 72 | + |
| 73 | + |
| 74 | + |
| 75 | + |
| 76 | + |
| 77 | + |
| 78 | + |
| 79 | + |
| 80 | + |
| 81 | + |
| 82 | + |
| 83 | + |
| 84 | + |
| 85 | + |
| 86 | + |
| 87 | + |
| 88 | + |
| 89 | + |
| 90 | + |
| 91 | + |
| 92 | + |
| 93 | + |
| 94 | + |
| 95 | + |
| 96 | + |
| 97 | + |
c/misra/src/rules/RULE-9-1/ObjectWithAutoStorageDurationReadBeforeInit.ql
Copy file name to clipboard+22Lines changed: 22 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 | + |
c/misra/test/rules/RULE-9-1/ObjectWithAutoStorageDurationReadBeforeInit.testref
Copy file name to clipboard+1Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
| 1 | + |
cpp/autosar/src/rules/A5-3-2/NullPointersDereferenced.ql
Copy file name to clipboardExpand all lines: cpp/autosar/src/rules/A5-3-2/NullPointersDereferenced.ql+6-7Lines changed: 6 additions & 7 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 |
| - |
| 19 | + |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | + |
cpp/autosar/test/rules/A5-3-2/NullPointersDereferenced.qlref
Copy file name to clipboardExpand all lines: cpp/autosar/test/rules/A5-3-2/NullPointersDereferenced.qlref-1Lines changed: 0 additions & 1 deletion
This file was deleted.
cpp/autosar/test/rules/A5-3-2/NullPointersDereferenced.testref
Copy file name to clipboard+1Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
| 1 | + |
cpp/autosar/test/rules/M5-3-2/test.cpp
Copy file name to clipboardExpand all lines: cpp/autosar/test/rules/M5-3-2/test.cpp+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
8 | 8 |
|
9 | 9 |
|
10 | 10 |
|
11 |
| - |
| 11 | + |
12 | 12 |
|
13 | 13 |
|
0 commit comments