File tree
385 files changed
+2526
-603
lines changed- .github/workflows
- c
- cert
- src
- rules
- ENV32-C
- ERR33-C
- EXP43-C
- STR32-C
- STR38-C
- test
- rules
- ARR39-C
- CON40-C
- CON41-C
- ENV32-C
- ERR30-C
- EXP39-C
- FIO32-C
- FIO47-C
- STR32-C
- STR34-C
- STR37-C
- STR38-C
- common
- src
- codingstandards/c
- test
- rules
- commaoperatorused
- constantunsignedintegerexpressionswraparound
- constlikereturnvalue
- deadcode
- declaredareservedidentifier
- dereferenceofnullpointer
- differentidentifiersnottypographicallyunambiguous
- donotaccessaclosedfile
- donotallowamutextogooutofscopewhilelocked
- donotcopyaddressofautostorageobjecttootherobject
- donotdestroyamutexwhileitislocked
- donotsubtractpointersaddressingdifferentarrays
- donotusemorethantwolevelsofpointerindirection
- donotusepointerarithmetictoaddressdifferentarrays
- donotuserandforgeneratingpseudorandomnumbers
- donotuserelationaloperatorswithdifferingarrays
- gotostatementcondition
- guardaccesstobitfields
- hashoperatorsused
- ifelseterminationconstruct
- includeguardsnotused
- informationleakageacrossboundaries
- invalidatedenvstringpointers
- invalidatedenvstringpointerswarn
- iofstreammissingpositioning
- macroparameternotenclosedinparentheses
- memcmpusedtocomparepaddingdata
- nestedlabelinswitch
- nonconstantformat
- nonvoidfunctiondoesnotreturn
- notdistinctidentifier
- preprocessingdirectivewithinmacroargument
- preprocessorincludesforbiddenheadernames
- preprocessorincludespreceded
- preservesafetywhenusingconditionvariables
- preventdeadlockbylockinginpredefinedorder
- readofuninitializedmemory
- sectionsofcodeshallnotbecommentedout
- switchcasepositioncondition
- switchnotwellformed
- typeomitted
- uncheckedrangedomainpoleerrors
- undefinedmacroidentifiers
- unreachablecode
- unusedparameter
- unusedtypedeclarations
- usageofassemblernotdocumented
- useinitializerbracestomatchaggregatetypestructure
- useonlyarrayindexingforpointerarithmetic
- wrapspuriousfunctioninloop
- misra
- src
- rules
- RULE-10-6
- RULE-20-10
- RULE-20-2
- RULE-20-9
- RULE-21-4
- test
- rules
- RULE-1-2
- RULE-1-3
- RULE-10-6
- RULE-21-4
- change_notes
- cpp
- autosar
- src
- codeql-suites
- rules
- A0-4-1
- A0-4-3
- A1-1-1
- A1-1-3
- A14-7-2
- A15-3-3
- A15-3-5
- A15-4-4
- A16-2-1
- A17-1-1
- A18-1-1
- A18-1-2
- A18-1-3
- A18-9-1
- A2-13-3
- A2-7-3
- A27-0-4
- A5-1-1
- A7-1-5
- A8-4-4
- M16-0-7
- M16-3-2
- M17-0-5
- test
- rules
- A0-1-1
- A0-4-1
- A0-4-3
- A1-1-1
- A1-1-2
- A1-1-2.1
- A1-1-2.2
- A1-1-2.3
- A1-1-3
- A14-7-2
- A15-1-5
- A15-4-4
- A16-2-2
- A18-0-1
- A18-0-3
- A18-1-1
- A18-1-2
- A18-5-6
- A18-9-1
- A2-3-1
- A2-7-3
- A23-0-1
- A27-0-4
- A4-10-1
- A4-5-1
- A5-0-4
- A5-1-1
- A5-2-2
- A5-2-6
- A7-1-1
- M0-1-4
- M17-0-5
- M18-2-1
- M18-7-1
- M27-0-1
- M4-10-2
- cert
- src
- rules
- CON56-CPP
- DCL51-CPP
- ERR52-CPP
- ERR61-CPP
- MSC51-CPP
- test
- rules
- DCL51-CPP
- ERR52-CPP
- ERR59-CPP
- EXP60-CPP
- MSC51-CPP
- common
- src
- codingstandards/cpp
- exclusions
- rules
- catchexceptionsbylvaluereference
- containeraccesswithoutrangecheck
- donotaccessaclosedfile
- exithandlerthrowsexception
- hashoperatorsused
- nonstandardentitiesinstandardnamespaces
- orderingpredicatemustbestrictlyweak
- preprocessorincludesforbiddenheadernames
- undefinedmacroidentifiers
- standardlibrary
- test
- includes/standard-library
- rules
- accessofnonexistingmemberthroughpointertomember
- accessofundefinedmemberthroughnullpointer
- accessofundefinedmemberthroughuninitializedstaticpointer
- basicstringmaynotbenullterminated
- catchblockshadowing
- catchexceptionsbylvaluereference
- commaoperatorused
- conditionvariablepostconditionfailed
- constantunsignedintegerexpressionswraparound
- containeraccesswithoutrangecheck
- danglingcapturewhenmovinglambdaobject
- danglingcapturewhenreturninglambdaobject
- deadcode
- deleteofpointertoincompleteclass
- dereferenceofnullpointer
- destroyedvaluereferencedindestructorcatchblock
- differentidentifiersnottypographicallyunambiguous
- donotallowamutextogooutofscopewhilelocked
- donotcopyaddressofautostorageobjecttootherobject
- donotdestroyamutexwhileitislocked
- donotsubtractpointersaddressingdifferentarrays
- donotusemorethantwolevelsofpointerindirection
- donotusepointerarithmetictoaddressdifferentarrays
- donotuserandforgeneratingpseudorandomnumbers
- donotuserelationaloperatorswithdifferingarrays
- exceptionsafetyguarantees
- exceptionsafetyvalidstate
- exithandlerthrowsexception
- explicitabrupttermination
- functionnoreturnattributecondition
- gotostatementcondition
- guardaccesstobitfields
- handleallexceptionsduringstartup
- hashoperatorsused
- ifelseterminationconstruct
- includeguardsnotused
- informationleakageacrossboundaries
- iofstreammissingpositioning
- joinablethreadcopiedordestroyed
- macroparameternotenclosedinparentheses
- memcmpusedtocomparepaddingdata
- movedfromobjectsunspecifiedstate
- nestedlabelinswitch
- nonbooleanifstmt
- nonbooleaniterationstmt
- nonconstantformat
- nonstandardentitiesinstandardnamespaces
- nonvoidfunctiondoesnotreturn
- objectaccessedafterlifetime
- objectaccessedbeforelifetime
- onedefinitionruleviolation
- operationmaynotnullterminatecstylestring
- operatordeletemissingpartner
- orderingpredicatemustbestrictlyweak
- placementnewinsufficientstorage
- placementnewnotproperlyaligned
- predicatefunctionobjectsshouldnotbemutable
- preprocessingdirectivewithinmacroargument
- preprocessorincludesforbiddenheadernames
- preprocessorincludespreceded
- preservesafetywhenusingconditionvariables
- preventdeadlockbylockinginpredefinedorder
- readofuninitializedmemory
- removeconstorvolatilequalification
- rethrownestedwithoutcapture
- sectionsofcodeshallnotbecommentedout
- stringnumberconversionmissingerrorcheck
- switchcasepositioncondition
- switchnotwellformed
- throwingnothrowoperatornewdelete
- throwingoperatornewreturnsnull
- throwingoperatornewthrowsinvalidexception
- uncheckedrangedomainpoleerrors
- undefinedmacroidentifiers
- unreachablecode
- unusedparameter
- unusedtypedeclarations
- usageofassemblernotdocumented
- usecanonicalorderformemberinit
- useinitializerbracestomatchaggregatetypestructure
- useonlyarrayindexingforpointerarithmetic
- validcontainerelementaccess
- wrapspuriousfunctioninloop
- misra
- src
- test
- report/src
- docs
- rule_packages
- c
- cpp
- scripts
- generate_rules
- matrix_testing
- reports
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
385 files changed
+2526
-603
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
35 | 35 |
| |
36 | 36 |
| |
37 | 37 |
| |
38 |
| - | |
| 38 | + | |
39 | 39 |
| |
40 | 40 |
| |
41 | 41 |
| |
|
Lines changed: 4 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
9 | 9 |
| |
10 | 10 |
| |
11 | 11 |
| |
12 |
| - | |
13 |
| - | |
| 12 | + | |
| 13 | + | |
14 | 14 |
| |
15 | 15 |
| |
16 | 16 |
| |
| |||
50 | 50 |
| |
51 | 51 |
| |
52 | 52 |
| |
| 53 | + | |
| 54 | + |
Lines 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 |
| |
|
Lines changed: 27 additions & 15 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
14 | 14 |
| |
15 | 15 |
| |
16 | 16 |
| |
17 |
| - | |
18 |
| - | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
19 | 24 |
| |
20 | 25 |
| |
21 |
| - | |
22 |
| - | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
23 | 32 |
| |
24 | 33 |
| |
| 34 | + | |
| 35 | + | |
| 36 | + | |
25 | 37 |
| |
26 | 38 |
| |
27 | 39 |
| |
| |||
32 | 44 |
| |
33 | 45 |
| |
34 | 46 |
| |
35 |
| - | |
36 |
| - | |
| 47 | + | |
| 48 | + | |
37 | 49 |
| |
38 | 50 |
| |
39 | 51 |
| |
40 | 52 |
| |
41 | 53 |
| |
42 | 54 |
| |
43 | 55 |
| |
44 |
| - | |
45 |
| - | |
| 56 | + | |
| 57 | + | |
46 | 58 |
| |
47 | 59 |
| |
48 | 60 |
| |
49 | 61 |
| |
| 62 | + | |
| 63 | + | |
50 | 64 |
| |
51 |
| - | |
52 |
| - | |
| 65 | + | |
| 66 | + | |
53 | 67 |
| |
54 | 68 |
| |
55 | 69 |
| |
| |||
62 | 76 |
| |
63 | 77 |
| |
64 | 78 |
| |
65 |
| - | |
66 |
| - | |
67 |
| - | |
68 |
| - | |
| 79 | + | |
| 80 | + | |
69 | 81 |
| |
70 | 82 |
| |
71 | 83 |
| |
72 |
| - | |
| 84 | + | |
73 | 85 |
| |
74 | 86 |
| |
75 | 87 |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
441 | 441 |
| |
442 | 442 |
| |
443 | 443 |
| |
444 |
| - | |
| 444 | + | |
445 | 445 |
| |
446 | 446 |
| |
447 | 447 |
| |
|
Lines changed: 19 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
25 | 25 |
| |
26 | 26 |
| |
27 | 27 |
| |
28 |
| - | |
29 | 28 |
| |
30 |
| - | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
31 | 48 |
| |
32 | 49 |
| |
33 | 50 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
271 | 271 |
| |
272 | 272 |
| |
273 | 273 |
| |
274 |
| - | |
| 274 | + | |
275 | 275 |
| |
276 | 276 |
| |
277 | 277 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
131 | 131 |
| |
132 | 132 |
| |
133 | 133 |
| |
134 |
| - | |
| 134 | + | |
135 | 135 |
| |
136 | 136 |
| |
137 | 137 |
| |
|
Lines changed: 2 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
63 | 63 |
| |
64 | 64 |
| |
65 | 65 |
| |
66 |
| - | |
67 |
| - | |
68 |
| - | |
| 66 | + | |
| 67 | + |
Lines 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 |
| |
|
Lines 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 | + |
Lines changed: 6 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + |
Lines changed: 4 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + |
Lines changed: 13 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 | + |
Lines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + |
Lines changed: 62 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 | + |
0 commit comments