File tree
326 files changed
+752
-519
lines changed- c
- cert
- src
- rules
- ARR30-C
- ARR36-C
- ARR38-C
- CON31-C
- CON33-C
- CON35-C
- CON37-C
- CON38-C
- CON41-C
- DCL30-C
- DCL39-C
- ENV34-C
- ERR32-C
- EXP36-C
- EXP39-C
- EXP42-C
- FIO32-C
- FIO39-C
- FIO42-C
- MEM34-C
- MSC30-C
- MSC32-C
- MSC37-C
- test
- rules/EXP39-C
- common
- src
- 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
- codingstandards/c/misra
- rules
- DIR-4-2
- DIR-4-4
- DIR-4-5
- RULE-1-4
- RULE-11-7
- RULE-11-9
- RULE-12-2
- RULE-12-3
- RULE-12-4
- RULE-13-1
- RULE-15-2
- RULE-15-7
- RULE-16-1
- RULE-17-5
- RULE-18-1
- RULE-18-2
- RULE-18-3
- RULE-18-4
- RULE-18-5
- RULE-18-6
- RULE-2-1
- RULE-2-4
- RULE-2-7
- RULE-20-2
- RULE-20-6
- RULE-20-7
- RULE-21-14
- RULE-21-17
- RULE-21-20
- RULE-22-1
- RULE-22-2
- RULE-3-1
- RULE-5-1
- RULE-5-3
- RULE-5-4
- RULE-5-7
- RULE-8-6
- RULE-8-8
- RULE-8-9
- RULE-9-2
- RULE-9-4
- test
- rules/RULE-19-2
- cpp
- autosar
- src
- rules
- A0-1-3
- A12-1-5
- A12-7-1
- A15-5-3
- A16-2-1
- A17-6-1
- A18-0-2
- A18-5-10
- A18-5-8
- A18-5-9
- A2-7-2
- A20-8-1
- A25-1-1
- A26-5-1
- A27-0-2
- A5-0-2
- A5-0-3
- A5-1-1
- A5-1-3
- A5-1-4
- A5-1-9
- A5-2-3
- A5-2-5
- A5-3-2
- A5-5-1
- A7-6-1
- A8-4-9
- M0-1-3
- M15-3-3
- M16-0-5
- M16-0-6
- M2-10-1
- M3-2-4
- M3-3-2
- M3-4-1
- M5-0-15
- M5-0-16
- M5-0-18
- M5-18-1
- M5-19-1
- M6-4-4
- M7-5-2
- M8-0-1
- M8-5-2
- test
- cert
- src
- rules
- CON50-CPP
- CON53-CPP
- CON55-CPP
- CON56-CPP
- CTR58-CPP
- DCL51-CPP
- DCL55-CPP
- DCL58-CPP
- ERR50-CPP
- ERR52-CPP
- ERR53-CPP
- ERR58-CPP
- ERR62-CPP
- EXP55-CPP
- EXP61-CPP
- EXP63-CPP
- MEM55-CPP
- MEM56-CPP
- MSC50-CPP
- MSC53-CPP
- OOP55-CPP
- STR50-CPP
- test
- common
- src
- codingstandards/cpp
- enhancements
- rules/useinitializerbracestomatchaggregatetypestructure
- test
- 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
- scripts
- generate_modules/queries
- generate_rules
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
326 files changed
+752
-519
lines changedLines changed: 5 additions & 3 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 |
| |
9 |
| - | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
10 | 12 |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
5 | 5 |
| |
6 | 6 |
| |
7 | 7 |
| |
8 |
| - | |
| 8 | + |
Lines changed: 39 additions & 38 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
12 | 12 |
| |
13 | 13 |
| |
14 | 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 |
| - | |
| 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 | + |
Lines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
15 | 15 |
| |
16 | 16 |
| |
17 | 17 |
| |
18 |
| - | |
| 18 | + | |
| 19 | + | |
19 | 20 |
| |
20 | 21 |
| |
21 | 22 |
| |
|
Lines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
15 | 15 |
| |
16 | 16 |
| |
17 | 17 |
| |
18 |
| - | |
| 18 | + | |
| 19 | + | |
19 | 20 |
| |
20 | 21 |
| |
21 | 22 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
22 | 22 |
| |
23 | 23 |
| |
24 | 24 |
| |
25 |
| - | |
| 25 | + |
Lines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
16 | 16 |
| |
17 | 17 |
| |
18 | 18 |
| |
19 |
| - | |
| 19 | + | |
| 20 | + | |
20 | 21 |
| |
21 | 22 |
| |
22 | 23 |
| |
|
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
24 | 24 |
| |
25 | 25 |
| |
26 | 26 |
| |
27 |
| - | |
28 |
| - | |
| 27 | + | |
| 28 | + |
Lines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
16 | 16 |
| |
17 | 17 |
| |
18 | 18 |
| |
19 |
| - | |
| 19 | + | |
| 20 | + | |
20 | 21 |
| |
21 | 22 |
| |
22 | 23 |
| |
|
Lines changed: 1 addition & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
24 | 24 |
| |
25 | 25 |
| |
26 | 26 |
| |
27 |
| - | |
28 |
| - | |
| 27 | + |
Lines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
16 | 16 |
| |
17 | 17 |
| |
18 | 18 |
| |
19 |
| - | |
| 19 | + | |
| 20 | + | |
20 | 21 |
| |
21 | 22 |
| |
22 | 23 |
| |
|
Lines changed: 12 additions & 14 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
15 |
| - | |
16 |
| - | |
17 |
| - | |
18 |
| - | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
19 | 18 |
| |
20 |
| - | |
21 |
| - | |
22 |
| - | |
23 |
| - | |
24 |
| - | |
25 |
| - | |
26 |
| - | |
27 |
| - | |
28 |
| - | |
29 |
| - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + |
Lines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
15 | 15 |
| |
16 | 16 |
| |
17 | 17 |
| |
18 |
| - | |
| 18 | + | |
| 19 | + | |
19 | 20 |
| |
20 | 21 |
| |
21 | 22 |
| |
|
Lines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
15 | 15 |
| |
16 | 16 |
| |
17 | 17 |
| |
18 |
| - | |
| 18 | + | |
| 19 | + | |
19 | 20 |
| |
20 | 21 |
| |
21 | 22 |
| |
|
Lines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
16 | 16 |
| |
17 | 17 |
| |
18 | 18 |
| |
19 |
| - | |
| 19 | + | |
| 20 | + | |
20 | 21 |
| |
21 | 22 |
| |
22 | 23 |
| |
|
Lines changed: 0 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
16 | 16 |
| |
17 | 17 |
| |
18 | 18 |
| |
19 |
| - | |
20 | 19 |
| |
21 | 20 |
| |
22 | 21 |
| |
|
Lines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
118 | 118 |
| |
119 | 119 |
| |
120 | 120 |
| |
121 |
| - | |
| 121 | + | |
| 122 | + | |
122 | 123 |
| |
123 | 124 |
| |
124 | 125 |
| |
|
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
163 | 163 |
| |
164 | 164 |
| |
165 | 165 |
| |
166 |
| - | |
167 |
| - | |
| 166 | + | |
| 167 | + | |
168 | 168 |
| |
169 | 169 |
| |
170 | 170 |
| |
|
Lines changed: 1 addition & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
15 | 15 |
| |
16 | 16 |
| |
17 | 17 |
| |
18 |
| - | |
19 |
| - | |
20 |
| - | |
| 18 | + | |
21 | 19 |
|
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
89 | 89 |
| |
90 | 90 |
| |
91 | 91 |
| |
92 |
| - | |
| 92 | + | |
93 | 93 |
| |
94 | 94 |
| |
95 | 95 |
| |
| |||
98 | 98 |
| |
99 | 99 |
| |
100 | 100 |
| |
101 |
| - | |
| 101 | + | |
102 | 102 |
| |
103 | 103 |
| |
104 | 104 |
| |
|
Lines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
15 | 15 |
| |
16 | 16 |
| |
17 | 17 |
| |
18 |
| - | |
| 18 | + | |
| 19 | + | |
19 | 20 |
| |
20 | 21 |
| |
21 | 22 |
| |
|
Lines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
16 | 16 |
| |
17 | 17 |
| |
18 | 18 |
| |
19 |
| - | |
| 19 | + | |
| 20 | + | |
20 | 21 |
| |
21 | 22 |
| |
22 | 23 |
| |
|
Lines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
16 | 16 |
| |
17 | 17 |
| |
18 | 18 |
| |
19 |
| - | |
| 19 | + | |
| 20 | + | |
20 | 21 |
| |
21 | 22 |
| |
22 | 23 |
| |
|
Lines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
14 | 14 |
| |
15 | 15 |
| |
16 | 16 |
| |
17 |
| - | |
| 17 | + | |
| 18 | + | |
18 | 19 |
| |
19 | 20 |
| |
20 | 21 |
| |
|
Lines changed: 6 additions & 14 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
15 | 15 |
| |
16 | 16 |
| |
17 | 17 |
| |
18 |
| - | |
19 |
| - | |
20 |
| - | |
| 18 | + | |
21 | 19 |
| |
22 | 20 |
| |
23 |
| - | |
24 |
| - | |
25 |
| - | |
| 21 | + | |
26 | 22 |
| |
27 | 23 |
| |
28 | 24 |
| |
29 | 25 |
| |
30 | 26 |
| |
31 |
| - | |
32 |
| - | |
33 |
| - | |
34 |
| - | |
| 27 | + | |
| 28 | + | |
35 | 29 |
| |
36 | 30 |
| |
37 | 31 |
| |
38 |
| - | |
39 |
| - | |
| 32 | + | |
| 33 | + | |
40 | 34 |
| |
41 | 35 |
| |
42 |
| - | |
43 |
| - | |
44 | 36 |
|
Lines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
15 | 15 |
| |
16 | 16 |
| |
17 | 17 |
| |
18 |
| - | |
| 18 | + | |
| 19 | + | |
19 | 20 |
| |
20 | 21 |
| |
21 | 22 |
| |
|
Lines changed: 5 additions & 3 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 |
| |
9 |
| - | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
10 | 12 |
|
0 commit comments