File tree
928 files changed
+12148
-2216
lines changed- .github
- actions/check-permissions
- workflows
- c
- cert
- src
- rules
- ARR39-C
- EXP43-C
- INT30-C
- PRE32-C
- test
- rules
- EXP43-C
- INT30-C
- MSC30-C
- PRE32-C
- common
- src
- codingstandards/c
- test
- rules
- amixedusemacroargumentsubjecttoexpansion
- atofatoiatolandatollused
- bitfieldshallhaveanappropriatetype
- constlikereturnvalue
- functionlikemacrosdefined
- gotoreferencealabelinsurroundingblock
- gotostatementcondition
- gotostatementshouldnotbeused
- invalidatedenvstringpointers
- invalidatedenvstringpointerswarn
- lowercaselstartsinliteralsuffix
- macroparameterfollowinghash
- namedbitfieldswithsignedintegertype
- nonterminatedescapesequences
- nonuniqueenumerationconstant
- resultofanassignmentoperatorshouldnotbeused
- unsignedoperationwithconstantoperandswraps
- useofnonzerooctalliteral
- misra
- src
- codingstandards/c/misra
- rules
- DIR-4-9
- RULE-10-1
- RULE-11-1
- RULE-11-2
- RULE-11-3
- RULE-11-4
- RULE-11-5
- RULE-11-6
- RULE-11-7
- RULE-11-9
- RULE-12-2
- RULE-13-2
- RULE-13-4
- RULE-15-1
- RULE-15-3
- RULE-15-6
- RULE-20-11
- RULE-20-12
- RULE-21-15
- RULE-21-7
- RULE-4-1
- RULE-5-8
- RULE-6-1
- RULE-6-2
- RULE-6-3
- RULE-7-2
- RULE-7-3
- RULE-8-12
- RULE-8-13
- RULE-8-3
- test
- c/misra
- rules
- DIR-4-2
- DIR-4-4
- DIR-4-5
- DIR-4-9
- RULE-10-1
- RULE-11-1
- RULE-11-4
- RULE-11-9
- RULE-12-2
- RULE-13-2
- RULE-13-4
- RULE-15-1
- RULE-15-3
- RULE-20-11
- RULE-20-12
- RULE-21-7
- RULE-4-1
- RULE-6-1
- RULE-6-2
- RULE-6-3
- RULE-7-1
- RULE-7-2
- RULE-7-3
- cpp
- RULE-8-12
- change_notes
- cpp
- autosar
- src
- rules
- A1-1-2
- A12-1-1
- A12-8-5
- A14-8-2
- A15-1-2
- A15-4-2
- A18-1-2
- A18-5-4
- A18-9-2
- A2-13-1
- A2-7-1
- A2-7-3
- A4-10-1
- A5-10-1
- A5-2-4
- A6-6-1
- A7-2-1
- A7-2-2
- A7-3-1
- A7-4-1
- A7-5-2
- A8-5-4
- M0-1-3
- M0-1-4
- M0-2-1
- M10-1-3
- M12-1-1
- M14-6-1
- M15-1-3
- M18-2-1
- M18-7-1
- M2-13-2
- M2-13-3
- M2-7-1
- M27-0-1
- M5-2-12
- M5-2-6
- M5-3-2
- M5-3-3
- M6-3-1
- M7-3-1
- M7-3-2
- M7-5-1
- M8-0-1
- M8-3-1
- M9-6-4
- test
- rules
- A1-1-2
- A1-1-2.2
- A12-1-1
- A12-8-5
- A14-8-2
- A15-1-2
- A15-4-2
- A18-1-2
- A18-5-4
- A18-9-2
- A2-13-1
- A2-7-1
- A2-7-3
- A4-10-1
- A5-10-1
- A5-2-4
- A6-6-1
- A7-2-1
- A7-2-2
- A7-3-1
- A7-4-1
- A7-5-2
- A8-5-4
- M0-1-10.1
- M0-1-3
- M0-2-1
- M10-1-3
- M12-1-1
- M14-6-1
- M15-1-3
- M18-2-1
- M18-7-1
- M2-13-2
- M2-13-3
- M2-7-1
- M27-0-1
- M5-2-12
- M5-2-6
- M5-3-2
- M5-3-3
- M6-3-1
- M7-3-1
- M7-3-2
- M7-5-1
- M8-0-1
- M8-3-1
- M9-6-4
- cert
- src
- test
- rules/DCL51-CPP
- common
- src
- codingstandards/cpp
- deadcode
- exclusions
- c
- cpp
- rules
- addressofoperatoroverloaded
- amixedusemacroargumentsubjecttoexpansion
- arraypassedasfunctionargumentdecaytoapointer
- asmdeclarationused
- atofatoiatolandatollused
- backslashcharactermisuse
- bitfieldshallhaveanappropriatetype
- builtinunaryoperatorappliedtounsignedexpression
- castsbetweenapointertofunctionandanyothertype
- charactersequenceusedwithinacstylecomment
- commaoperatorused
- constlikereturnvalue
- copyandmoveassignmentsshallhandleselfassignment
- csignalfunctionsused
- csignaltypesused
- cstdiofunctionsused
- cstdiomacrosused
- cstdiotypesused
- deadcode
- definitionnotconsideredforunqualifiedlookup
- dereferenceofnullpointer
- emptythrowonlywithinacatchhandler
- enumerationnotdefinedwithanexplicitunderlyingtype
- exceptionobjecthavepointertype
- forwardingreferencesandforwardnotusedtogether
- functionlikemacrosdefined
- functionscallthemselveseitherdirectlyorindirectly
- functiontemplatesexplicitlyspecialized
- globalnamespacedeclarations
- globalsizedoperatordeletenotdefined
- globalunsizedoperatordeletenotdefined
- gotoreferencealabelinsurroundingblock
- gotostatementshouldnotbeused
- handleallexceptionsduringstartup
- ifelseterminationconstruct
- initializeallvirtualbaseclasses
- initializerlistconstructoristheonlyconstructor
- linesplicingusedincomments
- loopcompoundcondition
- lowercaselstartsinliteralsuffix
- macrooffsetofused
- macroparameterfollowinghash
- macroparameternotenclosedinparentheses
- multipleglobalormemberdeclarators
- multiplelocaldeclarators
- namedbitfieldswithsignedintegertype
- namenotreferredusingaqualifiedidorthis
- namenotreferredusingaqualifiedidorthisaudit
- noexceptfunctionshouldnotpropagatetothecaller
- nonglobalfunctionmain
- nonterminatedescapesequences
- nonuniqueenumerationconstant
- notdistinctidentifier
- nullptrnottheonlyformofthenullpointerconstant
- objectsdynamictypeusedfromconstructorordestructor
- overridingshallspecifydifferentdefaultarguments
- potentiallyvirtualpointeronlycomparestonullptr
- predicatefunctionobjectsshouldnotbemutable
- preprocessingdirectivewithinmacroargument
- reinterpretcastused
- resultofanassignmentoperatorshouldnotbeused
- returnreferenceorpointertoautomaticlocalvariable
- switchcasepositioncondition
- switchcompoundcondition
- switchnotwellformed
- typeomitted
- unsignedintegerliteralsnotappropriatelysuffixed
- unsignedoperationwithconstantoperandswraps
- useofnonzerooctalliteral
- vectorshouldnotbespecializedwithbool
- virtualandnonvirtualclassinthehierarchy
- test
- includes/standard-library
- library/codingstandards/cpp/mainlikefunctions/typedefint
- rules
- addressofoperatoroverloaded
- amixedusemacroargumentsubjecttoexpansion
- arraypassedasfunctionargumentdecaytoapointer
- asmdeclarationused
- atofatoiatolandatollused
- backslashcharactermisuse
- bitfieldshallhaveanappropriatetype
- builtinunaryoperatorappliedtounsignedexpression
- castsbetweenapointertofunctionandanyothertype
- charactersequenceusedwithinacstylecomment
- constlikereturnvalue
- copyandmoveassignmentsshallhandleselfassignment
- csignalfunctionsused
- csignaltypesused
- cstdiofunctionsused
- cstdiomacrosused
- cstdiotypesused
- deadcode
- definitionnotconsideredforunqualifiedlookup
- emptythrowonlywithinacatchhandler
- enumerationnotdefinedwithanexplicitunderlyingtype
- exceptionobjecthavepointertype
- forwardingreferencesandforwardnotusedtogether
- functionlikemacrosdefined
- functionscallthemselveseitherdirectlyorindirectly
- functiontemplatesexplicitlyspecialized
- globalnamespacedeclarations
- globalsizedoperatordeletenotdefined
- globalunsizedoperatordeletenotdefined
- gotoreferencealabelinsurroundingblock
- gotostatementcondition
- gotostatementshouldnotbeused
- initializeallvirtualbaseclasses
- initializerlistconstructoristheonlyconstructor
- invalidatedenvstringpointers
- invalidatedenvstringpointerswarn
- linesplicingusedincomments
- loopcompoundcondition
- lowercaselstartsinliteralsuffix
- macrooffsetofused
- macroparameterfollowinghash
- multipleglobalormemberdeclarators
- multiplelocaldeclarators
- namedbitfieldswithsignedintegertype
- namenotreferredusingaqualifiedidorthis
- namenotreferredusingaqualifiedidorthisaudit
- noexceptfunctionshouldnotpropagatetothecaller
- nonglobalfunctionmain
- nonterminatedescapesequences
- nonuniqueenumerationconstant
- nullptrnottheonlyformofthenullpointerconstant
- objectsdynamictypeusedfromconstructorordestructor
- overridingshallspecifydifferentdefaultarguments
- potentiallyvirtualpointeronlycomparestonullptr
- reinterpretcastused
- resultofanassignmentoperatorshouldnotbeused
- returnreferenceorpointertoautomaticlocalvariable
- switchcompoundcondition
- unsignedintegerliteralsnotappropriatelysuffixed
- unsignedoperationwithconstantoperandswraps
- useofnonzerooctalliteral
- vectorshouldnotbespecializedwithbool
- virtualandnonvirtualclassinthehierarchy
- misra
- src
- codeql-suites
- codingstandards/cpp
- misra
- rules
- DIR-15-8-1
- DIR-5-7-2
- RULE-10-0-1
- RULE-10-2-1
- RULE-10-4-1
- RULE-11-3-2
- RULE-11-6-3
- RULE-12-2-2
- RULE-12-2-3
- RULE-13-1-2
- RULE-13-3-2
- RULE-13-3-4
- RULE-15-1-1
- RULE-15-1-2
- RULE-15-1-5
- RULE-16-5-2
- RULE-17-8-1
- RULE-18-1-1
- RULE-18-1-2
- RULE-18-3-3
- RULE-18-5-1
- RULE-19-0-2
- RULE-19-0-3
- RULE-19-1-3
- RULE-19-2-3
- RULE-19-3-1
- RULE-19-3-2
- RULE-19-3-3
- RULE-19-3-5
- RULE-21-10-3
- RULE-21-2-1
- RULE-21-2-4
- RULE-21-6-4
- RULE-21-6-5
- RULE-25-5-2
- RULE-25-5-3
- RULE-26-3-1
- RULE-28-6-2
- RULE-28-6-3
- RULE-30-0-1
- RULE-30-0-2
- RULE-5-13-1
- RULE-5-13-2
- RULE-5-13-3
- RULE-5-13-4
- RULE-5-13-5
- RULE-5-7-1
- RULE-5-7-3
- RULE-6-0-3
- RULE-6-0-4
- RULE-6-2-1
- RULE-6-4-1
- RULE-6-4-2
- RULE-6-4-3
- RULE-6-8-1
- RULE-6-8-2
- RULE-7-11-1
- RULE-7-11-2
- RULE-8-18-2
- RULE-8-19-1
- RULE-8-2-10
- RULE-8-2-3
- RULE-8-2-4
- RULE-8-2-5
- RULE-8-20-1
- RULE-8-3-1
- RULE-9-3-1
- RULE-9-4-1
- RULE-9-6-1
- RULE-9-6-2
- RULE-9-6-3
- RULE-9-6-4
- RULE-9-6-5
- test
- rules
- DIR-15-8-1
- DIR-5-7-2
- RULE-10-0-1
- RULE-10-2-1
- RULE-10-4-1
- RULE-11-3-2
- RULE-11-6-3
- RULE-12-2-2
- RULE-12-2-3
- RULE-13-1-2
- RULE-13-3-2
- RULE-13-3-4
- RULE-15-1-1
- RULE-15-1-2
- RULE-15-1-5
- RULE-16-5-2
- RULE-17-8-1
- RULE-18-1-1
- RULE-18-1-2
- RULE-18-3-3
- RULE-18-5-1
- RULE-19-0-2
- RULE-19-0-3
- RULE-19-1-3
- RULE-19-2-3
- RULE-19-3-1
- RULE-19-3-2
- RULE-19-3-3
- RULE-19-3-5
- RULE-21-10-3
- RULE-21-2-1
- RULE-21-2-4
- RULE-21-6-4
- RULE-21-6-5
- RULE-25-5-2
- RULE-25-5-3
- RULE-26-3-1
- RULE-28-6-2
- RULE-28-6-3
- RULE-30-0-1
- RULE-30-0-2
- RULE-5-13-1
- RULE-5-13-2
- RULE-5-13-3
- RULE-5-13-4
- RULE-5-13-5
- RULE-5-7-1
- RULE-5-7-3
- RULE-6-0-3
- RULE-6-0-4
- RULE-6-2-1
- RULE-6-4-1
- RULE-6-4-2
- RULE-6-4-3
- RULE-6-8-1
- RULE-6-8-2
- RULE-7-11-1
- RULE-7-11-2
- RULE-8-18-2
- RULE-8-19-1
- RULE-8-2-10
- RULE-8-2-3
- RULE-8-2-4
- RULE-8-2-5
- RULE-8-20-1
- RULE-8-3-1
- RULE-9-3-1
- RULE-9-4-1
- RULE-9-6-1
- RULE-9-6-2
- RULE-9-6-3
- RULE-9-6-4
- RULE-9-6-5
- report/src
- docs
- design
- rule_packages
- c
- cpp
- schemas
- scripts
- PSCodingStandards
- generate_rules
- templates
- matrix_testing
- release
- reports
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
928 files changed
+12148
-2216
lines changedLines changed: 49 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 | + |
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
103 | 103 |
| |
104 | 104 |
| |
105 | 105 |
| |
106 |
| - | |
| 106 | + | |
107 | 107 |
| |
108 | 108 |
| |
109 |
| - | |
| 109 | + | |
110 | 110 |
| |
111 | 111 |
| |
112 | 112 |
|
Lines changed: 14 additions & 12 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 |
| |
| |||
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
14 | 22 |
| |
15 |
| - | |
16 |
| - | |
17 |
| - | |
18 |
| - | |
19 |
| - | |
20 | 23 |
| |
21 |
| - | |
| 24 | + | |
22 | 25 |
| |
23 | 26 |
| |
24 | 27 |
| |
25 | 28 |
| |
26 | 29 |
| |
27 |
| - | |
28 |
| - | |
| 30 | + | |
29 | 31 |
| |
30 | 32 |
| |
31 |
| - | |
| 33 | + | |
32 | 34 |
| |
33 | 35 |
| |
34 | 36 |
| |
35 | 37 |
| |
36 | 38 |
| |
37 | 39 |
| |
38 | 40 |
| |
39 |
| - | |
| 41 | + |
Lines changed: 9 additions & 20 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3 | 3 |
| |
4 | 4 |
| |
5 | 5 |
| |
6 |
| - | |
7 |
| - | |
8 |
| - | |
9 |
| - | |
10 |
| - | |
11 | 6 |
| |
12 | 7 |
| |
13 | 8 |
| |
14 | 9 |
| |
15 | 10 |
| |
| 11 | + | |
| 12 | + | |
16 | 13 |
| |
17 |
| - | |
18 |
| - | |
19 |
| - | |
20 |
| - | |
21 |
| - | |
22 |
| - | |
23 |
| - | |
24 |
| - | |
25 |
| - | |
26 |
| - | |
27 |
| - | |
28 |
| - | |
29 |
| - | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
30 | 19 |
| |
31 | 20 |
| |
32 |
| - | |
| 21 | + | |
33 | 22 |
| |
34 | 23 |
| |
35 | 24 |
| |
| |||
38 | 27 |
| |
39 | 28 |
| |
40 | 29 |
| |
41 |
| - | |
| 30 | + | |
42 | 31 |
| |
43 | 32 |
| |
44 | 33 |
| |
|
Lines changed: 11 additions & 21 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3 | 3 |
| |
4 | 4 |
| |
5 | 5 |
| |
6 |
| - | |
7 |
| - | |
8 |
| - | |
9 |
| - | |
10 | 6 |
| |
11 | 7 |
| |
12 | 8 |
| |
13 | 9 |
| |
14 | 10 |
| |
| 11 | + | |
| 12 | + | |
15 | 13 |
| |
16 |
| - | |
17 |
| - | |
18 |
| - | |
19 |
| - | |
20 |
| - | |
21 |
| - | |
22 |
| - | |
23 |
| - | |
24 |
| - | |
25 |
| - | |
26 |
| - | |
27 |
| - | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
28 | 19 |
| |
29 | 20 |
| |
30 |
| - | |
| 21 | + | |
31 | 22 |
| |
32 | 23 |
| |
33 | 24 |
| |
34 | 25 |
| |
35 | 26 |
| |
36 |
| - | |
37 |
| - | |
| 27 | + | |
38 | 28 |
| |
39 | 29 |
| |
40 |
| - | |
| 30 | + | |
41 | 31 |
| |
42 | 32 |
| |
43 | 33 |
| |
44 | 34 |
| |
45 | 35 |
| |
46 | 36 |
| |
47 | 37 |
| |
48 |
| - | |
| 38 | + |
Lines 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: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
143 | 143 |
| |
144 | 144 |
| |
145 | 145 |
| |
146 |
| - | |
| 146 | + | |
147 | 147 |
| |
148 | 148 |
| |
149 | 149 |
| |
|
Lines changed: 7 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
56 | 56 |
| |
57 | 57 |
| |
58 | 58 |
| |
59 |
| - | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + |
Lines changed: 49 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 | + |
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: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
13 | 13 |
| |
14 | 14 |
| |
15 | 15 |
| |
16 |
| - | |
| 16 | + | |
17 | 17 |
| |
18 | 18 |
| |
19 | 19 |
| |
|
0 commit comments