Overall Result: FAIL |
---|
Report Production | Report Configuration | Analysis phases |
---|---|---|
|
|
|
Number of Violations | LDRA Code | (M) Mandatory Standards | MISRA-C:2012 Code |
---|---|---|---|
|
36 S | ||
|
54 S | ||
|
66 S | ||
|
407 S | ||
|
480 S | ||
|
483 S | ||
|
484 S | ||
|
496 S | ||
|
545 S | ||
|
591 S | ||
|
614 S | ||
|
631 S | ||
|
2 D | ||
|
48 D | ||
|
51 D | ||
|
53 D | ||
|
69 D | ||
|
98 D |
Number of Violations | LDRA Code | Required Standards | MISRA-C:2012 Code |
---|---|---|---|
|
1 S | ||
|
9 S | ||
|
11 S | ||
|
12 S | ||
|
20 S | ||
|
21 S | ||
|
30 S | ||
|
35 S | ||
|
37 S | ||
|
39 S | ||
|
43 S | ||
|
44 S | ||
|
47 S | ||
|
48 S | ||
|
50 S | ||
|
51 S | ||
|
52 S | ||
|
57 S | ||
|
59 S | ||
|
60 S | ||
|
61 S | ||
|
62 S | ||
|
63 S | ||
|
64 S | ||
|
65 S | ||
|
71 S | ||
|
72 S | ||
|
73 S | ||
|
76 S | ||
|
78 S | ||
|
83 S | ||
|
86 S | ||
|
88 S | ||
|
92 S | ||
|
93 S | ||
|
94 S | ||
|
95 S | ||
|
96 S | ||
|
100 S | ||
|
101 S | ||
|
102 S | ||
|
103 S | ||
|
104 S | ||
|
105 S | ||
|
107 S | ||
|
112 S | ||
|
113 S | ||
|
114 S | ||
|
118 S | ||
|
119 S |
Number of Violations | LDRA Code | Required Standards | MISRA-C:2012 Code |
---|---|---|---|
|
120 S | ||
|
121 S | ||
|
122 S | ||
|
123 S | ||
|
125 S | ||
|
126 S | ||
|
127 S | ||
|
128 S | ||
|
130 S | ||
|
131 S | ||
|
132 S | ||
|
134 S | ||
|
135 S | ||
|
136 S | ||
|
139 S | ||
|
140 S | ||
|
145 S | ||
|
147 S | ||
|
156 S | ||
|
157 S | ||
|
172 S | ||
|
176 S | ||
|
203 S | ||
|
218 S | ||
|
219 S | ||
|
243 S | ||
|
245 S | ||
|
248 S | ||
|
249 S | ||
|
252 S | ||
|
270 S | ||
|
271 S | ||
|
276 S | ||
|
296 S | ||
|
322 S | ||
|
323 S | ||
|
324 S | ||
|
325 S | ||
|
326 S | ||
|
329 S | ||
|
330 S | ||
|
331 S | ||
|
332 S | ||
|
333 S | ||
|
335 S | ||
|
336 S | ||
|
337 S | ||
|
341 S | ||
|
342 S | ||
|
343 S |
Number of Violations | LDRA Code | Required Standards | MISRA-C:2012 Code |
---|---|---|---|
|
344 S | ||
|
345 S | ||
|
361 S | ||
|
374 S | ||
|
382 S | ||
|
383 S | ||
|
384 S | ||
|
385 S | ||
|
389 S | ||
|
397 S | ||
|
402 S | ||
|
403 S | ||
|
404 S | ||
|
406 S | ||
|
408 S | ||
|
410 S | ||
|
411 S | ||
|
412 S | ||
|
427 S | ||
|
428 S | ||
|
429 S | ||
|
430 S | ||
|
431 S | ||
|
432 S | ||
|
433 S | ||
|
434 S | ||
|
435 S | ||
|
436 S | ||
|
437 S | ||
|
438 S | ||
|
439 S | ||
|
440 S | ||
|
441 S | ||
|
442 S | ||
|
443 S | ||
|
444 S | ||
|
445 S | ||
|
446 S | ||
|
450 S | ||
|
451 S | ||
|
452 S | ||
|
458 S | ||
|
461 S | ||
|
465 S | ||
|
477 S | ||
|
481 S | ||
|
482 S | ||
|
486 S | ||
|
487 S | ||
|
488 S |
Number of Violations | LDRA Code | Required Standards | MISRA-C:2012 Code |
---|---|---|---|
|
489 S | ||
|
497 S | ||
|
509 S | ||
|
511 S | ||
|
520 S | ||
|
531 S | ||
|
550 S | ||
|
553 S | ||
|
554 S | ||
|
565 S | ||
|
567 S | ||
|
573 S | ||
|
575 S | ||
|
576 S | ||
|
580 S | ||
|
581 S | ||
|
582 S | ||
|
587 S | ||
|
589 S | ||
|
590 S | ||
|
606 S | ||
|
608 S | ||
|
611 S | ||
|
612 S | ||
|
613 S | ||
|
615 S | ||
|
616 S | ||
|
620 S | ||
|
621 S | ||
|
622 S | ||
|
623 S | ||
|
624 S | ||
|
626 S | ||
|
627 S | ||
|
629 S | ||
|
630 S | ||
|
6 D | ||
|
8 D | ||
|
17 D | ||
|
18 D | ||
|
22 D | ||
|
26 D | ||
|
27 D | ||
|
28 D | ||
|
33 D | ||
|
34 D | ||
|
35 D | ||
|
36 D | ||
|
42 D | ||
|
43 D |
Number of Violations | LDRA Code | Required Standards | MISRA-C:2012 Code |
---|---|---|---|
|
45 D | ||
|
49 D | ||
|
50 D | ||
|
55 D | ||
|
60 D | ||
|
61 D | ||
|
63 D | ||
|
65 D | ||
|
72 D | ||
|
74 D | ||
|
75 D | ||
|
76 D | ||
|
77 D | ||
|
82 D | ||
|
83 D | ||
|
84 D | ||
|
87 D | ||
|
89 D | ||
|
91 D | ||
|
103 D | ||
|
105 D | ||
|
106 D | ||
|
110 D | ||
|
1 X | ||
|
4 X | ||
|
5 X | ||
|
6 X | ||
|
7 X | ||
|
8 X | ||
|
9 X | ||
|
10 X | ||
|
11 X | ||
|
12 X | ||
|
13 X | ||
|
14 X | ||
|
15 X | ||
|
16 X | ||
|
17 X | ||
|
18 X | ||
|
19 X | ||
|
20 X | ||
|
21 X | ||
|
22 X | ||
|
23 X | ||
|
24 X | ||
|
25 X | ||
|
26 X | ||
|
27 X | ||
|
28 X | ||
|
29 X |
Number of Violations | LDRA Code | Required Standards | MISRA-C:2012 Code |
---|---|---|---|
|
30 X | ||
|
31 X | ||
|
32 X | ||
|
33 X | ||
|
34 X | ||
|
35 X | ||
|
36 X | ||
|
37 X | ||
|
38 X | ||
|
39 X | ||
|
47 X | ||
|
48 X | ||
|
50 X | ||
|
53 X | ||
|
57 X | ||
|
61 X | ||
|
62 X | ||
|
63 X | ||
|
64 X | ||
|
66 X | ||
|
68 X | ||
|
69 X | ||
|
70 X | ||
|
71 X | ||
|
72 X | ||
|
1 Q | ||
|
5 Q | ||
|
1 U | ||
|
1 J | ||
|
3 J |
Number of Violations | LDRA Code | Advisory Standards | MISRA-C:2012 Code |
---|---|---|---|
|
13 S | ||
|
49 S | ||
|
53 S | ||
|
68 S | ||
|
74 S | ||
|
75 S | ||
|
80 S | ||
|
81 S | ||
|
87 S | ||
|
90 S | ||
|
110 S | ||
|
143 S | ||
|
149 S | ||
|
217 S | ||
|
293 S | ||
|
302 S | ||
|
338 S | ||
|
340 S | ||
|
409 S | ||
|
413 S | ||
|
426 S | ||
|
493 S | ||
|
494 S | ||
|
495 S | ||
|
610 S | ||
|
628 S | ||
|
632 S | ||
|
7 C | ||
|
1 D | ||
|
14 D | ||
|
15 D | ||
|
25 D | ||
|
62 D | ||
|
104 D | ||
|
67 X |
Number of Mandatory Standards checked | 18 |
Number of Required Standards checked | 280 |
Number of Advisory Standards checked | 35 |
Number of Document Standards checked | 3 |
Total Standards checked | 333 |
Total Standards checked including Document | 336 |
|
|
|
|
|
Name | Last Modification Date |
---|---|
C:\Users\zhang\Desktop\WJ\03\rt-thread-master\yesno.c | Mon Jun 10 16:15:04 2024 |
C:\Users\zhang\Desktop\WJ\03\rt-thread-master\yconf.c | Mon Jun 10 16:15:04 2024 |
C:\Users\zhang\Desktop\WJ\03\rt-thread-master\util.c | Mon Jun 10 16:15:04 2024 |
C:\Users\zhang\Desktop\WJ\03\rt-thread-master\textbox.c | Mon Jun 10 16:15:04 2024 |
C:\Users\zhang\Desktop\WJ\03\rt-thread-master\symbol.c | Mon Jun 10 16:15:04 2024 |
C:\Users\zhang\Desktop\WJ\03\rt-thread-master\menubox.c | Mon Jun 10 16:15:04 2024 |
C:\Users\zhang\Desktop\WJ\03\rt-thread-master\menu.c | Mon Jun 10 16:15:04 2024 |
C:\Users\zhang\Desktop\WJ\03\rt-thread-master\lconf.c | Mon Jun 10 16:15:04 2024 |
C:\Users\zhang\Desktop\WJ\03\rt-thread-master\inputbox.c | Mon Jun 10 16:15:04 2024 |
C:\Users\zhang\Desktop\WJ\03\rt-thread-master\hconf.c | Mon Jun 10 16:15:04 2024 |
C:\Users\zhang\Desktop\WJ\03\rt-thread-master\expr.c | Mon Jun 10 16:15:04 2024 |
C:\Users\zhang\Desktop\WJ\03\rt-thread-master\confdata.c | Mon Jun 10 16:15:04 2024 |
C:\Users\zhang\Desktop\WJ\03\rt-thread-master\checklist.c | Mon Jun 10 16:15:04 2024 |
Number of procedures: | 213 |
Number of locally uncalled procedures: | 0 |
Maximum loop depth: | 4 |
Total Cyclomatic Complexity: | 2802 |
Number of reformatted executable lines: | 26048 |
Number of lines of comments: | 1519 |
Globals / code outside procedures - FAIL |
---|
Code | File: Src Line | Violation | Standard |
---|---|---|---|
O | checklist.c: 26 | Basic type declaration used. | MISRA-C:2012 D.4.6 |
C | confdata.c: 10 | Included file is not permitted. | MISRA-C:2012 R.21.5,R.21.6,R.21.10,R.21.11 |
C | confdata.c: 11 | Included file is not permitted. | MISRA-C:2012 R.21.5,R.21.6,R.21.10,R.21.11 |
C | confdata.c: 14 | Included file is not permitted. | MISRA-C:2012 R.21.5,R.21.6,R.21.10,R.21.11 |
O | confdata.c: 25 | Non ANSI/ISO construct used. | MISRA-C:2012 R.1.2 |
O | confdata.c: 28 | Non ANSI/ISO construct used. | MISRA-C:2012 R.1.2 |
O | confdata.c: 31 | Basic type declaration used. | MISRA-C:2012 D.4.6 |
C | confdata.c: 532 | Function pointer is of wrong type. : Types of parameter 2 differ; kconfig_printer_cb.print_symbol: void, kconfig_print_symbol: void | MISRA-C:2012 R.1.3 |
C | confdata.c: 606 | Function pointer is of wrong type. : Types of parameter 2 differ; header_printer_cb.print_symbol: void, header_print_symbol: void | MISRA-C:2012 R.1.3 |
C | confdata.c: 625 | Function pointer is of wrong type. : Types of parameter 2 differ; tristate_printer_cb.print_symbol: void, tristate_print_symbol: void | MISRA-C:2012 R.1.3 |
O | confdata.c: 1028 | Basic type declaration used. | MISRA-C:2012 D.4.6 |
O | confdata.c: 33 | Scope of variable could be reduced. : conf_defname | MISRA-C:2012 R.8.9 |
O | confdata.c: 604 | Scope of variable could be reduced. : header_printer_cb | MISRA-C:2012 R.8.9 |
O | confdata.c: 623 | Scope of variable could be reduced. : tristate_printer_cb | MISRA-C:2012 R.8.9 |
C | expr.c: 6 | Included file is not permitted. | MISRA-C:2012 R.21.5,R.21.6,R.21.10,R.21.11 |
O | expr.c: 14 | Basic type declaration used. | MISRA-C:2012 D.4.6 |
O | expr.c: 136 | Basic type declaration used. | MISRA-C:2012 D.4.6 |
O | expr.c: 197 | #undef used. | MISRA-C:2012 R.20.5 |
O | expr.c: 198 | #undef used. | MISRA-C:2012 R.20.5 |
O | expr.c: 880 | Union declared. | MISRA-C:2012 R.19.2 |
O | expr.c: 881 | Basic type declaration used. | MISRA-C:2012 D.4.6 |
O | expr.c: 882 | Basic type declaration used. | MISRA-C:2012 D.4.6 |
C | expr.c: 14 | Struct/union not completely specified. : expr | MISRA-C:2012 R.1.3 |
C | expr.c: 138 | Identifier reuse: proc param vs macro. : e1 | MISRA-C:2012 R.5.5 |
C | expr.c: 139 | Identifier reuse: proc param vs macro. : e2 | MISRA-C:2012 R.5.5 |
O | hconf.c: 171 | Non ANSI/ISO construct used. | MISRA-C:2012 R.1.2 |
C | hconf.c: 32 | Struct/union not completely specified. : kconf_id | MISRA-C:2012 R.1.3 |
O | hconf.c: 129 | Scope of variable could be reduced. : kconf_id_strings_contents | MISRA-C:2012 R.8.9 |
C | hconf.c: 34 | Function prototype/defn param type mismatch (MR). : register unsigned int | MISRA-C:2012 R.8.3,R.8.4 |
C | inputbox.c: 24 | Variable-length array declared. : dialog_input_result[*] | MISRA-C:2012 R.18.8 |
O | inputbox.c: 24 | Scope of variable could be reduced. : dialog_input_result | MISRA-C:2012 R.8.9 |
C | menu.c: 7 | Included file is not permitted. | MISRA-C:2012 R.21.5,R.21.6,R.21.10,R.21.11 |
C | menu.c: 18 | Struct/union not completely specified. : file | MISRA-C:2012 R.1.3 |
O | menu.c: 13 | Scope of variable could be reduced. : nohelp_text | MISRA-C:2012 R.8.9 |
O | menu.c: 19 | Scope of variable could be reduced. : current_file | MISRA-C:2012 R.8.9 |
O | menubox.c: 61 | Basic type declaration used. | MISRA-C:2012 D.4.6 |
C | menubox.c: 102 | Macro parameter not in brackets. : choice | MISRA-C:2012 R.20.7 |
C | menubox.c: 102 | Macro parameter not in brackets. : selected | MISRA-C:2012 R.20.7 |
C | symbol.c: 14 | Use of bit operator on signed type. : | used with int: SYMBOL_CONST | MISRA-C:2012 R.10.1 |
C | symbol.c: 14 | Use of bit operator on signed type. : | used with int: SYMBOL_VALID | MISRA-C:2012 R.10.1 |
C | symbol.c: 18 | Use of bit operator on signed type. : | used with int: SYMBOL_CONST | MISRA-C:2012 R.10.1 |
C | symbol.c: 18 | Use of bit operator on signed type. : | used with int: SYMBOL_VALID | MISRA-C:2012 R.10.1 |
C | symbol.c: 22 | Use of bit operator on signed type. : | used with int: SYMBOL_CONST | MISRA-C:2012 R.10.1 |
C | symbol.c: 22 | Use of bit operator on signed type. : | used with int: SYMBOL_VALID | MISRA-C:2012 R.10.1 |
C | symbol.c: 1089 | Name conflict with typedef. : expr | MISRA-C:2012 R.5.6 |
C | symbol.c: 36 | Struct/union not completely specified. : expr | MISRA-C:2012 R.1.3 |
O | symbol.c: 36 | Scope of variable could be reduced. : sym_env_list | MISRA-C:2012 R.8.9 |
O | textbox.c: 24 | Basic type declaration used. | MISRA-C:2012 D.4.6 |
O | textbox.c: 25 | Basic type declaration used. | MISRA-C:2012 D.4.6 |
O | textbox.c: 25 | Basic type declaration used. | MISRA-C:2012 D.4.6 |
O | textbox.c: 27 | Basic type declaration used. | MISRA-C:2012 D.4.6 |
O | textbox.c: 27 | Basic type declaration used. | MISRA-C:2012 D.4.6 |
O | textbox.c: 31 | Basic type declaration used. | MISRA-C:2012 D.4.6 |
Code | File: Src Line | Violation | Standard |
---|---|---|---|
O | textbox.c: 32 | Basic type declaration used. | MISRA-C:2012 D.4.6 |
C | util.c: 22 | Included file is not permitted. | MISRA-C:2012 R.21.5,R.21.6,R.21.10,R.21.11 |
O | util.c: 27 | Basic type declaration used. | MISRA-C:2012 D.4.6 |
C | util.c: 64 | Macro parameter not in brackets. : dialog | MISRA-C:2012 R.20.7 |
C | util.c: 590 | Struct/union not completely specified. : dialog_list | MISRA-C:2012 R.1.3 |
O | util.c: 27 | Scope of variable could be reduced. : saved_x | MISRA-C:2012 R.8.9 |
O | util.c: 27 | Scope of variable could be reduced. : saved_y | MISRA-C:2012 R.8.9 |
O | util.c: 591 | Scope of variable could be reduced. : item_nil | MISRA-C:2012 R.8.9 |
O | yconf.c: 44 | Macro not used in translation unit. : YYBISON | MISRA-C:2012 R.2.5 |
O | yconf.c: 47 | Macro not used in translation unit. : YYBISON_VERSION | MISRA-C:2012 R.2.5 |
O | yconf.c: 50 | Macro not used in translation unit. : YYSKELETON_NAME | MISRA-C:2012 R.2.5 |
O | yconf.c: 53 | Macro not used in translation unit. : YYPURE | MISRA-C:2012 R.2.5 |
O | yconf.c: 56 | Macro not used in translation unit. : YYPUSH | MISRA-C:2012 R.2.5 |
O | yconf.c: 59 | Macro not used in translation unit. : YYPULL | MISRA-C:2012 R.2.5 |
O | yconf.c: 297 | Macro not used in translation unit. : YYSIZE_MAXIMUM | MISRA-C:2012 R.2.5 |
O | yconf.c: 501 | Macro not used in translation unit. : YYNNTS | MISRA-C:2012 R.2.5 |
O | yconf.c: 503 | Macro not used in translation unit. : YYNRULES | MISRA-C:2012 R.2.5 |
O | yconf.c: 505 | Macro not used in translation unit. : YYNSTATES | MISRA-C:2012 R.2.5 |
O | yconf.c: 610 | Macro not used in translation unit. : YYPACT_NINF | MISRA-C:2012 R.2.5 |
O | yconf.c: 615 | Macro not used in translation unit. : YYTABLE_NINF | MISRA-C:2012 R.2.5 |
O | yconf.c: 832 | Macro not used in translation unit. : yyerrok | MISRA-C:2012 R.2.5 |
O | yconf.c: 833 | Macro not used in translation unit. : yyclearin | MISRA-C:2012 R.2.5 |
O | yconf.c: 842 | Macro not used in translation unit. : YYRECOVERING | MISRA-C:2012 R.2.5 |
O | yconf.c: 844 | Macro not used in translation unit. : YYBACKUP | MISRA-C:2012 R.2.5 |
O | yconf.c: 863 | Macro not used in translation unit. : YYERRCODE | MISRA-C:2012 R.2.5 |
C | yconf.c: 18 | Nested comment found. | MISRA-C:2012 R.3.1 |
C | yconf.c: 81 | Included file is not permitted. | MISRA-C:2012 R.21.5,R.21.6,R.21.10,R.21.11 |
C | yconf.c: 82 | Included file is not permitted. | MISRA-C:2012 R.21.5,R.21.6,R.21.10,R.21.11 |
C | yconf.c: 89 | Macro parameter not in brackets. : fmt | MISRA-C:2012 R.20.7 |
O | yconf.c: 94 | Basic type declaration used. | MISRA-C:2012 D.4.6 |
O | yconf.c: 96 | Basic type declaration used. | MISRA-C:2012 D.4.6 |
O | yconf.c: 100 | Basic type declaration used. | MISRA-C:2012 D.4.6 |
O | yconf.c: 100 | Basic type declaration used. | MISRA-C:2012 D.4.6 |
C | yconf.c: 102 | Variable-length array declared. : symbol_hash[*] | MISRA-C:2012 R.18.8 |
O | yconf.c: 131 | Basic type declaration used. | MISRA-C:2012 D.4.6 |
O | yconf.c: 222 | Union declared. | MISRA-C:2012 R.19.2 |
C | yconf.c: 227 | Name conflict with typedef. : file | MISRA-C:2012 R.5.6 |
C | yconf.c: 228 | Name conflict with typedef. : symbol | MISRA-C:2012 R.5.6 |
C | yconf.c: 229 | Name conflict with typedef. : expr | MISRA-C:2012 R.5.6 |
C | yconf.c: 230 | Name conflict with typedef. : menu | MISRA-C:2012 R.5.6 |
O | yconf.c: 236 | Union declared. | MISRA-C:2012 R.19.2 |
O | yconf.c: 244 | Basic type declaration used. | MISRA-C:2012 D.4.6 |
O | yconf.c: 244 | Executable code before an included file. | MISRA-C:2012 R.20.1 |
O | yconf.c: 251 | #include preceded by non preproc directives. | MISRA-C:2012 R.20.1 |
C | yconf.c: 252 | Included file not protected with #define. | MISRA-C:2012 D.4.10 |
O | yconf.c: 290 | #include preceded by non preproc directives. | MISRA-C:2012 R.20.1 |
O | yconf.c: 302 | #include preceded by non preproc directives. | MISRA-C:2012 R.20.1 |
C | yconf.c: 307 | Macro parameter not in brackets. : Msgid | MISRA-C:2012 R.20.7 |
C | yconf.c: 314 | Undefined macro variable in #if. | MISRA-C:2012 R.20.9 |
O | yconf.c: 315 | Non ANSI/ISO construct used. | MISRA-C:2012 R.1.2 |
O | yconf.c: 317 | Use of function like macro. | MISRA-C:2012 D.4.9 |
C | yconf.c: 334 | User name starts with underscore. : _Noreturn | MISRA-C:2012 R.21.1,R.21.2 |
Code | File: Src Line | Violation | Standard |
---|---|---|---|
O | yconf.c: 340 | Use of function like macro. | MISRA-C:2012 D.4.9 |
C | yconf.c: 345 | Undefined macro variable in #if. | MISRA-C:2012 R.20.9 |
C | yconf.c: 354 | Macro parameter not in brackets. : Value | MISRA-C:2012 R.20.7 |
O | yconf.c: 374 | #include preceded by non preproc directives. | MISRA-C:2012 R.20.1 |
O | yconf.c: 378 | #include preceded by non preproc directives. | MISRA-C:2012 R.20.1 |
O | yconf.c: 383 | #include preceded by non preproc directives. | MISRA-C:2012 R.20.1 |
O | yconf.c: 412 | #include preceded by non preproc directives. | MISRA-C:2012 R.20.1 |
C | yconf.c: 418 | Use of banned function or variable. : malloc | MISRA-C:2012 D.4.12,R.1.3,R.17.1,R.21.3,R.21.6,R.21.7,R.21.8,R.21.9,R.21.10,R.21.12 |
C | yconf.c: 424 | Use of banned function or variable. : free | MISRA-C:2012 D.4.12,R.1.3,R.17.1,R.21.3,R.21.6,R.21.7,R.21.8,R.21.9,R.21.10,R.21.12 |
O | yconf.c: 438 | Union declared. | MISRA-C:2012 R.19.2 |
O | yconf.c: 449 | Use of function like macro. | MISRA-C:2012 D.4.9 |
C | yconf.c: 460 | Macro parameter not in brackets. : Stack_alloc | MISRA-C:2012 R.20.7 |
C | yconf.c: 460 | Macro parameter not in brackets. : Stack | MISRA-C:2012 R.20.7 |
C | yconf.c: 477 | Undefined macro variable in #if. | MISRA-C:2012 R.20.9 |
O | yconf.c: 512 | Basic type declaration used. | MISRA-C:2012 D.4.6 |
C | yconf.c: 512 | Macro parameter not in brackets. : YYX | MISRA-C:2012 R.20.7 |
O | yconf.c: 512 | Use of function like macro. | MISRA-C:2012 D.4.9 |
C | yconf.c: 517 | Literal value requires a U suffix. : 2 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 522 | Literal value requires a U suffix. : 2 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 526 | Literal value requires a U suffix. : 2 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 530 | Literal value requires a U suffix. : 2 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 534 | Literal value requires a U suffix. : 2 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 538 | Literal value requires a U suffix. : 2 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 542 | Literal value requires a U suffix. : 2 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 542 | Literal value requires a U suffix. : 1 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 542 | Literal value requires a U suffix. : 3 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 542 | Literal value requires a U suffix. : 4 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 542 | Literal value requires a U suffix. : 5 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 542 | Literal value requires a U suffix. : 6 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 542 | Literal value requires a U suffix. : 7 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 542 | Literal value requires a U suffix. : 8 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 542 | Literal value requires a U suffix. : 9 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 542 | Literal value requires a U suffix. : 10 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 542 | Literal value requires a U suffix. : 11 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 542 | Literal value requires a U suffix. : 12 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 542 | Literal value requires a U suffix. : 13 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 542 | Literal value requires a U suffix. : 14 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 542 | Literal value requires a U suffix. : 15 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 542 | Literal value requires a U suffix. : 16 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 542 | Literal value requires a U suffix. : 17 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 542 | Literal value requires a U suffix. : 18 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 542 | Literal value requires a U suffix. : 19 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 542 | Literal value requires a U suffix. : 20 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 542 | Literal value requires a U suffix. : 21 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 542 | Literal value requires a U suffix. : 22 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 546 | Literal value requires a U suffix. : 23 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 546 | Literal value requires a U suffix. : 24 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 546 | Literal value requires a U suffix. : 25 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 546 | Literal value requires a U suffix. : 26 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 546 | Literal value requires a U suffix. : 27 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
Code | File: Src Line | Violation | Standard |
---|---|---|---|
C | yconf.c: 546 | Literal value requires a U suffix. : 28 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 546 | Literal value requires a U suffix. : 29 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 546 | Literal value requires a U suffix. : 30 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 546 | Literal value requires a U suffix. : 31 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 546 | Literal value requires a U suffix. : 32 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 546 | Literal value requires a U suffix. : 33 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 546 | Literal value requires a U suffix. : 34 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 546 | Literal value requires a U suffix. : 35 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 546 | Literal value requires a U suffix. : 36 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 546 | Literal value requires a U suffix. : 37 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 546 | Literal value requires a U suffix. : 38 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 546 | Literal value requires a U suffix. : 39 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 546 | Literal value requires a U suffix. : 40 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 546 | Value is not of appropriate type. : (unsigned char and signed char): , 22 , 23 , 24 , 25 , 26 , 27 , 28 , 29 , 30 , 31 , 32 , 33 , 34 , 35 , 36 , 37 , 38 , 39 , 40 | MISRA-C:2012 R.10.1,R.10.3,R.10.4,R.10.5,R.11.1 |
C | yconf.c: 553 | Literal value requires a U suffix. : 109 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 553 | Literal value requires a U suffix. : 111 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 553 | Literal value requires a U suffix. : 113 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 553 | Literal value requires a U suffix. : 115 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 553 | Literal value requires a U suffix. : 116 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 553 | Literal value requires a U suffix. : 117 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 553 | Literal value requires a U suffix. : 118 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 553 | Literal value requires a U suffix. : 119 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 553 | Literal value requires a U suffix. : 120 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 553 | Literal value requires a U suffix. : 124 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 553 | Literal value requires a U suffix. : 128 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 553 | Literal value requires a U suffix. : 132 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 553 | Literal value requires a U suffix. : 133 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 553 | Literal value requires a U suffix. : 134 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 553 | Literal value requires a U suffix. : 135 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 553 | Literal value requires a U suffix. : 136 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 557 | Literal value requires a U suffix. : 137 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 557 | Literal value requires a U suffix. : 141 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 557 | Literal value requires a U suffix. : 142 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 557 | Literal value requires a U suffix. : 148 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 557 | Literal value requires a U suffix. : 156 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 557 | Literal value requires a U suffix. : 162 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 557 | Literal value requires a U suffix. : 170 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 557 | Literal value requires a U suffix. : 180 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 557 | Literal value requires a U suffix. : 182 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 557 | Literal value requires a U suffix. : 183 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 557 | Literal value requires a U suffix. : 184 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 557 | Literal value requires a U suffix. : 185 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 557 | Literal value requires a U suffix. : 186 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 557 | Literal value requires a U suffix. : 187 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 557 | Literal value requires a U suffix. : 190 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 557 | Literal value requires a U suffix. : 198 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 557 | Literal value requires a U suffix. : 204 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 557 | Literal value requires a U suffix. : 214 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 557 | Literal value requires a U suffix. : 220 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 557 | Literal value requires a U suffix. : 226 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
Code | File: Src Line | Violation | Standard |
---|---|---|---|
C | yconf.c: 557 | Literal value requires a U suffix. : 232 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 557 | Literal value requires a U suffix. : 235 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 557 | Literal value requires a U suffix. : 237 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 557 | Literal value requires a U suffix. : 248 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 557 | Literal value requires a U suffix. : 249 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 557 | Literal value requires a U suffix. : 254 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 557 | Literal value requires a U suffix. : 263 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 560 | Literal value requires a U suffix. : 268 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 560 | Literal value requires a U suffix. : 276 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 560 | Literal value requires a U suffix. : 279 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 560 | Literal value requires a U suffix. : 281 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 560 | Literal value requires a U suffix. : 282 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 560 | Literal value requires a U suffix. : 283 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 560 | Literal value requires a U suffix. : 284 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 560 | Literal value requires a U suffix. : 285 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 560 | Literal value requires a U suffix. : 288 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 560 | Literal value requires a U suffix. : 294 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 560 | Literal value requires a U suffix. : 305 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 560 | Literal value requires a U suffix. : 311 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 560 | Literal value requires a U suffix. : 321 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 560 | Literal value requires a U suffix. : 323 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 560 | Literal value requires a U suffix. : 328 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 560 | Literal value requires a U suffix. : 336 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 560 | Literal value requires a U suffix. : 344 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 560 | Literal value requires a U suffix. : 347 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 560 | Literal value requires a U suffix. : 349 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 560 | Literal value requires a U suffix. : 350 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 560 | Literal value requires a U suffix. : 351 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 560 | Literal value requires a U suffix. : 356 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 560 | Literal value requires a U suffix. : 363 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 560 | Literal value requires a U suffix. : 370 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 560 | Literal value requires a U suffix. : 375 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 560 | Literal value requires a U suffix. : 383 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 560 | Literal value requires a U suffix. : 386 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 563 | Literal value requires a U suffix. : 388 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 563 | Literal value requires a U suffix. : 389 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 563 | Literal value requires a U suffix. : 390 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 563 | Literal value requires a U suffix. : 393 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 563 | Literal value requires a U suffix. : 401 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 563 | Literal value requires a U suffix. : 408 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 563 | Literal value requires a U suffix. : 415 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 563 | Literal value requires a U suffix. : 421 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 563 | Literal value requires a U suffix. : 428 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 563 | Literal value requires a U suffix. : 430 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 563 | Literal value requires a U suffix. : 431 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 563 | Literal value requires a U suffix. : 432 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 563 | Literal value requires a U suffix. : 435 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 563 | Literal value requires a U suffix. : 443 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 563 | Literal value requires a U suffix. : 445 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 563 | Literal value requires a U suffix. : 446 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
Code | File: Src Line | Violation | Standard |
---|---|---|---|
C | yconf.c: 563 | Literal value requires a U suffix. : 449 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 563 | Literal value requires a U suffix. : 456 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 563 | Literal value requires a U suffix. : 458 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 563 | Literal value requires a U suffix. : 463 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 563 | Literal value requires a U suffix. : 464 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 563 | Literal value requires a U suffix. : 467 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 563 | Literal value requires a U suffix. : 468 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 563 | Literal value requires a U suffix. : 469 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 563 | Literal value requires a U suffix. : 473 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 563 | Literal value requires a U suffix. : 474 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 563 | Literal value requires a U suffix. : 477 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 565 | Literal value requires a U suffix. : 478 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 565 | Literal value requires a U suffix. : 481 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 565 | Literal value requires a U suffix. : 482 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 565 | Literal value requires a U suffix. : 483 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 565 | Literal value requires a U suffix. : 484 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 565 | Literal value requires a U suffix. : 485 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 565 | Literal value requires a U suffix. : 486 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 565 | Literal value requires a U suffix. : 487 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 565 | Literal value requires a U suffix. : 488 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 565 | Literal value requires a U suffix. : 489 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 565 | Literal value requires a U suffix. : 490 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 565 | Literal value requires a U suffix. : 491 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 565 | Literal value requires a U suffix. : 494 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 565 | Literal value requires a U suffix. : 495 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 565 | Literal value requires a U suffix. : 498 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 565 | Literal value requires a U suffix. : 499 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 565 | Value is not of appropriate type. : (unsigned short and short): 477 , 478 , 481 , 482 , 483 , 484 , 485 , 486 , 487 , 488 , 489 , 490 , 491 , 494 , 495 , 498 , 499 | MISRA-C:2012 R.10.1,R.10.3,R.10.4,R.10.5,R.11.1 |
O | yconf.c: 612 | Use of function like macro. | MISRA-C:2012 D.4.9 |
O | yconf.c: 622 | Numeric overflow. | MISRA-C:2012 R.12.4 |
O | yconf.c: 626 | Numeric overflow. | MISRA-C:2012 R.12.4 |
O | yconf.c: 629 | Numeric overflow. | MISRA-C:2012 R.12.4 |
O | yconf.c: 631 | Numeric overflow. | MISRA-C:2012 R.12.4 |
O | yconf.c: 634 | Numeric overflow. | MISRA-C:2012 R.12.4 |
O | yconf.c: 639 | Numeric overflow. | MISRA-C:2012 R.12.4 |
O | yconf.c: 642 | Numeric overflow. | MISRA-C:2012 R.12.4 |
C | yconf.c: 650 | Literal value requires a U suffix. : 0 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 650 | Literal value requires a U suffix. : 6 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 650 | Literal value requires a U suffix. : 101 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 650 | Literal value requires a U suffix. : 102 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 650 | Literal value requires a U suffix. : 19 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 650 | Literal value requires a U suffix. : 15 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 650 | Literal value requires a U suffix. : 16 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 650 | Literal value requires a U suffix. : 21 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 650 | Literal value requires a U suffix. : 17 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 650 | Literal value requires a U suffix. : 18 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 650 | Literal value requires a U suffix. : 20 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 650 | Literal value requires a U suffix. : 22 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 650 | Literal value requires a U suffix. : 35 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 655 | Literal value requires a U suffix. : 26 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
Code | File: Src Line | Violation | Standard |
---|---|---|---|
C | yconf.c: 655 | Literal value requires a U suffix. : 35 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 655 | Literal value requires a U suffix. : 27 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 655 | Literal value requires a U suffix. : 57 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 655 | Literal value requires a U suffix. : 67 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 655 | Literal value requires a U suffix. : 8 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 655 | Literal value requires a U suffix. : 72 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 655 | Literal value requires a U suffix. : 24 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 655 | Literal value requires a U suffix. : 95 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 655 | Literal value requires a U suffix. : 81 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 655 | Literal value requires a U suffix. : 9 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 655 | Literal value requires a U suffix. : 28 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 655 | Literal value requires a U suffix. : 90 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 655 | Literal value requires a U suffix. : 25 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 655 | Literal value requires a U suffix. : 10 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 655 | Literal value requires a U suffix. : 0 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 655 | Literal value requires a U suffix. : 2 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 655 | Literal value requires a U suffix. : 76 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 655 | Literal value requires a U suffix. : 13 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 655 | Literal value requires a U suffix. : 122 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 659 | Literal value requires a U suffix. : 105 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 659 | Literal value requires a U suffix. : 0 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 659 | Literal value requires a U suffix. : 85 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 659 | Literal value requires a U suffix. : 53 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 659 | Literal value requires a U suffix. : 86 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 659 | Literal value requires a U suffix. : 31 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 659 | Literal value requires a U suffix. : 33 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 659 | Literal value requires a U suffix. : 12 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 662 | Literal value requires a U suffix. : 0 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 662 | Literal value requires a U suffix. : 40 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 662 | Literal value requires a U suffix. : 36 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 662 | Literal value requires a U suffix. : 37 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 662 | Literal value requires a U suffix. : 38 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 662 | Literal value requires a U suffix. : 62 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 662 | Literal value requires a U suffix. : 58 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 662 | Literal value requires a U suffix. : 60 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 662 | Literal value requires a U suffix. : 59 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 662 | Literal value requires a U suffix. : 68 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 662 | Literal value requires a U suffix. : 56 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 662 | Literal value requires a U suffix. : 55 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 662 | Literal value requires a U suffix. : 73 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 662 | Literal value requires a U suffix. : 75 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 662 | Literal value requires a U suffix. : 71 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 662 | Literal value requires a U suffix. : 74 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 662 | Literal value requires a U suffix. : 70 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 662 | Literal value requires a U suffix. : 108 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 662 | Literal value requires a U suffix. : 97 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 662 | Literal value requires a U suffix. : 82 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 666 | Literal value requires a U suffix. : 84 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 666 | Literal value requires a U suffix. : 80 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 666 | Literal value requires a U suffix. : 83 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
Code | File: Src Line | Violation | Standard |
---|---|---|---|
C | yconf.c: 666 | Literal value requires a U suffix. : 79 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 666 | Literal value requires a U suffix. : 92 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 666 | Literal value requires a U suffix. : 93 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 666 | Literal value requires a U suffix. : 91 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 666 | Literal value requires a U suffix. : 117 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 666 | Literal value requires a U suffix. : 119 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 666 | Literal value requires a U suffix. : 120 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 666 | Literal value requires a U suffix. : 116 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 666 | Literal value requires a U suffix. : 111 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 666 | Literal value requires a U suffix. : 112 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 666 | Literal value requires a U suffix. : 113 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 666 | Literal value requires a U suffix. : 114 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 666 | Literal value requires a U suffix. : 115 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 666 | Literal value requires a U suffix. : 30 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 666 | Literal value requires a U suffix. : 88 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 666 | Literal value requires a U suffix. : 0 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 666 | Literal value requires a U suffix. : 108 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 666 | Literal value requires a U suffix. : 65 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 673 | Literal value requires a U suffix. : 0 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 673 | Literal value requires a U suffix. : 100 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 673 | Literal value requires a U suffix. : 51 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 673 | Literal value requires a U suffix. : 48 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 673 | Literal value requires a U suffix. : 29 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 673 | Literal value requires a U suffix. : 94 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 673 | Literal value requires a U suffix. : 43 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 673 | Literal value requires a U suffix. : 44 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 673 | Literal value requires a U suffix. : 45 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 673 | Literal value requires a U suffix. : 46 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 673 | Literal value requires a U suffix. : 63 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 673 | Literal value requires a U suffix. : 66 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 673 | Literal value requires a U suffix. : 47 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 673 | Literal value requires a U suffix. : 52 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 673 | Value is not of appropriate type. : (unsigned char and signed char): 108 , 0 , 108 , 0 , 98 , 0 , 0 , 42 , 100 , 0 , 0 , 0 , 108 , 51 , 48 , 29 , 0 , 64 , 0 , 109 , 94 , 43 , 44 , 45 , 46 , 0 , 0 , 50 , 63 , 66 , 47 , 52 | MISRA-C:2012 R.10.1,R.10.3,R.10.4,R.10.5,R.11.1 |
O | yconf.c: 676 | Numeric overflow. | MISRA-C:2012 R.12.4 |
O | yconf.c: 680 | Numeric overflow. | MISRA-C:2012 R.12.4 |
O | yconf.c: 720 | Numeric overflow. | MISRA-C:2012 R.12.4 |
O | yconf.c: 722 | Numeric overflow. | MISRA-C:2012 R.12.4 |
O | yconf.c: 725 | Numeric overflow. | MISRA-C:2012 R.12.4 |
C | yconf.c: 733 | Literal value requires a U suffix. : 69 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 733 | Literal value requires a U suffix. : 94 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 733 | Literal value requires a U suffix. : 95 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 733 | Literal value requires a U suffix. : 96 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 733 | Literal value requires a U suffix. : 97 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 733 | Literal value requires a U suffix. : 98 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 733 | Literal value requires a U suffix. : 99 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 733 | Literal value requires a U suffix. : 24 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 733 | Literal value requires a U suffix. : 10 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 733 | Literal value requires a U suffix. : 77 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 733 | Literal value requires a U suffix. : 13 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 733 | Literal value requires a U suffix. : 15 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
Code | File: Src Line | Violation | Standard |
---|---|---|---|
C | yconf.c: 733 | Literal value requires a U suffix. : 0 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 733 | Literal value requires a U suffix. : 18 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 733 | Literal value requires a U suffix. : 82 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 733 | Literal value requires a U suffix. : 110 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 733 | Literal value requires a U suffix. : 3 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 733 | Literal value requires a U suffix. : 36 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 733 | Literal value requires a U suffix. : 91 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 733 | Literal value requires a U suffix. : 92 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 733 | Literal value requires a U suffix. : 34 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 733 | Literal value requires a U suffix. : 38 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 733 | Literal value requires a U suffix. : 4 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 733 | Literal value requires a U suffix. : 5 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 733 | Literal value requires a U suffix. : 6 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 733 | Literal value requires a U suffix. : 7 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 738 | Literal value requires a U suffix. : 8 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 738 | Literal value requires a U suffix. : 9 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 738 | Literal value requires a U suffix. : 10 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 738 | Literal value requires a U suffix. : 11 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 738 | Literal value requires a U suffix. : 12 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 738 | Literal value requires a U suffix. : 107 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 738 | Literal value requires a U suffix. : 14 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 738 | Literal value requires a U suffix. : 15 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 738 | Literal value requires a U suffix. : 16 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 738 | Literal value requires a U suffix. : 17 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 738 | Literal value requires a U suffix. : 18 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 738 | Literal value requires a U suffix. : 19 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 738 | Literal value requires a U suffix. : 20 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 738 | Literal value requires a U suffix. : 21 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 738 | Literal value requires a U suffix. : 22 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 738 | Literal value requires a U suffix. : 23 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 738 | Literal value requires a U suffix. : 24 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 738 | Literal value requires a U suffix. : 25 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 738 | Literal value requires a U suffix. : 36 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 738 | Literal value requires a U suffix. : 27 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 738 | Literal value requires a U suffix. : 5 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 738 | Literal value requires a U suffix. : 6 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 741 | Literal value requires a U suffix. : 28 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 741 | Literal value requires a U suffix. : 70 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 741 | Literal value requires a U suffix. : 27 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 741 | Literal value requires a U suffix. : 139 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 741 | Literal value requires a U suffix. : 36 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 741 | Literal value requires a U suffix. : 167 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 741 | Literal value requires a U suffix. : 14 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 741 | Literal value requires a U suffix. : 35 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 741 | Literal value requires a U suffix. : 79 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 741 | Literal value requires a U suffix. : 1 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 741 | Literal value requires a U suffix. : 40 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 741 | Literal value requires a U suffix. : 5 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 741 | Literal value requires a U suffix. : 6 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 741 | Literal value requires a U suffix. : 8 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
Code | File: Src Line | Violation | Standard |
---|---|---|---|
C | yconf.c: 741 | Literal value requires a U suffix. : 9 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 741 | Literal value requires a U suffix. : 10 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 741 | Literal value requires a U suffix. : 11 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 741 | Literal value requires a U suffix. : 12 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 741 | Literal value requires a U suffix. : 160 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 741 | Literal value requires a U suffix. : 15 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 741 | Literal value requires a U suffix. : 16 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 741 | Literal value requires a U suffix. : 17 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 741 | Literal value requires a U suffix. : 18 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 741 | Literal value requires a U suffix. : 19 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 741 | Literal value requires a U suffix. : 20 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 741 | Literal value requires a U suffix. : 37 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 745 | Literal value requires a U suffix. : 38 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 745 | Literal value requires a U suffix. : 79 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 745 | Literal value requires a U suffix. : 105 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 745 | Literal value requires a U suffix. : 81 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 745 | Literal value requires a U suffix. : 27 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 745 | Literal value requires a U suffix. : 175 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 745 | Literal value requires a U suffix. : 78 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 745 | Literal value requires a U suffix. : 36 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 745 | Literal value requires a U suffix. : 28 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 745 | Literal value requires a U suffix. : 0 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 745 | Literal value requires a U suffix. : 4 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 745 | Literal value requires a U suffix. : 5 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 745 | Literal value requires a U suffix. : 6 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 745 | Literal value requires a U suffix. : 7 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 745 | Literal value requires a U suffix. : 8 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 745 | Literal value requires a U suffix. : 9 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 745 | Literal value requires a U suffix. : 10 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 745 | Literal value requires a U suffix. : 11 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 745 | Literal value requires a U suffix. : 12 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 745 | Literal value requires a U suffix. : 1 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 745 | Literal value requires a U suffix. : 15 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 745 | Literal value requires a U suffix. : 16 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 745 | Literal value requires a U suffix. : 17 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 745 | Literal value requires a U suffix. : 18 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 748 | Literal value requires a U suffix. : 19 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 748 | Literal value requires a U suffix. : 20 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 748 | Literal value requires a U suffix. : 21 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 748 | Literal value requires a U suffix. : 22 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 748 | Literal value requires a U suffix. : 23 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 748 | Literal value requires a U suffix. : 24 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 748 | Literal value requires a U suffix. : 25 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 748 | Literal value requires a U suffix. : 36 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 748 | Literal value requires a U suffix. : 27 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 748 | Literal value requires a U suffix. : 78 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 748 | Literal value requires a U suffix. : 79 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 748 | Literal value requires a U suffix. : 81 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 748 | Literal value requires a U suffix. : 0 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 748 | Literal value requires a U suffix. : 4 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
Code | File: Src Line | Violation | Standard |
---|---|---|---|
C | yconf.c: 748 | Literal value requires a U suffix. : 5 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 748 | Literal value requires a U suffix. : 6 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 748 | Literal value requires a U suffix. : 7 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 748 | Literal value requires a U suffix. : 8 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 748 | Literal value requires a U suffix. : 9 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 748 | Literal value requires a U suffix. : 10 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 748 | Literal value requires a U suffix. : 11 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 748 | Literal value requires a U suffix. : 37 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 748 | Literal value requires a U suffix. : 38 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 748 | Literal value requires a U suffix. : 14 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 748 | Literal value requires a U suffix. : 15 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 748 | Literal value requires a U suffix. : 16 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 748 | Literal value requires a U suffix. : 17 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 748 | Literal value requires a U suffix. : 18 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 751 | Literal value requires a U suffix. : 21 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 751 | Literal value requires a U suffix. : 22 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 751 | Literal value requires a U suffix. : 23 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 751 | Literal value requires a U suffix. : 24 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 751 | Literal value requires a U suffix. : 36 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 751 | Literal value requires a U suffix. : 27 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 751 | Literal value requires a U suffix. : 37 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 751 | Literal value requires a U suffix. : 38 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 751 | Literal value requires a U suffix. : 0 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 751 | Literal value requires a U suffix. : 4 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 751 | Literal value requires a U suffix. : 5 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 751 | Literal value requires a U suffix. : 6 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 751 | Literal value requires a U suffix. : 7 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 751 | Literal value requires a U suffix. : 8 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 751 | Literal value requires a U suffix. : 9 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 751 | Literal value requires a U suffix. : 10 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 751 | Literal value requires a U suffix. : 11 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 751 | Literal value requires a U suffix. : 198 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 751 | Literal value requires a U suffix. : 14 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 751 | Literal value requires a U suffix. : 15 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 751 | Literal value requires a U suffix. : 16 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 751 | Literal value requires a U suffix. : 17 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 751 | Literal value requires a U suffix. : 18 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 751 | Literal value requires a U suffix. : 19 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 751 | Literal value requires a U suffix. : 20 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 755 | Literal value requires a U suffix. : 21 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 755 | Literal value requires a U suffix. : 22 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 755 | Literal value requires a U suffix. : 23 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 755 | Literal value requires a U suffix. : 24 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 755 | Literal value requires a U suffix. : 36 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 755 | Literal value requires a U suffix. : 27 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 755 | Literal value requires a U suffix. : 26 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 755 | Literal value requires a U suffix. : 1 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 755 | Literal value requires a U suffix. : 0 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 755 | Literal value requires a U suffix. : 4 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 755 | Literal value requires a U suffix. : 5 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
Code | File: Src Line | Violation | Standard |
---|---|---|---|
C | yconf.c: 755 | Literal value requires a U suffix. : 6 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 755 | Literal value requires a U suffix. : 7 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 755 | Literal value requires a U suffix. : 8 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 755 | Literal value requires a U suffix. : 9 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 755 | Literal value requires a U suffix. : 10 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 755 | Literal value requires a U suffix. : 11 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 755 | Literal value requires a U suffix. : 14 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 755 | Literal value requires a U suffix. : 15 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 755 | Literal value requires a U suffix. : 16 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 755 | Literal value requires a U suffix. : 17 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 755 | Literal value requires a U suffix. : 18 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 755 | Literal value requires a U suffix. : 19 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 755 | Literal value requires a U suffix. : 20 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 758 | Literal value requires a U suffix. : 23 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 758 | Literal value requires a U suffix. : 24 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 758 | Literal value requires a U suffix. : 1 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 758 | Literal value requires a U suffix. : 27 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 758 | Literal value requires a U suffix. : 4 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 758 | Literal value requires a U suffix. : 5 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 758 | Literal value requires a U suffix. : 6 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 758 | Literal value requires a U suffix. : 7 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 758 | Literal value requires a U suffix. : 8 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 758 | Literal value requires a U suffix. : 9 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 758 | Literal value requires a U suffix. : 10 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 758 | Literal value requires a U suffix. : 11 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 758 | Literal value requires a U suffix. : 36 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 758 | Literal value requires a U suffix. : 38 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 758 | Literal value requires a U suffix. : 14 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 758 | Literal value requires a U suffix. : 15 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 758 | Literal value requires a U suffix. : 16 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 758 | Literal value requires a U suffix. : 161 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 758 | Literal value requires a U suffix. : 163 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 758 | Literal value requires a U suffix. : 164 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 762 | Literal value requires a U suffix. : 165 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 762 | Literal value requires a U suffix. : 166 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 762 | Literal value requires a U suffix. : 36 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 762 | Literal value requires a U suffix. : 172 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 762 | Literal value requires a U suffix. : 174 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 762 | Literal value requires a U suffix. : 29 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 762 | Literal value requires a U suffix. : 30 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 762 | Literal value requires a U suffix. : 31 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 762 | Literal value requires a U suffix. : 32 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 762 | Literal value requires a U suffix. : 33 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 762 | Literal value requires a U suffix. : 39 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 762 | Literal value requires a U suffix. : 7 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 762 | Literal value requires a U suffix. : 184 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 762 | Literal value requires a U suffix. : 6 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 762 | Literal value requires a U suffix. : 77 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 762 | Literal value requires a U suffix. : 38 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 762 | Literal value requires a U suffix. : 80 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
Code | File: Src Line | Violation | Standard |
---|---|---|---|
C | yconf.c: 762 | Literal value requires a U suffix. : 122 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 762 | Value is not of appropriate type. : (unsigned char and signed char): , 164 , 165 , 166 , 36 , 36 , 36 , 36 , 36 , 172 , 36 , 174 , 29 , 30 , 31 , 32 , 33 , 39 , 36 , 7 , 36 , 184 , 39 , 36 , 6 , 77 , 38 , 80 , 122 | MISRA-C:2012 R.10.1,R.10.3,R.10.4,R.10.5,R.11.1 |
C | yconf.c: 770 | Literal value requires a U suffix. : 36 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 770 | Literal value requires a U suffix. : 42 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 770 | Literal value requires a U suffix. : 43 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 770 | Literal value requires a U suffix. : 44 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 770 | Literal value requires a U suffix. : 68 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 770 | Literal value requires a U suffix. : 86 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 770 | Literal value requires a U suffix. : 27 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 770 | Literal value requires a U suffix. : 28 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 770 | Literal value requires a U suffix. : 84 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 770 | Literal value requires a U suffix. : 0 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 770 | Literal value requires a U suffix. : 5 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 770 | Literal value requires a U suffix. : 6 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 770 | Literal value requires a U suffix. : 7 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 770 | Literal value requires a U suffix. : 8 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 770 | Literal value requires a U suffix. : 9 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 770 | Literal value requires a U suffix. : 10 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 770 | Literal value requires a U suffix. : 11 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 770 | Literal value requires a U suffix. : 14 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 770 | Literal value requires a U suffix. : 15 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 770 | Literal value requires a U suffix. : 16 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 770 | Literal value requires a U suffix. : 17 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 770 | Literal value requires a U suffix. : 18 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 770 | Literal value requires a U suffix. : 19 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 770 | Literal value requires a U suffix. : 20 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 770 | Literal value requires a U suffix. : 21 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 770 | Literal value requires a U suffix. : 22 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 770 | Literal value requires a U suffix. : 23 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 770 | Literal value requires a U suffix. : 24 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 770 | Literal value requires a U suffix. : 45 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 770 | Literal value requires a U suffix. : 46 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 775 | Literal value requires a U suffix. : 48 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 775 | Literal value requires a U suffix. : 49 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 775 | Literal value requires a U suffix. : 50 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 775 | Literal value requires a U suffix. : 51 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 775 | Literal value requires a U suffix. : 57 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 775 | Literal value requires a U suffix. : 58 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 775 | Literal value requires a U suffix. : 60 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 775 | Literal value requires a U suffix. : 64 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 775 | Literal value requires a U suffix. : 66 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 775 | Literal value requires a U suffix. : 69 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 775 | Literal value requires a U suffix. : 70 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 775 | Literal value requires a U suffix. : 72 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 775 | Literal value requires a U suffix. : 74 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 775 | Literal value requires a U suffix. : 75 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 775 | Literal value requires a U suffix. : 76 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 775 | Literal value requires a U suffix. : 85 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 775 | Literal value requires a U suffix. : 44 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 775 | Literal value requires a U suffix. : 36 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
Code | File: Src Line | Violation | Standard |
---|---|---|---|
C | yconf.c: 775 | Literal value requires a U suffix. : 43 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 775 | Literal value requires a U suffix. : 86 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 775 | Literal value requires a U suffix. : 84 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 775 | Literal value requires a U suffix. : 27 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 775 | Literal value requires a U suffix. : 90 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 775 | Literal value requires a U suffix. : 28 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 775 | Literal value requires a U suffix. : 35 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 778 | Literal value requires a U suffix. : 40 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 778 | Literal value requires a U suffix. : 88 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 778 | Literal value requires a U suffix. : 89 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 778 | Literal value requires a U suffix. : 36 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 778 | Literal value requires a U suffix. : 1 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 778 | Literal value requires a U suffix. : 52 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 778 | Literal value requires a U suffix. : 61 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 778 | Literal value requires a U suffix. : 63 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 778 | Literal value requires a U suffix. : 67 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 778 | Literal value requires a U suffix. : 81 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 778 | Literal value requires a U suffix. : 73 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 778 | Literal value requires a U suffix. : 79 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 778 | Literal value requires a U suffix. : 37 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 778 | Literal value requires a U suffix. : 38 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 778 | Literal value requires a U suffix. : 86 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 778 | Literal value requires a U suffix. : 29 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 778 | Literal value requires a U suffix. : 30 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 778 | Literal value requires a U suffix. : 31 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 778 | Literal value requires a U suffix. : 32 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 778 | Literal value requires a U suffix. : 33 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 778 | Literal value requires a U suffix. : 39 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 782 | Literal value requires a U suffix. : 1 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 782 | Literal value requires a U suffix. : 16 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 782 | Literal value requires a U suffix. : 18 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 782 | Literal value requires a U suffix. : 19 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 782 | Literal value requires a U suffix. : 20 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 782 | Literal value requires a U suffix. : 21 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 782 | Literal value requires a U suffix. : 22 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 782 | Literal value requires a U suffix. : 23 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 782 | Literal value requires a U suffix. : 25 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 782 | Literal value requires a U suffix. : 27 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 782 | Literal value requires a U suffix. : 36 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 782 | Literal value requires a U suffix. : 47 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 782 | Literal value requires a U suffix. : 53 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 782 | Literal value requires a U suffix. : 54 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 782 | Literal value requires a U suffix. : 77 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 782 | Literal value requires a U suffix. : 78 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 782 | Literal value requires a U suffix. : 80 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 782 | Literal value requires a U suffix. : 17 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 782 | Literal value requires a U suffix. : 62 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 782 | Literal value requires a U suffix. : 46 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 782 | Literal value requires a U suffix. : 59 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 782 | Literal value requires a U suffix. : 85 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
Code | File: Src Line | Violation | Standard |
---|---|---|---|
C | yconf.c: 782 | Literal value requires a U suffix. : 60 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 782 | Literal value requires a U suffix. : 65 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 785 | Literal value requires a U suffix. : 72 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 785 | Literal value requires a U suffix. : 85 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 785 | Literal value requires a U suffix. : 24 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 785 | Literal value requires a U suffix. : 36 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 785 | Literal value requires a U suffix. : 79 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 785 | Literal value requires a U suffix. : 82 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 785 | Literal value requires a U suffix. : 46 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 785 | Literal value requires a U suffix. : 60 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 785 | Literal value requires a U suffix. : 71 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 785 | Literal value requires a U suffix. : 47 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 785 | Literal value requires a U suffix. : 80 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 785 | Literal value requires a U suffix. : 34 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 785 | Literal value requires a U suffix. : 88 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 785 | Literal value requires a U suffix. : 89 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 785 | Literal value requires a U suffix. : 26 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 785 | Literal value requires a U suffix. : 84 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 785 | Literal value requires a U suffix. : 83 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 785 | Literal value requires a U suffix. : 27 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 788 | Literal value requires a U suffix. : 55 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 788 | Literal value requires a U suffix. : 1 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 788 | Literal value requires a U suffix. : 36 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 788 | Literal value requires a U suffix. : 84 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 788 | Literal value requires a U suffix. : 83 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 788 | Literal value requires a U suffix. : 27 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 788 | Literal value requires a U suffix. : 14 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 788 | Literal value requires a U suffix. : 87 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 788 | Literal value requires a U suffix. : 88 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 788 | Literal value requires a U suffix. : 89 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 788 | Literal value requires a U suffix. : 39 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 788 | Literal value requires a U suffix. : 56 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 793 | Literal value requires a U suffix. : 36 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 793 | Literal value requires a U suffix. : 84 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 793 | Value is not of appropriate type. : (unsigned char and signed char): 36 , 36 , 36 , 84 | MISRA-C:2012 R.10.1,R.10.3,R.10.4,R.10.5,R.11.1 |
C | yconf.c: 796 | Literal value requires a U suffix. : 42 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 796 | Literal value requires a U suffix. : 43 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 796 | Literal value requires a U suffix. : 44 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 796 | Literal value requires a U suffix. : 45 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 796 | Literal value requires a U suffix. : 46 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 796 | Literal value requires a U suffix. : 47 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 796 | Literal value requires a U suffix. : 48 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 796 | Literal value requires a U suffix. : 49 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 796 | Literal value requires a U suffix. : 50 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 801 | Literal value requires a U suffix. : 51 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 801 | Literal value requires a U suffix. : 52 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 801 | Literal value requires a U suffix. : 53 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 801 | Literal value requires a U suffix. : 54 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 801 | Literal value requires a U suffix. : 55 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 801 | Literal value requires a U suffix. : 56 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
Code | File: Src Line | Violation | Standard |
---|---|---|---|
C | yconf.c: 801 | Literal value requires a U suffix. : 57 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 801 | Literal value requires a U suffix. : 58 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 801 | Literal value requires a U suffix. : 59 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 801 | Literal value requires a U suffix. : 60 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 801 | Literal value requires a U suffix. : 61 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 801 | Literal value requires a U suffix. : 62 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 801 | Literal value requires a U suffix. : 63 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 804 | Literal value requires a U suffix. : 63 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 804 | Literal value requires a U suffix. : 64 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 804 | Literal value requires a U suffix. : 65 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 804 | Literal value requires a U suffix. : 66 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 804 | Literal value requires a U suffix. : 67 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 804 | Literal value requires a U suffix. : 68 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 804 | Literal value requires a U suffix. : 69 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 804 | Literal value requires a U suffix. : 70 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 804 | Literal value requires a U suffix. : 71 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 804 | Literal value requires a U suffix. : 72 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 804 | Literal value requires a U suffix. : 73 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 804 | Literal value requires a U suffix. : 74 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 804 | Literal value requires a U suffix. : 75 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 804 | Literal value requires a U suffix. : 76 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 804 | Literal value requires a U suffix. : 77 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 804 | Literal value requires a U suffix. : 78 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 804 | Literal value requires a U suffix. : 79 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 804 | Literal value requires a U suffix. : 80 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 804 | Literal value requires a U suffix. : 81 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 804 | Literal value requires a U suffix. : 82 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 804 | Literal value requires a U suffix. : 83 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 811 | Literal value requires a U suffix. : 84 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 811 | Literal value requires a U suffix. : 85 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 811 | Literal value requires a U suffix. : 86 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 811 | Literal value requires a U suffix. : 87 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 811 | Literal value requires a U suffix. : 88 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 811 | Literal value requires a U suffix. : 89 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 811 | Literal value requires a U suffix. : 90 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 811 | Value is not of appropriate type. : (unsigned char and signed char): 83 , 84 , 84 , 85 , 85 , 85 , 86 , 86 , 87 , 87 , 88 , 88 , 88 , 88 , 88 , 88 , 88 , 88 , 88 , 88 , 88 , 89 , 89 , 90 , 90 | MISRA-C:2012 R.10.1,R.10.3,R.10.4,R.10.5,R.11.1 |
C | yconf.c: 814 | Literal value requires a U suffix. : 2 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 814 | Literal value requires a U suffix. : 1 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 814 | Literal value requires a U suffix. : 4 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 814 | Literal value requires a U suffix. : 3 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 814 | Literal value requires a U suffix. : 0 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 820 | Literal value requires a U suffix. : 4 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 820 | Literal value requires a U suffix. : 5 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 820 | Literal value requires a U suffix. : 3 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 820 | Literal value requires a U suffix. : 0 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 820 | Literal value requires a U suffix. : 2 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 820 | Literal value requires a U suffix. : 1 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 824 | Literal value requires a U suffix. : 3 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 824 | Literal value requires a U suffix. : 2 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 824 | Literal value requires a U suffix. : 0 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
Code | File: Src Line | Violation | Standard |
---|---|---|---|
C | yconf.c: 824 | Literal value requires a U suffix. : 4 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | yconf.c: 824 | Literal value requires a U suffix. : 1 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
O | yconf.c: 842 | Use of function like macro. | MISRA-C:2012 D.4.9 |
C | yconf.c: 871 | Included file is not permitted. | MISRA-C:2012 R.21.5,R.21.6,R.21.10,R.21.11 |
O | yconf.c: 871 | #include preceded by non preproc directives. | MISRA-C:2012 R.20.1 |
C | yconf.c: 879 | Macro parameter not in brackets. : Args | MISRA-C:2012 R.20.7 |
O | yconf.c: 883 | Use of function like macro. | MISRA-C:2012 D.4.9 |
C | yconf.c: 887 | Macro parameter not in brackets. : Title | MISRA-C:2012 R.20.7 |
C | yconf.c: 887 | Macro parameter not in brackets. : Type | MISRA-C:2012 R.20.7 |
C | yconf.c: 887 | Macro parameter not in brackets. : Value | MISRA-C:2012 R.20.7 |
C | yconf.c: 980 | Macro parameter not in brackets. : Rule | MISRA-C:2012 R.20.7 |
O | yconf.c: 988 | Basic type declaration used. | MISRA-C:2012 D.4.6 |
O | yconf.c: 1295 | Basic type declaration used. | MISRA-C:2012 D.4.6 |
O | yconf.c: 1300 | Basic type declaration used. | MISRA-C:2012 D.4.6 |
C | yconf.c: 2505 | Included file not protected with #define. | MISRA-C:2012 D.4.10 |
C | yconf.c: 2506 | Included file not protected with #define. | MISRA-C:2012 D.4.10 |
C | yconf.c: 2507 | Included file not protected with #define. | MISRA-C:2012 D.4.10 |
C | yconf.c: 2508 | Included file not protected with #define. | MISRA-C:2012 D.4.10 |
C | yconf.c: 2509 | Included file not protected with #define. | MISRA-C:2012 D.4.10 |
C | yconf.c: 2510 | Included file not protected with #define. | MISRA-C:2012 D.4.10 |
C | yconf.c: 102 | Struct/union not completely specified. : symbol | MISRA-C:2012 R.1.3 |
C | yconf.c: 104 | Struct/union not completely specified. : menu | MISRA-C:2012 R.1.3 |
C | yconf.c: 100 | Struct/union not completely specified. : kconf_id | MISRA-C:2012 R.1.3 |
O | yconf.c: 269 | User type declared but not used in code analysed. : yytype_int8 | MISRA-C:2012 R.2.3,R.2.4 |
O | yconf.c: 137 | User type declared but not used in code analysed. : yytokentype | MISRA-C:2012 R.2.3,R.2.4 |
C | yconf.c: 1 | File does not end with new line. : C:\Users\zhang\Desktop\WJ\03\rt-thread-master\yconf.c | MISRA-C:2012 R.1.3 |
O | yconf.c: 94 | Scope of variable could be reduced. : cdebug | MISRA-C:2012 R.8.9 |
O | yconf.c: 517 | Scope of variable could be reduced. : yytranslate | MISRA-C:2012 R.8.9 |
O | yconf.c: 553 | Scope of variable could be reduced. : yyrline | MISRA-C:2012 R.8.9 |
O | yconf.c: 574 | Scope of variable could be reduced. : yytname | MISRA-C:2012 R.8.9 |
O | yconf.c: 622 | Scope of variable could be reduced. : yypact | MISRA-C:2012 R.8.9 |
O | yconf.c: 650 | Scope of variable could be reduced. : yydefact | MISRA-C:2012 R.8.9 |
O | yconf.c: 676 | Scope of variable could be reduced. : yypgoto | MISRA-C:2012 R.8.9 |
O | yconf.c: 686 | Scope of variable could be reduced. : yydefgoto | MISRA-C:2012 R.8.9 |
O | yconf.c: 698 | Scope of variable could be reduced. : yytable | MISRA-C:2012 R.8.9 |
O | yconf.c: 733 | Scope of variable could be reduced. : yycheck | MISRA-C:2012 R.8.9 |
O | yconf.c: 796 | Scope of variable could be reduced. : yyr1 | MISRA-C:2012 R.8.9 |
O | yconf.c: 1295 | Scope of variable could be reduced. : zconfchar | MISRA-C:2012 R.8.9 |
O | yconf.c: 99 | Identifier is typographically ambiguous. : zconf_error | MISRA-C:2012 D.4.5 |
O | yconf.c: 517 | Identifier is typographically ambiguous. : YYTRANSLATE | MISRA-C:2012 D.4.5 |
O | yconf.c: 137 | Identifier is typographically ambiguous. : YYTOKENTYPE | MISRA-C:2012 D.4.5 |
C | yconf.c: 222 | Identifier reuse: tag vs typedef. : YYSTYPE | MISRA-C:2012 R.5.6,R.5.7 |
C | yconf.c: 438 | Identifier reuse: tag vs macro. : yyalloc | MISRA-C:2012 R.5.5 |
C | yconf.c: 139 | Identifier reuse: macro vs enum constant. : T_MAINMENU | MISRA-C:2012 R.5.5 |
C | yconf.c: 140 | Identifier reuse: macro vs enum constant. : T_MENU | MISRA-C:2012 R.5.5 |
C | yconf.c: 141 | Identifier reuse: macro vs enum constant. : T_ENDMENU | MISRA-C:2012 R.5.5 |
C | yconf.c: 142 | Identifier reuse: macro vs enum constant. : T_SOURCE | MISRA-C:2012 R.5.5 |
C | yconf.c: 143 | Identifier reuse: macro vs enum constant. : T_CHOICE | MISRA-C:2012 R.5.5 |
C | yconf.c: 144 | Identifier reuse: macro vs enum constant. : T_ENDCHOICE | MISRA-C:2012 R.5.5 |
C | yconf.c: 145 | Identifier reuse: macro vs enum constant. : T_COMMENT | MISRA-C:2012 R.5.5 |
C | yconf.c: 146 | Identifier reuse: macro vs enum constant. : T_CONFIG | MISRA-C:2012 R.5.5 |
C | yconf.c: 147 | Identifier reuse: macro vs enum constant. : T_MENUCONFIG | MISRA-C:2012 R.5.5 |
C | yconf.c: 148 | Identifier reuse: macro vs enum constant. : T_HELP | MISRA-C:2012 R.5.5 |
C | yconf.c: 149 | Identifier reuse: macro vs enum constant. : T_HELPTEXT | MISRA-C:2012 R.5.5 |
C | yconf.c: 150 | Identifier reuse: macro vs enum constant. : T_IF | MISRA-C:2012 R.5.5 |
C | yconf.c: 151 | Identifier reuse: macro vs enum constant. : T_ENDIF | MISRA-C:2012 R.5.5 |
C | yconf.c: 152 | Identifier reuse: macro vs enum constant. : T_DEPENDS | MISRA-C:2012 R.5.5 |
C | yconf.c: 153 | Identifier reuse: macro vs enum constant. : T_OPTIONAL | MISRA-C:2012 R.5.5 |
C | yconf.c: 154 | Identifier reuse: macro vs enum constant. : T_PROMPT | MISRA-C:2012 R.5.5 |
C | yconf.c: 155 | Identifier reuse: macro vs enum constant. : T_TYPE | MISRA-C:2012 R.5.5 |
C | yconf.c: 156 | Identifier reuse: macro vs enum constant. : T_DEFAULT | MISRA-C:2012 R.5.5 |
C | yconf.c: 157 | Identifier reuse: macro vs enum constant. : T_SELECT | MISRA-C:2012 R.5.5 |
C | yconf.c: 158 | Identifier reuse: macro vs enum constant. : T_IMPLY | MISRA-C:2012 R.5.5 |
C | yconf.c: 159 | Identifier reuse: macro vs enum constant. : T_RANGE | MISRA-C:2012 R.5.5 |
C | yconf.c: 160 | Identifier reuse: macro vs enum constant. : T_VISIBLE | MISRA-C:2012 R.5.5 |
C | yconf.c: 161 | Identifier reuse: macro vs enum constant. : T_OPTION | MISRA-C:2012 R.5.5 |
C | yconf.c: 162 | Identifier reuse: macro vs enum constant. : T_ON | MISRA-C:2012 R.5.5 |
C | yconf.c: 163 | Identifier reuse: macro vs enum constant. : T_WORD | MISRA-C:2012 R.5.5 |
C | yconf.c: 164 | Identifier reuse: macro vs enum constant. : T_WORD_QUOTE | MISRA-C:2012 R.5.5 |
C | yconf.c: 165 | Identifier reuse: macro vs enum constant. : T_UNEQUAL | MISRA-C:2012 R.5.5 |
C | yconf.c: 166 | Identifier reuse: macro vs enum constant. : T_LESS | MISRA-C:2012 R.5.5 |
C | yconf.c: 167 | Identifier reuse: macro vs enum constant. : T_LESS_EQUAL | MISRA-C:2012 R.5.5 |
C | yconf.c: 168 | Identifier reuse: macro vs enum constant. : T_GREATER | MISRA-C:2012 R.5.5 |
C | yconf.c: 169 | Identifier reuse: macro vs enum constant. : T_GREATER_EQUAL | MISRA-C:2012 R.5.5 |
C | yconf.c: 170 | Identifier reuse: macro vs enum constant. : T_CLOSE_PAREN | MISRA-C:2012 R.5.5 |
C | yconf.c: 171 | Identifier reuse: macro vs enum constant. : T_OPEN_PAREN | MISRA-C:2012 R.5.5 |
C | yconf.c: 172 | Identifier reuse: macro vs enum constant. : T_EOL | MISRA-C:2012 R.5.5 |
C | yconf.c: 173 | Identifier reuse: macro vs enum constant. : T_OR | MISRA-C:2012 R.5.5 |
C | yconf.c: 174 | Identifier reuse: macro vs enum constant. : T_AND | MISRA-C:2012 R.5.5 |
C | yconf.c: 175 | Identifier reuse: macro vs enum constant. : T_EQUAL | MISRA-C:2012 R.5.5 |
C | yconf.c: 176 | Identifier reuse: macro vs enum constant. : T_NOT |
MISRA-C:2012 R.5.5 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
print_item (31 to 60 checklist.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 36 | Function call with no prior declaration. : item_str | MISRA-C:2012 R.17.3 |
M | 40 | Function call with no prior declaration. : wattrset | MISRA-C:2012 R.17.3 |
M | 41 | Function call with no prior declaration. : wmove | MISRA-C:2012 R.17.3 |
M | 43 | Function call with no prior declaration. : waddch | MISRA-C:2012 R.17.3 |
M | 45 | Function call with no prior declaration. : wmove | MISRA-C:2012 R.17.3 |
M | 46 | Function call with no prior declaration. : wattrset | MISRA-C:2012 R.17.3 |
M | 48 | Function call with no prior declaration. : item_is_tag | MISRA-C:2012 R.17.3 |
M | 49 | Function call with no prior declaration. : wprintw | MISRA-C:2012 R.17.3 |
M | 49 | Function call with no prior declaration. : item_is_tag | MISRA-C:2012 R.17.3 |
M | 51 | Function call with no prior declaration. : wattrset | MISRA-C:2012 R.17.3 |
M | 52 | Function call with no prior declaration. : mvwaddch | MISRA-C:2012 R.17.3 |
M | 53 | Function call with no prior declaration. : wattrset | MISRA-C:2012 R.17.3 |
M | 54 | Function call with no prior declaration. : waddstr | MISRA-C:2012 R.17.3 |
M | 56 | Function call with no prior declaration. : wmove | MISRA-C:2012 R.17.3 |
M | 57 | Function call with no prior declaration. : wrefresh | MISRA-C:2012 R.17.3 |
C | 37 | Pointer not checked for null before use. : list_item | MISRA-C:2012 D.4.1 |
C | 52 | Pointer not checked for null before use. : list_item | MISRA-C:2012 D.4.1 |
C | 34 | Use of banned function or variable. : malloc | MISRA-C:2012 D.4.12,R.1.3,R.17.1,R.21.3,R.21.6,R.21.7,R.21.8,R.21.9,R.21.10,R.21.12 |
C | 36 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 37 | Declaration does not specify an array. | MISRA-C:2012 R.18.1 |
C | 43 | No brackets to loop body. | MISRA-C:2012 R.15.6 |
C | 46 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 48 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 49 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 49 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 51 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 52 | Declaration does not specify an array. | MISRA-C:2012 R.18.1 |
C | 53 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 54 | Pointer arithmetic is not on array. | MISRA-C:2012 R.18.1,R.18.4 |
C | 55 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 59 | Use of banned function or variable. : free | MISRA-C:2012 D.4.12,R.1.3,R.17.1,R.21.3,R.21.6,R.21.7,R.21.8,R.21.9,R.21.10,R.21.12 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
print_arrows (65 to 96 checklist.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 68 | Function call with no prior declaration. : wmove | MISRA-C:2012 R.17.3 |
M | 71 | Function call with no prior declaration. : wattrset | MISRA-C:2012 R.17.3 |
M | 72 | Function call with no prior declaration. : waddch | MISRA-C:2012 R.17.3 |
M | 73 | Function call with no prior declaration. : waddstr | MISRA-C:2012 R.17.3 |
M | 75 | Function call with no prior declaration. : wattrset | MISRA-C:2012 R.17.3 |
M | 76 | Function call with no prior declaration. : waddch | MISRA-C:2012 R.17.3 |
M | 77 | Function call with no prior declaration. : waddch | MISRA-C:2012 R.17.3 |
M | 78 | Function call with no prior declaration. : waddch | MISRA-C:2012 R.17.3 |
M | 79 | Function call with no prior declaration. : waddch | MISRA-C:2012 R.17.3 |
M | 83 | Function call with no prior declaration. : wmove | MISRA-C:2012 R.17.3 |
M | 86 | Function call with no prior declaration. : wattrset | MISRA-C:2012 R.17.3 |
M | 87 | Function call with no prior declaration. : waddch | MISRA-C:2012 R.17.3 |
M | 88 | Function call with no prior declaration. : waddstr | MISRA-C:2012 R.17.3 |
M | 90 | Function call with no prior declaration. : wattrset | MISRA-C:2012 R.17.3 |
M | 91 | Function call with no prior declaration. : waddch | MISRA-C:2012 R.17.3 |
M | 92 | Function call with no prior declaration. : waddch | MISRA-C:2012 R.17.3 |
M | 93 | Function call with no prior declaration. : waddch | MISRA-C:2012 R.17.3 |
M | 94 | Function call with no prior declaration. : waddch | MISRA-C:2012 R.17.3 |
C | 85 | Expression needs brackets. | MISRA-C:2012 R.12.1,R.20.7 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
print_buttons (101 to 111 checklist.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 106 | Function call with no prior declaration. : print_button | MISRA-C:2012 R.17.3 |
M | 106 | Function call with no prior declaration. : gettext | MISRA-C:2012 R.17.3 |
M | 107 | Function call with no prior declaration. : print_button | MISRA-C:2012 R.17.3 |
M | 107 | Function call with no prior declaration. : gettext | MISRA-C:2012 R.17.3 |
M | 109 | Function call with no prior declaration. : wmove | MISRA-C:2012 R.17.3 |
M | 110 | Function call with no prior declaration. : wrefresh | MISRA-C:2012 R.17.3 |
C | 103 | Expression needs brackets. | MISRA-C:2012 R.12.1,R.20.7 |
C | 109 | Expression needs brackets. | MISRA-C:2012 R.12.1,R.20.7 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
dialog_checklist (117 to 332 checklist.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : dialog_checklist | MISRA-C:2012 R.8.4 |
C | DD data flow anomalies found. | MISRA-C:2012 R.2.2 |
C | Function has global variable side effects. : check_x | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : item_x | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : list_width | MISRA-C:2012 R.13.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 126 | Function call with no prior declaration. : item_is_tag | MISRA-C:2012 R.17.3 |
M | 127 | Function call with no prior declaration. : item_n | MISRA-C:2012 R.17.3 |
M | 128 | Function call with no prior declaration. : item_is_selected | MISRA-C:2012 R.17.3 |
M | 129 | Function call with no prior declaration. : item_n | MISRA-C:2012 R.17.3 |
M | 135 | Function call with no prior declaration. : getmaxy | MISRA-C:2012 R.17.3 |
M | 137 | Function call with no prior declaration. : getmaxx | MISRA-C:2012 R.17.3 |
M | 140 | Function call with no prior declaration. : MIN | MISRA-C:2012 R.17.3 |
M | 140 | Function call with no prior declaration. : item_count | MISRA-C:2012 R.17.3 |
M | 143 | Function call with no prior declaration. : getmaxx | MISRA-C:2012 R.17.3 |
M | 144 | Function call with no prior declaration. : getmaxy | MISRA-C:2012 R.17.3 |
M | 146 | Function call with no prior declaration. : draw_shadow | MISRA-C:2012 R.17.3 |
M | 148 | Function call with no prior declaration. : newwin | MISRA-C:2012 R.17.3 |
M | 149 | Function call with no prior declaration. : keypad | MISRA-C:2012 R.17.3 |
M | 151 | Function call with no prior declaration. : draw_box | MISRA-C:2012 R.17.3 |
M | 153 | Function call with no prior declaration. : wattrset | MISRA-C:2012 R.17.3 |
M | 154 | Function call with no prior declaration. : mvwaddch | MISRA-C:2012 R.17.3 |
M | 156 | Function call with no prior declaration. : waddch | MISRA-C:2012 R.17.3 |
M | 157 | Function call with no prior declaration. : wattrset | MISRA-C:2012 R.17.3 |
M | 158 | Function call with no prior declaration. : waddch | MISRA-C:2012 R.17.3 |
M | 160 | Function call with no prior declaration. : print_title | MISRA-C:2012 R.17.3 |
M | 162 | Function call with no prior declaration. : wattrset | MISRA-C:2012 R.17.3 |
M | 163 | Function call with no prior declaration. : print_autowrap | MISRA-C:2012 R.17.3 |
M | 170 | Function call with no prior declaration. : subwin | MISRA-C:2012 R.17.3 |
M | 173 | Function call with no prior declaration. : keypad | MISRA-C:2012 R.17.3 |
M | 177 | Function call with no prior declaration. : draw_box | MISRA-C:2012 R.17.3 |
M | 181 | Function call with no prior declaration. : item_foreach | MISRA-C:2012 R.17.3 |
M | 181 | Function call with no prior declaration. : MAX | MISRA-C:2012 R.17.3 |
M | 182 | Function call with no prior declaration. : item_str | MISRA-C:2012 R.17.3 |
M | 183 | Function call with no prior declaration. : MIN | MISRA-C:2012 R.17.3 |
M | 195 | Function call with no prior declaration. : item_set | MISRA-C:2012 R.17.3 |
M | 199 | Function call with no prior declaration. : item_count | MISRA-C:2012 R.17.3 |
M | 204 | Function call with no prior declaration. : wnoutrefresh | MISRA-C:2012 R.17.3 |
M | 205 | Function call with no prior declaration. : wnoutrefresh | MISRA-C:2012 R.17.3 |
M | 206 | Function call with no prior declaration. : doupdate | MISRA-C:2012 R.17.3 |
M | 209 | Function call with no prior declaration. : wgetch | MISRA-C:2012 R.17.3 |
M | 212 | Function call with no prior declaration. : item_set | MISRA-C:2012 R.17.3 |
M | 213 | Function call with no prior declaration. : item_str | MISRA-C:2012 R.17.3 |
M | 226 | Function call with no prior declaration. : item_set | MISRA-C:2012 R.17.3 |
M | 228 | Function call with no prior declaration. : scrollok | MISRA-C:2012 R.17.3 |
M | 229 | Function call with no prior declaration. : wscrl | MISRA-C:2012 R.17.3 |
M | 230 | Function call with no prior declaration. : scrollok | MISRA-C:2012 R.17.3 |
M | 233 | Function call with no prior declaration. : item_set | MISRA-C:2012 R.17.3 |
M | 235 | Function call with no prior declaration. : item_count | MISRA-C:2012 R.17.3 |
M | 238 | Function call with no prior declaration. : wnoutrefresh | MISRA-C:2012 R.17.3 |
M | 239 | Function call with no prior declaration. : wrefresh | MISRA-C:2012 R.17.3 |
M | 246 | Function call with no prior declaration. : item_count | MISRA-C:2012 R.17.3 |
M | 251 | Function call with no prior declaration. : item_set | MISRA-C:2012 R.17.3 |
M | 255 | Function call with no prior declaration. : scrollok | MISRA-C:2012 R.17.3 |
M | 256 | Function call with no prior declaration. : wscrl | MISRA-C:2012 R.17.3 |
M | 257 | Function call with no prior declaration. : scrollok | MISRA-C:2012 R.17.3 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 260 | Function call with no prior declaration. : item_set | MISRA-C:2012 R.17.3 |
M | 263 | Function call with no prior declaration. : item_count | MISRA-C:2012 R.17.3 |
M | 266 | Function call with no prior declaration. : wnoutrefresh | MISRA-C:2012 R.17.3 |
M | 267 | Function call with no prior declaration. : wrefresh | MISRA-C:2012 R.17.3 |
M | 275 | Function call with no prior declaration. : item_set | MISRA-C:2012 R.17.3 |
M | 279 | Function call with no prior declaration. : item_set | MISRA-C:2012 R.17.3 |
M | 281 | Function call with no prior declaration. : wnoutrefresh | MISRA-C:2012 R.17.3 |
M | 282 | Function call with no prior declaration. : wrefresh | MISRA-C:2012 R.17.3 |
M | 297 | Function call with no prior declaration. : item_set_selected | MISRA-C:2012 R.17.3 |
M | 298 | Function call with no prior declaration. : item_set | MISRA-C:2012 R.17.3 |
M | 299 | Function call with no prior declaration. : item_set_selected | MISRA-C:2012 R.17.3 |
M | 300 | Function call with no prior declaration. : delwin | MISRA-C:2012 R.17.3 |
M | 301 | Function call with no prior declaration. : delwin | MISRA-C:2012 R.17.3 |
M | 310 | Function call with no prior declaration. : wrefresh | MISRA-C:2012 R.17.3 |
M | 317 | Function call with no prior declaration. : on_key_esc | MISRA-C:2012 R.17.3 |
M | 320 | Function call with no prior declaration. : delwin | MISRA-C:2012 R.17.3 |
M | 321 | Function call with no prior declaration. : delwin | MISRA-C:2012 R.17.3 |
M | 322 | Function call with no prior declaration. : on_key_resize | MISRA-C:2012 R.17.3 |
M | 327 | Function call with no prior declaration. : doupdate | MISRA-C:2012 R.17.3 |
M | 329 | Function call with no prior declaration. : delwin | MISRA-C:2012 R.17.3 |
M | 330 | Function call with no prior declaration. : delwin | MISRA-C:2012 R.17.3 |
C | 149 | Pointer not checked for null before use. : dialog | MISRA-C:2012 D.4.1 |
C | 173 | Pointer not checked for null before use. : list | MISRA-C:2012 D.4.1 |
C | 134 | Potentially infinite loop found. | MISRA-C:2012 R.2.1 |
C | 126 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 127 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 128 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 136 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 138 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 155 | Expression needs brackets. | MISRA-C:2012 R.12.1,R.20.7 |
C | 156 | No brackets to loop body. | MISRA-C:2012 R.15.6 |
C | 167 | Expression needs brackets. | MISRA-C:2012 R.12.1,R.20.7 |
C | 182 | Value is not of appropriate type. : (int and char): item_str () | MISRA-C:2012 R.10.1,R.10.3,R.10.4,R.10.5,R.11.1 |
C | 182 | Literal value requires a U suffix. : 4 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | 189 | Expression needs brackets. | MISRA-C:2012 R.12.1,R.20.7 |
C | 214 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 218 | Type conversion without cast. : (int and char): key == '+' | MISRA-C:2012 R.10.1,R.10.3,R.10.4 |
C | 218 | Type conversion without cast. : (int and char): key == '-' | MISRA-C:2012 R.10.1,R.10.3,R.10.4 |
C | 219 | Type conversion without cast. : (int and char): key == '-' | MISRA-C:2012 R.10.1,R.10.3,R.10.4 |
C | 220 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 221 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 222 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 243 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 244 | Type conversion without cast. : (int and char): key == '+' | MISRA-C:2012 R.10.1,R.10.3,R.10.4 |
C | 245 | Expression needs brackets. | MISRA-C:2012 R.12.1,R.20.7 |
C | 246 | Expression needs brackets. | MISRA-C:2012 R.12.1,R.20.7 |
C | 246 | Value is not of appropriate type. : (bool and unsigned char): scroll + choice >= item_count () | MISRA-C:2012 R.10.1,R.10.3,R.10.4,R.10.5,R.11.1 |
C | 247 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 251 | Expression needs brackets. | MISRA-C:2012 R.12.1,R.20.7 |
C | 260 | Expression needs brackets. | MISRA-C:2012 R.12.1,R.20.7 |
C | 271 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 272 | Else alternative missing in if. | MISRA-C:2012 R.15.7 |
Code | Line | Violation | Standard |
---|---|---|---|
C | 292 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 302 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 306 | Deprecated usage of ++ or -- operators found. | MISRA-C:2012 R.13.1,R.13.2,R.13.3 |
C | 306 | Assignment operation in expression. | MISRA-C:2012 R.13.1,R.13.2,R.13.4 |
C | 306 | Expression needs brackets. | MISRA-C:2012 R.12.1,R.20.7 |
C | 306 | Deprecated usage of ++ or -- operators found. | MISRA-C:2012 R.13.1,R.13.2,R.13.3 |
C | 306 | Assignment operation in expression. | MISRA-C:2012 R.13.1,R.13.2,R.13.4 |
C | 323 | goto label is backwards. | MISRA-C:2012 R.15.2 |
C | 324 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 286 | No default case in switch statement. | MISRA-C:2012 R.16.4 |
C | 196 | Implicit conversion: actual to formal param. : (bool and int): param 2 | MISRA-C:2012 R.10.3 |
C | 196 | Implicit conversion: actual to formal param. : (bool and int): param 3 | MISRA-C:2012 R.10.3 |
C | 227 | Implicit conversion: actual to formal param. : (bool and int): param 3 | MISRA-C:2012 R.10.3 |
C | 234 | Implicit conversion: actual to formal param. : (bool and int): param 3 | MISRA-C:2012 R.10.3 |
C | 252 | Implicit conversion: actual to formal param. : (bool and int): param 3 | MISRA-C:2012 R.10.3 |
C | 261 | Implicit conversion: actual to formal param. : (bool and int): param 3 | MISRA-C:2012 R.10.3 |
C | 276 | Implicit conversion: actual to formal param. : (bool and int): param 3 | MISRA-C:2012 R.10.3 |
C | 280 | Implicit conversion: actual to formal param. : (bool and int): param 3 | MISRA-C:2012 R.10.3 |
C | 306 | Expression has side effects. : button | MISRA-C:2012 R.13.1,R.13.2,R.13.5 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
conf_warning (35 to 44 confdata.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
C | 39 | Pointer not checked for null before use. : conf_filename | MISRA-C:2012 D.4.1 |
C | 38 | Use of banned function or variable. : va_start | MISRA-C:2012 D.4.12,R.1.3,R.17.1,R.21.3,R.21.6,R.21.7,R.21.8,R.21.9,R.21.10,R.21.12 |
C | 39 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 40 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 40 | Incorrect number of formats in output function. : 0 formats, 3 outputs | MISRA-C:2012 R.1.3 |
C | 41 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 42 | Use of banned function or variable. : va_end | MISRA-C:2012 D.4.12,R.1.3,R.17.1,R.21.3,R.21.6,R.21.7,R.21.8,R.21.9,R.21.10,R.21.12 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
conf_default_message_callback (46 to 51 confdata.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
C | 48 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 49 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 49 | Incorrect number of formats in output function. : 0 formats, 2 outputs | MISRA-C:2012 R.1.3 |
C | 50 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 46 | Static procedure is not explicitly called in code analysed. : conf_default_message_callback | MISRA-C:2012 R.2.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
conf_set_message_callback (55 to 58 confdata.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : conf_set_message_callback | MISRA-C:2012 R.8.4 |
Code | Line | Violation | Standard |
---|---|---|---|
C | 57 | Function pointer is of wrong type. : Types of parameter 2 differ; conf_message_callback: va_list, fn: int | MISRA-C:2012 R.1.3 |
Code | Violation | Parameter |
---|---|---|
O | Procedure pointer is an unused parameter | fn |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
conf_message (60 to 68 confdata.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
C | 64 | Use of banned function or variable. : va_start | MISRA-C:2012 D.4.12,R.1.3,R.17.1,R.21.3,R.21.6,R.21.7,R.21.8,R.21.9,R.21.10,R.21.12 |
C | 65 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 66 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 66 | Use of banned function or variable. : va_end | MISRA-C:2012 D.4.12,R.1.3,R.17.1,R.21.3,R.21.6,R.21.7,R.21.8,R.21.9,R.21.10,R.21.12 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
conf_get_configname (70 to 75 confdata.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : conf_get_configname | MISRA-C:2012 R.8.4 |
Code | Line | Violation | Standard |
---|---|---|---|
C | 72 | Use of banned function or variable. : getenv | MISRA-C:2012 D.4.12,R.1.3,R.17.1,R.21.3,R.21.6,R.21.7,R.21.8,R.21.9,R.21.10,R.21.12 |
C | 74 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
conf_get_autoconfig_name (77 to 82 confdata.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : conf_get_autoconfig_name | MISRA-C:2012 R.8.4 |
Code | Line | Violation | Standard |
---|---|---|---|
C | 79 | Use of banned function or variable. : getenv | MISRA-C:2012 D.4.12,R.1.3,R.17.1,R.21.3,R.21.6,R.21.7,R.21.8,R.21.9,R.21.10,R.21.12 |
C | 81 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
conf_expand_value (84 to 108 confdata.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 100 | Function call with no prior declaration. : sym_lookup | MISRA-C:2012 R.17.3 |
M | 101 | Function call with no prior declaration. : sym_calc_value | MISRA-C:2012 R.17.3 |
M | 102 | Function call with no prior declaration. : sym_get_string_value | MISRA-C:2012 R.17.3 |
C | 101 | Pointer not checked for null before use. : sym | MISRA-C:2012 D.4.1 |
C | 93 | Pointer not checked for null before use. : in | MISRA-C:2012 D.4.1 |
C | 97 | Pointer not checked for null before use. : src | MISRA-C:2012 D.4.1 |
C | 88 | Variable-length array declared. : res_value[*] | MISRA-C:2012 R.18.8 |
C | 89 | Variable-length array declared. : name[*] | MISRA-C:2012 R.18.8 |
C | 93 | Assignment operation in expression. | MISRA-C:2012 R.13.1,R.13.2,R.13.4 |
C | 93 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 94 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 94 | Pointer arithmetic is not on array. | MISRA-C:2012 R.18.1,R.18.4 |
C | 95 | Pointer arithmetic is not on array. | MISRA-C:2012 R.18.1,R.18.4 |
C | 97 | Use of banned function or variable. : isalnum | MISRA-C:2012 D.4.12,R.1.3,R.17.1,R.21.3,R.21.6,R.21.7,R.21.8,R.21.9,R.21.10,R.21.12 |
C | 97 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 98 | No brackets to loop body. | MISRA-C:2012 R.15.6 |
C | 98 | Assignment operation in expression. | MISRA-C:2012 R.13.1,R.13.2,R.13.4 |
C | 98 | Deprecated usage of ++ or -- operators found. | MISRA-C:2012 R.13.1,R.13.2,R.13.3 |
C | 102 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 103 | const object reassigned. : in | MISRA-C:2012 R.1.3 |
C | 103 | Pointer assignment to wider scope. | MISRA-C:2012 R.18.6 |
C | 105 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 86 | Type is incomplete in translation unit. : symbol | MISRA-C:2012 R.1.3 |
M | 89 | Procedure contains UR data flow anomalies. : name |
MISRA-C:2012 R.9.1 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
conf_get_default_confname (110 to 124 confdata.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : conf_get_default_confname | MISRA-C:2012 R.8.4 |
C | Function has global variable side effects. : conf_defname | MISRA-C:2012 R.13.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 120 | Function call with no prior declaration. : stat | MISRA-C:2012 R.17.3 |
C | 119 | Pointer not checked for null before use. : name | MISRA-C:2012 D.4.1 |
C | 113 | Variable-length array declared. : fullname[*] | MISRA-C:2012 R.18.8 |
C | 117 | Use of banned function or variable. : getenv | MISRA-C:2012 D.4.12,R.1.3,R.17.1,R.21.3,R.21.6,R.21.7,R.21.8,R.21.9,R.21.10,R.21.12 |
C | 118 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 119 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 120 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 121 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 123 | Pointer assignment to wider scope. | MISRA-C:2012 R.18.6 |
C | 112 | Type is incomplete in translation unit. : stat | MISRA-C:2012 R.1.3 |
C | 120 | DU anomaly dead code, variable value is unused on all paths. : buf | MISRA-C:2012 R.2.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
conf_set_sym_val (126 to 194 confdata.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | Function has global variable side effects. : conf_warnings | MISRA-C:2012 R.13.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 180 | Function call with no prior declaration. : sym_string_valid | MISRA-C:2012 R.17.3 |
M | 181 | Function call with no prior declaration. : strdup | MISRA-C:2012 R.17.3 |
C | 164 | Pointer not checked for null before use. : p2 | MISRA-C:2012 D.4.1 |
C | 132 | Declaration does not specify an array. | MISRA-C:2012 R.18.1 |
C | 134 | Use of bit operator on signed type. : |= used with int: flags | MISRA-C:2012 R.10.1 |
C | 134 | Use of bit operator on signed type. : |= used with int: def_flags | MISRA-C:2012 R.10.1 |
C | 136 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 139 | Declaration does not specify an array. | MISRA-C:2012 R.18.1 |
C | 141 | Use of bit operator on signed type. : |= used with int: flags | MISRA-C:2012 R.10.1 |
C | 141 | Use of bit operator on signed type. : |= used with int: def_flags | MISRA-C:2012 R.10.1 |
C | 144 | Declaration does not specify an array. | MISRA-C:2012 R.18.1 |
C | 146 | Use of bit operator on signed type. : |= used with int: flags | MISRA-C:2012 R.10.1 |
C | 146 | Use of bit operator on signed type. : |= used with int: def_flags | MISRA-C:2012 R.10.1 |
C | 150 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 152 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 155 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 155 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 155 | Pointer arithmetic is not on array. | MISRA-C:2012 R.18.1,R.18.4 |
C | 156 | No brackets to loop body. | MISRA-C:2012 R.15.6 |
C | 161 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 162 | Deprecated usage of ++ or -- operators found. | MISRA-C:2012 R.13.1,R.13.2,R.13.3 |
C | 162 | Assignment operation in expression. | MISRA-C:2012 R.13.1,R.13.2,R.13.4 |
C | 162 | Expression needs brackets. | MISRA-C:2012 R.12.1,R.20.7 |
C | 163 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 164 | Assignment operation in expression. | MISRA-C:2012 R.13.1,R.13.2,R.13.4 |
C | 164 | Pointer arithmetic is not on array. | MISRA-C:2012 R.18.1,R.18.4 |
C | 169 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 169 | Pointer arithmetic is not on array. | MISRA-C:2012 R.18.1,R.18.4 |
C | 171 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 173 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 177 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 180 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 182 | Use of bit operator on signed type. : |= used with int: flags | MISRA-C:2012 R.10.1 |
C | 182 | Use of bit operator on signed type. : |= used with int: def_flags | MISRA-C:2012 R.10.1 |
C | 185 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 192 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 158 | Jump into nested block. | MISRA-C:2012 R.15.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
add_byte (197 to 215 confdata.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | DD data flow anomalies found. | MISRA-C:2012 R.2.2 |
Code | Line | Violation | Standard |
---|---|---|---|
C | 202 | Signed/unsigned conversion without cast. : (unsigned int and int): new_size | MISRA-C:2012 R.10.3,R.10.4 |
C | 202 | Signed/unsigned conversion without cast. : (unsigned int and int): new_size += 16 | MISRA-C:2012 R.10.3,R.10.4 |
C | 203 | Signed/unsigned conversion without cast. : (unsigned int and int): new_size | MISRA-C:2012 R.10.3,R.10.4 |
C | 204 | Use of banned function or variable. : realloc | MISRA-C:2012 D.4.12,R.1.3,R.17.1,R.21.3,R.21.6,R.21.7,R.21.8,R.21.9,R.21.10,R.21.12 |
C | 205 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 206 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 208 | Pointer assignment to wider scope. | MISRA-C:2012 R.18.6 |
C | 212 | Type conversion without cast. : (char and int): ( * lineptr ) [ slen ] = c | MISRA-C:2012 R.10.1,R.10.3,R.10.4 |
C | 215 | Memory not freed after last reference. : nline |
MISRA-C:2012 R.22.1 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
compat_getline (217 to 249 confdata.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
C | 232 | Pointer not checked for null before use. : line | MISRA-C:2012 D.4.1 |
C | 228 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 231 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 233 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 234 | Pointer assignment to wider scope. | MISRA-C:2012 R.18.6 |
C | 235 | Signed/unsigned conversion without cast. : (unsigned int and int): slen | MISRA-C:2012 R.10.3,R.10.4 |
C | 235 | Literal value requires a U suffix. : 0 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | 236 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 237 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 240 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 242 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 246 | Declaration does not specify an array. | MISRA-C:2012 R.18.1 |
C | 247 | Pointer assignment to wider scope. | MISRA-C:2012 R.18.6 |
C | 232 | Implicit conversion: actual to formal param. : (char and int): param 1 |
MISRA-C:2012 R.10.3 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
conf_read_simple (251 to 407 confdata.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : conf_read_simple | MISRA-C:2012 R.8.4 |
C | DD data flow anomalies found. | MISRA-C:2012 R.2.2 |
C | Function has global variable side effects. : conf_filename | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : conf_lineno | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : conf_unsaved | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : conf_warnings | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : sym_change_count | MISRA-C:2012 R.13.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 261 | Function call with no prior declaration. : zconf_fopen | MISRA-C:2012 R.17.3 |
M | 266 | Function call with no prior declaration. : zconf_fopen | MISRA-C:2012 R.17.3 |
M | 269 | Function call with no prior declaration. : sym_add_change_count | MISRA-C:2012 R.17.3 |
M | 274 | Function call with no prior declaration. : expr_calc_value | MISRA-C:2012 R.17.3 |
M | 278 | Function call with no prior declaration. : zconf_fopen | MISRA-C:2012 R.17.3 |
M | 280 | Function call with no prior declaration. : _ | MISRA-C:2012 R.17.3 |
M | 299 | Function call with no prior declaration. : sym_is_choice | MISRA-C:2012 R.17.3 |
M | 327 | Function call with no prior declaration. : sym_find | MISRA-C:2012 R.17.3 |
M | 329 | Function call with no prior declaration. : sym_add_change_count | MISRA-C:2012 R.17.3 |
M | 333 | Function call with no prior declaration. : sym_lookup | MISRA-C:2012 R.17.3 |
M | 361 | Function call with no prior declaration. : sym_find | MISRA-C:2012 R.17.3 |
M | 363 | Function call with no prior declaration. : sym_add_change_count | MISRA-C:2012 R.17.3 |
M | 367 | Function call with no prior declaration. : sym_lookup | MISRA-C:2012 R.17.3 |
M | 384 | Function call with no prior declaration. : sym_is_choice_value | MISRA-C:2012 R.17.3 |
M | 385 | Function call with no prior declaration. : prop_get_symbol | MISRA-C:2012 R.17.3 |
M | 385 | Function call with no prior declaration. : sym_get_choice_prop | MISRA-C:2012 R.17.3 |
M | 401 | Function call with no prior declaration. : EXPR_OR | MISRA-C:2012 R.17.3 |
C | 266 | Pointer not checked for null before use. : name | MISRA-C:2012 D.4.1 |
C | 278 | Pointer not checked for null before use. : name | MISRA-C:2012 D.4.1 |
C | 334 | Pointer not checked for null before use. : sym | MISRA-C:2012 D.4.1 |
C | 368 | Pointer not checked for null before use. : sym | MISRA-C:2012 D.4.1 |
C | 378 | Pointer not checked for null before use. : conf_filename | MISRA-C:2012 D.4.1 |
C | 338 | Pointer not checked for null before use. : (sym)->def.val | MISRA-C:2012 D.4.1 |
C | 372 | Pointer not checked for null before use. : (sym)->def.val | MISRA-C:2012 D.4.1 |
C | 385 | Pointer not checked for null before use. : (sym)->def.val | MISRA-C:2012 D.4.1 |
C | 390 | Pointer not checked for null before use. : cs | MISRA-C:2012 D.4.1 |
C | 396 | Pointer not checked for null before use. : cs | MISRA-C:2012 D.4.1 |
C | 401 | Pointer not checked for null before use. : cs | MISRA-C:2012 D.4.1 |
C | 314 | Potentially infinite loop found. | MISRA-C:2012 R.2.1 |
C | 260 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 265 | const object reassigned. : name | MISRA-C:2012 R.1.3 |
C | 267 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 268 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 270 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 271 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 276 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 277 | const object reassigned. : name | MISRA-C:2012 R.1.3 |
C | 279 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 263 | Type is incomplete in translation unit. : property | MISRA-C:2012 R.1.3 |
C | 286 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 287 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 295 | Use of shift operator on signed type. | MISRA-C:2012 R.10.1 |
C | 295 | Negative (or potentially negative) shift. | MISRA-C:2012 R.10.1,R.12.2 |
C | 297 | Use of bit operator on signed type. : |= used with int: flags | MISRA-C:2012 R.10.1 |
C | 297 | Use of bit operator on signed type. : |= used with int: SYMBOL_CHANGED | MISRA-C:2012 R.10.1 |
C | 298 | Use of bit operator on signed type. : &= used with int: flags | MISRA-C:2012 R.10.1 |
C | 298 | Use of bit operator on signed type. : | used with int: def_flags | MISRA-C:2012 R.10.1 |
C | 298 | Use of bit operator on signed type. : | used with int: SYMBOL_VALID | MISRA-C:2012 R.10.1 |
C | 299 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 300 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 300 | Use of bit operator on signed type. : |= used with int: flags | MISRA-C:2012 R.10.1 |
C | 300 | Use of bit operator on signed type. : |= used with int: def_flags | MISRA-C:2012 R.10.1 |
C | 305 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 305 | Use of banned function or variable. : free | MISRA-C:2012 D.4.12,R.1.3,R.17.1,R.21.3,R.21.6,R.21.7,R.21.8,R.21.9,R.21.10,R.21.12 |
C | 306 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 308 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 311 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 317 | Declaration does not specify an array. | MISRA-C:2012 R.18.1 |
C | 318 | Pointer arithmetic is not on array. | MISRA-C:2012 R.18.1,R.18.4 |
C | 318 | Value is not of appropriate type. : (int and char): strlen ( CONFIG_ | MISRA-C:2012 R.10.1,R.10.3,R.10.4,R.10.5,R.11.1 |
C | 318 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
Code | Line | Violation | Standard |
---|---|---|---|
C | 319 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 320 | Pointer arithmetic is not on array. | MISRA-C:2012 R.18.1,R.18.4 |
C | 320 | Use of mixed mode arithmetic. : (signed char and unsigned int): strlen | MISRA-C:2012 R.10.1,R.10.2,R.10.3,R.10.4 |
C | 320 | Signed/unsigned conversion without cast. : (signed char and unsigned int): strlen | MISRA-C:2012 R.10.3,R.10.4 |
C | 320 | Value is not of appropriate type. : (int and char): strlen ( CONFIG_ | MISRA-C:2012 R.10.1,R.10.3,R.10.4,R.10.5,R.11.1 |
C | 321 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 322 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 323 | Assignment operation in expression. | MISRA-C:2012 R.13.1,R.13.2,R.13.4 |
C | 324 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 325 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 327 | Pointer arithmetic is not on array. | MISRA-C:2012 R.18.1,R.18.4 |
C | 327 | Use of mixed mode arithmetic. : (signed char and unsigned int): strlen | MISRA-C:2012 R.10.1,R.10.2,R.10.3,R.10.4 |
C | 327 | Signed/unsigned conversion without cast. : (signed char and unsigned int): strlen | MISRA-C:2012 R.10.3,R.10.4 |
C | 327 | Value is not of appropriate type. : (int and char): strlen ( CONFIG_ | MISRA-C:2012 R.10.1,R.10.3,R.10.4,R.10.5,R.11.1 |
C | 328 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 333 | Pointer arithmetic is not on array. | MISRA-C:2012 R.18.1,R.18.4 |
C | 333 | Use of mixed mode arithmetic. : (signed char and unsigned int): strlen | MISRA-C:2012 R.10.1,R.10.2,R.10.3,R.10.4 |
C | 333 | Signed/unsigned conversion without cast. : (signed char and unsigned int): strlen | MISRA-C:2012 R.10.3,R.10.4 |
C | 333 | Value is not of appropriate type. : (int and char): strlen ( CONFIG_ | MISRA-C:2012 R.10.1,R.10.3,R.10.4,R.10.5,R.11.1 |
C | 335 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 337 | Use of bit operator on signed type. : & used with int: flags | MISRA-C:2012 R.10.1 |
C | 337 | Use of bit operator on signed type. : & used with int: def_flags | MISRA-C:2012 R.10.1 |
C | 337 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 344 | Use of bit operator on signed type. : |= used with int: flags | MISRA-C:2012 R.10.1 |
C | 344 | Use of bit operator on signed type. : |= used with int: def_flags | MISRA-C:2012 R.10.1 |
C | 348 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 349 | Value is not of appropriate type. : (int and char): strlen ( CONFIG_ | MISRA-C:2012 R.10.1,R.10.3,R.10.4,R.10.5,R.11.1 |
C | 350 | Pointer arithmetic is not on array. | MISRA-C:2012 R.18.1,R.18.4 |
C | 350 | Value is not of appropriate type. : (int and char): strlen ( CONFIG_ | MISRA-C:2012 R.10.1,R.10.3,R.10.4,R.10.5,R.11.1 |
C | 351 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 352 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 353 | Assignment operation in expression. | MISRA-C:2012 R.13.1,R.13.2,R.13.4 |
C | 355 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 356 | Assignment operation in expression. | MISRA-C:2012 R.13.1,R.13.2,R.13.4 |
C | 358 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 361 | Pointer arithmetic is not on array. | MISRA-C:2012 R.18.1,R.18.4 |
C | 361 | Value is not of appropriate type. : (int and char): strlen ( CONFIG_ | MISRA-C:2012 R.10.1,R.10.3,R.10.4,R.10.5,R.11.1 |
C | 362 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 367 | Pointer arithmetic is not on array. | MISRA-C:2012 R.18.1,R.18.4 |
C | 367 | Value is not of appropriate type. : (int and char): strlen ( CONFIG_ | MISRA-C:2012 R.10.1,R.10.3,R.10.4,R.10.5,R.11.1 |
C | 369 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 371 | Use of bit operator on signed type. : & used with int: flags | MISRA-C:2012 R.10.1 |
C | 371 | Use of bit operator on signed type. : & used with int: def_flags | MISRA-C:2012 R.10.1 |
C | 371 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 374 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 375 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 377 | Declaration does not specify an array. | MISRA-C:2012 R.18.1 |
C | 377 | Declaration does not specify an array. | MISRA-C:2012 R.18.1 |
C | 378 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 384 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
Code | Line | Violation | Standard |
---|---|---|---|
C | 384 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 392 | Use of bit operator on signed type. : &= used with int: flags | MISRA-C:2012 R.10.1 |
C | 392 | Use of bit operator on signed type. : ~ used with int: def_flags | MISRA-C:2012 R.10.1 |
C | 397 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 386 | No default case in switch statement. | MISRA-C:2012 R.16.4 |
C | 404 | Use of banned function or variable. : free | MISRA-C:2012 D.4.12,R.1.3,R.17.1,R.21.3,R.21.6,R.21.7,R.21.8,R.21.9,R.21.10,R.21.12 |
M | 404 | free used on string. | MISRA-C:2012 R.22.2 |
C | 405 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 268 | Jump into nested block. | MISRA-C:2012 R.15.3 |
C | 277 | Implicit conversion: actual to formal param. : (int and char): param 1 | MISRA-C:2012 R.10.3 |
C | 280 | Implicit conversion: actual to formal param. : (int and char): param 1 | MISRA-C:2012 R.10.3 |
C | 330 | Jump into nested block. | MISRA-C:2012 R.15.3 |
C | 364 | Jump into nested block. | MISRA-C:2012 R.15.3 |
C | 407 | Memory not freed after last reference. : line | MISRA-C:2012 R.22.1 |
M | 274 | Attempt to use uninitialised pointer. : prop | MISRA-C:2012 R.9.1 |
M | 263 | Procedure contains UR data flow anomalies. : prop | MISRA-C:2012 R.9.1 |
C | 401 | DU anomaly dead code, variable value is unused on all paths. : (cs)->def.tri | MISRA-C:2012 R.2.2 |
C | 398 | DU anomaly dead code, variable value is unused on all paths. : (cs)->def.val | MISRA-C:2012 R.2.2 |
C | 392 | DU anomaly dead code, variable value is unused on all paths. : (cs)->flags | MISRA-C:2012 R.2.2 |
C | 374 | DU anomaly dead code, variable value is unused on all paths. : p | MISRA-C:2012 R.2.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
conf_read (409 to 477 confdata.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : conf_read | MISRA-C:2012 R.8.4 |
C | Function has global variable side effects. : conf_filename | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : conf_lineno | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : conf_unsaved | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : conf_warnings | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : sym_change_count | MISRA-C:2012 R.13.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 414 | Function call with no prior declaration. : sym_set_change_count | MISRA-C:2012 R.17.3 |
M | 417 | Function call with no prior declaration. : sym_calc_value | MISRA-C:2012 R.17.3 |
M | 421 | Function call with no prior declaration. : sym_calc_value | MISRA-C:2012 R.17.3 |
M | 424 | Function call with no prior declaration. : sym_calc_value | MISRA-C:2012 R.17.3 |
M | 425 | Function call with no prior declaration. : sym_is_choice | MISRA-C:2012 R.17.3 |
M | 427 | Function call with no prior declaration. : sym_has_value | MISRA-C:2012 R.17.3 |
M | 432 | Function call with no prior declaration. : sym_get_tristate_value | MISRA-C:2012 R.17.3 |
M | 434 | Function call with no prior declaration. : sym_is_choice | MISRA-C:2012 R.17.3 |
M | 442 | Function call with no prior declaration. : sym_has_value | MISRA-C:2012 R.17.3 |
M | 450 | Function call with no prior declaration. : sym_has_value | MISRA-C:2012 R.17.3 |
M | 450 | Function call with no prior declaration. : sym_is_choice_value | MISRA-C:2012 R.17.3 |
M | 463 | Function call with no prior declaration. : sym_string_within_range | MISRA-C:2012 R.17.3 |
M | 474 | Function call with no prior declaration. : sym_add_change_count | MISRA-C:2012 R.17.3 |
C | 416 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 425 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 425 | Use of bit operator on signed type. : & used with int: flags | MISRA-C:2012 R.10.1 |
C | 425 | Use of bit operator on signed type. : & used with int: SYMBOL_AUTO | MISRA-C:2012 R.10.1 |
C | 425 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 426 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 427 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 427 | Use of bit operator on signed type. : & used with int: flags | MISRA-C:2012 R.10.1 |
C | 427 | Use of bit operator on signed type. : & used with int: SYMBOL_WRITE | MISRA-C:2012 R.10.1 |
C | 427 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 433 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 434 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 435 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 437 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 438 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 439 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 442 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 442 | Use of bit operator on signed type. : & used with int: flags | MISRA-C:2012 R.10.1 |
C | 442 | Use of bit operator on signed type. : & used with int: SYMBOL_WRITE | MISRA-C:2012 R.10.1 |
C | 442 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 443 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 444 | Else alternative missing in if. | MISRA-C:2012 R.15.7 |
C | 450 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 450 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 456 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 457 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 457 | Use of bit operator on signed type. : &= used with int: flags | MISRA-C:2012 R.10.1 |
C | 457 | Use of bit operator on signed type. : ~ used with int: SYMBOL_DEF_USER | MISRA-C:2012 R.10.1 |
C | 463 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 464 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 465 | Use of bit operator on signed type. : &= used with int: flags | MISRA-C:2012 R.10.1 |
C | 465 | Use of bit operator on signed type. : | used with int: SYMBOL_VALID | MISRA-C:2012 R.10.1 |
C | 465 | Use of bit operator on signed type. : | used with int: SYMBOL_DEF_USER | MISRA-C:2012 R.10.1 |
C | 468 | Switch empty default has no comment. | MISRA-C:2012 R.16.4 |
C | 474 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 474 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 465 | DU anomaly dead code, variable value is unused on all paths. : (sym)->flags | MISRA-C:2012 R.2.2 |
Code | Line | Violation | Standard |
---|
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
kconfig_print_symbol (487 to 508 confdata.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
C | 498 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 498 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 498 | Format is not appropriate type. : format = %s, param 3 | MISRA-C:2012 R.1.3 |
C | 498 | Format is not appropriate type. : format = %s, param 4 | MISRA-C:2012 R.1.3 |
C | 503 | Switch empty default has no comment. | MISRA-C:2012 R.16.4 |
C | 507 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 507 | Format is not appropriate type. : format = %s, param 3 | MISRA-C:2012 R.1.3 |
C | 507 | Format is not appropriate type. : format = %s, param 4 | MISRA-C:2012 R.1.3 |
C | 487 | Static procedure is not explicitly called in code analysed. : kconfig_print_symbol | MISRA-C:2012 R.2.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
kconfig_print_comment (510 to 528 confdata.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 521 | Function call with no prior declaration. : xfwrite | MISRA-C:2012 R.17.3 |
C | 518 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 519 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 520 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 522 | const object reassigned. : p | MISRA-C:2012 R.1.3 |
C | 524 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 525 | Deprecated usage of ++ or -- operators found. | MISRA-C:2012 R.13.1,R.13.2,R.13.3 |
C | 525 | Assignment operation in expression. | MISRA-C:2012 R.13.1,R.13.2,R.13.4 |
C | 525 | Expression needs brackets. | MISRA-C:2012 R.12.1,R.20.7 |
C | 526 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 510 | Static procedure is not explicitly called in code analysed. : kconfig_print_comment | MISRA-C:2012 R.2.1 |
Code | Violation | Parameter |
---|---|---|
O | Unused procedure parameter | arg |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
header_print_symbol (541 to 580 confdata.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
C | 554 | const object reassigned. : suffix | MISRA-C:2012 R.1.3 |
C | 556 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 557 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 557 | Format is not appropriate type. : format = %s, param 3 | MISRA-C:2012 R.1.3 |
C | 557 | Format is not appropriate type. : format = %s, param 4 | MISRA-C:2012 R.1.3 |
C | 559 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 565 | Declaration does not specify an array. | MISRA-C:2012 R.18.1 |
C | 565 | Declaration does not specify an array. | MISRA-C:2012 R.18.1 |
C | 565 | Declaration does not specify an array. | MISRA-C:2012 R.18.1 |
C | 566 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 566 | const object reassigned. : prefix | MISRA-C:2012 R.1.3 |
C | 567 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 567 | Format is not appropriate type. : format = %s, param 3 | MISRA-C:2012 R.1.3 |
C | 567 | Format is not appropriate type. : format = %s, param 4 | MISRA-C:2012 R.1.3 |
C | 573 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 573 | Format is not appropriate type. : format = %s, param 3 | MISRA-C:2012 R.1.3 |
C | 573 | Format is not appropriate type. : format = %s, param 4 | MISRA-C:2012 R.1.3 |
C | 576 | Switch empty default has no comment. | MISRA-C:2012 R.16.4 |
C | 541 | Static procedure is not explicitly called in code analysed. : header_print_symbol | MISRA-C:2012 R.2.1 |
Code | Violation | Parameter |
---|---|---|
O | Unused procedure parameter | arg |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
header_print_comment (582 to 602 confdata.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 594 | Function call with no prior declaration. : xfwrite | MISRA-C:2012 R.17.3 |
C | 588 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 591 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 592 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 593 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 595 | const object reassigned. : p | MISRA-C:2012 R.1.3 |
C | 597 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 598 | Deprecated usage of ++ or -- operators found. | MISRA-C:2012 R.13.1,R.13.2,R.13.3 |
C | 598 | Assignment operation in expression. | MISRA-C:2012 R.13.1,R.13.2,R.13.4 |
C | 598 | Expression needs brackets. | MISRA-C:2012 R.12.1,R.20.7 |
C | 599 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 601 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 582 | Static procedure is not explicitly called in code analysed. : header_print_comment | MISRA-C:2012 R.2.1 |
Code | Violation | Parameter |
---|---|---|
O | Unused procedure parameter | arg |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
tristate_print_symbol (615 to 621 confdata.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
C | 620 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 620 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 620 | Format is not appropriate type. : format = %s, param 3 | MISRA-C:2012 R.1.3 |
C | 620 | Format is not appropriate type. : format = %s, param 4 | MISRA-C:2012 R.1.3 |
C | 615 | Static procedure is not explicitly called in code analysed. : tristate_print_symbol | MISRA-C:2012 R.2.1 |
Code | Violation | Parameter |
---|---|---|
O | Unused procedure parameter | arg |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
conf_write_symbol (629 to 648 confdata.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 639 | Function call with no prior declaration. : sym_get_string_value | MISRA-C:2012 R.17.3 |
M | 640 | Function call with no prior declaration. : sym_escape_string_value | MISRA-C:2012 R.17.3 |
M | 645 | Function call with no prior declaration. : sym_get_string_value | MISRA-C:2012 R.17.3 |
C | 640 | Pointer not checked for null before use. : str | MISRA-C:2012 D.4.1 |
C | 641 | Pointer not checked for null before use. : str | MISRA-C:2012 D.4.1 |
C | 646 | Pointer not checked for null before use. : str | MISRA-C:2012 D.4.1 |
C | 640 | const object reassigned. : str | MISRA-C:2012 R.1.3 |
C | 642 | Use of banned function or variable. : free | MISRA-C:2012 D.4.12,R.1.3,R.17.1,R.21.3,R.21.6,R.21.7,R.21.8,R.21.9,R.21.10,R.21.12 |
C | 642 | Cast on a constant value. : str | MISRA-C:2012 R.11.8 |
M | 642 | free used on string. | MISRA-C:2012 R.22.2 |
C | 645 | const object reassigned. : str | MISRA-C:2012 R.1.3 |
C | 647 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
conf_write_heading (650 to 662 confdata.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
C | 655 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
conf_write_defconfig (668 to 739 confdata.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : conf_write_defconfig | MISRA-C:2012 R.8.4 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 678 | Function call with no prior declaration. : sym_clear_all_valid | MISRA-C:2012 R.17.3 |
M | 687 | Function call with no prior declaration. : menu_is_visible | MISRA-C:2012 R.17.3 |
M | 689 | Function call with no prior declaration. : sym_is_choice | MISRA-C:2012 R.17.3 |
M | 690 | Function call with no prior declaration. : sym_calc_value | MISRA-C:2012 R.17.3 |
M | 695 | Function call with no prior declaration. : sym_is_changable | MISRA-C:2012 R.17.3 |
M | 698 | Function call with no prior declaration. : sym_get_string_value | MISRA-C:2012 R.17.3 |
M | 698 | Function call with no prior declaration. : sym_get_string_default | MISRA-C:2012 R.17.3 |
M | 708 | Function call with no prior declaration. : sym_is_choice_value | MISRA-C:2012 R.17.3 |
M | 712 | Function call with no prior declaration. : prop_get_symbol | MISRA-C:2012 R.17.3 |
M | 712 | Function call with no prior declaration. : sym_get_choice_prop | MISRA-C:2012 R.17.3 |
M | 713 | Function call with no prior declaration. : sym_choice_default | MISRA-C:2012 R.17.3 |
M | 714 | Function call with no prior declaration. : sym_is_optional | MISRA-C:2012 R.17.3 |
M | 716 | Function call with no prior declaration. : sym_get_tristate_value | MISRA-C:2012 R.17.3 |
C | 713 | Pointer not checked for null before use. : cs | MISRA-C:2012 D.4.1 |
C | 720 | Pointer not checked for null before use. : NULL | MISRA-C:2012 D.4.1 |
C | 675 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 676 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 687 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 688 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 689 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 691 | Use of bit operator on signed type. : & used with int: flags | MISRA-C:2012 R.10.1 |
C | 691 | Use of bit operator on signed type. : & used with int: SYMBOL_WRITE | MISRA-C:2012 R.10.1 |
C | 691 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 692 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 693 | Use of bit operator on signed type. : &= used with int: flags | MISRA-C:2012 R.10.1 |
C | 693 | Use of bit operator on signed type. : ~ used with int: SYMBOL_WRITE | MISRA-C:2012 R.10.1 |
C | 695 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 696 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 699 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 708 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 714 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 717 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 721 | Else alternative missing in if. | MISRA-C:2012 R.15.7 |
C | 729 | Assignment operation in expression. | MISRA-C:2012 R.13.1,R.13.2,R.13.4 |
C | 729 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 737 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 671 | Type is incomplete in translation unit. : menu | MISRA-C:2012 R.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
conf_write (741 to 839 confdata.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : conf_write | MISRA-C:2012 R.8.4 |
C | Function has global variable side effects. : sym_change_count | MISRA-C:2012 R.13.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 756 | Function call with no prior declaration. : stat | MISRA-C:2012 R.17.3 |
M | 756 | Function call with no prior declaration. : S_ISDIR | MISRA-C:2012 R.17.3 |
M | 776 | Function call with no prior declaration. : getpid | MISRA-C:2012 R.17.3 |
M | 787 | Function call with no prior declaration. : conf_get_changed | MISRA-C:2012 R.17.3 |
M | 788 | Function call with no prior declaration. : sym_clear_all_valid | MISRA-C:2012 R.17.3 |
M | 794 | Function call with no prior declaration. : menu_is_visible | MISRA-C:2012 R.17.3 |
M | 796 | Function call with no prior declaration. : menu_get_prompt | MISRA-C:2012 R.17.3 |
M | 802 | Function call with no prior declaration. : sym_calc_value | MISRA-C:2012 R.17.3 |
M | 834 | Function call with no prior declaration. : _ | MISRA-C:2012 R.17.3 |
M | 836 | Function call with no prior declaration. : sym_set_change_count | MISRA-C:2012 R.17.3 |
C | 785 | Pointer not checked for null before use. : NULL | MISRA-C:2012 D.4.1 |
C | 800 | Pointer not checked for null before use. : str | MISRA-C:2012 D.4.1 |
C | 807 | Pointer not checked for null before use. : NULL | MISRA-C:2012 D.4.1 |
C | 773 | Pointer not checked for null before use. : basename | MISRA-C:2012 D.4.1 |
C | 748 | Variable-length array declared. : dirname[*] | MISRA-C:2012 R.18.8 |
C | 748 | Variable-length array declared. : dirname[*] | MISRA-C:2012 R.18.8 |
C | 748 | Variable-length array declared. : dirname[*] | MISRA-C:2012 R.18.8 |
C | 752 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 752 | Declaration does not specify an array. | MISRA-C:2012 R.18.1 |
C | 752 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 756 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 756 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 757 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 758 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 760 | Assignment operation in expression. | MISRA-C:2012 R.13.1,R.13.2,R.13.4 |
C | 760 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 761 | Pointer arithmetic is not on array. | MISRA-C:2012 R.18.1,R.18.4 |
C | 761 | Expression needs brackets. | MISRA-C:2012 R.12.1,R.20.7 |
C | 762 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 764 | Declaration does not specify an array. | MISRA-C:2012 R.18.1 |
C | 764 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 765 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 765 | const object reassigned. : basename | MISRA-C:2012 R.1.3 |
C | 765 | Pointer assignment to wider scope. | MISRA-C:2012 R.18.6 |
C | 765 | Pointer arithmetic is not on array. | MISRA-C:2012 R.18.1,R.18.4 |
C | 767 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 767 | const object reassigned. : basename | MISRA-C:2012 R.1.3 |
C | 769 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 769 | const object reassigned. : basename | MISRA-C:2012 R.1.3 |
C | 771 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 771 | const object reassigned. : basename | MISRA-C:2012 R.1.3 |
C | 773 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 774 | Use of banned function or variable. : getenv | MISRA-C:2012 D.4.12,R.1.3,R.17.1,R.21.3,R.21.6,R.21.7,R.21.8,R.21.9,R.21.10,R.21.12 |
C | 775 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 775 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 776 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 782 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 783 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 788 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 791 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 793 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 794 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
Code | Line | Violation | Standard |
---|---|---|---|
C | 795 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 797 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 801 | Use of bit operator on signed type. : & used with int: flags | MISRA-C:2012 R.10.1 |
C | 801 | Use of bit operator on signed type. : & used with int: SYMBOL_CHOICE | MISRA-C:2012 R.10.1 |
C | 801 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 803 | Use of bit operator on signed type. : & used with int: flags | MISRA-C:2012 R.10.1 |
C | 803 | Use of bit operator on signed type. : & used with int: SYMBOL_WRITE | MISRA-C:2012 R.10.1 |
C | 803 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 804 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 805 | Use of bit operator on signed type. : &= used with int: flags | MISRA-C:2012 R.10.1 |
C | 805 | Use of bit operator on signed type. : ~ used with int: SYMBOL_WRITE | MISRA-C:2012 R.10.1 |
C | 808 | Else alternative missing in if. | MISRA-C:2012 R.15.7 |
C | 811 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 815 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 816 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 817 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 817 | Assignment operation in expression. | MISRA-C:2012 R.13.1,R.13.2,R.13.4 |
C | 817 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 818 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 824 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 826 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 827 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 828 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 829 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 830 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 831 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 834 | Implicit conversion: actual to formal param. : (int and char): param 1 | MISRA-C:2012 R.10.3 |
M | 748 | Procedure contains UR data flow anomalies. : tmpname |
MISRA-C:2012 R.9.1 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
conf_split_config (841 to 952 confdata.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | DD data flow anomalies found. | MISRA-C:2012 R.2.2 |
C | Function has global variable side effects. : conf_filename | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : conf_lineno | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : conf_unsaved | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : conf_warnings | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : sym_change_count | MISRA-C:2012 R.13.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 852 | Function call with no prior declaration. : sym_calc_value | MISRA-C:2012 R.17.3 |
M | 854 | Function call with no prior declaration. : chdir | MISRA-C:2012 R.17.3 |
M | 859 | Function call with no prior declaration. : sym_calc_value | MISRA-C:2012 R.17.3 |
M | 871 | Function call with no prior declaration. : sym_get_tristate_value | MISRA-C:2012 R.17.3 |
M | 878 | Function call with no prior declaration. : sym_get_string_value | MISRA-C:2012 R.17.3 |
M | 893 | Function call with no prior declaration. : sym_get_tristate_value | MISRA-C:2012 R.17.3 |
M | 919 | Function call with no prior declaration. : open | MISRA-C:2012 R.17.3 |
M | 932 | Function call with no prior declaration. : stat | MISRA-C:2012 R.17.3 |
M | 932 | Function call with no prior declaration. : mkdir | MISRA-C:2012 R.17.3 |
M | 939 | Function call with no prior declaration. : open | MISRA-C:2012 R.17.3 |
M | 945 | Function call with no prior declaration. : close | MISRA-C:2012 R.17.3 |
M | 948 | Function call with no prior declaration. : chdir | MISRA-C:2012 R.17.3 |
C | 930 | Pointer not checked for null before use. : d | MISRA-C:2012 D.4.1 |
C | 844 | Variable-length array declared. : path[*] | MISRA-C:2012 R.18.8 |
C | 851 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 854 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 855 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 860 | Use of bit operator on signed type. : & used with int: flags | MISRA-C:2012 R.10.1 |
C | 860 | Use of bit operator on signed type. : & used with int: SYMBOL_AUTO | MISRA-C:2012 R.10.1 |
C | 860 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 860 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 861 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 862 | Use of bit operator on signed type. : & used with int: flags | MISRA-C:2012 R.10.1 |
C | 862 | Use of bit operator on signed type. : & used with int: SYMBOL_WRITE | MISRA-C:2012 R.10.1 |
C | 862 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 863 | Use of bit operator on signed type. : & used with int: flags | MISRA-C:2012 R.10.1 |
C | 863 | Use of bit operator on signed type. : & used with int: SYMBOL_DEF_AUTO | MISRA-C:2012 R.10.1 |
C | 863 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 873 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 878 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 880 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 882 | Switch empty default has no comment. | MISRA-C:2012 R.16.4 |
C | 894 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 896 | Switch empty default has no comment. | MISRA-C:2012 R.16.4 |
C | 900 | Use of bit operator on signed type. : & used with int: flags | MISRA-C:2012 R.10.1 |
C | 900 | Use of bit operator on signed type. : & used with int: SYMBOL_DEF_AUTO | MISRA-C:2012 R.10.1 |
C | 900 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 901 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 903 | Else alternative missing in if. | MISRA-C:2012 R.15.7 |
C | 912 | Assignment operation in expression. | MISRA-C:2012 R.13.1,R.13.2,R.13.4 |
C | 912 | Deprecated usage of ++ or -- operators found. | MISRA-C:2012 R.13.1,R.13.2,R.13.3 |
C | 912 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 914 | Assignment operation in expression. | MISRA-C:2012 R.13.1,R.13.2,R.13.4 |
C | 916 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 916 | Insufficient space for operation. : required = 3, available = 1 | MISRA-C:2012 R.1.3 |
C | 919 | Use of bit operator on signed type. : | used with int: O_WRONLY | MISRA-C:2012 R.10.1 |
C | 919 | Use of bit operator on signed type. : | used with int: O_CREAT | MISRA-C:2012 R.10.1 |
C | 919 | Use of bit operator on signed type. : | used with int: O_TRUNC | MISRA-C:2012 R.10.1 |
C | 919 | Octal number found. : 0644 | MISRA-C:2012 R.7.1 |
C | 921 | Use of banned function or variable. : errno | MISRA-C:2012 D.4.12,R.1.3,R.17.1,R.21.3,R.21.6,R.21.7,R.21.8,R.21.9,R.21.10,R.21.12 |
C | 930 | Assignment operation in expression. | MISRA-C:2012 R.13.1,R.13.2,R.13.4 |
Code | Line | Violation | Standard |
---|---|---|---|
C | 930 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 931 | Modification of string literal. : d | MISRA-C:2012 R.7.4 |
C | 932 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 932 | Octal number found. : 0755 | MISRA-C:2012 R.7.1 |
C | 932 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 936 | Assignment operation in expression. | MISRA-C:2012 R.13.1,R.13.2,R.13.4 |
C | 939 | Use of bit operator on signed type. : | used with int: O_WRONLY | MISRA-C:2012 R.10.1 |
C | 939 | Use of bit operator on signed type. : | used with int: O_CREAT | MISRA-C:2012 R.10.1 |
C | 939 | Use of bit operator on signed type. : | used with int: O_TRUNC | MISRA-C:2012 R.10.1 |
C | 939 | Octal number found. : 0644 | MISRA-C:2012 R.7.1 |
C | 948 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 949 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 934 | Jump into nested block. | MISRA-C:2012 R.15.3 |
C | 916 | DU anomaly dead code, variable value is unused on all paths. : d | MISRA-C:2012 R.2.2 |
C | 932 | DU anomaly dead code, variable value is unused on all paths. : sb | MISRA-C:2012 R.2.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
conf_write_autoconf (954 to 1026 confdata.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : conf_write_autoconf | MISRA-C:2012 R.8.4 |
C | Function has global variable side effects. : conf_filename | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : conf_lineno | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : conf_unsaved | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : conf_warnings | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : sym_change_count | MISRA-C:2012 R.13.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 961 | Function call with no prior declaration. : sym_clear_all_valid | MISRA-C:2012 R.17.3 |
M | 963 | Function call with no prior declaration. : file_write_dep | MISRA-C:2012 R.17.3 |
M | 992 | Function call with no prior declaration. : sym_calc_value | MISRA-C:2012 R.17.3 |
C | 997 | Cast from integral type to pointer. | MISRA-C:2012 R.11.1,R.11.2,R.11.4,R.11.6,R.11.7 |
C | 999 | Cast from integral type to pointer. | MISRA-C:2012 R.11.1,R.11.2,R.11.4,R.11.6,R.11.7 |
C | 985 | Pointer not checked for null before use. : NULL | MISRA-C:2012 D.4.1 |
C | 987 | Pointer not checked for null before use. : NULL | MISRA-C:2012 D.4.1 |
C | 989 | Pointer not checked for null before use. : NULL | MISRA-C:2012 D.4.1 |
C | 1001 | Pointer not checked for null before use. : NULL | MISRA-C:2012 D.4.1 |
C | 1022 | Pointer not checked for null before use. : name | MISRA-C:2012 D.4.1 |
C | 965 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 966 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 969 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 970 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 973 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 974 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 979 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 980 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 981 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 993 | Use of bit operator on signed type. : & used with int: flags | MISRA-C:2012 R.10.1 |
C | 993 | Use of bit operator on signed type. : & used with int: SYMBOL_WRITE | MISRA-C:2012 R.10.1 |
C | 993 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 993 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 994 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 997 | Value is not of appropriate type. : (void and signed char): out , sym , & kconfig_printer_cb , ( void * | MISRA-C:2012 R.10.1,R.10.3,R.10.4,R.10.5,R.11.1 |
C | 999 | Value is not of appropriate type. : (void and signed char): tristate , sym , & tristate_printer_cb , ( void * | MISRA-C:2012 R.10.1,R.10.3,R.10.4,R.10.5,R.11.1 |
C | 1003 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 1004 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 1005 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 1007 | Use of banned function or variable. : getenv | MISRA-C:2012 D.4.12,R.1.3,R.17.1,R.21.3,R.21.6,R.21.7,R.21.8,R.21.9,R.21.10,R.21.12 |
C | 1008 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1009 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1009 | const object reassigned. : name | MISRA-C:2012 R.1.3 |
C | 1010 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1011 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1012 | const object reassigned. : name | MISRA-C:2012 R.1.3 |
C | 1012 | Use of banned function or variable. : getenv | MISRA-C:2012 D.4.12,R.1.3,R.17.1,R.21.3,R.21.6,R.21.7,R.21.8,R.21.9,R.21.10,R.21.12 |
C | 1013 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1014 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1014 | const object reassigned. : name | MISRA-C:2012 R.1.3 |
C | 1015 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1016 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1017 | const object reassigned. : name | MISRA-C:2012 R.1.3 |
C | 1022 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1023 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sym_set_change_count (1031 to 1038 confdata.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : sym_set_change_count | MISRA-C:2012 R.8.4 |
Code | Line | Violation | Standard |
---|---|---|---|
C | 1033 | User name starts with underscore. : _sym_change_count | MISRA-C:2012 R.21.1,R.21.2 |
C | 1035 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1036 | Integral type cast to non-integral. | MISRA-C:2012 R.10.8 |
C | 1036 | Value is not of appropriate type. : (bool and int): ) _sym_change_count != ( bool ) | MISRA-C:2012 R.10.1,R.10.3,R.10.4,R.10.5,R.11.1 |
C | 1037 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sym_add_change_count (1040 to 1043 confdata.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : sym_add_change_count | MISRA-C:2012 R.8.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
conf_get_changed (1045 to 1048 confdata.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : conf_get_changed | MISRA-C:2012 R.8.4 |
Code | Line | Violation | Standard |
---|---|---|---|
C | 1047 | Function return type inconsistent. : (bool and int) |
MISRA-C:2012 R.10.3 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
conf_set_changed_callback (1050 to 1053 confdata.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : conf_set_changed_callback | MISRA-C:2012 R.8.4 |
Code | Violation | Parameter |
---|---|---|
O | Procedure pointer is an unused parameter | fn |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
randomize_choice_values (1055 to 1101 confdata.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1070 | Function call with no prior declaration. : sym_get_choice_prop | MISRA-C:2012 R.17.3 |
M | 1074 | Function call with no prior declaration. : expr_list_for_each_sym | MISRA-C:2012 R.17.3 |
C | 1074 | Pointer not checked for null before use. : prop | MISRA-C:2012 D.4.1 |
C | 1068 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1085 | Deprecated usage of ++ or -- operators found. | MISRA-C:2012 R.13.1,R.13.2,R.13.3 |
C | 1085 | Assignment operation in expression. | MISRA-C:2012 R.13.1,R.13.2,R.13.4 |
C | 1085 | Expression needs brackets. | MISRA-C:2012 R.12.1,R.20.7 |
C | 1092 | Use of bit operator on signed type. : |= used with int: flags | MISRA-C:2012 R.10.1 |
C | 1092 | Use of bit operator on signed type. : |= used with int: SYMBOL_DEF_USER | MISRA-C:2012 R.10.1 |
C | 1094 | Use of bit operator on signed type. : &= used with int: flags | MISRA-C:2012 R.10.1 |
C | 1094 | Use of bit operator on signed type. : ~ used with int: SYMBOL_VALID | MISRA-C:2012 R.10.1 |
C | 1096 | Use of bit operator on signed type. : |= used with int: flags | MISRA-C:2012 R.10.1 |
C | 1096 | Use of bit operator on signed type. : |= used with int: SYMBOL_DEF_USER | MISRA-C:2012 R.10.1 |
C | 1098 | Use of bit operator on signed type. : &= used with int: flags | MISRA-C:2012 R.10.1 |
C | 1059 | Type is incomplete in translation unit. : expr | MISRA-C:2012 R.1.3 |
M | 1074 | Attempt to use uninitialised pointer. : e | MISRA-C:2012 R.9.1 |
M | 1059 | Procedure contains UR data flow anomalies. : e | MISRA-C:2012 R.9.1 |
C | 1090 | DU anomaly dead code, variable value is unused on all paths. : (sym)->def.tri | MISRA-C:2012 R.2.2 |
C | 1086 | DU anomaly dead code, variable value is unused on all paths. : (sym)->def.tri | MISRA-C:2012 R.2.2 |
C | 1094 | DU anomaly dead code, variable value is unused on all paths. : (sym)->flags | MISRA-C:2012 R.2.2 |
C | 1085 | DU anomaly dead code, variable value is unused on all paths. : cnt | MISRA-C:2012 R.2.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
set_all_choice_values (1103 to 1121 confdata.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : set_all_choice_values | MISRA-C:2012 R.8.4 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 1109 | Function call with no prior declaration. : sym_get_choice_prop | MISRA-C:2012 R.17.3 |
M | 1115 | Function call with no prior declaration. : sym_has_value | MISRA-C:2012 R.17.3 |
C | 1115 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1116 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1118 | Use of bit operator on signed type. : |= used with int: flags | MISRA-C:2012 R.10.1 |
C | 1118 | Use of bit operator on signed type. : |= used with int: SYMBOL_DEF_USER | MISRA-C:2012 R.10.1 |
C | 1120 | Use of bit operator on signed type. : &= used with int: flags | MISRA-C:2012 R.10.1 |
C | 1120 | Use of bit operator on signed type. : | used with int: SYMBOL_VALID | MISRA-C:2012 R.10.1 |
C | 1120 | Use of bit operator on signed type. : | used with int: SYMBOL_NEED_SET_CHOICE_VALUES | MISRA-C:2012 R.10.1 |
C | 1116 | DU anomaly dead code, variable value is unused on all paths. : (sym)->def.tri | MISRA-C:2012 R.2.2 |
C | 1109 | DU anomaly dead code, variable value is unused on all paths. : prop | MISRA-C:2012 R.2.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
conf_set_all_new_symbols (1123 to 1249 confdata.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : conf_set_all_new_symbols | MISRA-C:2012 R.8.4 |
C | DD data flow anomalies found. | MISRA-C:2012 R.2.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 1174 | Function call with no prior declaration. : sym_has_value | MISRA-C:2012 R.17.3 |
M | 1176 | Function call with no prior declaration. : sym_get_type | MISRA-C:2012 R.17.3 |
M | 1207 | Function call with no prior declaration. : sym_is_choice | MISRA-C:2012 R.17.3 |
M | 1216 | Function call with no prior declaration. : sym_clear_all_valid | MISRA-C:2012 R.17.3 |
M | 1229 | Function call with no prior declaration. : sym_is_choice | MISRA-C:2012 R.17.3 |
M | 1229 | Function call with no prior declaration. : sym_has_value | MISRA-C:2012 R.17.3 |
M | 1230 | Function call with no prior declaration. : sym_is_choice_value | MISRA-C:2012 R.17.3 |
M | 1236 | Function call with no prior declaration. : sym_has_value | MISRA-C:2012 R.17.3 |
M | 1236 | Function call with no prior declaration. : sym_is_choice | MISRA-C:2012 R.17.3 |
M | 1239 | Function call with no prior declaration. : sym_calc_value | MISRA-C:2012 R.17.3 |
C | 1148 | Pointer not checked for null before use. : endp | MISRA-C:2012 D.4.1 |
C | 1131 | Assignment operation in expression. | MISRA-C:2012 R.13.1,R.13.2,R.13.4 |
C | 1136 | Use of banned function or variable. : getenv | MISRA-C:2012 D.4.12,R.1.3,R.17.1,R.21.3,R.21.6,R.21.7,R.21.8,R.21.9,R.21.10,R.21.12 |
C | 1138 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1138 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1140 | Implicit conversion of underlying type. : (int and long): strtol | MISRA-C:2012 R.10.3,R.10.4 |
C | 1140 | Narrower int conversion without cast. : (int and long): strtol | MISRA-C:2012 R.10.3 |
C | 1142 | Deprecated usage of ++ or -- operators found. | MISRA-C:2012 R.13.1,R.13.2,R.13.3 |
C | 1144 | Use of banned function or variable. : errno | MISRA-C:2012 D.4.12,R.1.3,R.17.1,R.21.3,R.21.6,R.21.7,R.21.8,R.21.9,R.21.10,R.21.12 |
C | 1145 | Use of banned function or variable. : perror | MISRA-C:2012 D.4.12,R.1.3,R.17.1,R.21.3,R.21.6,R.21.7,R.21.8,R.21.9,R.21.10,R.21.12 |
C | 1146 | Use of abort, exit, etc. | MISRA-C:2012 R.21.8 |
C | 1148 | Pointer arithmetic is not on array. | MISRA-C:2012 R.18.1,R.18.4 |
C | 1153 | No default case in switch statement. | MISRA-C:2012 R.16.4 |
C | 1165 | Expression needs brackets. | MISRA-C:2012 R.12.1,R.20.7 |
C | 1166 | Use of banned function or variable. : errno | MISRA-C:2012 D.4.12,R.1.3,R.17.1,R.21.3,R.21.6,R.21.7,R.21.8,R.21.9,R.21.10,R.21.12 |
C | 1167 | Use of banned function or variable. : perror | MISRA-C:2012 D.4.12,R.1.3,R.17.1,R.21.3,R.21.6,R.21.7,R.21.8,R.21.9,R.21.10,R.21.12 |
C | 1168 | Use of abort, exit, etc. | MISRA-C:2012 R.21.8 |
C | 1174 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1174 | Use of bit operator on signed type. : & used with int: flags | MISRA-C:2012 R.10.1 |
C | 1174 | Use of bit operator on signed type. : & used with int: SYMBOL_VALID | MISRA-C:2012 R.10.1 |
C | 1174 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1175 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1181 | Case is not part of switch enumeration. | MISRA-C:2012 R.10.3 |
C | 1184 | Case is not part of switch enumeration. | MISRA-C:2012 R.10.3 |
C | 1187 | Case is not part of switch enumeration. | MISRA-C:2012 R.10.3 |
C | 1188 | Use of bit operator on signed type. : & used with int: flags | MISRA-C:2012 R.10.1 |
C | 1188 | Use of bit operator on signed type. : & used with int: SYMBOL_ALLNOCONFIG_Y | MISRA-C:2012 R.10.1 |
C | 1188 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1189 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1191 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1193 | Case is not part of switch enumeration. | MISRA-C:2012 R.10.3 |
C | 1195 | Value is not of appropriate type. : (int and unsigned char): cnt = rand () | MISRA-C:2012 R.10.1,R.10.3,R.10.4,R.10.5,R.11.1 |
C | 1198 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1200 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1200 | Else alternative missing in if. | MISRA-C:2012 R.15.7 |
C | 1202 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1202 | Else alternative missing in if. | MISRA-C:2012 R.15.7 |
C | 1206 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 1207 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1208 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1208 | Use of bit operator on signed type. : |= used with int: flags | MISRA-C:2012 R.10.1 |
Code | Line | Violation | Standard |
---|---|---|---|
C | 1208 | Use of bit operator on signed type. : |= used with int: SYMBOL_DEF_USER | MISRA-C:2012 R.10.1 |
C | 1210 | Switch empty default has no comment. | MISRA-C:2012 R.16.4 |
C | 1229 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1229 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1230 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1231 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1231 | Use of bit operator on signed type. : |= used with int: flags | MISRA-C:2012 R.10.1 |
C | 1231 | Use of bit operator on signed type. : |= used with int: SYMBOL_NEED_SET_CHOICE_VALUES | MISRA-C:2012 R.10.1 |
C | 1236 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1236 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1237 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1241 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1241 | Type conversion without cast. : (int and bool): randomize_choice_values | MISRA-C:2012 R.10.1,R.10.3,R.10.4 |
C | 1248 | Function return type inconsistent. : (bool and int) | MISRA-C:2012 R.10.3 |
M | 1135 | Procedure contains UR data flow anomalies. : p | MISRA-C:2012 R.9.1 |
C | 1243 | DU anomaly dead code, variable value is unused on all paths. : (csym)->flags | MISRA-C:2012 R.2.2 |
C | 1241 | DU anomaly dead code, variable value is unused on all paths. : (csym)->flags | MISRA-C:2012 R.2.2 |
C | 1208 | DU anomaly dead code, variable value is unused on all paths. : (sym)->flags | MISRA-C:2012 R.2.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
expr_alloc_symbol (17 to 23 expr.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : expr_alloc_symbol | MISRA-C:2012 R.8.4 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 19 | Function call with no prior declaration. : xcalloc | MISRA-C:2012 R.17.3 |
C | 20 | Pointer not checked for null before use. : e | MISRA-C:2012 D.4.1 |
C | 22 | Pointer assignment to wider scope. | MISRA-C:2012 R.18.6 |
C | 17 | Type is incomplete in translation unit. : symbol | MISRA-C:2012 R.1.3 |
C | 22 | Local structure returned in function result. : e | MISRA-C:2012 R.18.6 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
expr_alloc_one (25 to 31 expr.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : expr_alloc_one | MISRA-C:2012 R.8.4 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 27 | Function call with no prior declaration. : xcalloc | MISRA-C:2012 R.17.3 |
C | 28 | Pointer not checked for null before use. : e | MISRA-C:2012 D.4.1 |
C | 30 | Pointer assignment to wider scope. | MISRA-C:2012 R.18.6 |
C | 30 | Local structure returned in function result. : e | MISRA-C:2012 R.18.6 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
expr_alloc_two (33 to 40 expr.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : expr_alloc_two | MISRA-C:2012 R.8.4 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 35 | Function call with no prior declaration. : xcalloc | MISRA-C:2012 R.17.3 |
C | 36 | Pointer not checked for null before use. : e | MISRA-C:2012 D.4.1 |
C | 39 | Pointer assignment to wider scope. | MISRA-C:2012 R.18.6 |
C | 39 | Local structure returned in function result. : e | MISRA-C:2012 R.18.6 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
expr_alloc_comp (42 to 49 expr.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : expr_alloc_comp | MISRA-C:2012 R.8.4 |
C | DD data flow anomalies found. | MISRA-C:2012 R.2.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 44 | Function call with no prior declaration. : xcalloc | MISRA-C:2012 R.17.3 |
C | 45 | Pointer not checked for null before use. : e | MISRA-C:2012 D.4.1 |
C | 48 | Pointer assignment to wider scope. | MISRA-C:2012 R.18.6 |
C | 48 | Local structure returned in function result. : e | MISRA-C:2012 R.18.6 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
expr_alloc_and (51 to 56 expr.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : expr_alloc_and | MISRA-C:2012 R.8.4 |
Code | Line | Violation | Standard |
---|---|---|---|
C | 53 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 54 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 55 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 55 | Implicit conversion: actual to formal param. : (int and enum): param 1 |
MISRA-C:2012 R.10.3 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
expr_alloc_or (58 to 63 expr.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : expr_alloc_or | MISRA-C:2012 R.8.4 |
Code | Line | Violation | Standard |
---|---|---|---|
C | 60 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 61 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 62 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 62 | Implicit conversion: actual to formal param. : (int and enum): param 1 |
MISRA-C:2012 R.10.3 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
expr_copy (65 to 104 expr.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : expr_copy | MISRA-C:2012 R.8.4 |
C | DD data flow anomalies found. | MISRA-C:2012 R.2.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 72 | Function call with no prior declaration. : xmalloc | MISRA-C:2012 R.17.3 |
C | 76 | Pointer not checked for null before use. : e | MISRA-C:2012 D.4.1 |
C | 79 | Pointer not checked for null before use. : e | MISRA-C:2012 D.4.1 |
C | 87 | Pointer not checked for null before use. : e | MISRA-C:2012 D.4.1 |
C | 93 | Pointer not checked for null before use. : e | MISRA-C:2012 D.4.1 |
C | 97 | Pointer not checked for null before use. : e | MISRA-C:2012 D.4.1 |
C | 73 | Pointer not checked for null before use. : e | MISRA-C:2012 D.4.1 |
C | 69 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 70 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 73 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 97 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 98 | Use of banned function or variable. : free | MISRA-C:2012 D.4.12,R.1.3,R.17.1,R.21.3,R.21.6,R.21.7,R.21.8,R.21.9,R.21.10,R.21.12 |
C | 103 | Pointer assignment to wider scope. | MISRA-C:2012 R.18.6 |
C | 79 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 93 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 94 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 103 | Local structure returned in function result. : e | MISRA-C:2012 R.18.6 |
C | 65 | Recursion in procedure calls found. : expr_copy | MISRA-C:2012 R.17.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
expr_free (106 to 134 expr.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : expr_free | MISRA-C:2012 R.8.4 |
C | DD data flow anomalies found. | MISRA-C:2012 R.2.2 |
Code | Line | Violation | Standard |
---|---|---|---|
C | 108 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 109 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 116 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 130 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 133 | Use of banned function or variable. : free | MISRA-C:2012 D.4.12,R.1.3,R.17.1,R.21.3,R.21.6,R.21.7,R.21.8,R.21.9,R.21.10,R.21.12 |
C | 115 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 126 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 127 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 106 | Recursion in procedure calls found. : expr_free | MISRA-C:2012 R.17.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
__expr_eliminate_eq (141 to 173 expr.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | DD data flow anomalies found. | MISRA-C:2012 R.2.2 |
Code | Line | Violation | Standard |
---|---|---|---|
C | 141 | User name starts with underscore. : __expr_eliminate_eq | MISRA-C:2012 R.21.1,R.21.2 |
C | 154 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 155 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 155 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 156 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 157 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 158 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 162 | Case is not part of switch enumeration. | MISRA-C:2012 R.10.3 |
C | 166 | Case is not part of switch enumeration. | MISRA-C:2012 R.10.3 |
C | 172 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 144 | Implicit conversion: actual to formal param. : (int and enum): param 2 | MISRA-C:2012 R.10.3 |
C | 145 | Implicit conversion: actual to formal param. : (int and enum): param 2 | MISRA-C:2012 R.10.3 |
C | 149 | Implicit conversion: actual to formal param. : (int and enum): param 3 | MISRA-C:2012 R.10.3 |
C | 150 | Implicit conversion: actual to formal param. : (int and enum): param 3 | MISRA-C:2012 R.10.3 |
C | 163 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 164 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 167 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 168 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 141 | Recursion in procedure calls found. : __expr_eliminate_eq | MISRA-C:2012 R.17.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
expr_eliminate_eq (175 to 195 expr.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : expr_eliminate_eq | MISRA-C:2012 R.8.4 |
C | DD data flow anomalies found. | MISRA-C:2012 R.2.2 |
Code | Line | Violation | Standard |
---|---|---|---|
C | 193 | Pointer not checked for null before use. : ep1.left.expr | MISRA-C:2012 D.4.1 |
C | 194 | Pointer not checked for null before use. : ep2.left.expr | MISRA-C:2012 D.4.1 |
C | 177 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 177 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 178 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 182 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 185 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 186 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 189 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 192 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 182 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 189 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 175 | Recursion in procedure calls found. : expr_eliminate_eq | MISRA-C:2012 R.17.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
expr_eq (200 to 244 expr.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | DD data flow anomalies found. | MISRA-C:2012 R.2.2 |
C | Function has global variable side effects. : trans_count | MISRA-C:2012 R.13.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 237 | Function call with no prior declaration. : expr_fprint | MISRA-C:2012 R.17.3 |
M | 239 | Function call with no prior declaration. : expr_fprint | MISRA-C:2012 R.17.3 |
C | 224 | Pointer not checked for null before use. : e2 | MISRA-C:2012 D.4.1 |
C | 224 | Pointer not checked for null before use. : e1 | MISRA-C:2012 D.4.1 |
C | 205 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 213 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 215 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 217 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 229 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 234 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 206 | No default case in switch statement. | MISRA-C:2012 R.16.4 |
C | 236 | Construct leads to infeasible code. | MISRA-C:2012 R.14.3 |
C | 238 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 240 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 217 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 217 | Implicit conversion: actual to formal param. : (int and enum): param 2 | MISRA-C:2012 R.10.3 |
C | 200 | Recursion in procedure calls found. : expr_eq | MISRA-C:2012 R.17.2 |
C | 200 | Identifier reuse: proc param vs macro. : e1 | MISRA-C:2012 R.5.5 |
C | 200 | Identifier reuse: proc param vs macro. : e2 | MISRA-C:2012 R.5.5 |
C | 236 | Unreachable Code found. | MISRA-C:2012 R.2.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
expr_eliminate_yn (246 to 327 expr.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | DD data flow anomalies found. | MISRA-C:2012 R.2.2 |
Code | Line | Violation | Standard |
---|---|---|---|
C | 293 | Pointer not checked for null before use. : (e)->right.expr | MISRA-C:2012 D.4.1 |
C | 266 | Pointer not checked for null before use. : tmp | MISRA-C:2012 D.4.1 |
C | 282 | Pointer not checked for null before use. : tmp | MISRA-C:2012 D.4.1 |
C | 295 | Pointer not checked for null before use. : tmp | MISRA-C:2012 D.4.1 |
C | 311 | Pointer not checked for null before use. : tmp | MISRA-C:2012 D.4.1 |
C | 250 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 250 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 259 | Pointer assignment to wider scope. | MISRA-C:2012 R.18.6 |
C | 263 | Use of banned function or variable. : free | MISRA-C:2012 D.4.12,R.1.3,R.17.1,R.21.3,R.21.6,R.21.7,R.21.8,R.21.9,R.21.10,R.21.12 |
M | 263 | free parameter is not heap item. | MISRA-C:2012 R.22.2 |
C | 266 | Use of banned function or variable. : free | MISRA-C:2012 D.4.12,R.1.3,R.17.1,R.21.3,R.21.6,R.21.7,R.21.8,R.21.9,R.21.10,R.21.12 |
C | 268 | Else alternative missing in if. | MISRA-C:2012 R.15.7 |
C | 275 | Pointer assignment to wider scope. | MISRA-C:2012 R.18.6 |
C | 279 | Use of banned function or variable. : free | MISRA-C:2012 D.4.12,R.1.3,R.17.1,R.21.3,R.21.6,R.21.7,R.21.8,R.21.9,R.21.10,R.21.12 |
M | 279 | free parameter is not heap item. | MISRA-C:2012 R.22.2 |
C | 282 | Use of banned function or variable. : free | MISRA-C:2012 D.4.12,R.1.3,R.17.1,R.21.3,R.21.6,R.21.7,R.21.8,R.21.9,R.21.10,R.21.12 |
C | 284 | Else alternative missing in if. | MISRA-C:2012 R.15.7 |
C | 292 | Use of banned function or variable. : free | MISRA-C:2012 D.4.12,R.1.3,R.17.1,R.21.3,R.21.6,R.21.7,R.21.8,R.21.9,R.21.10,R.21.12 |
M | 292 | free parameter is not heap item. | MISRA-C:2012 R.22.2 |
C | 295 | Use of banned function or variable. : free | MISRA-C:2012 D.4.12,R.1.3,R.17.1,R.21.3,R.21.6,R.21.7,R.21.8,R.21.9,R.21.10,R.21.12 |
C | 301 | Pointer assignment to wider scope. | MISRA-C:2012 R.18.6 |
C | 304 | Else alternative missing in if. | MISRA-C:2012 R.15.7 |
C | 308 | Use of banned function or variable. : free | MISRA-C:2012 D.4.12,R.1.3,R.17.1,R.21.3,R.21.6,R.21.7,R.21.8,R.21.9,R.21.10,R.21.12 |
M | 308 | free parameter is not heap item. | MISRA-C:2012 R.22.2 |
C | 311 | Use of banned function or variable. : free | MISRA-C:2012 D.4.12,R.1.3,R.17.1,R.21.3,R.21.6,R.21.7,R.21.8,R.21.9,R.21.10,R.21.12 |
C | 317 | Pointer assignment to wider scope. | MISRA-C:2012 R.18.6 |
C | 320 | Else alternative missing in if. | MISRA-C:2012 R.15.7 |
C | 325 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 252 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 253 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 256 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 257 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 272 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 273 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 288 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 289 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 298 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 299 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 314 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 315 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 246 | Recursion in procedure calls found. : expr_eliminate_yn | MISRA-C:2012 R.17.2 |
M | 261 | Attempt to read from freed memory. : e | MISRA-C:2012 R.22.2 |
M | 277 | Attempt to read from freed memory. : e | MISRA-C:2012 R.22.2 |
M | 303 | Attempt to read from freed memory. : e | MISRA-C:2012 R.22.2 |
M | 319 | Attempt to read from freed memory. : e | MISRA-C:2012 R.22.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
expr_trans_bool (332 to 356 expr.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : expr_trans_bool | MISRA-C:2012 R.8.4 |
Code | Line | Violation | Standard |
---|---|---|---|
C | 334 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 335 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 354 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 340 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 341 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 332 | Recursion in procedure calls found. : expr_trans_bool | MISRA-C:2012 R.17.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
expr_join_or (361 to 423 expr.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | Function has global variable side effects. : trans_count | MISRA-C:2012 R.13.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 417 | Function call with no prior declaration. : expr_fprint | MISRA-C:2012 R.17.3 |
M | 419 | Function call with no prior declaration. : expr_fprint | MISRA-C:2012 R.17.3 |
C | 368 | Pointer not checked for null before use. : e1 | MISRA-C:2012 D.4.1 |
C | 370 | Pointer not checked for null before use. : e2 | MISRA-C:2012 D.4.1 |
C | 374 | Pointer not checked for null before use. : tmp | MISRA-C:2012 D.4.1 |
C | 366 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 367 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 369 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 371 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 375 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 378 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 381 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 384 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 386 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 388 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 391 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 391 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 392 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 392 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 397 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 397 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 398 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 398 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 403 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 403 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 404 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 404 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 412 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 415 | Construct leads to infeasible code. | MISRA-C:2012 R.14.3 |
C | 416 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 418 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 420 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 394 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 394 | Implicit conversion: actual to formal param. : (int and enum): param 3 | MISRA-C:2012 R.10.3 |
C | 400 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 400 | Implicit conversion: actual to formal param. : (int and enum): param 3 | MISRA-C:2012 R.10.3 |
C | 406 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 406 | Implicit conversion: actual to formal param. : (int and enum): param 3 | MISRA-C:2012 R.10.3 |
C | 412 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 361 | Recursion in procedure calls found. : expr_join_or | MISRA-C:2012 R.17.2 |
C | 415 | Unreachable Code found. | MISRA-C:2012 R.2.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
expr_join_and (425 to 517 expr.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | Function has global variable side effects. : trans_count | MISRA-C:2012 R.13.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 511 | Function call with no prior declaration. : expr_fprint | MISRA-C:2012 R.17.3 |
M | 513 | Function call with no prior declaration. : expr_fprint | MISRA-C:2012 R.17.3 |
C | 432 | Pointer not checked for null before use. : e1 | MISRA-C:2012 D.4.1 |
C | 434 | Pointer not checked for null before use. : e2 | MISRA-C:2012 D.4.1 |
C | 473 | Pointer not checked for null before use. : sym2 | MISRA-C:2012 D.4.1 |
C | 480 | Pointer not checked for null before use. : sym2 | MISRA-C:2012 D.4.1 |
C | 438 | Pointer not checked for null before use. : tmp | MISRA-C:2012 D.4.1 |
C | 430 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 431 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 433 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 435 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 439 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 442 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 445 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 448 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 450 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 452 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 454 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 455 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 456 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 459 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 460 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 461 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 464 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 465 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 466 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 473 | Use of bit operator on signed type. : & used with int: flags | MISRA-C:2012 R.10.1 |
C | 473 | Use of bit operator on signed type. : & used with int: SYMBOL_CONST | MISRA-C:2012 R.10.1 |
C | 473 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 473 | Use of bit operator on signed type. : & used with int: flags | MISRA-C:2012 R.10.1 |
C | 473 | Use of bit operator on signed type. : & used with int: SYMBOL_CONST | MISRA-C:2012 R.10.1 |
C | 473 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 474 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 474 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 480 | Use of bit operator on signed type. : & used with int: flags | MISRA-C:2012 R.10.1 |
C | 480 | Use of bit operator on signed type. : & used with int: SYMBOL_CONST | MISRA-C:2012 R.10.1 |
C | 480 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 480 | Use of bit operator on signed type. : & used with int: flags | MISRA-C:2012 R.10.1 |
C | 480 | Use of bit operator on signed type. : & used with int: SYMBOL_CONST | MISRA-C:2012 R.10.1 |
C | 480 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 481 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 481 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 485 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 485 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 486 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 486 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 487 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 491 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 491 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 492 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 492 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 493 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 497 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 497 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 498 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
Code | Line | Violation | Standard |
---|---|---|---|
C | 498 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 499 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 502 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 503 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 504 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 505 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 506 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 509 | Construct leads to infeasible code. | MISRA-C:2012 R.14.3 |
C | 510 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 512 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 514 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 457 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 457 | Implicit conversion: actual to formal param. : (int and enum): param 3 | MISRA-C:2012 R.10.3 |
C | 467 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 467 | Implicit conversion: actual to formal param. : (int and enum): param 3 | MISRA-C:2012 R.10.3 |
C | 474 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 475 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 481 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 482 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 488 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 488 | Implicit conversion: actual to formal param. : (int and enum): param 3 | MISRA-C:2012 R.10.3 |
C | 494 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 494 | Implicit conversion: actual to formal param. : (int and enum): param 3 | MISRA-C:2012 R.10.3 |
C | 500 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 500 | Implicit conversion: actual to formal param. : (int and enum): param 3 | MISRA-C:2012 R.10.3 |
C | 474 | Local structure returned in function result. : sym2 | MISRA-C:2012 R.18.6 |
C | 481 | Local structure returned in function result. : sym2 | MISRA-C:2012 R.18.6 |
C | 425 | Recursion in procedure calls found. : expr_join_and | MISRA-C:2012 R.17.2 |
C | 509 | Unreachable Code found. | MISRA-C:2012 R.2.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
expr_eliminate_dups1 (519 to 569 expr.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | DD data flow anomalies found. | MISRA-C:2012 R.2.2 |
Code | Line | Violation | Standard |
---|---|---|---|
C | 556 | Pointer not checked for null before use. : ep1 | MISRA-C:2012 D.4.1 |
C | 536 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 540 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 543 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 546 | Case is not part of switch enumeration. | MISRA-C:2012 R.10.3 |
C | 548 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 555 | Case is not part of switch enumeration. | MISRA-C:2012 R.10.3 |
C | 557 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 566 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 526 | Implicit conversion: actual to formal param. : (int and enum): param 2 | MISRA-C:2012 R.10.3 |
C | 527 | Implicit conversion: actual to formal param. : (int and enum): param 2 | MISRA-C:2012 R.10.3 |
C | 531 | Implicit conversion: actual to formal param. : (int and enum): param 3 | MISRA-C:2012 R.10.3 |
C | 532 | Implicit conversion: actual to formal param. : (int and enum): param 3 | MISRA-C:2012 R.10.3 |
C | 550 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 559 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 519 | Recursion in procedure calls found. : expr_eliminate_dups1 | MISRA-C:2012 R.17.2 |
C | 521 | Identifier reuse: proc param vs macro. : e1 | MISRA-C:2012 R.5.5 |
C | 522 | Identifier reuse: proc param vs macro. : e2 |
MISRA-C:2012 R.5.5 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
expr_eliminate_dups (571 to 592 expr.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : expr_eliminate_dups | MISRA-C:2012 R.8.4 |
C | DD data flow anomalies found. | MISRA-C:2012 R.2.2 |
C | Function has global variable side effects. : trans_count | MISRA-C:2012 R.13.2 |
Code | Line | Violation | Standard |
---|---|---|---|
C | 580 | Pointer not checked for null before use. : e | MISRA-C:2012 D.4.1 |
C | 578 | Potentially infinite loop found. | MISRA-C:2012 R.2.1 |
C | 574 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 575 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 582 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 585 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 586 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 587 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 582 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 571 | Recursion in procedure calls found. : expr_eliminate_dups | MISRA-C:2012 R.17.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
expr_transform (594 to 749 expr.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : expr_transform | MISRA-C:2012 R.8.4 |
C | DD data flow anomalies found. | MISRA-C:2012 R.2.2 |
Code | Line | Violation | Standard |
---|---|---|---|
C | 676 | Pointer not checked for null before use. : e | MISRA-C:2012 D.4.1 |
C | 684 | Pointer not checked for null before use. : e | MISRA-C:2012 D.4.1 |
C | 692 | Pointer not checked for null before use. : e | MISRA-C:2012 D.4.1 |
C | 697 | Pointer not checked for null before use. : tmp | MISRA-C:2012 D.4.1 |
C | 706 | Pointer not checked for null before use. : tmp | MISRA-C:2012 D.4.1 |
C | 718 | Pointer not checked for null before use. : e | MISRA-C:2012 D.4.1 |
C | 727 | Pointer not checked for null before use. : e | MISRA-C:2012 D.4.1 |
C | 736 | Pointer not checked for null before use. : e | MISRA-C:2012 D.4.1 |
C | 598 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 599 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 613 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 618 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 626 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 626 | Format is not appropriate type. : format = %s, param 2 | MISRA-C:2012 R.1.3 |
C | 628 | Pointer assignment to wider scope. | MISRA-C:2012 R.18.6 |
C | 640 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 647 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 647 | Format is not appropriate type. : format = %s, param 2 | MISRA-C:2012 R.1.3 |
C | 649 | Pointer assignment to wider scope. | MISRA-C:2012 R.18.6 |
C | 665 | Use of banned function or variable. : free | MISRA-C:2012 D.4.12,R.1.3,R.17.1,R.21.3,R.21.6,R.21.7,R.21.8,R.21.9,R.21.10,R.21.12 |
M | 665 | free parameter is not heap item. | MISRA-C:2012 R.22.2 |
C | 666 | Use of banned function or variable. : free | MISRA-C:2012 D.4.12,R.1.3,R.17.1,R.21.3,R.21.6,R.21.7,R.21.8,R.21.9,R.21.10,R.21.12 |
C | 674 | Use of banned function or variable. : free | MISRA-C:2012 D.4.12,R.1.3,R.17.1,R.21.3,R.21.6,R.21.7,R.21.8,R.21.9,R.21.10,R.21.12 |
M | 675 | Attempt to use already freed object. : tmp | MISRA-C:2012 R.22.2 |
C | 682 | Use of banned function or variable. : free | MISRA-C:2012 D.4.12,R.1.3,R.17.1,R.21.3,R.21.6,R.21.7,R.21.8,R.21.9,R.21.10,R.21.12 |
M | 683 | Attempt to use already freed object. : tmp | MISRA-C:2012 R.22.2 |
C | 690 | Use of banned function or variable. : free | MISRA-C:2012 D.4.12,R.1.3,R.17.1,R.21.3,R.21.6,R.21.7,R.21.8,R.21.9,R.21.10,R.21.12 |
M | 691 | Attempt to use already freed object. : tmp | MISRA-C:2012 R.22.2 |
C | 716 | Use of banned function or variable. : free | MISRA-C:2012 D.4.12,R.1.3,R.17.1,R.21.3,R.21.6,R.21.7,R.21.8,R.21.9,R.21.10,R.21.12 |
M | 717 | Attempt to use already freed object. : tmp | MISRA-C:2012 R.22.2 |
C | 719 | Pointer assignment to wider scope. | MISRA-C:2012 R.18.6 |
C | 725 | Use of banned function or variable. : free | MISRA-C:2012 D.4.12,R.1.3,R.17.1,R.21.3,R.21.6,R.21.7,R.21.8,R.21.9,R.21.10,R.21.12 |
M | 726 | Attempt to use already freed object. : tmp | MISRA-C:2012 R.22.2 |
C | 728 | Pointer assignment to wider scope. | MISRA-C:2012 R.18.6 |
C | 734 | Use of banned function or variable. : free | MISRA-C:2012 D.4.12,R.1.3,R.17.1,R.21.3,R.21.6,R.21.7,R.21.8,R.21.9,R.21.10,R.21.12 |
M | 735 | Attempt to use already freed object. : tmp | MISRA-C:2012 R.22.2 |
C | 737 | Pointer assignment to wider scope. | MISRA-C:2012 R.18.6 |
C | 743 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 747 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 611 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 612 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 621 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 655 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 698 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 698 | Implicit conversion: actual to formal param. : (int and enum): param 2 | MISRA-C:2012 R.10.3 |
C | 707 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 707 | Implicit conversion: actual to formal param. : (int and enum): param 2 | MISRA-C:2012 R.10.3 |
C | 594 | Recursion in procedure calls found. : expr_transform | MISRA-C:2012 R.17.2 |
M | 673 | Attempt to use uninitialised pointer. : tmp | MISRA-C:2012 R.9.1 |
M | 596 | Procedure contains UR data flow anomalies. : tmp | MISRA-C:2012 R.9.1 |
C | 719 | DU anomaly dead code, variable value is unused on all paths. : (tmp)->left.sym | MISRA-C:2012 R.2.2 |
C | 728 | DU anomaly dead code, variable value is unused on all paths. : (tmp)->left.sym | MISRA-C:2012 R.2.2 |
C | 737 | DU anomaly dead code, variable value is unused on all paths. : (tmp)->left.sym | MISRA-C:2012 R.2.2 |
C | 700 | DU anomaly dead code, variable value is unused on all paths. : (tmp)->right.expr | MISRA-C:2012 R.2.2 |
C | 709 | DU anomaly dead code, variable value is unused on all paths. : (tmp)->right.expr | MISRA-C:2012 R.2.2 |
C | 699 | DU anomaly dead code, variable value is unused on all paths. : (tmp)->type | MISRA-C:2012 R.2.2 |
C | 708 | DU anomaly dead code, variable value is unused on all paths. : (tmp)->type | MISRA-C:2012 R.2.2 |
C | 718 | DU anomaly dead code, variable value is unused on all paths. : (tmp)->type | MISRA-C:2012 R.2.2 |
C | 727 | DU anomaly dead code, variable value is unused on all paths. : (tmp)->type | MISRA-C:2012 R.2.2 |
C | 736 | DU anomaly dead code, variable value is unused on all paths. : (tmp)->type | MISRA-C:2012 R.2.2 |
C | 676 | DU anomaly dead code, variable value is unused on all paths. : (tmp)->type | MISRA-C:2012 R.2.2 |
C | 684 | DU anomaly dead code, variable value is unused on all paths. : (tmp)->type | MISRA-C:2012 R.2.2 |
C | 692 | DU anomaly dead code, variable value is unused on all paths. : (tmp)->type | MISRA-C:2012 R.2.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
expr_contains_symbol (751 to 777 expr.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : expr_contains_symbol | MISRA-C:2012 R.8.4 |
Code | Line | Violation | Standard |
---|---|---|---|
C | 753 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 754 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 759 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 760 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 760 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 762 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 770 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 772 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 775 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 759 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 760 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 772 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 751 | Recursion in procedure calls found. : expr_contains_symbol | MISRA-C:2012 R.17.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
expr_depends_symbol (779 to 806 expr.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : expr_depends_symbol | MISRA-C:2012 R.8.4 |
Code | Line | Violation | Standard |
---|---|---|---|
C | 781 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 782 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 786 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 787 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 787 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 789 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 792 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 792 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 793 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 799 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 804 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 786 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 787 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 779 | Recursion in procedure calls found. : expr_depends_symbol | MISRA-C:2012 R.17.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
expr_trans_compare (808 to 871 expr.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : expr_trans_compare | MISRA-C:2012 R.8.4 |
Code | Line | Violation | Standard |
---|---|---|---|
C | 815 | Pointer not checked for null before use. : e | MISRA-C:2012 D.4.1 |
C | 827 | Pointer not checked for null before use. : e | MISRA-C:2012 D.4.1 |
C | 837 | Pointer not checked for null before use. : e | MISRA-C:2012 D.4.1 |
C | 823 | Pointer not checked for null before use. : e2 | MISRA-C:2012 D.4.1 |
C | 833 | Pointer not checked for null before use. : e2 | MISRA-C:2012 D.4.1 |
C | 825 | Pointer not checked for null before use. : e2 | MISRA-C:2012 D.4.1 |
C | 835 | Pointer not checked for null before use. : e2 | MISRA-C:2012 D.4.1 |
C | 823 | Pointer not checked for null before use. : e1 | MISRA-C:2012 D.4.1 |
C | 833 | Pointer not checked for null before use. : e1 | MISRA-C:2012 D.4.1 |
C | 825 | Pointer not checked for null before use. : e1 | MISRA-C:2012 D.4.1 |
C | 835 | Pointer not checked for null before use. : e1 | MISRA-C:2012 D.4.1 |
C | 812 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 815 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 819 | Case is not part of switch enumeration. | MISRA-C:2012 R.10.3 |
C | 823 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 825 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 827 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 828 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 829 | Case is not part of switch enumeration. | MISRA-C:2012 R.10.3 |
C | 833 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 835 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 837 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 838 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 839 | Case is not part of switch enumeration. | MISRA-C:2012 R.10.3 |
C | 840 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 841 | Case is not part of switch enumeration. | MISRA-C:2012 R.10.3 |
C | 842 | Case is not part of switch enumeration. | MISRA-C:2012 R.10.3 |
C | 843 | Case is not part of switch enumeration. | MISRA-C:2012 R.10.3 |
C | 844 | Case is not part of switch enumeration. | MISRA-C:2012 R.10.3 |
C | 845 | Case is not part of switch enumeration. | MISRA-C:2012 R.10.3 |
C | 846 | Case is not part of switch enumeration. | MISRA-C:2012 R.10.3 |
C | 849 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 851 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 853 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 856 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 858 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 860 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 863 | Case is not part of switch enumeration. | MISRA-C:2012 R.10.3 |
C | 864 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 865 | Case is not part of switch enumeration. | MISRA-C:2012 R.10.3 |
C | 866 | Case is not part of switch enumeration. | MISRA-C:2012 R.10.3 |
C | 867 | Case is not part of switch enumeration. | MISRA-C:2012 R.10.3 |
C | 869 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 818 | No default case in switch statement. | MISRA-C:2012 R.16.4 |
C | 815 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 820 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 820 | Implicit conversion: actual to formal param. : (int and enum): param 2 | MISRA-C:2012 R.10.3 |
C | 821 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 821 | Implicit conversion: actual to formal param. : (int and enum): param 2 | MISRA-C:2012 R.10.3 |
C | 823 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 825 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 827 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 830 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 830 | Implicit conversion: actual to formal param. : (int and enum): param 2 | MISRA-C:2012 R.10.3 |
C | 831 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 831 | Implicit conversion: actual to formal param. : (int and enum): param 2 | MISRA-C:2012 R.10.3 |
C | 833 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 835 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 837 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 840 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 840 | Implicit conversion: actual to formal param. : (int and enum): param 2 | MISRA-C:2012 R.10.3 |
C | 853 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 856 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 808 | Recursion in procedure calls found. : expr_trans_compare | MISRA-C:2012 R.17.2 |
C | 820 | Function return value potentially unused. : e1 | MISRA-C:2012 D.4.7,R.17.7 |
C | 830 | Function return value potentially unused. : e1 | MISRA-C:2012 D.4.7,R.17.7 |
C | 821 | Function return value potentially unused. : e2 | MISRA-C:2012 D.4.7,R.17.7 |
C | 831 | Function return value potentially unused. : e2 | MISRA-C:2012 D.4.7,R.17.7 |
C | 810 | Identifier reuse: var vs macro. : e2 |
MISRA-C:2012 R.5.5 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
expr_parse_string (885 to 915 expr.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
C | 892 | Use of banned function or variable. : errno | MISRA-C:2012 D.4.12,R.1.3,R.17.1,R.21.3,R.21.6,R.21.7,R.21.8,R.21.9,R.21.10,R.21.12 |
C | 894 | Case is not part of switch enumeration. | MISRA-C:2012 R.10.3 |
C | 895 | Case is not part of switch enumeration. | MISRA-C:2012 R.10.3 |
C | 896 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 897 | Case is not part of switch enumeration. | MISRA-C:2012 R.10.3 |
C | 901 | Case is not part of switch enumeration. | MISRA-C:2012 R.10.3 |
C | 905 | Case is not part of switch enumeration. | MISRA-C:2012 R.10.3 |
C | 906 | Case is not part of switch enumeration. | MISRA-C:2012 R.10.3 |
C | 912 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 913 | Use of banned function or variable. : errno | MISRA-C:2012 D.4.12,R.1.3,R.17.1,R.21.3,R.21.6,R.21.7,R.21.8,R.21.9,R.21.10,R.21.12 |
C | 913 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 913 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 913 | Declaration does not specify an array. | MISRA-C:2012 R.18.1 |
C | 913 | Array bound exceeded. : tail[*]; accessed=-1 | MISRA-C:2012 R.18.1 |
C | 913 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 914 | Use of underlying enum representation value. | MISRA-C:2012 R.10.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
expr_calc_value (917 to 995 expr.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : expr_calc_value | MISRA-C:2012 R.8.4 |
C | DD data flow anomalies found. | MISRA-C:2012 R.2.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 930 | Function call with no prior declaration. : sym_calc_value | MISRA-C:2012 R.17.3 |
M | 935 | Function call with no prior declaration. : EXPR_AND | MISRA-C:2012 R.17.3 |
M | 939 | Function call with no prior declaration. : EXPR_OR | MISRA-C:2012 R.17.3 |
M | 942 | Function call with no prior declaration. : EXPR_NOT | MISRA-C:2012 R.17.3 |
M | 955 | Function call with no prior declaration. : sym_calc_value | MISRA-C:2012 R.17.3 |
M | 956 | Function call with no prior declaration. : sym_calc_value | MISRA-C:2012 R.17.3 |
M | 957 | Function call with no prior declaration. : sym_get_string_value | MISRA-C:2012 R.17.3 |
M | 958 | Function call with no prior declaration. : sym_get_string_value | MISRA-C:2012 R.17.3 |
C | 961 | Pointer not checked for null before use. : str1 | MISRA-C:2012 D.4.1 |
C | 966 | Pointer not checked for null before use. : str1 | MISRA-C:2012 D.4.1 |
C | 972 | Pointer not checked for null before use. : str1 | MISRA-C:2012 D.4.1 |
C | 962 | Pointer not checked for null before use. : str2 | MISRA-C:2012 D.4.1 |
C | 966 | Pointer not checked for null before use. : str2 | MISRA-C:2012 D.4.1 |
C | 972 | Pointer not checked for null before use. : str2 | MISRA-C:2012 D.4.1 |
C | 925 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 926 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 931 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 935 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 939 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 942 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 951 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 953 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 966 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 969 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 974 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 974 | Use of mixed mode arithmetic. : (int and bool): res = ( lval.u > rval.u | MISRA-C:2012 R.10.1,R.10.2,R.10.3,R.10.4 |
C | 974 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 975 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 976 | Use of mixed mode arithmetic. : (int and bool): res = ( lval.s > rval.s | MISRA-C:2012 R.10.1,R.10.2,R.10.3,R.10.4 |
C | 976 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 980 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 980 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 982 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 984 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 986 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 988 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 990 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 990 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 992 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 994 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 933 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 934 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 937 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 938 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 941 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 961 | Implicit conversion: actual to formal param. : (int and enum): param 2 | MISRA-C:2012 R.10.3 |
C | 962 | Implicit conversion: actual to formal param. : (int and enum): param 2 | MISRA-C:2012 R.10.3 |
C | 917 | Recursion in procedure calls found. : expr_calc_value | MISRA-C:2012 R.17.2 |
C | 962 | Function return value potentially unused. : k2 |
MISRA-C:2012 D.4.7,R.17.7 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
expr_compare_type (997 to 1029 expr.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
C | 999 | Use of underlying enum representation value. | MISRA-C:2012 R.10.1 |
C | 1000 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1002 | Case is not part of switch enumeration. | MISRA-C:2012 R.10.3 |
C | 1003 | Case is not part of switch enumeration. | MISRA-C:2012 R.10.3 |
C | 1004 | Case is not part of switch enumeration. | MISRA-C:2012 R.10.3 |
C | 1005 | Case is not part of switch enumeration. | MISRA-C:2012 R.10.3 |
C | 1007 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1008 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 1008 | Case is not part of switch enumeration. | MISRA-C:2012 R.10.3 |
C | 1009 | Case is not part of switch enumeration. | MISRA-C:2012 R.10.3 |
C | 1011 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1012 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 1012 | Case is not part of switch enumeration. | MISRA-C:2012 R.10.3 |
C | 1014 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1015 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 1015 | Case is not part of switch enumeration. | MISRA-C:2012 R.10.3 |
C | 1017 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1018 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 1018 | Case is not part of switch enumeration. | MISRA-C:2012 R.10.3 |
C | 1020 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1021 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 1021 | Case is not part of switch enumeration. | MISRA-C:2012 R.10.3 |
C | 1023 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1024 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 1026 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 1027 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 1027 | Unreachable Code found. | MISRA-C:2012 R.2.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
expr_get_leftmost_symbol (1031 to 1042 expr.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
C | 1038 | Pointer not checked for null before use. : e | MISRA-C:2012 D.4.1 |
C | 1036 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1039 | No brackets to loop body. | MISRA-C:2012 R.15.6 |
C | 1031 | Recursion in procedure calls found. : expr_get_leftmost_symbol | MISRA-C:2012 R.17.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
expr_simplify_unmet_dep (1048 to 1071 expr.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : expr_simplify_unmet_dep | MISRA-C:2012 R.8.4 |
C | DD data flow anomalies found. | MISRA-C:2012 R.2.2 |
C | Function has global variable side effects. : trans_count | MISRA-C:2012 R.13.2 |
Code | Line | Violation | Standard |
---|---|---|---|
C | 1061 | Pointer not checked for null before use. : e1 | MISRA-C:2012 D.4.1 |
C | 1070 | Pointer not checked for null before use. : ret | MISRA-C:2012 D.4.1 |
C | 1062 | Pointer not checked for null before use. : e | MISRA-C:2012 D.4.1 |
C | 1060 | Pointer not checked for null before use. : e | MISRA-C:2012 D.4.1 |
C | 1061 | Pointer not checked for null before use. : e | MISRA-C:2012 D.4.1 |
C | 1056 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 1061 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1055 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 1056 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 1056 | Call has execution order dependant side effects. : expr_simplify_unmet_dep | MISRA-C:2012 R.13.1,R.13.2,R.13.5 |
C | 1055 | Call has execution order dependant side effects. : expr_simplify_unmet_dep | MISRA-C:2012 R.13.1,R.13.2,R.13.5 |
C | 1048 | Recursion in procedure calls found. : expr_simplify_unmet_dep | MISRA-C:2012 R.17.2 |
C | 1059 | Potential side effect from repeated function call. : expr_copy | MISRA-C:2012 R.13.2 |
C | 1060 | Potential side effect problem in expression. : e | MISRA-C:2012 R.13.2 |
C | 1061 | Potential side effect problem in expression. : e | MISRA-C:2012 R.13.2 |
C | 1070 | Potential side effect problem in expression. : ret | MISRA-C:2012 R.13.2 |
C | 1056 | Potential side effect from repeated function call. : expr_simplify_unmet_dep | MISRA-C:2012 R.13.2 |
C | 1056 | Potential side effect problem in expression. : trans_count | MISRA-C:2012 R.13.2 |
C | 1048 | Identifier reuse: proc param vs macro. : e1 |
MISRA-C:2012 R.5.5 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
expr_print (1073 to 1161 expr.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : expr_print | MISRA-C:2012 R.8.4 |
Code | Line | Violation | Standard |
---|---|---|---|
C | 1075 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1081 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1084 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1085 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1087 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1094 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1095 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1097 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1103 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1104 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1106 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1112 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1113 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1115 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1120 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1121 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1123 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1139 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1154 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 1160 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1080 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 1080 | Implicit conversion: actual to formal param. : (int and enum): param 2 | MISRA-C:2012 R.10.3 |
C | 1085 | Implicit conversion: actual to formal param. : (int and enum): param 2 | MISRA-C:2012 R.10.3 |
C | 1085 | Implicit conversion: actual to formal param. : (int and char): param 3 | MISRA-C:2012 R.10.3 |
C | 1091 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 1095 | Implicit conversion: actual to formal param. : (int and enum): param 2 | MISRA-C:2012 R.10.3 |
C | 1095 | Implicit conversion: actual to formal param. : (int and char): param 3 | MISRA-C:2012 R.10.3 |
C | 1099 | Implicit conversion: actual to formal param. : (int and enum): param 2 | MISRA-C:2012 R.10.3 |
C | 1099 | Implicit conversion: actual to formal param. : (int and char): param 3 | MISRA-C:2012 R.10.3 |
C | 1104 | Implicit conversion: actual to formal param. : (int and enum): param 2 | MISRA-C:2012 R.10.3 |
C | 1104 | Implicit conversion: actual to formal param. : (int and char): param 3 | MISRA-C:2012 R.10.3 |
C | 1108 | Implicit conversion: actual to formal param. : (int and enum): param 2 | MISRA-C:2012 R.10.3 |
C | 1108 | Implicit conversion: actual to formal param. : (int and char): param 3 | MISRA-C:2012 R.10.3 |
C | 1113 | Implicit conversion: actual to formal param. : (int and enum): param 2 | MISRA-C:2012 R.10.3 |
C | 1113 | Implicit conversion: actual to formal param. : (int and char): param 3 | MISRA-C:2012 R.10.3 |
C | 1117 | Implicit conversion: actual to formal param. : (int and enum): param 2 | MISRA-C:2012 R.10.3 |
C | 1117 | Implicit conversion: actual to formal param. : (int and char): param 3 | MISRA-C:2012 R.10.3 |
C | 1121 | Implicit conversion: actual to formal param. : (int and enum): param 2 | MISRA-C:2012 R.10.3 |
C | 1121 | Implicit conversion: actual to formal param. : (int and char): param 3 | MISRA-C:2012 R.10.3 |
C | 1125 | Implicit conversion: actual to formal param. : (int and enum): param 2 | MISRA-C:2012 R.10.3 |
C | 1125 | Implicit conversion: actual to formal param. : (int and char): param 3 | MISRA-C:2012 R.10.3 |
C | 1128 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 1130 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 1133 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 1135 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 1138 | Implicit conversion: actual to formal param. : (int and enum): param 2 | MISRA-C:2012 R.10.3 |
C | 1138 | Implicit conversion: actual to formal param. : (int and char): param 3 | MISRA-C:2012 R.10.3 |
C | 1141 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 1146 | Implicit conversion: actual to formal param. : (int and enum): param 2 | MISRA-C:2012 R.10.3 |
C | 1146 | Implicit conversion: actual to formal param. : (int and char): param 3 | MISRA-C:2012 R.10.3 |
C | 1148 | Implicit conversion: actual to formal param. : (int and enum): param 2 | MISRA-C:2012 R.10.3 |
C | 1148 | Implicit conversion: actual to formal param. : (int and char): param 3 | MISRA-C:2012 R.10.3 |
C | 1159 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 1159 | Implicit conversion: actual to formal param. : (int and enum): param 2 | MISRA-C:2012 R.10.3 |
C | 1073 | Recursion in procedure calls found. : expr_print | MISRA-C:2012 R.17.2 |
Code | Violation | Parameter |
---|---|---|
O | Procedure pointer is an unused parameter | fn |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
expr_print_file_helper (1163 to 1166 expr.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1165 | Function call with no prior declaration. : xfwrite | MISRA-C:2012 R.17.3 |
Code | Violation | Parameter |
---|---|---|
O | Unused procedure parameter | sym |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
expr_fprint (1168 to 1171 expr.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : expr_fprint | MISRA-C:2012 R.8.4 |
Code | Line | Violation | Standard |
---|---|---|---|
C | 1168 | Recursion in procedure calls found. : expr_fprint | MISRA-C:2012 R.17.2 |
C | 1170 | Unreachable Code found. | MISRA-C:2012 R.2.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
expr_print_gstr_helper (1173 to 1201 expr.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
C | 1175 | Casting operation to a pointer. | MISRA-C:2012 R.11.1,R.11.2,R.11.3,R.11.5,R.11.7 |
M | 1179 | Function call with no prior declaration. : sym_get_string_value | MISRA-C:2012 R.17.3 |
M | 1195 | Function call with no prior declaration. : str_append | MISRA-C:2012 R.17.3 |
M | 1198 | Function call with no prior declaration. : str_append | MISRA-C:2012 R.17.3 |
M | 1200 | Function call with no prior declaration. : str_printf | MISRA-C:2012 R.17.3 |
C | 1192 | Pointer not checked for null before use. : last_cr | MISRA-C:2012 D.4.1 |
C | 1175 | Casting operation on a pointer. | MISRA-C:2012 R.11.1,R.11.2,R.11.3,R.11.7 |
C | 1178 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1179 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1181 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1186 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1187 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1187 | Signed/unsigned conversion without cast. : (unsigned int and int): extra_length | MISRA-C:2012 R.10.3,R.10.4 |
C | 1187 | Use of mixed mode arithmetic. : (signed char and unsigned int): extra_length += 4 + strlen | MISRA-C:2012 R.10.1,R.10.2,R.10.3,R.10.4 |
C | 1187 | Signed/unsigned conversion without cast. : (signed char and unsigned int): extra_length += 4 + strlen | MISRA-C:2012 R.10.3,R.10.4 |
C | 1189 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1190 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1190 | const object reassigned. : last_cr | MISRA-C:2012 R.1.3 |
C | 1192 | Value is not of appropriate type. : (long long and char): last_line_length = strlen ( gs -> s | MISRA-C:2012 R.10.1,R.10.3,R.10.4,R.10.5,R.11.1 |
C | 1192 | Pointer arithmetic is not on array. | MISRA-C:2012 R.18.1,R.18.4 |
C | 1192 | Use of mixed mode arithmetic. : (unsigned int and long long): last_line_length = strlen ( gs -> s ) - ( last_cr - gs -> s | MISRA-C:2012 R.10.1,R.10.2,R.10.3,R.10.4 |
C | 1194 | Signed/unsigned conversion without cast. : (unsigned int and int): ( last_line_length + extra_length ) > gs -> max_width | MISRA-C:2012 R.10.3,R.10.4 |
C | 1194 | Use of mixed mode arithmetic. : (unsigned int and int): ( last_line_length + extra_length ) > gs -> max_width | MISRA-C:2012 R.10.1,R.10.2,R.10.3,R.10.4 |
C | 1195 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1199 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1200 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1175 | Type is incomplete in translation unit. : gstr | MISRA-C:2012 R.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
expr_gstr_print (1203 to 1206 expr.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : expr_gstr_print | MISRA-C:2012 R.8.4 |
Code | Line | Violation | Standard |
---|---|---|---|
C | 1203 | Recursion in procedure calls found. : expr_gstr_print | MISRA-C:2012 R.17.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
kconf_id_hash (44 to 89 hconf.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
C | 47 | Literal value requires a U suffix. : 73 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | 52 | Literal value requires a U suffix. : 73 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | 52 | Literal value requires a U suffix. : 0 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | 55 | Literal value requires a U suffix. : 73 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | 58 | Literal value requires a U suffix. : 73 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | 58 | Literal value requires a U suffix. : 10 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | 58 | Literal value requires a U suffix. : 25 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | 58 | Literal value requires a U suffix. : 0 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | 58 | Literal value requires a U suffix. : 5 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | 58 | Literal value requires a U suffix. : 45 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | 58 | Literal value requires a U suffix. : 20 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | 58 | Literal value requires a U suffix. : 15 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | 61 | Literal value requires a U suffix. : 73 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | 64 | Literal value requires a U suffix. : 73 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | 68 | Literal value requires a U suffix. : 73 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | 71 | Literal value requires a U suffix. : 73 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | 74 | Literal value requires a U suffix. : 73 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | 74 | Value is not of appropriate type. : (unsigned char and signed char): 73 , 73 , 73 , 73 | MISRA-C:2012 R.10.1,R.10.3,R.10.4,R.10.5,R.11.1 |
C | 76 | Signed/unsigned conversion without cast. : (int and unsigned int): len | MISRA-C:2012 R.10.3,R.10.4 |
C | 81 | Signed/unsigned conversion without cast. : (int and unsigned char): hval += asso_values | MISRA-C:2012 R.10.3,R.10.4 |
C | 81 | Declaration does not specify an array. | MISRA-C:2012 R.18.1 |
C | 83 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 85 | Signed/unsigned conversion without cast. : (int and unsigned char): hval += asso_values | MISRA-C:2012 R.10.3,R.10.4 |
C | 85 | Declaration does not specify an array. | MISRA-C:2012 R.18.1 |
C | 88 | Use of mixed mode arithmetic. : (int and unsigned char): hval + asso_values | MISRA-C:2012 R.10.1,R.10.2,R.10.3,R.10.4 |
C | 88 | Declaration does not specify an array. | MISRA-C:2012 R.18.1 |
C | 88 | Function return type inconsistent. : (unsigned int and int) |
MISRA-C:2012 R.10.3 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
kconf_id_lookup (174 to 295 hconf.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
C | 287 | Casting operation to a pointer. | MISRA-C:2012 R.11.1,R.11.2,R.11.3,R.11.5,R.11.7 |
C | 175 | Function and proto should both be static. : kconf_id_lookup | MISRA-C:2012 R.8.8 |
C | 190 | Cast from pointer to integral type. | MISRA-C:2012 R.11.2,R.11.4,R.11.6,R.11.7 |
C | 192 | Cast from pointer to integral type. | MISRA-C:2012 R.11.2,R.11.4,R.11.6,R.11.7 |
C | 195 | Cast from pointer to integral type. | MISRA-C:2012 R.11.2,R.11.4,R.11.6,R.11.7 |
C | 198 | Cast from pointer to integral type. | MISRA-C:2012 R.11.2,R.11.4,R.11.6,R.11.7 |
C | 200 | Cast from pointer to integral type. | MISRA-C:2012 R.11.2,R.11.4,R.11.6,R.11.7 |
C | 202 | Cast from pointer to integral type. | MISRA-C:2012 R.11.2,R.11.4,R.11.6,R.11.7 |
C | 204 | Cast from pointer to integral type. | MISRA-C:2012 R.11.2,R.11.4,R.11.6,R.11.7 |
C | 207 | Cast from pointer to integral type. | MISRA-C:2012 R.11.2,R.11.4,R.11.6,R.11.7 |
C | 209 | Cast from pointer to integral type. | MISRA-C:2012 R.11.2,R.11.4,R.11.6,R.11.7 |
C | 211 | Cast from pointer to integral type. | MISRA-C:2012 R.11.2,R.11.4,R.11.6,R.11.7 |
C | 214 | Cast from pointer to integral type. | MISRA-C:2012 R.11.2,R.11.4,R.11.6,R.11.7 |
C | 216 | Cast from pointer to integral type. | MISRA-C:2012 R.11.2,R.11.4,R.11.6,R.11.7 |
C | 219 | Cast from pointer to integral type. | MISRA-C:2012 R.11.2,R.11.4,R.11.6,R.11.7 |
C | 221 | Cast from pointer to integral type. | MISRA-C:2012 R.11.2,R.11.4,R.11.6,R.11.7 |
C | 223 | Cast from pointer to integral type. | MISRA-C:2012 R.11.2,R.11.4,R.11.6,R.11.7 |
C | 226 | Cast from pointer to integral type. | MISRA-C:2012 R.11.2,R.11.4,R.11.6,R.11.7 |
C | 229 | Cast from pointer to integral type. | MISRA-C:2012 R.11.2,R.11.4,R.11.6,R.11.7 |
C | 231 | Cast from pointer to integral type. | MISRA-C:2012 R.11.2,R.11.4,R.11.6,R.11.7 |
C | 233 | Cast from pointer to integral type. | MISRA-C:2012 R.11.2,R.11.4,R.11.6,R.11.7 |
C | 236 | Cast from pointer to integral type. | MISRA-C:2012 R.11.2,R.11.4,R.11.6,R.11.7 |
C | 238 | Cast from pointer to integral type. | MISRA-C:2012 R.11.2,R.11.4,R.11.6,R.11.7 |
C | 240 | Cast from pointer to integral type. | MISRA-C:2012 R.11.2,R.11.4,R.11.6,R.11.7 |
C | 243 | Cast from pointer to integral type. | MISRA-C:2012 R.11.2,R.11.4,R.11.6,R.11.7 |
C | 245 | Cast from pointer to integral type. | MISRA-C:2012 R.11.2,R.11.4,R.11.6,R.11.7 |
C | 248 | Cast from pointer to integral type. | MISRA-C:2012 R.11.2,R.11.4,R.11.6,R.11.7 |
C | 251 | Cast from pointer to integral type. | MISRA-C:2012 R.11.2,R.11.4,R.11.6,R.11.7 |
C | 253 | Cast from pointer to integral type. | MISRA-C:2012 R.11.2,R.11.4,R.11.6,R.11.7 |
C | 255 | Cast from pointer to integral type. | MISRA-C:2012 R.11.2,R.11.4,R.11.6,R.11.7 |
C | 258 | Cast from pointer to integral type. | MISRA-C:2012 R.11.2,R.11.4,R.11.6,R.11.7 |
C | 260 | Cast from pointer to integral type. | MISRA-C:2012 R.11.2,R.11.4,R.11.6,R.11.7 |
C | 263 | Cast from pointer to integral type. | MISRA-C:2012 R.11.2,R.11.4,R.11.6,R.11.7 |
C | 265 | Cast from pointer to integral type. | MISRA-C:2012 R.11.2,R.11.4,R.11.6,R.11.7 |
C | 268 | Cast from pointer to integral type. | MISRA-C:2012 R.11.2,R.11.4,R.11.6,R.11.7 |
C | 271 | Cast from pointer to integral type. | MISRA-C:2012 R.11.2,R.11.4,R.11.6,R.11.7 |
C | 275 | Cast from pointer to integral type. | MISRA-C:2012 R.11.2,R.11.4,R.11.6,R.11.7 |
C | 278 | Signed/unsigned conversion without cast. : (unsigned int and signed char): len <= MAX_WORD_LENGTH | MISRA-C:2012 R.10.3,R.10.4 |
C | 278 | Signed/unsigned conversion without cast. : (unsigned int and signed char): len >= MIN_WORD_LENGTH | MISRA-C:2012 R.10.3,R.10.4 |
C | 280 | Signed/unsigned conversion without cast. : (int and unsigned int): kconf_id_hash | MISRA-C:2012 R.10.3,R.10.4 |
C | 282 | No cast for widening complex int expression. : (int and signed char): key <= MAX_HASH_VALUE | MISRA-C:2012 R.10.6,R.10.7 |
C | 287 | Casting operation on a pointer. | MISRA-C:2012 R.11.1,R.11.2,R.11.3,R.11.7 |
C | 287 | Cast to an unrelated type. | MISRA-C:2012 R.11.2,R.11.3 |
C | 289 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 289 | Pointer arithmetic is not on array. | MISRA-C:2012 R.18.1,R.18.4 |
C | 289 | Pointer arithmetic is not on array. | MISRA-C:2012 R.18.1,R.18.4 |
C | 289 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 289 | Declaration does not specify an array. | MISRA-C:2012 R.18.1 |
C | 290 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 294 | Literal zero used in pointer context. | MISRA-C:2012 R.11.9 |
Code | Line | Violation | Standard |
---|
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
print_buttons (29 to 39 inputbox.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 34 | Function call with no prior declaration. : print_button | MISRA-C:2012 R.17.3 |
M | 34 | Function call with no prior declaration. : gettext | MISRA-C:2012 R.17.3 |
M | 35 | Function call with no prior declaration. : print_button | MISRA-C:2012 R.17.3 |
M | 35 | Function call with no prior declaration. : gettext | MISRA-C:2012 R.17.3 |
M | 37 | Function call with no prior declaration. : wmove | MISRA-C:2012 R.17.3 |
M | 38 | Function call with no prior declaration. : wrefresh | MISRA-C:2012 R.17.3 |
C | 31 | Expression needs brackets. | MISRA-C:2012 R.12.1,R.20.7 |
C | 37 | Expression needs brackets. | MISRA-C:2012 R.12.1,R.20.7 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
dialog_inputbox (44 to 301 inputbox.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : dialog_inputbox | MISRA-C:2012 R.8.4 |
C | DD data flow anomalies found. | MISRA-C:2012 R.2.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 59 | Function call with no prior declaration. : getmaxy | MISRA-C:2012 R.17.3 |
M | 61 | Function call with no prior declaration. : getmaxx | MISRA-C:2012 R.17.3 |
M | 65 | Function call with no prior declaration. : getmaxx | MISRA-C:2012 R.17.3 |
M | 66 | Function call with no prior declaration. : getmaxy | MISRA-C:2012 R.17.3 |
M | 68 | Function call with no prior declaration. : draw_shadow | MISRA-C:2012 R.17.3 |
M | 70 | Function call with no prior declaration. : newwin | MISRA-C:2012 R.17.3 |
M | 71 | Function call with no prior declaration. : keypad | MISRA-C:2012 R.17.3 |
M | 73 | Function call with no prior declaration. : draw_box | MISRA-C:2012 R.17.3 |
M | 75 | Function call with no prior declaration. : wattrset | MISRA-C:2012 R.17.3 |
M | 76 | Function call with no prior declaration. : mvwaddch | MISRA-C:2012 R.17.3 |
M | 78 | Function call with no prior declaration. : waddch | MISRA-C:2012 R.17.3 |
M | 79 | Function call with no prior declaration. : wattrset | MISRA-C:2012 R.17.3 |
M | 80 | Function call with no prior declaration. : waddch | MISRA-C:2012 R.17.3 |
M | 82 | Function call with no prior declaration. : print_title | MISRA-C:2012 R.17.3 |
M | 84 | Function call with no prior declaration. : wattrset | MISRA-C:2012 R.17.3 |
M | 85 | Function call with no prior declaration. : print_autowrap | MISRA-C:2012 R.17.3 |
M | 89 | Function call with no prior declaration. : getyx | MISRA-C:2012 R.17.3 |
M | 92 | Function call with no prior declaration. : draw_box | MISRA-C:2012 R.17.3 |
M | 98 | Function call with no prior declaration. : wmove | MISRA-C:2012 R.17.3 |
M | 99 | Function call with no prior declaration. : wattrset | MISRA-C:2012 R.17.3 |
M | 108 | Function call with no prior declaration. : waddch | MISRA-C:2012 R.17.3 |
M | 112 | Function call with no prior declaration. : waddstr | MISRA-C:2012 R.17.3 |
M | 115 | Function call with no prior declaration. : wmove | MISRA-C:2012 R.17.3 |
M | 117 | Function call with no prior declaration. : wrefresh | MISRA-C:2012 R.17.3 |
M | 120 | Function call with no prior declaration. : wgetch | MISRA-C:2012 R.17.3 |
M | 131 | Function call with no prior declaration. : wattrset | MISRA-C:2012 R.17.3 |
M | 146 | Function call with no prior declaration. : wmove | MISRA-C:2012 R.17.3 |
M | 149 | Function call with no prior declaration. : waddch | MISRA-C:2012 R.17.3 |
M | 152 | Function call with no prior declaration. : waddch | MISRA-C:2012 R.17.3 |
M | 154 | Function call with no prior declaration. : wmove | MISRA-C:2012 R.17.3 |
M | 155 | Function call with no prior declaration. : wrefresh | MISRA-C:2012 R.17.3 |
M | 161 | Function call with no prior declaration. : wmove | MISRA-C:2012 R.17.3 |
M | 164 | Function call with no prior declaration. : wmove | MISRA-C:2012 R.17.3 |
M | 167 | Function call with no prior declaration. : waddch | MISRA-C:2012 R.17.3 |
M | 170 | Function call with no prior declaration. : waddch | MISRA-C:2012 R.17.3 |
M | 172 | Function call with no prior declaration. : wmove | MISRA-C:2012 R.17.3 |
M | 180 | Function call with no prior declaration. : wmove | MISRA-C:2012 R.17.3 |
M | 183 | Function call with no prior declaration. : wmove | MISRA-C:2012 R.17.3 |
M | 186 | Function call with no prior declaration. : waddch | MISRA-C:2012 R.17.3 |
M | 189 | Function call with no prior declaration. : waddch | MISRA-C:2012 R.17.3 |
M | 191 | Function call with no prior declaration. : wmove | MISRA-C:2012 R.17.3 |
M | 199 | Function call with no prior declaration. : wattrset | MISRA-C:2012 R.17.3 |
M | 217 | Function call with no prior declaration. : wmove | MISRA-C:2012 R.17.3 |
M | 220 | Function call with no prior declaration. : waddch | MISRA-C:2012 R.17.3 |
M | 223 | Function call with no prior declaration. : waddch | MISRA-C:2012 R.17.3 |
M | 225 | Function call with no prior declaration. : wmove | MISRA-C:2012 R.17.3 |
M | 226 | Function call with no prior declaration. : wrefresh | MISRA-C:2012 R.17.3 |
M | 228 | Function call with no prior declaration. : flash | MISRA-C:2012 R.17.3 |
M | 236 | Function call with no prior declaration. : delwin | MISRA-C:2012 R.17.3 |
M | 240 | Function call with no prior declaration. : delwin | MISRA-C:2012 R.17.3 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 252 | Function call with no prior declaration. : wmove | MISRA-C:2012 R.17.3 |
M | 253 | Function call with no prior declaration. : wrefresh | MISRA-C:2012 R.17.3 |
M | 276 | Function call with no prior declaration. : wmove | MISRA-C:2012 R.17.3 |
M | 277 | Function call with no prior declaration. : wrefresh | MISRA-C:2012 R.17.3 |
M | 283 | Function call with no prior declaration. : delwin | MISRA-C:2012 R.17.3 |
M | 290 | Function call with no prior declaration. : on_key_esc | MISRA-C:2012 R.17.3 |
M | 293 | Function call with no prior declaration. : delwin | MISRA-C:2012 R.17.3 |
M | 294 | Function call with no prior declaration. : on_key_resize | MISRA-C:2012 R.17.3 |
M | 299 | Function call with no prior declaration. : delwin | MISRA-C:2012 R.17.3 |
C | 71 | Pointer not checked for null before use. : dialog | MISRA-C:2012 D.4.1 |
C | 101 | Pointer not checked for null before use. : instr | MISRA-C:2012 D.4.1 |
C | 58 | Potentially infinite loop found. | MISRA-C:2012 R.2.1 |
C | 53 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 54 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 56 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 60 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 62 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 77 | Expression needs brackets. | MISRA-C:2012 R.12.1,R.20.7 |
C | 78 | No brackets to loop body. | MISRA-C:2012 R.15.6 |
C | 101 | Signed/unsigned conversion without cast. : (int and unsigned int): len = strlen | MISRA-C:2012 R.10.3,R.10.4 |
C | 105 | Expression needs brackets. | MISRA-C:2012 R.12.1,R.20.7 |
C | 107 | Expression needs brackets. | MISRA-C:2012 R.12.1,R.20.7 |
C | 108 | No brackets to loop body. | MISRA-C:2012 R.15.6 |
C | 130 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 135 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 138 | For loop initialisation is not simple. | MISRA-C:2012 R.14.2 |
C | 139 | Modification of string literal. : instr | MISRA-C:2012 R.7.4 |
C | 145 | Modification of string literal. : instr | MISRA-C:2012 R.7.4 |
C | 148 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 157 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 161 | Deprecated usage of ++ or -- operators found. | MISRA-C:2012 R.13.1,R.13.2,R.13.3 |
C | 161 | Assignment operation in expression. | MISRA-C:2012 R.13.1,R.13.2,R.13.4 |
C | 161 | Expression needs brackets. | MISRA-C:2012 R.12.1,R.20.7 |
C | 166 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 173 | Else alternative missing in if. | MISRA-C:2012 R.15.7 |
C | 176 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 179 | Expression needs brackets. | MISRA-C:2012 R.12.1,R.20.7 |
C | 180 | Deprecated usage of ++ or -- operators found. | MISRA-C:2012 R.13.1,R.13.2,R.13.3 |
C | 180 | Assignment operation in expression. | MISRA-C:2012 R.13.1,R.13.2,R.13.4 |
C | 180 | Expression needs brackets. | MISRA-C:2012 R.12.1,R.20.7 |
C | 181 | Expression needs brackets. | MISRA-C:2012 R.12.1,R.20.7 |
C | 185 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 192 | Else alternative missing in if. | MISRA-C:2012 R.15.7 |
C | 195 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 197 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 202 | No brackets to loop body. | MISRA-C:2012 R.15.6 |
C | 202 | Modification of string literal. : instr | MISRA-C:2012 R.7.4 |
C | 203 | Modification of string literal. : instr | MISRA-C:2012 R.7.4 |
C | 205 | Modification of string literal. : instr | MISRA-C:2012 R.7.4 |
C | 209 | Modification of string literal. : instr | MISRA-C:2012 R.7.4 |
C | 211 | Expression needs brackets. | MISRA-C:2012 R.12.1,R.20.7 |
C | 219 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
Code | Line | Violation | Standard |
---|---|---|---|
C | 228 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 231 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 237 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 241 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 244 | No default case in switch statement. | MISRA-C:2012 R.16.4 |
C | 264 | No default case in switch statement. | MISRA-C:2012 R.16.4 |
C | 284 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 295 | goto label is backwards. | MISRA-C:2012 R.15.2 |
C | 296 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 233 | No default case in switch statement. | MISRA-C:2012 R.16.4 |
C | 48 | DU anomaly dead code, variable value is unused on all paths. : input_x | MISRA-C:2012 R.2.2 |
C | 89 | DU anomaly dead code, variable value is unused on all paths. : x | MISRA-C:2012 R.2.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
menu_warn (21 to 29 menu.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : menu_warn | MISRA-C:2012 R.8.4 |
Code | Line | Violation | Standard |
---|---|---|---|
C | 24 | Use of banned function or variable. : va_start | MISRA-C:2012 D.4.12,R.1.3,R.17.1,R.21.3,R.21.6,R.21.7,R.21.8,R.21.9,R.21.10,R.21.12 |
C | 25 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 25 | Format is not appropriate type. : format = %s, param 3 | MISRA-C:2012 R.1.3 |
C | 26 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 26 | Incorrect number of formats in output function. : 0 formats, 3 outputs | MISRA-C:2012 R.1.3 |
C | 27 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 28 | Use of banned function or variable. : va_end | MISRA-C:2012 D.4.12,R.1.3,R.17.1,R.21.3,R.21.6,R.21.7,R.21.8,R.21.9,R.21.10,R.21.12 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
prop_warn (31 to 39 menu.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
C | 34 | Use of banned function or variable. : va_start | MISRA-C:2012 D.4.12,R.1.3,R.17.1,R.21.3,R.21.6,R.21.7,R.21.8,R.21.9,R.21.10,R.21.12 |
C | 35 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 35 | Format is not appropriate type. : format = %s, param 3 | MISRA-C:2012 R.1.3 |
C | 36 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 36 | Incorrect number of formats in output function. : 0 formats, 3 outputs | MISRA-C:2012 R.1.3 |
C | 37 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 38 | Use of banned function or variable. : va_end | MISRA-C:2012 D.4.12,R.1.3,R.17.1,R.21.3,R.21.6,R.21.7,R.21.8,R.21.9,R.21.10,R.21.12 |
C | 31 | Struct/union not completely specified. : property | MISRA-C:2012 R.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
_menu_init (41 to 45 menu.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : _menu_init | MISRA-C:2012 R.8.4 |
Code | Line | Violation | Standard |
---|---|---|---|
C | 41 | User name starts with underscore. : _menu_init | MISRA-C:2012 R.21.1,R.21.2 |
C | 43 | Assignment operation in expression. | MISRA-C:2012 R.13.1,R.13.2,R.13.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
menu_add_entry (47 to 63 menu.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : menu_add_entry | MISRA-C:2012 R.8.4 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 51 | Function call with no prior declaration. : xmalloc | MISRA-C:2012 R.17.3 |
M | 56 | Function call with no prior declaration. : zconf_lineno | MISRA-C:2012 R.17.3 |
M | 62 | Function call with no prior declaration. : menu_add_symbol | MISRA-C:2012 R.17.3 |
C | 53 | Pointer not checked for null before use. : menu | MISRA-C:2012 D.4.1 |
C | 62 | Pointer not checked for null before use. : NULL | MISRA-C:2012 D.4.1 |
C | 55 | Pointer not checked for null before use. : current_file | MISRA-C:2012 D.4.1 |
C | 58 | Pointer not checked for null before use. : last_entry_ptr | MISRA-C:2012 D.4.1 |
C | 52 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 61 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 62 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 47 | Type is incomplete in translation unit. : symbol | MISRA-C:2012 R.1.3 |
C | 62 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 62 | Implicit conversion: actual to formal param. : (int and enum): param 3 | MISRA-C:2012 R.10.3 |
C | 47 | Recursion in procedure calls found. : menu_add_entry | MISRA-C:2012 R.17.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
menu_end_entry (65 to 67 menu.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : menu_end_entry | MISRA-C:2012 R.8.4 |
Code | Line | Violation | Standard |
---|---|---|---|
C | 65 | Void function has no side effects. : menu_end_entry | MISRA-C:2012 R.2.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
menu_add_menu (69 to 74 menu.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : menu_add_menu | MISRA-C:2012 R.8.4 |
C | Function has global variable side effects. : last_entry_ptr | MISRA-C:2012 R.13.2 |
Code | Line | Violation | Standard |
---|---|---|---|
C | 73 | Assignment operation in expression. | MISRA-C:2012 R.13.1,R.13.2,R.13.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
menu_end_menu (76 to 80 menu.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : menu_end_menu | MISRA-C:2012 R.8.4 |
Code | Line | Violation | Standard |
---|---|---|---|
C | 79 | DU anomaly dead code, variable value is unused on all paths. : (current_menu)->next | MISRA-C:2012 R.2.2 |
C | 79 | DU anomaly dead code, variable value is unused on all paths. : (current_menu)->parent | MISRA-C:2012 R.2.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
menu_check_dep (82 to 105 menu.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 99 | Function call with no prior declaration. : expr_alloc_and | MISRA-C:2012 R.17.3 |
M | 99 | Function call with no prior declaration. : expr_alloc_symbol | MISRA-C:2012 R.17.3 |
C | 84 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 85 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 99 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 101 | Switch empty default has no comment. | MISRA-C:2012 R.16.4 |
C | 82 | Struct/union not completely specified. : expr | MISRA-C:2012 R.1.3 |
C | 89 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 93 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 94 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 82 | Recursion in procedure calls found. : menu_check_dep | MISRA-C:2012 R.17.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
menu_add_dep (107 to 110 menu.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : menu_add_dep | MISRA-C:2012 R.8.4 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 109 | Function call with no prior declaration. : expr_alloc_and | MISRA-C:2012 R.17.3 |
C | 107 | Recursion in procedure calls found. : menu_add_dep | MISRA-C:2012 R.17.2 |
C | 109 | DU anomaly dead code, variable value is unused on all paths. : (current_entry)->dep | MISRA-C:2012 R.2.2 |
C | 109 | Function return value potentially unused. : (current_entry)->dep |
MISRA-C:2012 D.4.7,R.17.7 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
menu_set_type (112 to 126 menu.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : menu_set_type | MISRA-C:2012 R.8.4 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 125 | Function call with no prior declaration. : sym_type_name | MISRA-C:2012 R.17.3 |
C | 117 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 122 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 122 | Implicit conversion: actual to formal param. : (symbol and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 122 | Implicit conversion: actual to formal param. : (char* and char): param 2 | MISRA-C:2012 R.10.3 |
C | 119 | DU anomaly dead code, variable value is unused on all paths. : (sym)->type | MISRA-C:2012 R.2.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
menu_add_prop (128 to 176 menu.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 130 | Function call with no prior declaration. : prop_alloc | MISRA-C:2012 R.17.3 |
M | 163 | Function call with no prior declaration. : expr_copy | MISRA-C:2012 R.17.3 |
M | 165 | Function call with no prior declaration. : expr_alloc_and | MISRA-C:2012 R.17.3 |
C | 139 | Pointer not checked for null before use. : prompt | MISRA-C:2012 D.4.1 |
C | 132 | Pointer not checked for null before use. : prop | MISRA-C:2012 D.4.1 |
C | 165 | Pointer not checked for null before use. : dup_expr | MISRA-C:2012 D.4.1 |
C | 136 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 137 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 139 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 140 | No brackets to loop body. | MISRA-C:2012 R.15.6 |
C | 140 | Pointer arithmetic is not on array. | MISRA-C:2012 R.18.1,R.18.4 |
C | 142 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 142 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 143 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 149 | Assignment operation in expression. | MISRA-C:2012 R.13.1,R.13.2,R.13.4 |
C | 149 | Assignment operator in boolean expression. | MISRA-C:2012 R.13.1,R.13.4 |
C | 152 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 153 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 175 | Pointer assignment to wider scope. | MISRA-C:2012 R.18.6 |
C | 175 | Local structure returned in function result. : prop | MISRA-C:2012 R.18.6 |
C | 128 | Recursion in procedure calls found. : menu_add_prop | MISRA-C:2012 R.17.2 |
C | 171 | DU anomaly dead code, variable value is unused on all paths. : (current_entry)->prompt | MISRA-C:2012 R.2.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
menu_add_prompt (178 to 181 menu.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : menu_add_prompt | MISRA-C:2012 R.8.4 |
Code | Line | Violation | Standard |
---|---|---|---|
C | 180 | Pointer not checked for null before use. : NULL | MISRA-C:2012 D.4.1 |
C | 178 | Recursion in procedure calls found. : menu_add_prompt | MISRA-C:2012 R.17.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
menu_add_visibility (183 to 187 menu.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : menu_add_visibility | MISRA-C:2012 R.8.4 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 185 | Function call with no prior declaration. : expr_alloc_and | MISRA-C:2012 R.17.3 |
C | 185 | DU anomaly dead code, variable value is unused on all paths. : (current_entry)->visibility | MISRA-C:2012 R.2.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
menu_add_expr (189 to 192 menu.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : menu_add_expr | MISRA-C:2012 R.8.4 |
Code | Line | Violation | Standard |
---|---|---|---|
C | 191 | Pointer not checked for null before use. : NULL | MISRA-C:2012 D.4.1 |
C | 191 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 189 | Recursion in procedure calls found. : menu_add_expr | MISRA-C:2012 R.17.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
menu_add_symbol (194 to 197 menu.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : menu_add_symbol | MISRA-C:2012 R.8.4 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 196 | Function call with no prior declaration. : expr_alloc_symbol | MISRA-C:2012 R.17.3 |
C | 196 | Pointer not checked for null before use. : NULL | MISRA-C:2012 D.4.1 |
C | 196 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 196 | Implicit conversion: actual to formal param. : (int and enum): param 3 | MISRA-C:2012 R.10.3 |
C | 194 | Recursion in procedure calls found. : menu_add_symbol | MISRA-C:2012 R.17.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
menu_add_option (199 to 224 menu.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : menu_add_option | MISRA-C:2012 R.8.4 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 204 | Function call with no prior declaration. : zconf_error | MISRA-C:2012 R.17.3 |
M | 215 | Function call with no prior declaration. : zconf_error | MISRA-C:2012 R.17.3 |
M | 218 | Function call with no prior declaration. : prop_add_env | MISRA-C:2012 R.17.3 |
C | 203 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 204 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 212 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 213 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 215 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 215 | Else alternative missing in if. | MISRA-C:2012 R.15.7 |
C | 221 | Use of bit operator on signed type. : |= used with int: flags | MISRA-C:2012 R.10.1 |
C | 221 | Use of bit operator on signed type. : |= used with int: SYMBOL_ALLNOCONFIG_Y | MISRA-C:2012 R.10.1 |
C | 201 | No default case in switch statement. | MISRA-C:2012 R.16.4 |
C | 221 | DU anomaly dead code, variable value is unused on all paths. : (current_entry)->(sym)->flags | MISRA-C:2012 R.2.2 |
C | 209 | DU anomaly dead code, variable value is unused on all paths. : (modules_sym)->name | MISRA-C:2012 R.2.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
menu_validate_number (226 to 230 menu.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 229 | Function call with no prior declaration. : sym_string_valid | MISRA-C:2012 R.17.3 |
C | 229 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sym_check_prop (232 to 284 menu.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | DD data flow anomalies found. | MISRA-C:2012 R.2.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 248 | Function call with no prior declaration. : prop_get_symbol | MISRA-C:2012 R.17.3 |
M | 259 | Function call with no prior declaration. : prop_get_symbol | MISRA-C:2012 R.17.3 |
C | 264 | Pointer not checked for null before use. : sym2 | MISRA-C:2012 D.4.1 |
C | 238 | For loop initialisation is not simple. | MISRA-C:2012 R.14.2 |
C | 243 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 247 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 250 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 251 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 261 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 267 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 270 | Else alternative missing in if. | MISRA-C:2012 R.15.7 |
C | 274 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 276 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 277 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 278 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 282 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 276 | Implicit conversion: actual to formal param. : (int and enum): param 2 | MISRA-C:2012 R.10.3 |
C | 277 | Implicit conversion: actual to formal param. : (int and enum): param 2 | MISRA-C:2012 R.10.3 |
C | 258 | DU anomaly dead code, variable value is unused on all paths. : use | MISRA-C:2012 R.2.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
menu_finalize (286 to 452 menu.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : menu_finalize | MISRA-C:2012 R.8.4 |
C | DD data flow anomalies found. | MISRA-C:2012 R.2.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 295 | Function call with no prior declaration. : sym_is_choice | MISRA-C:2012 R.17.3 |
M | 312 | Function call with no prior declaration. : expr_alloc_symbol | MISRA-C:2012 R.17.3 |
M | 319 | Function call with no prior declaration. : expr_transform | MISRA-C:2012 R.17.3 |
M | 320 | Function call with no prior declaration. : expr_alloc_and | MISRA-C:2012 R.17.3 |
M | 320 | Function call with no prior declaration. : expr_copy | MISRA-C:2012 R.17.3 |
M | 321 | Function call with no prior declaration. : expr_eliminate_dups | MISRA-C:2012 R.17.3 |
M | 330 | Function call with no prior declaration. : expr_transform | MISRA-C:2012 R.17.3 |
M | 331 | Function call with no prior declaration. : expr_alloc_and | MISRA-C:2012 R.17.3 |
M | 331 | Function call with no prior declaration. : expr_copy | MISRA-C:2012 R.17.3 |
M | 332 | Function call with no prior declaration. : expr_eliminate_dups | MISRA-C:2012 R.17.3 |
M | 334 | Function call with no prior declaration. : expr_trans_bool | MISRA-C:2012 R.17.3 |
M | 337 | Function call with no prior declaration. : prop_get_symbol | MISRA-C:2012 R.17.3 |
M | 338 | Function call with no prior declaration. : expr_alloc_or | MISRA-C:2012 R.17.3 |
M | 338 | Function call with no prior declaration. : expr_alloc_and | MISRA-C:2012 R.17.3 |
M | 339 | Function call with no prior declaration. : expr_alloc_symbol | MISRA-C:2012 R.17.3 |
M | 339 | Function call with no prior declaration. : expr_copy | MISRA-C:2012 R.17.3 |
M | 341 | Function call with no prior declaration. : prop_get_symbol | MISRA-C:2012 R.17.3 |
M | 342 | Function call with no prior declaration. : expr_alloc_or | MISRA-C:2012 R.17.3 |
M | 342 | Function call with no prior declaration. : expr_alloc_and | MISRA-C:2012 R.17.3 |
M | 343 | Function call with no prior declaration. : expr_alloc_symbol | MISRA-C:2012 R.17.3 |
M | 343 | Function call with no prior declaration. : expr_copy | MISRA-C:2012 R.17.3 |
M | 351 | Function call with no prior declaration. : expr_trans_compare | MISRA-C:2012 R.17.3 |
M | 352 | Function call with no prior declaration. : expr_eliminate_dups | MISRA-C:2012 R.17.3 |
M | 352 | Function call with no prior declaration. : expr_transform | MISRA-C:2012 R.17.3 |
M | 356 | Function call with no prior declaration. : expr_contains_symbol | MISRA-C:2012 R.17.3 |
M | 358 | Function call with no prior declaration. : expr_depends_symbol | MISRA-C:2012 R.17.3 |
M | 360 | Function call with no prior declaration. : expr_trans_compare | MISRA-C:2012 R.17.3 |
M | 361 | Function call with no prior declaration. : expr_eliminate_dups | MISRA-C:2012 R.17.3 |
M | 361 | Function call with no prior declaration. : expr_transform | MISRA-C:2012 R.17.3 |
M | 362 | Function call with no prior declaration. : expr_copy | MISRA-C:2012 R.17.3 |
M | 363 | Function call with no prior declaration. : expr_eliminate_eq | MISRA-C:2012 R.17.3 |
M | 364 | Function call with no prior declaration. : expr_free | MISRA-C:2012 R.17.3 |
M | 365 | Function call with no prior declaration. : expr_is_yes | MISRA-C:2012 R.17.3 |
M | 366 | Function call with no prior declaration. : expr_free | MISRA-C:2012 R.17.3 |
M | 369 | Function call with no prior declaration. : expr_free | MISRA-C:2012 R.17.3 |
M | 381 | Function call with no prior declaration. : expr_alloc_or | MISRA-C:2012 R.17.3 |
M | 384 | Function call with no prior declaration. : sym_is_choice | MISRA-C:2012 R.17.3 |
M | 385 | Function call with no prior declaration. : sym_is_choice_value | MISRA-C:2012 R.17.3 |
M | 407 | Function call with no prior declaration. : expr_alloc_comp | MISRA-C:2012 R.17.3 |
M | 408 | Function call with no prior declaration. : expr_alloc_and | MISRA-C:2012 R.17.3 |
M | 412 | Function call with no prior declaration. : expr_alloc_and | MISRA-C:2012 R.17.3 |
M | 412 | Function call with no prior declaration. : expr_copy | MISRA-C:2012 R.17.3 |
M | 417 | Function call with no prior declaration. : sym_get_choice_prop | MISRA-C:2012 R.17.3 |
M | 420 | Function call with no prior declaration. : expr_alloc_one | MISRA-C:2012 R.17.3 |
M | 439 | Function call with no prior declaration. : sym_is_choice | MISRA-C:2012 R.17.3 |
M | 447 | Function call with no prior declaration. : sym_is_optional | MISRA-C:2012 R.17.3 |
M | 448 | Function call with no prior declaration. : expr_alloc_or | MISRA-C:2012 R.17.3 |
M | 448 | Function call with no prior declaration. : expr_alloc_and | MISRA-C:2012 R.17.3 |
M | 449 | Function call with no prior declaration. : expr_alloc_symbol | MISRA-C:2012 R.17.3 |
C | 425 | Pointer not checked for null before use. : last_menu | MISRA-C:2012 D.4.1 |
C | 335 | Pointer not checked for null before use. : dep | MISRA-C:2012 D.4.1 |
C | 334 | Pointer not checked for null before use. : dep | MISRA-C:2012 D.4.1 |
C | 351 | Pointer not checked for null before use. : basedep | MISRA-C:2012 D.4.1 |
C | 320 | Pointer not checked for null before use. : parentdep | MISRA-C:2012 D.4.1 |
C | 320 | Pointer not checked for null before use. : basedep | MISRA-C:2012 D.4.1 |
C | 322 | Pointer not checked for null before use. : basedep | MISRA-C:2012 D.4.1 |
C | 331 | Pointer not checked for null before use. : dep | MISRA-C:2012 D.4.1 |
C | 338 | Pointer not checked for null before use. : es | MISRA-C:2012 D.4.1 |
C | 342 | Pointer not checked for null before use. : es | MISRA-C:2012 D.4.1 |
C | 352 | Pointer not checked for null before use. : basedep | MISRA-C:2012 D.4.1 |
C | 361 | Pointer not checked for null before use. : dep | MISRA-C:2012 D.4.1 |
C | 363 | Pointer not checked for null before use. : dep2 | MISRA-C:2012 D.4.1 |
C | 408 | Pointer not checked for null before use. : basedep | MISRA-C:2012 D.4.1 |
C | 416 | Pointer not checked for null before use. : NULL | MISRA-C:2012 D.4.1 |
Code | Line | Violation | Standard |
---|---|---|---|
C | 418 | Pointer not checked for null before use. : prop | MISRA-C:2012 D.4.1 |
C | 360 | Pointer not checked for null before use. : dep | MISRA-C:2012 D.4.1 |
C | 294 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 295 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 295 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 299 | For loop initialisation is not simple. | MISRA-C:2012 R.14.2 |
C | 300 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 307 | For loop initialisation is not simple. | MISRA-C:2012 R.14.2 |
C | 309 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 310 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 313 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 314 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 316 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 318 | For loop initialisation is not simple. | MISRA-C:2012 R.14.2 |
C | 323 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 324 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 326 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 329 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 333 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 334 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 344 | Else alternative missing in if. | MISRA-C:2012 R.15.7 |
C | 347 | For loop initialisation is not simple. | MISRA-C:2012 R.14.2 |
C | 348 | No brackets to loop body. | MISRA-C:2012 R.15.6 |
C | 349 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 350 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 354 | For loop initialisation is not simple. | MISRA-C:2012 R.14.2 |
C | 355 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 356 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 357 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 358 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 359 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 365 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 375 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 382 | Else alternative missing in if. | MISRA-C:2012 R.15.7 |
C | 383 | For loop initialisation is not simple. | MISRA-C:2012 R.14.2 |
C | 384 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 384 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 385 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 385 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 387 | Use of bit operator on signed type. : |= used with int: flags | MISRA-C:2012 R.10.1 |
C | 387 | Use of bit operator on signed type. : |= used with int: SYMBOL_CHOICEVAL | MISRA-C:2012 R.10.1 |
C | 388 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 389 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 390 | For loop initialisation is not simple. | MISRA-C:2012 R.14.2 |
C | 392 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 395 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 398 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 409 | For loop initialisation is not simple. | MISRA-C:2012 R.14.2 |
C | 411 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 418 | For loop initialisation is not simple. | MISRA-C:2012 R.14.2 |
C | 418 | For loop incrementation is not simple. | MISRA-C:2012 R.14.2 |
C | 419 | No brackets to loop body. | MISRA-C:2012 R.15.6 |
Code | Line | Violation | Standard |
---|---|---|---|
C | 423 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 423 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 423 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 424 | For loop initialisation is not simple. | MISRA-C:2012 R.14.2 |
C | 424 | Empty middle expression in for loop. | MISRA-C:2012 R.14.2 |
C | 426 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 427 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 435 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 435 | Use of bit operator on signed type. : & used with int: flags | MISRA-C:2012 R.10.1 |
C | 435 | Use of bit operator on signed type. : & used with int: SYMBOL_WARNED | MISRA-C:2012 R.10.1 |
C | 435 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 437 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 439 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 439 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 440 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 444 | Use of bit operator on signed type. : |= used with int: flags | MISRA-C:2012 R.10.1 |
C | 444 | Use of bit operator on signed type. : |= used with int: SYMBOL_WARNED | MISRA-C:2012 R.10.1 |
C | 447 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 447 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 447 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 359 | Jump into nested block. | MISRA-C:2012 R.15.3 |
C | 389 | Implicit conversion: actual to formal param. | MISRA-C:2012 R.10.3 |
C | 416 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 416 | Implicit conversion: actual to formal param. : (int and enum): param 3 | MISRA-C:2012 R.10.3 |
C | 286 | Recursion in procedure calls found. : menu_finalize | MISRA-C:2012 R.17.2 |
M | 375 | Attempt to use uninitialised pointer. : last_menu | MISRA-C:2012 R.9.1 |
M | 353 | Procedure contains UR data flow anomalies. : last_menu | MISRA-C:2012 R.9.1 |
C | 421 | DU anomaly dead code, variable value is unused on all paths. : (ep)->right.sym | MISRA-C:2012 R.2.2 |
C | 342 | DU anomaly dead code, variable value is unused on all paths. : (es)->implied.expr | MISRA-C:2012 R.2.2 |
C | 338 | DU anomaly dead code, variable value is unused on all paths. : (es)->rev_dep.expr | MISRA-C:2012 R.2.2 |
C | 448 | DU anomaly dead code, variable value is unused on all paths. : (sym)->rev_dep.expr | MISRA-C:2012 R.2.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
menu_has_prompt (454 to 459 menu.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : menu_has_prompt | MISRA-C:2012 R.8.4 |
Code | Line | Violation | Standard |
---|---|---|---|
C | 456 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 457 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
menu_is_empty (466 to 475 menu.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : menu_is_empty | MISRA-C:2012 R.8.4 |
C | DD data flow anomalies found. | MISRA-C:2012 R.2.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 471 | Function call with no prior declaration. : menu_is_visible | MISRA-C:2012 R.17.3 |
C | 470 | For loop initialisation is not simple. | MISRA-C:2012 R.14.2 |
C | 471 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 472 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 466 | Recursion in procedure calls found. : menu_is_empty | MISRA-C:2012 R.17.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
menu_is_visible (477 to 513 menu.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : menu_is_visible | MISRA-C:2012 R.8.4 |
C | DD data flow anomalies found. | MISRA-C:2012 R.2.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 487 | Function call with no prior declaration. : expr_calc_value | MISRA-C:2012 R.17.3 |
M | 493 | Function call with no prior declaration. : sym_calc_value | MISRA-C:2012 R.17.3 |
M | 496 | Function call with no prior declaration. : expr_calc_value | MISRA-C:2012 R.17.3 |
M | 501 | Function call with no prior declaration. : sym_get_tristate_value | MISRA-C:2012 R.17.3 |
C | 483 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 484 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 486 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 488 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 492 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 496 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 496 | Assignment operation in expression. | MISRA-C:2012 R.13.1,R.13.2,R.13.4 |
C | 499 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 501 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 502 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 504 | For loop initialisation is not simple. | MISRA-C:2012 R.14.2 |
C | 505 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 506 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 507 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 507 | Use of bit operator on signed type. : |= used with int: flags | MISRA-C:2012 R.10.1 |
C | 507 | Use of bit operator on signed type. : |= used with int: SYMBOL_DEF_USER | MISRA-C:2012 R.10.1 |
C | 477 | Recursion in procedure calls found. : menu_is_visible | MISRA-C:2012 R.17.2 |
C | 507 | DU anomaly dead code, variable value is unused on all paths. : (sym)->flags | MISRA-C:2012 R.2.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
menu_get_prompt (515 to 522 menu.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : menu_get_prompt | MISRA-C:2012 R.8.4 |
Code | Line | Violation | Standard |
---|---|---|---|
C | 517 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 518 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 519 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 520 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 520 | Else alternative missing in if. | MISRA-C:2012 R.15.7 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
menu_get_root_menu (524 to 527 menu.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : menu_get_root_menu | MISRA-C:2012 R.8.4 |
Code | Violation | Parameter |
---|---|---|
O | Unused procedure parameter | menu |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
menu_get_parent_menu (529 to 539 menu.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : menu_get_parent_menu | MISRA-C:2012 R.8.4 |
Code | Line | Violation | Standard |
---|---|---|---|
C | 534 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 536 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
menu_has_help (541 to 544 menu.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : menu_has_help | MISRA-C:2012 R.8.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
menu_get_help (546 to 552 menu.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : menu_get_help | MISRA-C:2012 R.8.4 |
Code | Line | Violation | Standard |
---|---|---|---|
C | 548 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 549 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 551 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
get_prompt_str (554 to 609 menu.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | DD data flow anomalies found. | MISRA-C:2012 R.2.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 561 | Function call with no prior declaration. : str_printf | MISRA-C:2012 R.17.3 |
M | 561 | Function call with no prior declaration. : _ | MISRA-C:2012 R.17.3 |
M | 561 | Function call with no prior declaration. : _ | MISRA-C:2012 R.17.3 |
M | 571 | Function call with no prior declaration. : xmalloc | MISRA-C:2012 R.17.3 |
M | 584 | Function call with no prior declaration. : list_empty | MISRA-C:2012 R.17.3 |
M | 587 | Function call with no prior declaration. : list_entry | MISRA-C:2012 R.17.3 |
M | 590 | Function call with no prior declaration. : list_add_tail | MISRA-C:2012 R.17.3 |
M | 594 | Function call with no prior declaration. : str_printf | MISRA-C:2012 R.17.3 |
M | 594 | Function call with no prior declaration. : _ | MISRA-C:2012 R.17.3 |
M | 599 | Function call with no prior declaration. : str_printf | MISRA-C:2012 R.17.3 |
M | 599 | Function call with no prior declaration. : _ | MISRA-C:2012 R.17.3 |
M | 602 | Function call with no prior declaration. : str_printf | MISRA-C:2012 R.17.3 |
M | 603 | Function call with no prior declaration. : _ | MISRA-C:2012 R.17.3 |
M | 604 | Function call with no prior declaration. : sym_get_string_value | MISRA-C:2012 R.17.3 |
M | 606 | Function call with no prior declaration. : str_append | MISRA-C:2012 R.17.3 |
C | 601 | Pointer not checked for null before use. : menu | MISRA-C:2012 D.4.1 |
C | 580 | Pointer not checked for null before use. : jump | MISRA-C:2012 D.4.1 |
C | 582 | Pointer not checked for null before use. : jump | MISRA-C:2012 D.4.1 |
C | 563 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 563 | Inconsistent usage of loop control variable. | MISRA-C:2012 R.14.2 |
C | 566 | Deprecated usage of ++ or -- operators found. | MISRA-C:2012 R.13.1,R.13.2,R.13.3 |
C | 568 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 570 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 570 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 573 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 582 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 584 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 585 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 587 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 595 | Expression needs brackets. | MISRA-C:2012 R.12.1,R.20.7 |
C | 595 | Inconsistent usage of loop control variable. | MISRA-C:2012 R.14.2 |
C | 595 | For loop incrementation is not simple. | MISRA-C:2012 R.14.2 |
C | 597 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 598 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 598 | Signed/unsigned conversion without cast. : (int and unsigned int): jump -> offset = strlen | MISRA-C:2012 R.10.3,R.10.4 |
C | 598 | Value is not of appropriate type. : (int and char): jump -> offset = strlen ( r -> s | MISRA-C:2012 R.10.1,R.10.3,R.10.4,R.10.5,R.11.1 |
C | 601 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 602 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 559 | Type is incomplete in translation unit. : jump_key | MISRA-C:2012 R.1.3 |
C | 555 | Type is incomplete in translation unit. : list_head | MISRA-C:2012 R.1.3 |
C | 554 | Recursion in procedure calls found. : get_prompt_str | MISRA-C:2012 R.17.2 |
M | 567 | Attempt to use uninitialised pointer. : location | MISRA-C:2012 R.9.1 |
M | 558 | Procedure contains UR data flow anomalies. : location | MISRA-C:2012 R.9.1 |
C | 587 | DU anomaly dead code, variable value is unused on all paths. : (jump)->index | MISRA-C:2012 R.2.2 |
C | 585 | DU anomaly dead code, variable value is unused on all paths. : (jump)->index | MISRA-C:2012 R.2.2 |
C | 598 | DU anomaly dead code, variable value is unused on all paths. : (jump)->offset | MISRA-C:2012 R.2.2 |
C | 582 | DU anomaly dead code, variable value is unused on all paths. : (jump)->target | MISRA-C:2012 R.2.2 |
C | 580 | DU anomaly dead code, variable value is unused on all paths. : (jump)->target | MISRA-C:2012 R.2.2 |
C | 564 | Function return value potentially unused. : accessible |
MISRA-C:2012 D.4.7,R.17.7 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
get_symbol_prop (614 to 621 menu.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 618 | Function call with no prior declaration. : for_all_properties | MISRA-C:2012 R.17.3 |
C | 620 | Pointer assignment to wider scope. | MISRA-C:2012 R.18.6 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
get_symbol_props_str (623 to 639 menu.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 631 | Function call with no prior declaration. : str_append | MISRA-C:2012 R.17.3 |
M | 634 | Function call with no prior declaration. : str_printf | MISRA-C:2012 R.17.3 |
M | 635 | Function call with no prior declaration. : expr_gstr_print | MISRA-C:2012 R.17.3 |
M | 638 | Function call with no prior declaration. : str_append | MISRA-C:2012 R.17.3 |
C | 630 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 634 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 637 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 638 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
M | 635 | Attempt to use uninitialised pointer. : prop | MISRA-C:2012 R.9.1 |
M | 627 | Procedure contains UR data flow anomalies. : prop |
MISRA-C:2012 R.9.1 | ||
Code | Violation | Parameter |
---|---|---|
O | Unused procedure parameter | tok |
O | Unused procedure parameter | sym |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
get_symbol_str (644 to 691 menu.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 650 | Function call with no prior declaration. : str_printf | MISRA-C:2012 R.17.3 |
M | 650 | Function call with no prior declaration. : sym_get_string_value | MISRA-C:2012 R.17.3 |
M | 652 | Function call with no prior declaration. : str_printf | MISRA-C:2012 R.17.3 |
M | 652 | Function call with no prior declaration. : sym_type_name | MISRA-C:2012 R.17.3 |
M | 654 | Function call with no prior declaration. : sym_get_range_prop | MISRA-C:2012 R.17.3 |
M | 656 | Function call with no prior declaration. : str_printf | MISRA-C:2012 R.17.3 |
M | 657 | Function call with no prior declaration. : expr_gstr_print | MISRA-C:2012 R.17.3 |
M | 658 | Function call with no prior declaration. : str_append | MISRA-C:2012 R.17.3 |
M | 667 | Function call with no prior declaration. : str_printf | MISRA-C:2012 R.17.3 |
M | 667 | Function call with no prior declaration. : _ | MISRA-C:2012 R.17.3 |
M | 669 | Function call with no prior declaration. : expr_is_yes | MISRA-C:2012 R.17.3 |
M | 670 | Function call with no prior declaration. : str_append | MISRA-C:2012 R.17.3 |
M | 670 | Function call with no prior declaration. : _ | MISRA-C:2012 R.17.3 |
M | 671 | Function call with no prior declaration. : expr_gstr_print | MISRA-C:2012 R.17.3 |
M | 672 | Function call with no prior declaration. : str_append | MISRA-C:2012 R.17.3 |
M | 676 | Function call with no prior declaration. : _ | MISRA-C:2012 R.17.3 |
M | 678 | Function call with no prior declaration. : str_append | MISRA-C:2012 R.17.3 |
M | 678 | Function call with no prior declaration. : _ | MISRA-C:2012 R.17.3 |
M | 679 | Function call with no prior declaration. : expr_gstr_print | MISRA-C:2012 R.17.3 |
M | 680 | Function call with no prior declaration. : str_append | MISRA-C:2012 R.17.3 |
M | 683 | Function call with no prior declaration. : _ | MISRA-C:2012 R.17.3 |
M | 685 | Function call with no prior declaration. : str_append | MISRA-C:2012 R.17.3 |
M | 685 | Function call with no prior declaration. : _ | MISRA-C:2012 R.17.3 |
M | 686 | Function call with no prior declaration. : expr_gstr_print | MISRA-C:2012 R.17.3 |
M | 687 | Function call with no prior declaration. : str_append | MISRA-C:2012 R.17.3 |
M | 690 | Function call with no prior declaration. : str_append | MISRA-C:2012 R.17.3 |
C | 649 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 649 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 655 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 666 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 669 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 677 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 684 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 676 | Implicit conversion: actual to formal param. : (int and enum): param 3 | MISRA-C:2012 R.10.3 |
C | 676 | Implicit conversion: actual to formal param. : (int and char): param 4 | MISRA-C:2012 R.10.3 |
C | 683 | Implicit conversion: actual to formal param. : (int and enum): param 3 | MISRA-C:2012 R.10.3 |
C | 683 | Implicit conversion: actual to formal param. : (int and char): param 4 | MISRA-C:2012 R.10.3 |
C | 644 | Recursion in procedure calls found. : get_symbol_str | MISRA-C:2012 R.17.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
get_relations_str (693 to 704 menu.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : get_relations_str | MISRA-C:2012 R.8.4 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 696 | Function call with no prior declaration. : str_new | MISRA-C:2012 R.17.3 |
M | 702 | Function call with no prior declaration. : str_append | MISRA-C:2012 R.17.3 |
M | 702 | Function call with no prior declaration. : _ | MISRA-C:2012 R.17.3 |
C | 699 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 699 | Assignment operation in expression. | MISRA-C:2012 R.13.1,R.13.2,R.13.4 |
C | 699 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 700 | No brackets to loop body. | MISRA-C:2012 R.15.6 |
C | 701 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 702 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 693 | Recursion in procedure calls found. : get_relations_str | MISRA-C:2012 R.17.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
menu_get_ext_help (707 to 720 menu.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : menu_get_ext_help | MISRA-C:2012 R.8.4 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 714 | Function call with no prior declaration. : str_printf | MISRA-C:2012 R.17.3 |
M | 717 | Function call with no prior declaration. : str_printf | MISRA-C:2012 R.17.3 |
M | 717 | Function call with no prior declaration. : _ | MISRA-C:2012 R.17.3 |
C | 717 | Pointer not checked for null before use. : help_text | MISRA-C:2012 D.4.1 |
C | 719 | Pointer not checked for null before use. : NULL | MISRA-C:2012 D.4.1 |
C | 713 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 714 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 715 | const object reassigned. : help_text | MISRA-C:2012 R.1.3 |
C | 718 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 719 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 707 | Recursion in procedure calls found. : menu_get_ext_help | MISRA-C:2012 R.17.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
do_print_item (66 to 100 menubox.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 74 | Function call with no prior declaration. : first_alpha | MISRA-C:2012 R.17.3 |
M | 77 | Function call with no prior declaration. : wattrset | MISRA-C:2012 R.17.3 |
M | 78 | Function call with no prior declaration. : wmove | MISRA-C:2012 R.17.3 |
M | 86 | Function call with no prior declaration. : wclrtoeol | MISRA-C:2012 R.17.3 |
M | 88 | Function call with no prior declaration. : wattrset | MISRA-C:2012 R.17.3 |
M | 89 | Function call with no prior declaration. : mvwaddstr | MISRA-C:2012 R.17.3 |
M | 91 | Function call with no prior declaration. : wattrset | MISRA-C:2012 R.17.3 |
M | 93 | Function call with no prior declaration. : mvwaddch | MISRA-C:2012 R.17.3 |
M | 96 | Function call with no prior declaration. : wmove | MISRA-C:2012 R.17.3 |
M | 99 | Function call with no prior declaration. : wrefresh | MISRA-C:2012 R.17.3 |
C | 73 | Pointer not checked for null before use. : menu_item | MISRA-C:2012 D.4.1 |
C | 74 | Pointer not checked for null before use. : menu_item | MISRA-C:2012 D.4.1 |
C | 70 | Use of banned function or variable. : malloc | MISRA-C:2012 D.4.12,R.1.3,R.17.1,R.21.3,R.21.6,R.21.7,R.21.8,R.21.9,R.21.10,R.21.12 |
C | 72 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 73 | Declaration does not specify an array. | MISRA-C:2012 R.18.1 |
C | 79 | Undefined macro variable in #if. | MISRA-C:2012 R.20.9 |
C | 88 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 90 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 91 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 93 | Declaration does not specify an array. | MISRA-C:2012 R.18.1 |
C | 95 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 98 | Use of banned function or variable. : free | MISRA-C:2012 D.4.12,R.1.3,R.17.1,R.21.3,R.21.6,R.21.7,R.21.8,R.21.9,R.21.10,R.21.12 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
print_arrows (111 to 150 menubox.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 116 | Function call with no prior declaration. : getyx | MISRA-C:2012 R.17.3 |
M | 118 | Function call with no prior declaration. : wmove | MISRA-C:2012 R.17.3 |
M | 121 | Function call with no prior declaration. : wattrset | MISRA-C:2012 R.17.3 |
M | 122 | Function call with no prior declaration. : waddch | MISRA-C:2012 R.17.3 |
M | 123 | Function call with no prior declaration. : waddstr | MISRA-C:2012 R.17.3 |
M | 125 | Function call with no prior declaration. : wattrset | MISRA-C:2012 R.17.3 |
M | 126 | Function call with no prior declaration. : waddch | MISRA-C:2012 R.17.3 |
M | 127 | Function call with no prior declaration. : waddch | MISRA-C:2012 R.17.3 |
M | 128 | Function call with no prior declaration. : waddch | MISRA-C:2012 R.17.3 |
M | 129 | Function call with no prior declaration. : waddch | MISRA-C:2012 R.17.3 |
M | 133 | Function call with no prior declaration. : wmove | MISRA-C:2012 R.17.3 |
M | 134 | Function call with no prior declaration. : wrefresh | MISRA-C:2012 R.17.3 |
M | 137 | Function call with no prior declaration. : wattrset | MISRA-C:2012 R.17.3 |
M | 138 | Function call with no prior declaration. : waddch | MISRA-C:2012 R.17.3 |
M | 139 | Function call with no prior declaration. : waddstr | MISRA-C:2012 R.17.3 |
M | 141 | Function call with no prior declaration. : wattrset | MISRA-C:2012 R.17.3 |
M | 142 | Function call with no prior declaration. : waddch | MISRA-C:2012 R.17.3 |
M | 143 | Function call with no prior declaration. : waddch | MISRA-C:2012 R.17.3 |
M | 144 | Function call with no prior declaration. : waddch | MISRA-C:2012 R.17.3 |
M | 145 | Function call with no prior declaration. : waddch | MISRA-C:2012 R.17.3 |
M | 148 | Function call with no prior declaration. : wmove | MISRA-C:2012 R.17.3 |
M | 149 | Function call with no prior declaration. : wrefresh | MISRA-C:2012 R.17.3 |
C | 136 | Expression needs brackets. | MISRA-C:2012 R.12.1,R.20.7 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
print_buttons (155 to 168 menubox.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 160 | Function call with no prior declaration. : print_button | MISRA-C:2012 R.17.3 |
M | 160 | Function call with no prior declaration. : gettext | MISRA-C:2012 R.17.3 |
M | 161 | Function call with no prior declaration. : print_button | MISRA-C:2012 R.17.3 |
M | 161 | Function call with no prior declaration. : gettext | MISRA-C:2012 R.17.3 |
M | 162 | Function call with no prior declaration. : print_button | MISRA-C:2012 R.17.3 |
M | 162 | Function call with no prior declaration. : gettext | MISRA-C:2012 R.17.3 |
M | 163 | Function call with no prior declaration. : print_button | MISRA-C:2012 R.17.3 |
M | 163 | Function call with no prior declaration. : gettext | MISRA-C:2012 R.17.3 |
M | 164 | Function call with no prior declaration. : print_button | MISRA-C:2012 R.17.3 |
M | 164 | Function call with no prior declaration. : gettext | MISRA-C:2012 R.17.3 |
M | 166 | Function call with no prior declaration. : wmove | MISRA-C:2012 R.17.3 |
M | 167 | Function call with no prior declaration. : wrefresh | MISRA-C:2012 R.17.3 |
C | 157 | Expression needs brackets. | MISRA-C:2012 R.12.1,R.20.7 |
C | 166 | Expression needs brackets. | MISRA-C:2012 R.12.1,R.20.7 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
do_scroll (171 to 179 menubox.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 174 | Function call with no prior declaration. : scrollok | MISRA-C:2012 R.17.3 |
M | 175 | Function call with no prior declaration. : wscrl | MISRA-C:2012 R.17.3 |
M | 176 | Function call with no prior declaration. : scrollok | MISRA-C:2012 R.17.3 |
M | 178 | Function call with no prior declaration. : wrefresh | MISRA-C:2012 R.17.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
dialog_menu (184 to 437 menubox.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : dialog_menu | MISRA-C:2012 R.8.4 |
C | DD data flow anomalies found. | MISRA-C:2012 R.2.2 |
C | Function has global variable side effects. : item_x | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : menu_width | MISRA-C:2012 R.13.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 194 | Function call with no prior declaration. : getmaxy | MISRA-C:2012 R.17.3 |
M | 195 | Function call with no prior declaration. : getmaxx | MISRA-C:2012 R.17.3 |
M | 203 | Function call with no prior declaration. : MIN | MISRA-C:2012 R.17.3 |
M | 203 | Function call with no prior declaration. : item_count | MISRA-C:2012 R.17.3 |
M | 206 | Function call with no prior declaration. : getmaxx | MISRA-C:2012 R.17.3 |
M | 207 | Function call with no prior declaration. : getmaxy | MISRA-C:2012 R.17.3 |
M | 209 | Function call with no prior declaration. : draw_shadow | MISRA-C:2012 R.17.3 |
M | 211 | Function call with no prior declaration. : newwin | MISRA-C:2012 R.17.3 |
M | 212 | Function call with no prior declaration. : keypad | MISRA-C:2012 R.17.3 |
M | 214 | Function call with no prior declaration. : draw_box | MISRA-C:2012 R.17.3 |
M | 216 | Function call with no prior declaration. : wattrset | MISRA-C:2012 R.17.3 |
M | 217 | Function call with no prior declaration. : mvwaddch | MISRA-C:2012 R.17.3 |
M | 219 | Function call with no prior declaration. : waddch | MISRA-C:2012 R.17.3 |
M | 220 | Function call with no prior declaration. : wattrset | MISRA-C:2012 R.17.3 |
M | 221 | Function call with no prior declaration. : wbkgdset | MISRA-C:2012 R.17.3 |
M | 222 | Function call with no prior declaration. : waddch | MISRA-C:2012 R.17.3 |
M | 224 | Function call with no prior declaration. : print_title | MISRA-C:2012 R.17.3 |
M | 226 | Function call with no prior declaration. : wattrset | MISRA-C:2012 R.17.3 |
M | 227 | Function call with no prior declaration. : print_autowrap | MISRA-C:2012 R.17.3 |
M | 234 | Function call with no prior declaration. : subwin | MISRA-C:2012 R.17.3 |
M | 236 | Function call with no prior declaration. : keypad | MISRA-C:2012 R.17.3 |
M | 239 | Function call with no prior declaration. : draw_box | MISRA-C:2012 R.17.3 |
M | 248 | Function call with no prior declaration. : item_foreach | MISRA-C:2012 R.17.3 |
M | 249 | Function call with no prior declaration. : item_data | MISRA-C:2012 R.17.3 |
M | 250 | Function call with no prior declaration. : item_n | MISRA-C:2012 R.17.3 |
M | 254 | Function call with no prior declaration. : item_count | MISRA-C:2012 R.17.3 |
M | 261 | Function call with no prior declaration. : item_count | MISRA-C:2012 R.17.3 |
M | 262 | Function call with no prior declaration. : item_count | MISRA-C:2012 R.17.3 |
M | 270 | Function call with no prior declaration. : item_set | MISRA-C:2012 R.17.3 |
M | 270 | Function call with no prior declaration. : item_str | MISRA-C:2012 R.17.3 |
M | 270 | Function call with no prior declaration. : item_is_tag | MISRA-C:2012 R.17.3 |
M | 273 | Function call with no prior declaration. : wnoutrefresh | MISRA-C:2012 R.17.3 |
M | 275 | Function call with no prior declaration. : item_count | MISRA-C:2012 R.17.3 |
M | 279 | Function call with no prior declaration. : wmove | MISRA-C:2012 R.17.3 |
M | 280 | Function call with no prior declaration. : wrefresh | MISRA-C:2012 R.17.3 |
M | 283 | Function call with no prior declaration. : wgetch | MISRA-C:2012 R.17.3 |
M | 292 | Function call with no prior declaration. : item_set | MISRA-C:2012 R.17.3 |
M | 293 | Function call with no prior declaration. : first_alpha | MISRA-C:2012 R.17.3 |
M | 293 | Function call with no prior declaration. : item_str | MISRA-C:2012 R.17.3 |
M | 294 | Function call with no prior declaration. : item_str | MISRA-C:2012 R.17.3 |
M | 299 | Function call with no prior declaration. : item_set | MISRA-C:2012 R.17.3 |
M | 300 | Function call with no prior declaration. : first_alpha | MISRA-C:2012 R.17.3 |
M | 300 | Function call with no prior declaration. : item_str | MISRA-C:2012 R.17.3 |
M | 301 | Function call with no prior declaration. : item_str | MISRA-C:2012 R.17.3 |
M | 306 | Function call with no prior declaration. : item_count | MISRA-C:2012 R.17.3 |
M | 312 | Function call with no prior declaration. : item_set | MISRA-C:2012 R.17.3 |
M | 312 | Function call with no prior declaration. : item_str | MISRA-C:2012 R.17.3 |
M | 312 | Function call with no prior declaration. : item_is_tag | MISRA-C:2012 R.17.3 |
M | 319 | Function call with no prior declaration. : item_set | MISRA-C:2012 R.17.3 |
M | 319 | Function call with no prior declaration. : item_str | MISRA-C:2012 R.17.3 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 319 | Function call with no prior declaration. : item_is_tag | MISRA-C:2012 R.17.3 |
M | 321 | Function call with no prior declaration. : MAX | MISRA-C:2012 R.17.3 |
M | 324 | Function call with no prior declaration. : item_set | MISRA-C:2012 R.17.3 |
M | 324 | Function call with no prior declaration. : item_str | MISRA-C:2012 R.17.3 |
M | 324 | Function call with no prior declaration. : item_is_tag | MISRA-C:2012 R.17.3 |
M | 327 | Function call with no prior declaration. : item_count | MISRA-C:2012 R.17.3 |
M | 331 | Function call with no prior declaration. : item_set | MISRA-C:2012 R.17.3 |
M | 331 | Function call with no prior declaration. : item_str | MISRA-C:2012 R.17.3 |
M | 331 | Function call with no prior declaration. : item_is_tag | MISRA-C:2012 R.17.3 |
M | 334 | Function call with no prior declaration. : MIN | MISRA-C:2012 R.17.3 |
M | 337 | Function call with no prior declaration. : scrollok | MISRA-C:2012 R.17.3 |
M | 341 | Function call with no prior declaration. : item_set | MISRA-C:2012 R.17.3 |
M | 341 | Function call with no prior declaration. : item_str | MISRA-C:2012 R.17.3 |
M | 341 | Function call with no prior declaration. : item_is_tag | MISRA-C:2012 R.17.3 |
M | 350 | Function call with no prior declaration. : item_count | MISRA-C:2012 R.17.3 |
M | 352 | Function call with no prior declaration. : item_set | MISRA-C:2012 R.17.3 |
M | 352 | Function call with no prior declaration. : item_str | MISRA-C:2012 R.17.3 |
M | 352 | Function call with no prior declaration. : item_is_tag | MISRA-C:2012 R.17.3 |
M | 362 | Function call with no prior declaration. : item_set | MISRA-C:2012 R.17.3 |
M | 362 | Function call with no prior declaration. : item_str | MISRA-C:2012 R.17.3 |
M | 362 | Function call with no prior declaration. : item_is_tag | MISRA-C:2012 R.17.3 |
M | 364 | Function call with no prior declaration. : item_count | MISRA-C:2012 R.17.3 |
M | 367 | Function call with no prior declaration. : wnoutrefresh | MISRA-C:2012 R.17.3 |
M | 368 | Function call with no prior declaration. : wrefresh | MISRA-C:2012 R.17.3 |
M | 381 | Function call with no prior declaration. : wrefresh | MISRA-C:2012 R.17.3 |
M | 395 | Function call with no prior declaration. : delwin | MISRA-C:2012 R.17.3 |
M | 396 | Function call with no prior declaration. : delwin | MISRA-C:2012 R.17.3 |
M | 397 | Function call with no prior declaration. : item_set | MISRA-C:2012 R.17.3 |
M | 398 | Function call with no prior declaration. : item_set_selected | MISRA-C:2012 R.17.3 |
M | 425 | Function call with no prior declaration. : on_key_esc | MISRA-C:2012 R.17.3 |
M | 428 | Function call with no prior declaration. : on_key_resize | MISRA-C:2012 R.17.3 |
M | 429 | Function call with no prior declaration. : delwin | MISRA-C:2012 R.17.3 |
M | 430 | Function call with no prior declaration. : delwin | MISRA-C:2012 R.17.3 |
M | 434 | Function call with no prior declaration. : delwin | MISRA-C:2012 R.17.3 |
M | 435 | Function call with no prior declaration. : delwin | MISRA-C:2012 R.17.3 |
C | 212 | Pointer not checked for null before use. : dialog | MISRA-C:2012 D.4.1 |
C | 236 | Pointer not checked for null before use. : menu | MISRA-C:2012 D.4.1 |
C | 197 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 218 | Expression needs brackets. | MISRA-C:2012 R.12.1,R.20.7 |
C | 219 | No brackets to loop body. | MISRA-C:2012 R.15.6 |
C | 221 | Use of bit operator on signed type. : & used with int: dlg.dialog.atr | MISRA-C:2012 R.10.1 |
C | 221 | Use of bit operator on signed type. : & used with int: A_COLOR | MISRA-C:2012 R.10.1 |
C | 231 | Expression needs brackets. | MISRA-C:2012 R.12.1,R.20.7 |
C | 243 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 245 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 249 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 250 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 253 | Expression needs brackets. | MISRA-C:2012 R.12.1,R.20.7 |
C | 254 | Expression needs brackets. | MISRA-C:2012 R.12.1,R.20.7 |
C | 261 | Expression needs brackets. | MISRA-C:2012 R.12.1,R.20.7 |
C | 261 | Use of mixed mode arithmetic. : (bool and int): choice >= item_count () - max_choice | MISRA-C:2012 R.10.1,R.10.2,R.10.3,R.10.4 |
C | 261 | Expression needs brackets. | MISRA-C:2012 R.12.1,R.20.7 |
Code | Line | Violation | Standard |
---|---|---|---|
C | 262 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 262 | Assignment operation in expression. | MISRA-C:2012 R.13.1,R.13.2,R.13.4 |
C | 264 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 264 | Assignment operation in expression. | MISRA-C:2012 R.13.1,R.13.2,R.13.4 |
C | 264 | Expression needs brackets. | MISRA-C:2012 R.12.1,R.20.7 |
C | 285 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 286 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 288 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 289 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 291 | For loop initialisation is not simple. | MISRA-C:2012 R.14.2 |
C | 295 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 298 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 302 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 309 | Type conversion without cast. : (int and char): key == '-' | MISRA-C:2012 R.10.1,R.10.3,R.10.4 |
C | 309 | Type conversion without cast. : (int and char): key == '+' | MISRA-C:2012 R.10.1,R.10.3,R.10.4 |
C | 314 | Type conversion without cast. : (int and char): key == '-' | MISRA-C:2012 R.10.1,R.10.3,R.10.4 |
C | 315 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 321 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 323 | Type conversion without cast. : (int and char): key == '+' | MISRA-C:2012 R.10.1,R.10.3,R.10.4 |
C | 326 | Expression needs brackets. | MISRA-C:2012 R.12.1,R.20.7 |
C | 327 | Expression needs brackets. | MISRA-C:2012 R.12.1,R.20.7 |
C | 331 | Expression needs brackets. | MISRA-C:2012 R.12.1,R.20.7 |
C | 334 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 344 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 350 | Expression needs brackets. | MISRA-C:2012 R.12.1,R.20.7 |
C | 352 | Expression needs brackets. | MISRA-C:2012 R.12.1,R.20.7 |
C | 355 | Expression needs brackets. | MISRA-C:2012 R.12.1,R.20.7 |
C | 356 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 360 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 377 | Deprecated usage of ++ or -- operators found. | MISRA-C:2012 R.13.1,R.13.2,R.13.3 |
C | 377 | Assignment operation in expression. | MISRA-C:2012 R.13.1,R.13.2,R.13.4 |
C | 377 | Expression needs brackets. | MISRA-C:2012 R.12.1,R.20.7 |
C | 377 | Deprecated usage of ++ or -- operators found. | MISRA-C:2012 R.13.1,R.13.2,R.13.3 |
C | 377 | Assignment operation in expression. | MISRA-C:2012 R.13.1,R.13.2,R.13.4 |
C | 402 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 405 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 407 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 409 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 411 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 413 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 415 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 418 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 399 | No default case in switch statement. | MISRA-C:2012 R.16.4 |
C | 419 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 431 | goto label is backwards. | MISRA-C:2012 R.15.2 |
C | 432 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 373 | No default case in switch statement. | MISRA-C:2012 R.16.4 |
C | 270 | Implicit conversion: actual to formal param. : (int and char): param 2 | MISRA-C:2012 R.10.3 |
C | 270 | Implicit conversion: actual to formal param. : (bool and int): param 3 | MISRA-C:2012 R.10.3 |
C | 270 | Implicit conversion: actual to formal param. : (bool and int): param 4 | MISRA-C:2012 R.10.3 |
C | 312 | Implicit conversion: actual to formal param. : (int and char): param 2 | MISRA-C:2012 R.10.3 |
C | 312 | Implicit conversion: actual to formal param. : (bool and int): param 4 | MISRA-C:2012 R.10.3 |
C | 319 | Implicit conversion: actual to formal param. : (int and char): param 2 | MISRA-C:2012 R.10.3 |
C | 319 | Implicit conversion: actual to formal param. : (bool and int): param 4 | MISRA-C:2012 R.10.3 |
C | 324 | Implicit conversion: actual to formal param. : (int and char): param 2 | MISRA-C:2012 R.10.3 |
C | 324 | Implicit conversion: actual to formal param. : (bool and int): param 4 | MISRA-C:2012 R.10.3 |
C | 331 | Implicit conversion: actual to formal param. : (int and char): param 2 | MISRA-C:2012 R.10.3 |
C | 331 | Implicit conversion: actual to formal param. : (bool and int): param 4 | MISRA-C:2012 R.10.3 |
C | 341 | Implicit conversion: actual to formal param. : (int and char): param 2 | MISRA-C:2012 R.10.3 |
C | 341 | Implicit conversion: actual to formal param. : (bool and int): param 4 | MISRA-C:2012 R.10.3 |
C | 352 | Implicit conversion: actual to formal param. : (int and char): param 2 | MISRA-C:2012 R.10.3 |
C | 352 | Implicit conversion: actual to formal param. : (bool and int): param 4 | MISRA-C:2012 R.10.3 |
C | 362 | Implicit conversion: actual to formal param. : (int and char): param 2 | MISRA-C:2012 R.10.3 |
C | 362 | Implicit conversion: actual to formal param. : (bool and int): param 4 | MISRA-C:2012 R.10.3 |
C | 377 | Expression has side effects. : button | MISRA-C:2012 R.13.1,R.13.2,R.13.5 |
C | 189 | DU anomaly dead code, variable value is unused on all paths. : scroll | MISRA-C:2012 R.2.2 |
Code | Line | Violation | Standard |
---|
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sym_add_default (38 to 43 symbol.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 40 | Function call with no prior declaration. : prop_alloc | MISRA-C:2012 R.17.3 |
M | 42 | Function call with no prior declaration. : expr_alloc_symbol | MISRA-C:2012 R.17.3 |
M | 42 | Function call with no prior declaration. : sym_lookup | MISRA-C:2012 R.17.3 |
C | 42 | Pointer not checked for null before use. : prop | MISRA-C:2012 D.4.1 |
C | 40 | Struct/union not completely specified. : property | MISRA-C:2012 R.1.3 |
C | 40 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 42 | DU anomaly dead code, variable value is unused on all paths. : (prop)->expr | MISRA-C:2012 R.2.2 |
C | 42 | Function return value potentially unused. : (prop)->expr |
MISRA-C:2012 D.4.7,R.17.7 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sym_init (45 to 61 symbol.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : sym_init | MISRA-C:2012 R.8.4 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 55 | Function call with no prior declaration. : uname | MISRA-C:2012 R.17.3 |
M | 57 | Function call with no prior declaration. : sym_lookup | MISRA-C:2012 R.17.3 |
C | 58 | Pointer not checked for null before use. : sym | MISRA-C:2012 D.4.1 |
C | 52 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 59 | Use of bit operator on signed type. : |= used with int: flags | MISRA-C:2012 R.10.1 |
C | 59 | Use of bit operator on signed type. : |= used with int: SYMBOL_AUTO | MISRA-C:2012 R.10.1 |
C | 48 | Type is incomplete in translation unit. : utsname | MISRA-C:2012 R.1.3 |
C | 60 | Implicit conversion: actual to formal param. : (int and char): param 2 | MISRA-C:2012 R.10.3 |
C | 59 | DU anomaly dead code, variable value is unused on all paths. : (sym)->flags | MISRA-C:2012 R.2.2 |
C | 58 | DU anomaly dead code, variable value is unused on all paths. : (sym)->type | MISRA-C:2012 R.2.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sym_get_type (63 to 74 symbol.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : sym_get_type | MISRA-C:2012 R.8.4 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 68 | Function call with no prior declaration. : sym_is_choice_value | MISRA-C:2012 R.17.3 |
C | 68 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 68 | Type conversion without cast. : (int and char): sym -> visible == yes | MISRA-C:2012 R.10.1,R.10.3,R.10.4 |
C | 69 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 71 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 71 | Else alternative missing in if. | MISRA-C:2012 R.15.7 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sym_type_name (76 to 95 symbol.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : sym_type_name | MISRA-C:2012 R.8.4 |
Code | Line | Violation | Standard |
---|---|---|---|
C | 80 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 82 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 84 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 86 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 88 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 90 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 78 | No default case in switch statement. | MISRA-C:2012 R.16.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sym_get_choice_prop (97 to 104 symbol.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : sym_get_choice_prop | MISRA-C:2012 R.8.4 |
Code | Line | Violation | Standard |
---|---|---|---|
C | 102 | Pointer assignment to wider scope. | MISRA-C:2012 R.18.6 |
M | 102 | Attempt to use uninitialised pointer. : prop | MISRA-C:2012 R.9.1 |
M | 99 | Procedure contains UR data flow anomalies. : prop | MISRA-C:2012 R.9.1 |
C | 103 | Unreachable Code found. | MISRA-C:2012 R.2.1 |
Code | Violation | Parameter |
---|---|---|
O | Unused procedure parameter | sym |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sym_get_env_prop (106 to 113 symbol.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : sym_get_env_prop | MISRA-C:2012 R.8.4 |
Code | Line | Violation | Standard |
---|---|---|---|
C | 111 | Pointer assignment to wider scope. | MISRA-C:2012 R.18.6 |
M | 111 | Attempt to use uninitialised pointer. : prop | MISRA-C:2012 R.9.1 |
M | 108 | Procedure contains UR data flow anomalies. : prop | MISRA-C:2012 R.9.1 |
C | 112 | Unreachable Code found. | MISRA-C:2012 R.2.1 |
Code | Violation | Parameter |
---|---|---|
O | Unused procedure parameter | sym |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sym_get_default_prop (115 to 125 symbol.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 120 | Function call with no prior declaration. : expr_calc_value | MISRA-C:2012 R.17.3 |
C | 122 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 122 | Local structure returned in function result. : prop | MISRA-C:2012 R.18.6 |
M | 120 | Attempt to use uninitialised pointer. : prop | MISRA-C:2012 R.9.1 |
M | 117 | Procedure contains UR data flow anomalies. : prop |
MISRA-C:2012 R.9.1 | ||
Code | Violation | Parameter |
---|---|---|
O | Unused procedure parameter | sym |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sym_get_range_prop (127 to 137 symbol.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 132 | Function call with no prior declaration. : expr_calc_value | MISRA-C:2012 R.17.3 |
C | 134 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 134 | Local structure returned in function result. : prop | MISRA-C:2012 R.18.6 |
M | 132 | Attempt to use uninitialised pointer. : prop | MISRA-C:2012 R.9.1 |
M | 129 | Procedure contains UR data flow anomalies. : prop |
MISRA-C:2012 R.9.1 | ||
Code | Violation | Parameter |
---|---|---|
O | Unused procedure parameter | sym |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sym_get_range_val (139 to 153 symbol.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | Function has global variable side effects. : modules_val | MISRA-C:2012 R.13.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 141 | Function call with no prior declaration. : sym_calc_value | MISRA-C:2012 R.17.3 |
C | 149 | Switch empty default has no comment. | MISRA-C:2012 R.16.4 |
C | 139 | Recursion in procedure calls found. : sym_get_range_val | MISRA-C:2012 R.17.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sym_validate_range (155 to 187 symbol.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | DD data flow anomalies found. | MISRA-C:2012 R.2.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 186 | Function call with no prior declaration. : strdup | MISRA-C:2012 R.17.3 |
C | 171 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 173 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 174 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 180 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 183 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 183 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 185 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 176 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 178 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 155 | Recursion in procedure calls found. : sym_validate_range | MISRA-C:2012 R.17.2 |
C | 176 | DU anomaly dead code, variable value is unused on all paths. : ((prop)->(expr)->left.sym)->curr.tri | MISRA-C:2012 R.2.2 |
C | 176 | DU anomaly dead code, variable value is unused on all paths. : ((prop)->(expr)->left.sym)->flags | MISRA-C:2012 R.2.2 |
C | 178 | DU anomaly dead code, variable value is unused on all paths. : ((prop)->(expr)->right.sym)->curr.tri | MISRA-C:2012 R.2.2 |
C | 178 | DU anomaly dead code, variable value is unused on all paths. : ((prop)->(expr)->right.sym)->flags | MISRA-C:2012 R.2.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sym_set_changed (189 to 198 symbol.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
C | 193 | Use of bit operator on signed type. : |= used with int: flags | MISRA-C:2012 R.10.1 |
C | 193 | Use of bit operator on signed type. : |= used with int: SYMBOL_CHANGED | MISRA-C:2012 R.10.1 |
C | 194 | For loop initialisation is not simple. | MISRA-C:2012 R.14.2 |
C | 195 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 196 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 196 | Use of bit operator on signed type. : |= used with int: flags | MISRA-C:2012 R.10.1 |
C | 196 | Use of bit operator on signed type. : |= used with int: MENU_CHANGED | MISRA-C:2012 R.10.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sym_set_all_changed (200 to 207 symbol.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 206 | Attempt to use uninitialised pointer. : sym | MISRA-C:2012 R.9.1 |
M | 202 | Procedure contains UR data flow anomalies. : sym | MISRA-C:2012 R.9.1 |
C | 206 | DU anomaly dead code, variable value is unused on all paths. : (sym)->flags | MISRA-C:2012 R.2.2 |
C | 200 | Void function has no side effects. : sym_set_all_changed | MISRA-C:2012 R.2.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sym_calc_visibility (209 to 270 symbol.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | DD data flow anomalies found. | MISRA-C:2012 R.2.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 218 | Function call with no prior declaration. : sym_is_choice_value | MISRA-C:2012 R.17.3 |
M | 219 | Function call with no prior declaration. : prop_get_symbol | MISRA-C:2012 R.17.3 |
M | 222 | Function call with no prior declaration. : expr_calc_value | MISRA-C:2012 R.17.3 |
M | 232 | Function call with no prior declaration. : EXPR_OR | MISRA-C:2012 R.17.3 |
M | 240 | Function call with no prior declaration. : sym_is_choice_value | MISRA-C:2012 R.17.3 |
M | 245 | Function call with no prior declaration. : expr_calc_value | MISRA-C:2012 R.17.3 |
M | 254 | Function call with no prior declaration. : expr_calc_value | MISRA-C:2012 R.17.3 |
M | 263 | Function call with no prior declaration. : expr_calc_value | MISRA-C:2012 R.17.3 |
C | 218 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 219 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 228 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 230 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 235 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 240 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 241 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 244 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 245 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 247 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 253 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 254 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 256 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 262 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 263 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 265 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
M | 222 | Attempt to use uninitialised pointer. : prop | MISRA-C:2012 R.9.1 |
M | 211 | Procedure contains UR data flow anomalies. : prop |
MISRA-C:2012 R.9.1 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sym_choice_default (278 to 302 symbol.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : sym_choice_default | MISRA-C:2012 R.8.4 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 286 | Function call with no prior declaration. : expr_calc_value | MISRA-C:2012 R.17.3 |
M | 289 | Function call with no prior declaration. : prop_get_symbol | MISRA-C:2012 R.17.3 |
M | 296 | Function call with no prior declaration. : expr_list_for_each_sym | MISRA-C:2012 R.17.3 |
C | 290 | Pointer not checked for null before use. : def_sym | MISRA-C:2012 D.4.1 |
C | 296 | Pointer not checked for null before use. : prop | MISRA-C:2012 D.4.1 |
C | 288 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 290 | Type conversion without cast. : (int and char): def_sym -> visible != no | MISRA-C:2012 R.10.1,R.10.3,R.10.4 |
C | 291 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 297 | Type conversion without cast. : (int and char): def_sym -> visible != no | MISRA-C:2012 R.10.1,R.10.3,R.10.4 |
C | 298 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 298 | Pointer assignment to wider scope. | MISRA-C:2012 R.18.6 |
C | 291 | Local structure returned in function result. : def_sym | MISRA-C:2012 R.18.6 |
C | 298 | Local structure returned in function result. : def_sym | MISRA-C:2012 R.18.6 |
M | 296 | Attempt to use uninitialised pointer. : e | MISRA-C:2012 R.9.1 |
M | 282 | Procedure contains UR data flow anomalies. : e |
MISRA-C:2012 R.9.1 | ||
Code | Violation | Parameter |
---|---|---|
O | Unused procedure parameter | sym |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sym_calc_choice (304 to 334 symbol.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
C | 316 | Type conversion without cast. : (int and char): def_sym -> visible != no | MISRA-C:2012 R.10.1,R.10.3,R.10.4 |
C | 317 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 317 | Use of bit operator on signed type. : &= used with int: flags | MISRA-C:2012 R.10.1 |
C | 320 | Use of bit operator on signed type. : &= used with int: flags | MISRA-C:2012 R.10.1 |
C | 320 | Use of bit operator on signed type. : | used with int: flags | MISRA-C:2012 R.10.1 |
C | 320 | Use of bit operator on signed type. : ~ used with int: flags | MISRA-C:2012 R.10.1 |
C | 320 | Use of bit operator on signed type. : ~ used with int: SYMBOL_DEF_USER | MISRA-C:2012 R.10.1 |
C | 324 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 324 | Type conversion without cast. : (int and char): def_sym -> visible != no | MISRA-C:2012 R.10.1,R.10.3,R.10.4 |
C | 325 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 325 | Pointer assignment to wider scope. | MISRA-C:2012 R.18.6 |
C | 330 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 333 | Pointer assignment to wider scope. | MISRA-C:2012 R.18.6 |
C | 325 | Local structure returned in function result. : def_sym | MISRA-C:2012 R.18.6 |
C | 333 | Local structure returned in function result. : def_sym | MISRA-C:2012 R.18.6 |
C | 313 | DU anomaly dead code, variable value is unused on all paths. : prop | MISRA-C:2012 R.2.2 |
C | 313 | Function return value potentially unused. : prop |
MISRA-C:2012 D.4.7,R.17.7 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sym_calc_value (336 to 488 symbol.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : sym_calc_value | MISRA-C:2012 R.8.4 |
C | DD data flow anomalies found. | MISRA-C:2012 R.2.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 348 | Function call with no prior declaration. : sym_is_choice_value | MISRA-C:2012 R.17.3 |
M | 352 | Function call with no prior declaration. : prop_get_symbol | MISRA-C:2012 R.17.3 |
M | 374 | Function call with no prior declaration. : sym_is_choice_value | MISRA-C:2012 R.17.3 |
M | 385 | Function call with no prior declaration. : sym_is_choice_value | MISRA-C:2012 R.17.3 |
M | 387 | Function call with no prior declaration. : prop_get_symbol | MISRA-C:2012 R.17.3 |
M | 394 | Function call with no prior declaration. : sym_has_value | MISRA-C:2012 R.17.3 |
M | 395 | Function call with no prior declaration. : EXPR_AND | MISRA-C:2012 R.17.3 |
M | 402 | Function call with no prior declaration. : sym_is_choice | MISRA-C:2012 R.17.3 |
M | 406 | Function call with no prior declaration. : EXPR_AND | MISRA-C:2012 R.17.3 |
M | 406 | Function call with no prior declaration. : expr_calc_value | MISRA-C:2012 R.17.3 |
M | 411 | Function call with no prior declaration. : EXPR_OR | MISRA-C:2012 R.17.3 |
M | 417 | Function call with no prior declaration. : expr_simplify_unmet_dep | MISRA-C:2012 R.17.3 |
M | 420 | Function call with no prior declaration. : expr_fprint | MISRA-C:2012 R.17.3 |
M | 423 | Function call with no prior declaration. : expr_fprint | MISRA-C:2012 R.17.3 |
M | 425 | Function call with no prior declaration. : expr_free | MISRA-C:2012 R.17.3 |
M | 427 | Function call with no prior declaration. : EXPR_OR | MISRA-C:2012 R.17.3 |
M | 438 | Function call with no prior declaration. : sym_has_value | MISRA-C:2012 R.17.3 |
M | 445 | Function call with no prior declaration. : prop_get_symbol | MISRA-C:2012 R.17.3 |
M | 458 | Function call with no prior declaration. : sym_is_choice | MISRA-C:2012 R.17.3 |
M | 470 | Function call with no prior declaration. : sym_is_choice | MISRA-C:2012 R.17.3 |
M | 487 | Function call with no prior declaration. : set_all_choice_values | MISRA-C:2012 R.17.3 |
C | 352 | Pointer not checked for null before use. : prop | MISRA-C:2012 D.4.1 |
C | 387 | Pointer not checked for null before use. : prop | MISRA-C:2012 D.4.1 |
C | 420 | Pointer not checked for null before use. : e | MISRA-C:2012 D.4.1 |
C | 342 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 343 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 345 | Use of bit operator on signed type. : & used with int: flags | MISRA-C:2012 R.10.1 |
C | 345 | Use of bit operator on signed type. : & used with int: SYMBOL_VALID | MISRA-C:2012 R.10.1 |
C | 345 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 346 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 348 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 349 | Use of bit operator on signed type. : & used with int: flags | MISRA-C:2012 R.10.1 |
C | 349 | Use of bit operator on signed type. : & used with int: SYMBOL_NEED_SET_CHOICE_VALUES | MISRA-C:2012 R.10.1 |
C | 349 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 350 | Use of bit operator on signed type. : &= used with int: flags | MISRA-C:2012 R.10.1 |
C | 350 | Use of bit operator on signed type. : ~ used with int: SYMBOL_NEED_SET_CHOICE_VALUES | MISRA-C:2012 R.10.1 |
C | 355 | Use of bit operator on signed type. : |= used with int: flags | MISRA-C:2012 R.10.1 |
C | 355 | Use of bit operator on signed type. : |= used with int: SYMBOL_VALID | MISRA-C:2012 R.10.1 |
C | 373 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 374 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 375 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 375 | Use of bit operator on signed type. : &= used with int: flags | MISRA-C:2012 R.10.1 |
C | 375 | Use of bit operator on signed type. : ~ used with int: SYMBOL_WRITE | MISRA-C:2012 R.10.1 |
C | 385 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 385 | Type conversion without cast. : (int and char): sym -> visible == yes | MISRA-C:2012 R.10.1,R.10.3,R.10.4 |
C | 389 | Type conversion without cast. : (int and char): sym -> visible != no | MISRA-C:2012 R.10.1,R.10.3,R.10.4 |
C | 393 | Use of bit operator on signed type. : |= used with int: flags | MISRA-C:2012 R.10.1 |
C | 393 | Use of bit operator on signed type. : |= used with int: SYMBOL_WRITE | MISRA-C:2012 R.10.1 |
C | 394 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 401 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 401 | Use of bit operator on signed type. : |= used with int: flags | MISRA-C:2012 R.10.1 |
C | 401 | Use of bit operator on signed type. : |= used with int: SYMBOL_WRITE | MISRA-C:2012 R.10.1 |
C | 402 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
Code | Line | Violation | Standard |
---|---|---|---|
C | 404 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 405 | Use of bit operator on signed type. : |= used with int: flags | MISRA-C:2012 R.10.1 |
C | 405 | Use of bit operator on signed type. : |= used with int: SYMBOL_WRITE | MISRA-C:2012 R.10.1 |
C | 410 | Use of bit operator on signed type. : |= used with int: flags | MISRA-C:2012 R.10.1 |
C | 410 | Use of bit operator on signed type. : |= used with int: SYMBOL_WRITE | MISRA-C:2012 R.10.1 |
C | 416 | Name reused in inner scope. : e | MISRA-C:2012 R.5.3 |
C | 419 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 421 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 421 | Format is not appropriate type. : format = %s, param 3 | MISRA-C:2012 R.1.3 |
C | 424 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 430 | Type conversion without cast. : (int and char): sym -> implied.tri == yes | MISRA-C:2012 R.10.1,R.10.3,R.10.4 |
C | 431 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 431 | Type conversion without cast. : (bool and char): newval.tri = yes | MISRA-C:2012 R.10.1,R.10.3,R.10.4 |
C | 436 | Type conversion without cast. : (int and char): sym -> visible != no | MISRA-C:2012 R.10.1,R.10.3,R.10.4 |
C | 437 | Use of bit operator on signed type. : |= used with int: flags | MISRA-C:2012 R.10.1 |
C | 437 | Use of bit operator on signed type. : |= used with int: SYMBOL_WRITE | MISRA-C:2012 R.10.1 |
C | 438 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 444 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 446 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 447 | Use of bit operator on signed type. : |= used with int: flags | MISRA-C:2012 R.10.1 |
C | 447 | Use of bit operator on signed type. : |= used with int: SYMBOL_WRITE | MISRA-C:2012 R.10.1 |
C | 455 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 458 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 459 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 462 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 470 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 475 | Use of bit operator on signed type. : & used with int: flags | MISRA-C:2012 R.10.1 |
C | 475 | Use of bit operator on signed type. : & used with int: SYMBOL_WRITE | MISRA-C:2012 R.10.1 |
C | 475 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 476 | Type conversion without cast. : (int and char): choice_sym -> visible != no | MISRA-C:2012 R.10.1,R.10.3,R.10.4 |
C | 477 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 477 | Use of bit operator on signed type. : |= used with int: flags | MISRA-C:2012 R.10.1 |
C | 477 | Use of bit operator on signed type. : |= used with int: SYMBOL_WRITE | MISRA-C:2012 R.10.1 |
C | 478 | Use of bit operator on signed type. : & used with int: flags | MISRA-C:2012 R.10.1 |
C | 478 | Use of bit operator on signed type. : & used with int: SYMBOL_CHANGED | MISRA-C:2012 R.10.1 |
C | 478 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 479 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 483 | Use of bit operator on signed type. : & used with int: flags | MISRA-C:2012 R.10.1 |
C | 483 | Use of bit operator on signed type. : & used with int: SYMBOL_AUTO | MISRA-C:2012 R.10.1 |
C | 483 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 484 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 484 | Use of bit operator on signed type. : &= used with int: flags | MISRA-C:2012 R.10.1 |
C | 484 | Use of bit operator on signed type. : ~ used with int: SYMBOL_WRITE | MISRA-C:2012 R.10.1 |
C | 486 | Use of bit operator on signed type. : & used with int: flags | MISRA-C:2012 R.10.1 |
C | 486 | Use of bit operator on signed type. : & used with int: SYMBOL_NEED_SET_CHOICE_VALUES | MISRA-C:2012 R.10.1 |
C | 486 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 487 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 338 | Type is incomplete in translation unit. : symbol_value | MISRA-C:2012 R.1.3 |
C | 352 | Implicit conversion: actual to formal param. : (symbol): param 1 | MISRA-C:2012 R.10.3 |
C | 416 | Identifier name reused. : e | MISRA-C:2012 R.5.3 |
C | 336 | Recursion in procedure calls found. : sym_calc_value | MISRA-C:2012 R.17.2 |
C | 479 | DU anomaly dead code, variable value is unused on all paths. : (choice_sym)->flags | MISRA-C:2012 R.2.2 |
C | 448 | DU anomaly dead code, variable value is unused on all paths. : (ds)->curr.tri | MISRA-C:2012 R.2.2 |
Code | Line | Violation | Standard |
---|---|---|---|
C | 448 | DU anomaly dead code, variable value is unused on all paths. : (ds)->flags | MISRA-C:2012 R.2.2 |
C | 473 | DU anomaly dead code, variable value is unused on all paths. : prop | MISRA-C:2012 R.2.2 |
C | 473 | Function return value potentially unused. : prop |
MISRA-C:2012 D.4.7,R.17.7 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sym_clear_all_valid (490 to 499 symbol.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : sym_clear_all_valid | MISRA-C:2012 R.8.4 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 495 | Function call with no prior declaration. : for_all_symbols | MISRA-C:2012 R.17.3 |
M | 497 | Function call with no prior declaration. : sym_add_change_count | MISRA-C:2012 R.17.3 |
C | 498 | Pointer not checked for null before use. : modules_sym | MISRA-C:2012 D.4.1 |
C | 495 | Use of bit operator on signed type. : &= used with int: flags | MISRA-C:2012 R.10.1 |
C | 495 | Use of bit operator on signed type. : ~ used with int: SYMBOL_VALID | MISRA-C:2012 R.10.1 |
C | 490 | Recursion in procedure calls found. : sym_clear_all_valid | MISRA-C:2012 R.17.2 |
M | 493 | Procedure contains UR data flow anomalies. : i | MISRA-C:2012 R.9.1 |
C | 495 | DU anomaly dead code, variable value is unused on all paths. : (sym)->flags | MISRA-C:2012 R.2.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sym_tristate_within_range (501 to 520 symbol.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : sym_tristate_within_range | MISRA-C:2012 R.8.4 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 517 | Function call with no prior declaration. : sym_is_choice_value | MISRA-C:2012 R.17.3 |
C | 505 | Type conversion without cast. : (int and char): sym -> visible == no | MISRA-C:2012 R.10.1,R.10.3,R.10.4 |
C | 506 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 509 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 512 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 514 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 516 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 517 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 517 | Type conversion without cast. : (int and char): sym -> visible == yes | MISRA-C:2012 R.10.1,R.10.3,R.10.4 |
C | 518 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 519 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 519 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 503 | Function return value potentially unused. : type |
MISRA-C:2012 D.4.7,R.17.7 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sym_set_tristate_value (522 to 556 symbol.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : sym_set_tristate_value | MISRA-C:2012 R.8.4 |
C | Function has global variable side effects. : (modules_sym)->curr | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : (modules_sym)->curr.tri | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : (modules_sym)->curr.val | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : modules_sym | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : modules_val | MISRA-C:2012 R.13.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 524 | Function call with no prior declaration. : sym_get_tristate_value | MISRA-C:2012 R.17.3 |
M | 537 | Function call with no prior declaration. : sym_is_choice_value | MISRA-C:2012 R.17.3 |
M | 538 | Function call with no prior declaration. : prop_get_symbol | MISRA-C:2012 R.17.3 |
C | 542 | Pointer not checked for null before use. : cs | MISRA-C:2012 D.4.1 |
C | 545 | Pointer not checked for null before use. : prop | MISRA-C:2012 D.4.1 |
C | 526 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 527 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 529 | Use of bit operator on signed type. : & used with int: flags | MISRA-C:2012 R.10.1 |
C | 529 | Use of bit operator on signed type. : & used with int: SYMBOL_DEF_USER | MISRA-C:2012 R.10.1 |
C | 529 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 530 | Use of bit operator on signed type. : |= used with int: flags | MISRA-C:2012 R.10.1 |
C | 530 | Use of bit operator on signed type. : |= used with int: SYMBOL_DEF_USER | MISRA-C:2012 R.10.1 |
C | 537 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 543 | Use of bit operator on signed type. : |= used with int: flags | MISRA-C:2012 R.10.1 |
C | 543 | Use of bit operator on signed type. : |= used with int: SYMBOL_DEF_USER | MISRA-C:2012 R.10.1 |
C | 545 | For loop initialisation is not simple. | MISRA-C:2012 R.14.2 |
C | 546 | Type conversion without cast. : (int and char): e -> right.sym -> visible != no | MISRA-C:2012 R.10.1,R.10.3,R.10.4 |
C | 547 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 547 | Use of bit operator on signed type. : |= used with int: flags | MISRA-C:2012 R.10.1 |
C | 547 | Use of bit operator on signed type. : |= used with int: SYMBOL_DEF_USER | MISRA-C:2012 R.10.1 |
C | 553 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 522 | Recursion in procedure calls found. : sym_set_tristate_value | MISRA-C:2012 R.17.2 |
C | 542 | DU anomaly dead code, variable value is unused on all paths. : (cs)->def.val | MISRA-C:2012 R.2.2 |
C | 543 | DU anomaly dead code, variable value is unused on all paths. : (cs)->flags | MISRA-C:2012 R.2.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sym_toggle_tristate_value (558 to 579 symbol.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : sym_toggle_tristate_value | MISRA-C:2012 R.8.4 |
C | DD data flow anomalies found. | MISRA-C:2012 R.2.2 |
C | Function has global variable side effects. : (modules_sym)->curr | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : (modules_sym)->curr.tri | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : (modules_sym)->curr.val | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : modules_sym | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : modules_val | MISRA-C:2012 R.13.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 562 | Function call with no prior declaration. : sym_get_tristate_value | MISRA-C:2012 R.17.3 |
C | 577 | Potentially infinite loop found. | MISRA-C:2012 R.2.1 |
C | 575 | Potentially infinite loop found. | MISRA-C:2012 R.2.1 |
C | 562 | Assignment operation in expression. | MISRA-C:2012 R.13.1,R.13.2,R.13.4 |
C | 564 | No default case in switch statement. | MISRA-C:2012 R.16.4 |
C | 575 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 576 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 558 | Recursion in procedure calls found. : sym_toggle_tristate_value | MISRA-C:2012 R.17.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sym_string_valid (581 to 622 symbol.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : sym_string_valid | MISRA-C:2012 R.8.4 |
Code | Line | Violation | Standard |
---|---|---|---|
C | 591 | Pointer not checked for null before use. : str | MISRA-C:2012 D.4.1 |
C | 604 | Pointer not checked for null before use. : str | MISRA-C:2012 D.4.1 |
C | 587 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 589 | Type conversion without cast. : (signed char and char): ch = *str | MISRA-C:2012 R.10.1,R.10.3,R.10.4 |
C | 589 | Deprecated usage of ++ or -- operators found. | MISRA-C:2012 R.13.1,R.13.2,R.13.3 |
C | 589 | Assignment operation in expression. | MISRA-C:2012 R.13.1,R.13.2,R.13.4 |
C | 590 | Type conversion without cast. : (signed char and char): ch == '-' | MISRA-C:2012 R.10.1,R.10.3,R.10.4 |
C | 591 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 591 | Type conversion without cast. : (signed char and char): ch = *str | MISRA-C:2012 R.10.1,R.10.3,R.10.4 |
C | 591 | Deprecated usage of ++ or -- operators found. | MISRA-C:2012 R.13.1,R.13.2,R.13.3 |
C | 591 | Assignment operation in expression. | MISRA-C:2012 R.13.1,R.13.2,R.13.4 |
C | 592 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 593 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 594 | Type conversion without cast. : (signed char and char): ch == '0' | MISRA-C:2012 R.10.1,R.10.3,R.10.4 |
C | 594 | Value is not of appropriate type. : (char and signed char): * str != 0 | MISRA-C:2012 R.10.1,R.10.3,R.10.4,R.10.5,R.11.1 |
C | 595 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 596 | Assignment operation in expression. | MISRA-C:2012 R.13.1,R.13.2,R.13.4 |
C | 596 | Type conversion without cast. : (signed char and char): ( ch = *str | MISRA-C:2012 R.10.1,R.10.3,R.10.4 |
C | 596 | Deprecated usage of ++ or -- operators found. | MISRA-C:2012 R.13.1,R.13.2,R.13.3 |
C | 596 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 597 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 598 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 600 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 602 | Declaration does not specify an array. | MISRA-C:2012 R.18.1 |
C | 602 | Declaration does not specify an array. | MISRA-C:2012 R.18.1 |
C | 602 | Declaration does not specify an array. | MISRA-C:2012 R.18.1 |
C | 603 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 603 | const object reassigned. : str | MISRA-C:2012 R.1.3 |
C | 604 | Type conversion without cast. : (signed char and char): ch = *str | MISRA-C:2012 R.10.1,R.10.3,R.10.4 |
C | 604 | Deprecated usage of ++ or -- operators found. | MISRA-C:2012 R.13.1,R.13.2,R.13.3 |
C | 604 | Assignment operation in expression. | MISRA-C:2012 R.13.1,R.13.2,R.13.4 |
C | 606 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 607 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 608 | Assignment operation in expression. | MISRA-C:2012 R.13.1,R.13.2,R.13.4 |
C | 608 | Type conversion without cast. : (signed char and char): ( ch = *str | MISRA-C:2012 R.10.1,R.10.3,R.10.4 |
C | 608 | Deprecated usage of ++ or -- operators found. | MISRA-C:2012 R.13.1,R.13.2,R.13.3 |
C | 608 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 609 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 612 | Declaration does not specify an array. | MISRA-C:2012 R.18.1 |
C | 617 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 612 | No default case in switch statement. | MISRA-C:2012 R.16.4 |
C | 618 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 621 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sym_string_within_range (624 to 664 symbol.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : sym_string_within_range | MISRA-C:2012 R.8.4 |
C | DD data flow anomalies found. | MISRA-C:2012 R.2.2 |
C | Function has global variable side effects. : modules_val | MISRA-C:2012 R.13.2 |
Code | Line | Violation | Standard |
---|---|---|---|
C | 638 | Pointer not checked for null before use. : str | MISRA-C:2012 D.4.1 |
C | 647 | Pointer not checked for null before use. : str | MISRA-C:2012 D.4.1 |
C | 631 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 633 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 634 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 636 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 637 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 640 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 642 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 643 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 645 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 646 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 649 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 652 | Declaration does not specify an array. | MISRA-C:2012 R.18.1 |
C | 654 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 656 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 659 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 652 | No default case in switch statement. | MISRA-C:2012 R.16.4 |
C | 660 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 663 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 639 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 640 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 648 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 649 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 654 | Implicit conversion: actual to formal param. : (char and enum): param 2 | MISRA-C:2012 R.10.3 |
C | 656 | Implicit conversion: actual to formal param. : (char and enum): param 2 | MISRA-C:2012 R.10.3 |
C | 658 | Implicit conversion: actual to formal param. : (char and enum): param 2 | MISRA-C:2012 R.10.3 |
C | 649 | Call has execution order dependant side effects. : sym_get_range_val | MISRA-C:2012 R.13.1,R.13.2,R.13.5 |
C | 640 | Call has execution order dependant side effects. : sym_get_range_val | MISRA-C:2012 R.13.1,R.13.2,R.13.5 |
C | 624 | Recursion in procedure calls found. : sym_string_within_range | MISRA-C:2012 R.17.2 |
C | 639 | DU anomaly dead code, variable value is unused on all paths. : ((prop)->(expr)->left.sym)->curr.tri | MISRA-C:2012 R.2.2 |
C | 648 | DU anomaly dead code, variable value is unused on all paths. : ((prop)->(expr)->left.sym)->curr.tri | MISRA-C:2012 R.2.2 |
C | 639 | DU anomaly dead code, variable value is unused on all paths. : ((prop)->(expr)->left.sym)->flags | MISRA-C:2012 R.2.2 |
C | 648 | DU anomaly dead code, variable value is unused on all paths. : ((prop)->(expr)->left.sym)->flags | MISRA-C:2012 R.2.2 |
C | 640 | DU anomaly dead code, variable value is unused on all paths. : ((prop)->(expr)->right.sym)->curr.tri | MISRA-C:2012 R.2.2 |
C | 649 | DU anomaly dead code, variable value is unused on all paths. : ((prop)->(expr)->right.sym)->curr.tri | MISRA-C:2012 R.2.2 |
C | 640 | DU anomaly dead code, variable value is unused on all paths. : ((prop)->(expr)->right.sym)->flags | MISRA-C:2012 R.2.2 |
C | 649 | DU anomaly dead code, variable value is unused on all paths. : ((prop)->(expr)->right.sym)->flags | MISRA-C:2012 R.2.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sym_set_string_value (666 to 713 symbol.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : sym_set_string_value | MISRA-C:2012 R.8.4 |
C | DD data flow anomalies found. | MISRA-C:2012 R.2.2 |
C | Function has global variable side effects. : (modules_sym)->curr | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : (modules_sym)->curr.tri | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : (modules_sym)->curr.val | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : modules_sym | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : modules_val | MISRA-C:2012 R.13.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 700 | Function call with no prior declaration. : xmalloc | MISRA-C:2012 R.17.3 |
M | 704 | Function call with no prior declaration. : xmalloc | MISRA-C:2012 R.17.3 |
C | 697 | Pointer not checked for null before use. : newval | MISRA-C:2012 D.4.1 |
C | 701 | Pointer not checked for null before use. : val | MISRA-C:2012 D.4.1 |
C | 702 | Pointer not checked for null before use. : val | MISRA-C:2012 D.4.1 |
C | 675 | Declaration does not specify an array. | MISRA-C:2012 R.18.1 |
C | 677 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 679 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 682 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 675 | No default case in switch statement. | MISRA-C:2012 R.16.4 |
C | 683 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 686 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 688 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 689 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 691 | Use of bit operator on signed type. : & used with int: flags | MISRA-C:2012 R.10.1 |
C | 691 | Use of bit operator on signed type. : & used with int: SYMBOL_DEF_USER | MISRA-C:2012 R.10.1 |
C | 691 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 692 | Use of bit operator on signed type. : |= used with int: flags | MISRA-C:2012 R.10.1 |
C | 692 | Use of bit operator on signed type. : |= used with int: SYMBOL_DEF_USER | MISRA-C:2012 R.10.1 |
C | 697 | Signed/unsigned conversion without cast. : (int and unsigned int): size = strlen | MISRA-C:2012 R.10.3,R.10.4 |
C | 697 | Literal value requires a U suffix. : 1 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | 698 | Declaration does not specify an array. | MISRA-C:2012 R.18.1 |
C | 698 | Declaration does not specify an array. | MISRA-C:2012 R.18.1 |
C | 698 | Declaration does not specify an array. | MISRA-C:2012 R.18.1 |
C | 700 | Assignment operation in expression. | MISRA-C:2012 R.13.1,R.13.2,R.13.4 |
C | 701 | Assignment operation in expression. | MISRA-C:2012 R.13.1,R.13.2,R.13.4 |
C | 702 | Assignment operation in expression. | MISRA-C:2012 R.13.1,R.13.2,R.13.4 |
C | 703 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 703 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 704 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 704 | Assignment operation in expression. | MISRA-C:2012 R.13.1,R.13.2,R.13.4 |
C | 706 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 708 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 709 | Use of banned function or variable. : free | MISRA-C:2012 D.4.12,R.1.3,R.17.1,R.21.3,R.21.6,R.21.7,R.21.8,R.21.9,R.21.10,R.21.12 |
C | 709 | Cast on a constant value. : oldval | MISRA-C:2012 R.11.8 |
M | 709 | free used on string. | MISRA-C:2012 R.22.2 |
C | 677 | Implicit conversion: actual to formal param. : (char and enum): param 2 | MISRA-C:2012 R.10.3 |
C | 679 | Implicit conversion: actual to formal param. : (char and enum): param 2 | MISRA-C:2012 R.10.3 |
C | 681 | Implicit conversion: actual to formal param. : (char and enum): param 2 | MISRA-C:2012 R.10.3 |
C | 666 | Recursion in procedure calls found. : sym_set_string_value | MISRA-C:2012 R.17.2 |
C | 713 | Memory not freed after last reference. : oldval | MISRA-C:2012 R.22.1 |
C | 708 | DU anomaly dead code, variable value is unused on all paths. : val | MISRA-C:2012 R.2.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sym_get_string_default (722 to 791 symbol.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : sym_get_string_default | MISRA-C:2012 R.8.4 |
C | DD data flow anomalies found. | MISRA-C:2012 R.2.2 |
C | Function has global variable side effects. : (modules_sym)->curr | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : (modules_sym)->curr.tri | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : (modules_sym)->curr.val | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : (modules_sym)->flags | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : modules_sym | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : modules_val | MISRA-C:2012 R.13.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 741 | Function call with no prior declaration. : EXPR_AND | MISRA-C:2012 R.17.3 |
M | 741 | Function call with no prior declaration. : expr_calc_value | MISRA-C:2012 R.17.3 |
M | 749 | Function call with no prior declaration. : prop_get_symbol | MISRA-C:2012 R.17.3 |
C | 752 | Casting operation to a pointer. | MISRA-C:2012 R.11.1,R.11.2,R.11.3,R.11.5,R.11.7 |
M | 758 | Function call with no prior declaration. : EXPR_OR | MISRA-C:2012 R.17.3 |
M | 762 | Function call with no prior declaration. : sym_is_choice_value | MISRA-C:2012 R.17.3 |
C | 730 | Pointer not checked for null before use. : modules_sym | MISRA-C:2012 D.4.1 |
C | 752 | const object reassigned. : str | MISRA-C:2012 R.1.3 |
C | 754 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 762 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 762 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 763 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 767 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 771 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 777 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 778 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 780 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 776 | No default case in switch statement. | MISRA-C:2012 R.16.4 |
C | 781 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 783 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 785 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 773 | No default case in switch statement. | MISRA-C:2012 R.16.4 |
C | 722 | Recursion in procedure calls found. : sym_get_string_default | MISRA-C:2012 R.17.2 |
C | 751 | DU anomaly dead code, variable value is unused on all paths. : (ds)->curr.tri | MISRA-C:2012 R.2.2 |
C | 751 | DU anomaly dead code, variable value is unused on all paths. : (ds)->flags | MISRA-C:2012 R.2.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sym_get_string_value (793 to 815 symbol.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : sym_get_string_value | MISRA-C:2012 R.8.4 |
C | Function has global variable side effects. : (modules_sym)->curr | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : (modules_sym)->curr.tri | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : (modules_sym)->curr.val | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : (modules_sym)->flags | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : modules_sym | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : modules_val | MISRA-C:2012 R.13.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 800 | Function call with no prior declaration. : sym_get_tristate_value | MISRA-C:2012 R.17.3 |
C | 814 | Casting operation to a pointer. | MISRA-C:2012 R.11.1,R.11.2,R.11.3,R.11.5,R.11.7 |
C | 803 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 806 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 809 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 801 | No default case in switch statement. | MISRA-C:2012 R.16.4 |
C | 813 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 793 | Recursion in procedure calls found. : sym_get_string_value | MISRA-C:2012 R.17.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sym_is_changable (817 to 820 symbol.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : sym_is_changable | MISRA-C:2012 R.8.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
strhash (822 to 829 symbol.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
C | 826 | Pointer arithmetic is not on array. | MISRA-C:2012 R.18.1,R.18.4 |
C | 827 | No brackets to loop body. | MISRA-C:2012 R.15.6 |
C | 827 | Use of mixed mode arithmetic. : (unsigned int and char): hash = ( hash ^ * s | MISRA-C:2012 R.10.1,R.10.2,R.10.3,R.10.4 |
C | 827 | Value is not of appropriate type. : (char and int): hash = ( hash ^ * s ) | MISRA-C:2012 R.10.1,R.10.3,R.10.4,R.10.5,R.11.1 |
C | 827 | Value outside range of underlying type. : (char and int): hash = ( hash ^ * s ) * 0x01000193 | MISRA-C:2012 R.10.3,R.10.4 |
C | 827 | Use of mixed mode arithmetic. : (char and int): hash = ( hash ^ * s ) * 0x01000193 | MISRA-C:2012 R.10.1,R.10.2,R.10.3,R.10.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sym_lookup (831 to 870 symbol.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : sym_lookup | MISRA-C:2012 R.8.4 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 854 | Function call with no prior declaration. : strdup | MISRA-C:2012 R.17.3 |
M | 860 | Function call with no prior declaration. : xmalloc | MISRA-C:2012 R.17.3 |
C | 862 | Pointer not checked for null before use. : symbol | MISRA-C:2012 D.4.1 |
C | 862 | Pointer not checked for null before use. : new_name | MISRA-C:2012 D.4.1 |
C | 837 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 838 | Declaration does not specify an array. | MISRA-C:2012 R.18.1 |
C | 838 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 838 | Declaration does not specify an array. | MISRA-C:2012 R.18.1 |
C | 838 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 839 | Declaration does not specify an array. | MISRA-C:2012 R.18.1 |
C | 840 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 841 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 843 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 839 | No default case in switch statement. | MISRA-C:2012 R.16.4 |
C | 845 | Signed/unsigned conversion without cast. : (int and unsigned int): strhash | MISRA-C:2012 R.10.3,R.10.4 |
C | 847 | For loop initialisation is not simple. | MISRA-C:2012 R.14.2 |
C | 848 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 849 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 850 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 850 | Use of bit operator on signed type. : & used with int: flags | MISRA-C:2012 R.10.1 |
C | 851 | Expression needs brackets. | MISRA-C:2012 R.12.1,R.20.7 |
C | 851 | Use of bit operator on signed type. : & used with int: flags | MISRA-C:2012 R.10.1 |
C | 851 | Use of bit operator on signed type. : | used with int: SYMBOL_CONST | MISRA-C:2012 R.10.1 |
C | 851 | Use of bit operator on signed type. : | used with int: SYMBOL_CHOICE | MISRA-C:2012 R.10.1 |
C | 851 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 852 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 861 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 864 | Use of bit operator on signed type. : |= used with int: flags | MISRA-C:2012 R.10.1 |
C | 869 | Pointer assignment to wider scope. | MISRA-C:2012 R.18.6 |
C | 852 | Local structure returned in function result. : symbol | MISRA-C:2012 R.18.6 |
C | 869 | Local structure returned in function result. : symbol | MISRA-C:2012 R.18.6 |
M | 862 | Attempt to use uninitialised pointer. : new_name | MISRA-C:2012 R.9.1 |
M | 856 | Procedure contains UR data flow anomalies. : new_name |
MISRA-C:2012 R.9.1 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sym_find (872 to 897 symbol.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : sym_find | MISRA-C:2012 R.8.4 |
C | DD data flow anomalies found. | MISRA-C:2012 R.2.2 |
Code | Line | Violation | Standard |
---|---|---|---|
C | 877 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 878 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 880 | Declaration does not specify an array. | MISRA-C:2012 R.18.1 |
C | 880 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 880 | Declaration does not specify an array. | MISRA-C:2012 R.18.1 |
C | 880 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 881 | Declaration does not specify an array. | MISRA-C:2012 R.18.1 |
C | 882 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 883 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 885 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 881 | No default case in switch statement. | MISRA-C:2012 R.16.4 |
C | 887 | Signed/unsigned conversion without cast. : (int and unsigned int): strhash | MISRA-C:2012 R.10.3,R.10.4 |
C | 889 | For loop initialisation is not simple. | MISRA-C:2012 R.14.2 |
C | 890 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 891 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 892 | Use of bit operator on signed type. : & used with int: flags | MISRA-C:2012 R.10.1 |
C | 892 | Use of bit operator on signed type. : & used with int: SYMBOL_CONST | MISRA-C:2012 R.10.1 |
C | 892 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 893 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 896 | Pointer assignment to wider scope. | MISRA-C:2012 R.18.6 |
C | 896 | Local structure returned in function result. : symbol | MISRA-C:2012 R.18.6 |
C | 875 | DU anomaly dead code, variable value is unused on all paths. : hash | MISRA-C:2012 R.2.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sym_expand_string_value (904 to 946 symbol.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : sym_expand_string_value | MISRA-C:2012 R.8.4 |
C | DD data flow anomalies found. | MISRA-C:2012 R.2.2 |
C | Function has global variable side effects. : (modules_sym)->curr | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : (modules_sym)->curr.tri | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : (modules_sym)->curr.val | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : modules_sym | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : modules_val | MISRA-C:2012 R.13.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 911 | Function call with no prior declaration. : xmalloc | MISRA-C:2012 R.17.3 |
C | 914 | Pointer not checked for null before use. : in | MISRA-C:2012 D.4.1 |
C | 924 | Pointer not checked for null before use. : src | MISRA-C:2012 D.4.1 |
C | 943 | Pointer not checked for null before use. : res | MISRA-C:2012 D.4.1 |
C | 940 | Pointer not checked for null before use. : res | MISRA-C:2012 D.4.1 |
C | 934 | Pointer not checked for null before use. : res | MISRA-C:2012 D.4.1 |
C | 934 | Pointer not checked for null before use. : symval | MISRA-C:2012 D.4.1 |
C | 910 | Literal value requires a U suffix. : 1 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | 912 | Declaration does not specify an array. | MISRA-C:2012 R.18.1 |
C | 914 | Assignment operation in expression. | MISRA-C:2012 R.13.1,R.13.2,R.13.4 |
C | 914 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 915 | Variable-length array declared. : name[*] | MISRA-C:2012 R.18.8 |
C | 920 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 920 | Pointer arithmetic is not on array. | MISRA-C:2012 R.18.1,R.18.4 |
C | 921 | Pointer arithmetic is not on array. | MISRA-C:2012 R.18.1,R.18.4 |
C | 924 | Use of banned function or variable. : isalnum | MISRA-C:2012 D.4.12,R.1.3,R.17.1,R.21.3,R.21.6,R.21.7,R.21.8,R.21.9,R.21.10,R.21.12 |
C | 924 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 925 | No brackets to loop body. | MISRA-C:2012 R.15.6 |
C | 925 | Assignment operation in expression. | MISRA-C:2012 R.13.1,R.13.2,R.13.4 |
C | 925 | Deprecated usage of ++ or -- operators found. | MISRA-C:2012 R.13.1,R.13.2,R.13.3 |
C | 931 | const object reassigned. : symval | MISRA-C:2012 R.1.3 |
C | 934 | Literal value requires a U suffix. : 1 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | 937 | Use of banned function or variable. : realloc | MISRA-C:2012 D.4.12,R.1.3,R.17.1,R.21.3,R.21.6,R.21.7,R.21.8,R.21.9,R.21.10,R.21.12 |
C | 940 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 941 | const object reassigned. : in | MISRA-C:2012 R.1.3 |
C | 941 | Pointer assignment to wider scope. | MISRA-C:2012 R.18.6 |
C | 943 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 945 | Pointer assignment to wider scope. | MISRA-C:2012 R.18.6 |
C | 945 | Local structure returned in function result. : res | MISRA-C:2012 R.18.6 |
C | 904 | Recursion in procedure calls found. : sym_expand_string_value | MISRA-C:2012 R.17.2 |
M | 915 | Procedure contains UR data flow anomalies. : name | MISRA-C:2012 R.9.1 |
C | 930 | DU anomaly dead code, variable value is unused on all paths. : (sym)->curr.tri | MISRA-C:2012 R.2.2 |
C | 930 | DU anomaly dead code, variable value is unused on all paths. : (sym)->flags | MISRA-C:2012 R.2.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sym_escape_string_value (948 to 989 symbol.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : sym_escape_string_value | MISRA-C:2012 R.8.4 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 969 | Function call with no prior declaration. : xmalloc | MISRA-C:2012 R.17.3 |
C | 959 | Pointer not checked for null before use. : p | MISRA-C:2012 D.4.1 |
C | 976 | Pointer not checked for null before use. : p | MISRA-C:2012 D.4.1 |
C | 987 | Pointer not checked for null before use. : res | MISRA-C:2012 D.4.1 |
C | 983 | Pointer not checked for null before use. : res | MISRA-C:2012 D.4.1 |
C | 955 | Literal value requires a U suffix. : 1 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | 960 | const object reassigned. : p | MISRA-C:2012 R.1.3 |
C | 962 | Declaration does not specify an array. | MISRA-C:2012 R.18.1 |
C | 963 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 966 | Pointer arithmetic is not on array. | MISRA-C:2012 R.18.1,R.18.4 |
C | 970 | Declaration does not specify an array. | MISRA-C:2012 R.18.1 |
C | 972 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 974 | const object reassigned. : p | MISRA-C:2012 R.1.3 |
C | 977 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 978 | const object reassigned. : p | MISRA-C:2012 R.1.3 |
C | 980 | Declaration does not specify an array. | MISRA-C:2012 R.18.1 |
C | 981 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 983 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 984 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 984 | Deprecated usage of ++ or -- operators found. | MISRA-C:2012 R.13.1,R.13.2,R.13.3 |
C | 984 | Pointer arithmetic is not on array. | MISRA-C:2012 R.18.1,R.18.4 |
C | 984 | Assignment operation in expression. | MISRA-C:2012 R.13.1,R.13.2,R.13.4 |
C | 987 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 988 | Pointer assignment to wider scope. | MISRA-C:2012 R.18.6 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sym_rel_comp (1000 to 1024 symbol.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
C | 1015 | Value is not of appropriate type. : (int and char): exact1 = ( s1 -> eo - s1 -> so ) == strlen ( s1 -> sym -> name | MISRA-C:2012 R.10.1,R.10.3,R.10.4,R.10.5,R.11.1 |
C | 1016 | Value is not of appropriate type. : (int and char): exact2 = ( s2 -> eo - s2 -> so ) == strlen ( s2 -> sym -> name | MISRA-C:2012 R.10.1,R.10.3,R.10.4,R.10.5,R.11.1 |
C | 1017 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1017 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1018 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1019 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1019 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1020 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1000 | Static procedure is not explicitly called in code analysed. : sym_rel_comp | MISRA-C:2012 R.2.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sym_re_search (1026 to 1077 symbol.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : sym_re_search | MISRA-C:2012 R.8.4 |
C | Function has global variable side effects. : modules_val | MISRA-C:2012 R.13.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 1038 | Function call with no prior declaration. : regcomp | MISRA-C:2012 R.17.3 |
M | 1044 | Function call with no prior declaration. : regexec | MISRA-C:2012 R.17.3 |
M | 1074 | Function call with no prior declaration. : regfree | MISRA-C:2012 R.17.3 |
C | 1034 | Assignment operation in expression. | MISRA-C:2012 R.13.1,R.13.2,R.13.4 |
C | 1036 | Literal value requires a U suffix. : 0 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | 1037 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1038 | Use of bit operator on signed type. : | used with int: REG_EXTENDED | MISRA-C:2012 R.10.1 |
C | 1038 | Use of bit operator on signed type. : | used with int: REG_ICASE | MISRA-C:2012 R.10.1 |
C | 1038 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1039 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1042 | Use of bit operator on signed type. : & used with int: flags | MISRA-C:2012 R.10.1 |
C | 1042 | Use of bit operator on signed type. : & used with int: SYMBOL_CONST | MISRA-C:2012 R.10.1 |
C | 1042 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1042 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1043 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1044 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1045 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1049 | Use of banned function or variable. : realloc | MISRA-C:2012 D.4.12,R.1.3,R.17.1,R.21.3,R.21.6,R.21.7,R.21.8,R.21.9,R.21.10,R.21.12 |
C | 1049 | Use of mixed mode arithmetic. : (int and unsigned int): tmp = realloc ( sym_match_arr , size * sizeof | MISRA-C:2012 R.10.1,R.10.2,R.10.3,R.10.4 |
C | 1049 | Signed/unsigned conversion without cast. : (int and unsigned int): tmp = realloc ( sym_match_arr , size * sizeof | MISRA-C:2012 R.10.3,R.10.4 |
C | 1050 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1051 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1052 | Pointer assignment to wider scope. | MISRA-C:2012 R.18.6 |
C | 1060 | Deprecated usage of ++ or -- operators found. | MISRA-C:2012 R.13.1,R.13.2,R.13.3 |
C | 1062 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1063 | Use of banned function or variable. : qsort | MISRA-C:2012 D.4.12,R.1.3,R.17.1,R.21.3,R.21.6,R.21.7,R.21.8,R.21.9,R.21.10,R.21.12 |
C | 1064 | Use of banned function or variable. : malloc | MISRA-C:2012 D.4.12,R.1.3,R.17.1,R.21.3,R.21.6,R.21.7,R.21.8,R.21.9,R.21.10,R.21.12 |
C | 1064 | Use of mixed mode arithmetic. : (int and unsigned int): ( cnt + 1 ) * sizeof | MISRA-C:2012 R.10.1,R.10.2,R.10.3,R.10.4 |
C | 1064 | Signed/unsigned conversion without cast. : (int and unsigned int): ( cnt + 1 ) * sizeof | MISRA-C:2012 R.10.3,R.10.4 |
C | 1065 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1066 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1068 | No brackets to loop body. | MISRA-C:2012 R.15.6 |
C | 1073 | Use of banned function or variable. : free | MISRA-C:2012 D.4.12,R.1.3,R.17.1,R.21.3,R.21.6,R.21.7,R.21.8,R.21.9,R.21.10,R.21.12 |
C | 1076 | Pointer assignment to wider scope. | MISRA-C:2012 R.18.6 |
C | 1026 | Recursion in procedure calls found. : sym_re_search | MISRA-C:2012 R.17.2 |
C | 1077 | Memory not freed after last reference. : sym_match_arr | MISRA-C:2012 R.22.1 |
M | 1031 | Procedure contains UR data flow anomalies. : re | MISRA-C:2012 R.9.1 |
C | 1054 | DU anomaly dead code, variable value is unused on all paths. : (sym)->flags | MISRA-C:2012 R.2.2 |
C | 1029 | DU anomaly dead code, variable value is unused on all paths. : sym_match_arr.eo | MISRA-C:2012 R.2.2 |
C | 1029 | DU anomaly dead code, variable value is unused on all paths. : sym_match_arr.so | MISRA-C:2012 R.2.2 |
C | 1029 | DU anomaly dead code, variable value is unused on all paths. : sym_match_arr.sym | MISRA-C:2012 R.2.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
dep_stack_insert (1092 to 1100 symbol.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
C | 1097 | Pointer not checked for null before use. : stack | MISRA-C:2012 D.4.1 |
C | 1096 | Pointer not checked for null before use. : stack | MISRA-C:2012 D.4.1 |
C | 1094 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 1095 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1096 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
dep_stack_remove (1102 to 1107 symbol.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
C | 1105 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1106 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sym_check_print_recursive (1114 to 1186 symbol.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1122 | Function call with no prior declaration. : sym_is_choice_value | MISRA-C:2012 R.17.3 |
M | 1124 | Function call with no prior declaration. : prop_get_symbol | MISRA-C:2012 R.17.3 |
M | 1143 | Function call with no prior declaration. : sym_is_choice | MISRA-C:2012 R.17.3 |
M | 1143 | Function call with no prior declaration. : sym_is_choice_value | MISRA-C:2012 R.17.3 |
M | 1159 | Function call with no prior declaration. : prop_get_type_name | MISRA-C:2012 R.17.3 |
M | 1166 | Function call with no prior declaration. : sym_is_choice | MISRA-C:2012 R.17.3 |
M | 1171 | Function call with no prior declaration. : sym_is_choice_value | MISRA-C:2012 R.17.3 |
C | 1159 | Pointer not checked for null before use. : next_sym | MISRA-C:2012 D.4.1 |
C | 1143 | Pointer not checked for null before use. : sym | MISRA-C:2012 D.4.1 |
C | 1167 | Pointer not checked for null before use. : menu | MISRA-C:2012 D.4.1 |
C | 1151 | Pointer not checked for null before use. : prop | MISRA-C:2012 D.4.1 |
C | 1122 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1128 | No brackets to loop body. | MISRA-C:2012 R.15.6 |
C | 1129 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1130 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1131 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 1137 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1140 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1143 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1143 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1144 | For loop initialisation is not simple. | MISRA-C:2012 R.14.2 |
C | 1146 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1147 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1151 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1151 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 1151 | Format is not appropriate type. : format = %s, param 3 | MISRA-C:2012 R.1.3 |
C | 1153 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 1154 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 1155 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1156 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 1156 | Format is not appropriate type. : format = %s, param 3 | MISRA-C:2012 R.1.3 |
C | 1156 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1159 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1161 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1162 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 1162 | Format is not appropriate type. : format = %s, param 3 | MISRA-C:2012 R.1.3 |
C | 1162 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1164 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1166 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1167 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 1167 | Format is not appropriate type. : format = %s, param 3 | MISRA-C:2012 R.1.3 |
C | 1167 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1169 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1171 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1172 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 1172 | Format is not appropriate type. : format = %s, param 3 | MISRA-C:2012 R.1.3 |
C | 1172 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1174 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1177 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 1177 | Format is not appropriate type. : format = %s, param 3 | MISRA-C:2012 R.1.3 |
C | 1177 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1179 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1185 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1118 | Type is incomplete in translation unit. : menu | MISRA-C:2012 R.1.3 |
Code | Line | Violation | Standard |
---|---|---|---|
C | 1159 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 1123 | DU anomaly dead code, variable value is unused on all paths. : cv_stack.prev | MISRA-C:2012 R.2.2 |
C | 1123 | DU anomaly dead code, variable value is unused on all paths. : cv_stack.sym | MISRA-C:2012 R.2.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sym_check_expr_deps (1188 to 1220 symbol.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | DD data flow anomalies found. | MISRA-C:2012 R.2.2 |
C | Function has global variable side effects. : (check_top)->next | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : check_top | MISRA-C:2012 R.13.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 1209 | Function call with no prior declaration. : sym_check_deps | MISRA-C:2012 R.17.3 |
M | 1212 | Function call with no prior declaration. : sym_check_deps | MISRA-C:2012 R.17.3 |
M | 1214 | Function call with no prior declaration. : sym_check_deps | MISRA-C:2012 R.17.3 |
C | 1192 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1193 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1198 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1199 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1200 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 1202 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 1210 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1211 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1212 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 1214 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 1215 | Switch empty default has no comment. | MISRA-C:2012 R.16.4 |
C | 1218 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 1197 | Implicit conversion: actual to formal param. : (symbol and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 1200 | Implicit conversion: actual to formal param. : (symbol and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 1202 | Implicit conversion: actual to formal param. : (symbol and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 1188 | Recursion in procedure calls found. : sym_check_expr_deps | MISRA-C:2012 R.17.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sym_check_sym_deps (1223 to 1255 symbol.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | DD data flow anomalies found. | MISRA-C:2012 R.2.2 |
C | Function has global variable side effects. : (check_top)->next | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : check_top | MISRA-C:2012 R.13.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 1242 | Function call with no prior declaration. : sym_is_choice | MISRA-C:2012 R.17.3 |
C | 1252 | Pointer not checked for null before use. : check_top | MISRA-C:2012 D.4.1 |
C | 1232 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1233 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1235 | For loop initialisation is not simple. | MISRA-C:2012 R.14.2 |
C | 1237 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1240 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1241 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1242 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1243 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1246 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1247 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1254 | Pointer assignment to wider scope. | MISRA-C:2012 R.18.6 |
C | 1223 | Recursion in procedure calls found. : sym_check_sym_deps | MISRA-C:2012 R.17.2 |
C | 1248 | DU anomaly dead code, variable value is unused on all paths. : stack.expr | MISRA-C:2012 R.2.2 |
C | 1244 | DU anomaly dead code, variable value is unused on all paths. : stack.expr | MISRA-C:2012 R.2.2 |
C | 1229 | DU anomaly dead code, variable value is unused on all paths. : stack.prev | MISRA-C:2012 R.2.2 |
C | 1238 | DU anomaly dead code, variable value is unused on all paths. : stack.prop | MISRA-C:2012 R.2.2 |
C | 1229 | DU anomaly dead code, variable value is unused on all paths. : stack.sym | MISRA-C:2012 R.2.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sym_check_choice_deps (1257 to 1292 symbol.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | DD data flow anomalies found. | MISRA-C:2012 R.2.2 |
C | Function has global variable side effects. : (check_top)->next | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : check_top | MISRA-C:2012 R.13.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 1267 | Function call with no prior declaration. : expr_list_for_each_sym | MISRA-C:2012 R.17.3 |
M | 1282 | Function call with no prior declaration. : expr_list_for_each_sym | MISRA-C:2012 R.17.3 |
M | 1285 | Function call with no prior declaration. : sym_is_choice_value | MISRA-C:2012 R.17.3 |
M | 1286 | Function call with no prior declaration. : prop_get_symbol | MISRA-C:2012 R.17.3 |
C | 1267 | Pointer not checked for null before use. : prop | MISRA-C:2012 D.4.1 |
C | 1267 | Use of bit operator on signed type. : |= used with int: flags | MISRA-C:2012 R.10.1 |
C | 1267 | Use of bit operator on signed type. : | used with int: SYMBOL_CHECK | MISRA-C:2012 R.10.1 |
C | 1267 | Use of bit operator on signed type. : | used with int: SYMBOL_CHECKED | MISRA-C:2012 R.10.1 |
C | 1270 | Use of bit operator on signed type. : |= used with int: flags | MISRA-C:2012 R.10.1 |
C | 1270 | Use of bit operator on signed type. : | used with int: SYMBOL_CHECK | MISRA-C:2012 R.10.1 |
C | 1270 | Use of bit operator on signed type. : | used with int: SYMBOL_CHECKED | MISRA-C:2012 R.10.1 |
C | 1272 | Use of bit operator on signed type. : &= used with int: flags | MISRA-C:2012 R.10.1 |
C | 1272 | Use of bit operator on signed type. : ~ used with int: SYMBOL_CHECK | MISRA-C:2012 R.10.1 |
C | 1273 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1274 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1278 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1279 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1282 | Use of bit operator on signed type. : &= used with int: flags | MISRA-C:2012 R.10.1 |
C | 1282 | Use of bit operator on signed type. : ~ used with int: SYMBOL_CHECK | MISRA-C:2012 R.10.1 |
C | 1285 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1285 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1287 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1291 | Pointer assignment to wider scope. | MISRA-C:2012 R.18.6 |
C | 1257 | Recursion in procedure calls found. : sym_check_choice_deps | MISRA-C:2012 R.17.2 |
M | 1267 | Attempt to use uninitialised pointer. : e | MISRA-C:2012 R.9.1 |
M | 1267 | Attempt to use uninitialised pointer. : sym | MISRA-C:2012 R.9.1 |
M | 1261 | Procedure contains UR data flow anomalies. : e | MISRA-C:2012 R.9.1 |
M | 1259 | Procedure contains UR data flow anomalies. : sym | MISRA-C:2012 R.9.1 |
C | 1282 | DU anomaly dead code, variable value is unused on all paths. : (sym)->flags | MISRA-C:2012 R.2.2 |
C | 1264 | DU anomaly dead code, variable value is unused on all paths. : stack.prev | MISRA-C:2012 R.2.2 |
C | 1264 | DU anomaly dead code, variable value is unused on all paths. : stack.sym | MISRA-C:2012 R.2.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
sym_check_deps (1294 to 1326 symbol.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : sym_check_deps | MISRA-C:2012 R.8.4 |
C | DD data flow anomalies found. | MISRA-C:2012 R.2.2 |
C | Function has global variable side effects. : (check_top)->next | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : check_top | MISRA-C:2012 R.13.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 1306 | Function call with no prior declaration. : sym_is_choice_value | MISRA-C:2012 R.17.3 |
M | 1312 | Function call with no prior declaration. : prop_get_symbol | MISRA-C:2012 R.17.3 |
M | 1314 | Function call with no prior declaration. : sym_is_choice | MISRA-C:2012 R.17.3 |
C | 1312 | Pointer not checked for null before use. : prop | MISRA-C:2012 D.4.1 |
C | 1313 | Pointer not checked for null before use. : check_top | MISRA-C:2012 D.4.1 |
C | 1299 | Use of bit operator on signed type. : & used with int: flags | MISRA-C:2012 R.10.1 |
C | 1299 | Use of bit operator on signed type. : & used with int: SYMBOL_CHECK | MISRA-C:2012 R.10.1 |
C | 1299 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1303 | Use of bit operator on signed type. : & used with int: flags | MISRA-C:2012 R.10.1 |
C | 1303 | Use of bit operator on signed type. : & used with int: SYMBOL_CHECKED | MISRA-C:2012 R.10.1 |
C | 1303 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1304 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1306 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1314 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1317 | Use of bit operator on signed type. : |= used with int: flags | MISRA-C:2012 R.10.1 |
C | 1317 | Use of bit operator on signed type. : | used with int: SYMBOL_CHECK | MISRA-C:2012 R.10.1 |
C | 1317 | Use of bit operator on signed type. : | used with int: SYMBOL_CHECKED | MISRA-C:2012 R.10.1 |
C | 1319 | Use of bit operator on signed type. : &= used with int: flags | MISRA-C:2012 R.10.1 |
C | 1319 | Use of bit operator on signed type. : ~ used with int: SYMBOL_CHECK | MISRA-C:2012 R.10.1 |
C | 1322 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1323 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1325 | Pointer assignment to wider scope. | MISRA-C:2012 R.18.6 |
C | 1312 | Implicit conversion: actual to formal param. : (symbol): param 1 | MISRA-C:2012 R.10.3 |
C | 1294 | Recursion in procedure calls found. : sym_check_deps | MISRA-C:2012 R.17.2 |
C | 1310 | DU anomaly dead code, variable value is unused on all paths. : stack.prev | MISRA-C:2012 R.2.2 |
C | 1310 | DU anomaly dead code, variable value is unused on all paths. : stack.sym | MISRA-C:2012 R.2.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
prop_alloc (1328 to 1348 symbol.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : prop_alloc | MISRA-C:2012 R.8.4 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 1333 | Function call with no prior declaration. : xmalloc | MISRA-C:2012 R.17.3 |
M | 1338 | Function call with no prior declaration. : zconf_lineno | MISRA-C:2012 R.17.3 |
C | 1335 | Pointer not checked for null before use. : prop | MISRA-C:2012 D.4.1 |
C | 1334 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 1341 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1342 | For loop initialisation is not simple. | MISRA-C:2012 R.14.2 |
C | 1342 | For loop incrementation is not simple. | MISRA-C:2012 R.14.2 |
C | 1343 | No brackets to loop body. | MISRA-C:2012 R.15.6 |
C | 1347 | Local structure returned in function result. : prop | MISRA-C:2012 R.18.6 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
prop_get_symbol (1350 to 1356 symbol.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : prop_get_symbol | MISRA-C:2012 R.8.4 |
Code | Line | Violation | Standard |
---|---|---|---|
C | 1352 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1354 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
prop_get_type_name (1358 to 1385 symbol.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : prop_get_type_name | MISRA-C:2012 R.8.4 |
Code | Line | Violation | Standard |
---|---|---|---|
C | 1361 | Case is not part of switch enumeration. | MISRA-C:2012 R.10.3 |
C | 1362 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 1363 | Case is not part of switch enumeration. | MISRA-C:2012 R.10.3 |
C | 1364 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 1365 | Case is not part of switch enumeration. | MISRA-C:2012 R.10.3 |
C | 1366 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 1367 | Case is not part of switch enumeration. | MISRA-C:2012 R.10.3 |
C | 1368 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 1369 | Case is not part of switch enumeration. | MISRA-C:2012 R.10.3 |
C | 1370 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 1371 | Case is not part of switch enumeration. | MISRA-C:2012 R.10.3 |
C | 1372 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 1373 | Case is not part of switch enumeration. | MISRA-C:2012 R.10.3 |
C | 1374 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 1375 | Case is not part of switch enumeration. | MISRA-C:2012 R.10.3 |
C | 1376 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 1377 | Case is not part of switch enumeration. | MISRA-C:2012 R.10.3 |
C | 1378 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 1379 | Case is not part of switch enumeration. | MISRA-C:2012 R.10.3 |
C | 1380 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 1381 | Case is not part of switch enumeration. | MISRA-C:2012 R.10.3 |
C | 1360 | No default case in switch statement. | MISRA-C:2012 R.16.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
prop_add_env (1387 to 1414 symbol.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1398 | Function call with no prior declaration. : menu_warn | MISRA-C:2012 R.17.3 |
M | 1404 | Function call with no prior declaration. : expr_alloc_symbol | MISRA-C:2012 R.17.3 |
M | 1406 | Function call with no prior declaration. : expr_alloc_one | MISRA-C:2012 R.17.3 |
M | 1413 | Function call with no prior declaration. : menu_warn | MISRA-C:2012 R.17.3 |
C | 1394 | Pointer not checked for null before use. : sym | MISRA-C:2012 D.4.1 |
C | 1397 | Pointer not checked for null before use. : sym2 | MISRA-C:2012 D.4.1 |
C | 1404 | Pointer not checked for null before use. : prop | MISRA-C:2012 D.4.1 |
C | 1407 | Pointer not checked for null before use. : sym_env_list | MISRA-C:2012 D.4.1 |
C | 1394 | Use of bit operator on signed type. : |= used with int: flags | MISRA-C:2012 R.10.1 |
C | 1394 | Use of bit operator on signed type. : |= used with int: SYMBOL_AUTO | MISRA-C:2012 R.10.1 |
C | 1397 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1398 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1409 | Use of banned function or variable. : getenv | MISRA-C:2012 D.4.12,R.1.3,R.17.1,R.21.3,R.21.6,R.21.7,R.21.8,R.21.9,R.21.10,R.21.12 |
C | 1410 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1411 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1413 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1403 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 1387 | Static procedure is not explicitly called in code analysed. : prop_add_env | MISRA-C:2012 R.2.1 |
M | 1396 | Attempt to use uninitialised pointer. : prop | MISRA-C:2012 R.9.1 |
M | 1390 | Procedure contains UR data flow anomalies. : prop | MISRA-C:2012 R.9.1 |
C | 1394 | DU anomaly dead code, variable value is unused on all paths. : (sym)->flags | MISRA-C:2012 R.2.2 |
C | 1403 | Unreachable Code found. | MISRA-C:2012 R.2.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
refresh_text_box (39 to 47 textbox.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 45 | Function call with no prior declaration. : wmove | MISRA-C:2012 R.17.3 |
M | 46 | Function call with no prior declaration. : wrefresh | MISRA-C:2012 R.17.3 |
C | 44 | Pointer not checked for null before use. : page |
MISRA-C:2012 D.4.1 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
dialog_textbox (56 to 274 textbox.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : dialog_textbox | MISRA-C:2012 R.8.4 |
C | DD data flow anomalies found. | MISRA-C:2012 R.2.2 |
C | Function has global variable side effects. : begin_reached | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : buf | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : end_reached | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : hscroll | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : page | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : page_length | MISRA-C:2012 R.13.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 82 | Function call with no prior declaration. : getmaxyx | MISRA-C:2012 R.17.3 |
M | 101 | Function call with no prior declaration. : getmaxx | MISRA-C:2012 R.17.3 |
M | 102 | Function call with no prior declaration. : getmaxy | MISRA-C:2012 R.17.3 |
M | 104 | Function call with no prior declaration. : draw_shadow | MISRA-C:2012 R.17.3 |
M | 106 | Function call with no prior declaration. : newwin | MISRA-C:2012 R.17.3 |
M | 107 | Function call with no prior declaration. : keypad | MISRA-C:2012 R.17.3 |
M | 112 | Function call with no prior declaration. : subwin | MISRA-C:2012 R.17.3 |
M | 113 | Function call with no prior declaration. : wattrset | MISRA-C:2012 R.17.3 |
M | 114 | Function call with no prior declaration. : wbkgdset | MISRA-C:2012 R.17.3 |
M | 116 | Function call with no prior declaration. : keypad | MISRA-C:2012 R.17.3 |
M | 119 | Function call with no prior declaration. : draw_box | MISRA-C:2012 R.17.3 |
M | 122 | Function call with no prior declaration. : wattrset | MISRA-C:2012 R.17.3 |
M | 123 | Function call with no prior declaration. : mvwaddch | MISRA-C:2012 R.17.3 |
M | 125 | Function call with no prior declaration. : waddch | MISRA-C:2012 R.17.3 |
M | 126 | Function call with no prior declaration. : wattrset | MISRA-C:2012 R.17.3 |
M | 127 | Function call with no prior declaration. : wbkgdset | MISRA-C:2012 R.17.3 |
M | 128 | Function call with no prior declaration. : waddch | MISRA-C:2012 R.17.3 |
M | 130 | Function call with no prior declaration. : print_title | MISRA-C:2012 R.17.3 |
M | 132 | Function call with no prior declaration. : print_button | MISRA-C:2012 R.17.3 |
M | 132 | Function call with no prior declaration. : gettext | MISRA-C:2012 R.17.3 |
M | 133 | Function call with no prior declaration. : wnoutrefresh | MISRA-C:2012 R.17.3 |
M | 134 | Function call with no prior declaration. : getyx | MISRA-C:2012 R.17.3 |
M | 137 | Function call with no prior declaration. : attr_clear | MISRA-C:2012 R.17.3 |
M | 142 | Function call with no prior declaration. : wgetch | MISRA-C:2012 R.17.3 |
M | 240 | Function call with no prior declaration. : on_key_esc | MISRA-C:2012 R.17.3 |
M | 245 | Function call with no prior declaration. : delwin | MISRA-C:2012 R.17.3 |
M | 246 | Function call with no prior declaration. : delwin | MISRA-C:2012 R.17.3 |
M | 247 | Function call with no prior declaration. : on_key_resize | MISRA-C:2012 R.17.3 |
M | 258 | Function call with no prior declaration. : delwin | MISRA-C:2012 R.17.3 |
M | 259 | Function call with no prior declaration. : delwin | MISRA-C:2012 R.17.3 |
C | 107 | Pointer not checked for null before use. : dialog | MISRA-C:2012 D.4.1 |
C | 113 | Pointer not checked for null before use. : box | MISRA-C:2012 D.4.1 |
C | 168 | Pointer not checked for null before use. : page | MISRA-C:2012 D.4.1 |
C | 141 | Potentially infinite loop found. | MISRA-C:2012 R.2.1 |
C | 57 | User name starts with underscore. : _vscroll | MISRA-C:2012 R.21.1,R.21.2 |
C | 57 | User name starts with underscore. : _hscroll | MISRA-C:2012 R.21.1,R.21.2 |
C | 72 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 72 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 76 | No brackets to loop body. | MISRA-C:2012 R.15.6 |
C | 76 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 78 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 79 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 84 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 86 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 89 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 91 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 93 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 96 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 98 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 114 | Use of bit operator on signed type. : & used with int: dlg.dialog.atr | MISRA-C:2012 R.10.1 |
C | 114 | Use of bit operator on signed type. : & used with int: A_COLOR | MISRA-C:2012 R.10.1 |
C | 124 | Expression needs brackets. | MISRA-C:2012 R.12.1,R.20.7 |
C | 125 | No brackets to loop body. | MISRA-C:2012 R.15.6 |
Code | Line | Violation | Standard |
---|---|---|---|
C | 127 | Use of bit operator on signed type. : & used with int: dlg.dialog.atr | MISRA-C:2012 R.10.1 |
C | 127 | Use of bit operator on signed type. : & used with int: A_COLOR | MISRA-C:2012 R.10.1 |
C | 132 | Expression needs brackets. | MISRA-C:2012 R.12.1,R.20.7 |
C | 154 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 167 | Pointer arithmetic is not on array. | MISRA-C:2012 R.18.1,R.18.4 |
C | 175 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 176 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 186 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 187 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 195 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 196 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 205 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 206 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 217 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 219 | Type conversion without cast. : (int and char): key == '0' | MISRA-C:2012 R.10.1,R.10.3,R.10.4 |
C | 220 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 222 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 232 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 241 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 248 | goto label is backwards. | MISRA-C:2012 R.15.2 |
C | 248 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 250 | Declaration does not specify an array. | MISRA-C:2012 R.18.1 |
C | 251 | Declaration does not specify an array. | MISRA-C:2012 R.18.1 |
C | 256 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 260 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 266 | Assignment operation in expression. | MISRA-C:2012 R.13.1,R.13.2,R.13.4 |
C | 266 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 268 | Pointer arithmetic is not on array. | MISRA-C:2012 R.18.1,R.18.4 |
C | 271 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 272 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
M | 61 | Procedure contains UR data flow anomalies. : height | MISRA-C:2012 R.9.1 |
M | 61 | Procedure contains UR data flow anomalies. : width |
MISRA-C:2012 R.9.1 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
back_lines (280 to 307 textbox.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | DD data flow anomalies found. | MISRA-C:2012 R.2.2 |
Code | Line | Violation | Standard |
---|---|---|---|
C | 303 | Pointer not checked for null before use. : page | MISRA-C:2012 D.4.1 |
C | 297 | Pointer not checked for null before use. : page | MISRA-C:2012 D.4.1 |
C | 288 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 297 | Pointer arithmetic is not on array. | MISRA-C:2012 R.18.1,R.18.4 |
C | 303 | Pointer arithmetic is not on array. | MISRA-C:2012 R.18.1,R.18.4 |
C | 305 | Pointer arithmetic is not on array. | MISRA-C:2012 R.18.1,R.18.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
print_page (312 to 336 textbox.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | DD data flow anomalies found. | MISRA-C:2012 R.2.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 324 | Function call with no prior declaration. : update_text | MISRA-C:2012 R.17.3 |
M | 335 | Function call with no prior declaration. : wnoutrefresh | MISRA-C:2012 R.17.3 |
C | 324 | Pointer not checked for null before use. : page | MISRA-C:2012 D.4.1 |
C | 324 | Pointer not checked for null before use. : end | MISRA-C:2012 D.4.1 |
C | 317 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 321 | No brackets to loop body. | MISRA-C:2012 R.15.6 |
C | 321 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 324 | Pointer arithmetic is not on array. | MISRA-C:2012 R.18.1,R.18.4 |
C | 330 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 331 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 332 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 332 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 333 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
print_line (341 to 362 textbox.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 346 | Function call with no prior declaration. : MIN | MISRA-C:2012 R.17.3 |
M | 347 | Function call with no prior declaration. : wmove | MISRA-C:2012 R.17.3 |
M | 348 | Function call with no prior declaration. : waddch | MISRA-C:2012 R.17.3 |
M | 349 | Function call with no prior declaration. : waddnstr | MISRA-C:2012 R.17.3 |
M | 349 | Function call with no prior declaration. : MIN | MISRA-C:2012 R.17.3 |
M | 360 | Function call with no prior declaration. : wclrtoeol | MISRA-C:2012 R.17.3 |
C | 346 | Pointer not checked for null before use. : line | MISRA-C:2012 D.4.1 |
C | 346 | Pointer not checked for null before use. : line | MISRA-C:2012 D.4.1 |
C | 352 | Undefined macro variable in #if. | MISRA-C:2012 R.20.9 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
get_line (369 to 394 textbox.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | DD data flow anomalies found. | MISRA-C:2012 R.2.2 |
C | Function has global variable side effects. : end_reached | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : page | MISRA-C:2012 R.13.2 |
Code | Line | Violation | Standard |
---|---|---|---|
C | 372 | Variable-length array declared. : line[*] | MISRA-C:2012 R.18.8 |
C | 380 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 380 | Deprecated usage of ++ or -- operators found. | MISRA-C:2012 R.13.1,R.13.2,R.13.3 |
C | 380 | Pointer arithmetic is not on array. | MISRA-C:2012 R.18.1,R.18.4 |
C | 380 | Assignment operation in expression. | MISRA-C:2012 R.13.1,R.13.2,R.13.4 |
C | 384 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 384 | Deprecated usage of ++ or -- operators found. | MISRA-C:2012 R.13.1,R.13.2,R.13.3 |
C | 385 | Pointer arithmetic is not on array. | MISRA-C:2012 R.18.1,R.18.4 |
C | 389 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 390 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 391 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 391 | Pointer arithmetic is not on array. | MISRA-C:2012 R.18.1,R.18.4 |
C | 372 | Identifier reuse: persistent var vs var. : line |
MISRA-C:2012 R.5.8,R.5.9 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
print_position (399 to 408 textbox.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 403 | Function call with no prior declaration. : wattrset | MISRA-C:2012 R.17.3 |
M | 404 | Function call with no prior declaration. : wbkgdset | MISRA-C:2012 R.17.3 |
M | 406 | Function call with no prior declaration. : wmove | MISRA-C:2012 R.17.3 |
M | 406 | Function call with no prior declaration. : getmaxy | MISRA-C:2012 R.17.3 |
M | 406 | Function call with no prior declaration. : getmaxx | MISRA-C:2012 R.17.3 |
M | 407 | Function call with no prior declaration. : wprintw | MISRA-C:2012 R.17.3 |
C | 405 | Pointer not checked for null before use. : page | MISRA-C:2012 D.4.1 |
C | 405 | Pointer not checked for null before use. : buf | MISRA-C:2012 D.4.1 |
C | 404 | Use of bit operator on signed type. : & used with int: dlg.position_indicator.atr | MISRA-C:2012 R.10.1 |
C | 404 | Use of bit operator on signed type. : & used with int: A_COLOR | MISRA-C:2012 R.10.1 |
C | 405 | Pointer arithmetic is not on array. | MISRA-C:2012 R.18.1,R.18.4 |
C | 405 | Expression needs brackets. | MISRA-C:2012 R.12.1,R.20.7 |
C | 405 | Use of mixed mode arithmetic. : (signed char and unsigned int): strlen | MISRA-C:2012 R.10.1,R.10.2,R.10.3,R.10.4 |
C | 405 | Signed/unsigned conversion without cast. : (signed char and unsigned int): strlen | MISRA-C:2012 R.10.3,R.10.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
set_bluetitle_theme (146 to 157 util.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | DD data flow anomalies found. | MISRA-C:2012 R.2.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
set_theme (162 to 177 util.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | DD data flow anomalies found. | MISRA-C:2012 R.2.2 |
C | Function has global variable side effects. : dlg.border.bg | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.border.fg | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.border.hl | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.button_active.bg | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.button_active.fg | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.button_active.hl | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.button_inactive.bg | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.button_inactive.fg | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.button_inactive.hl | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.button_key_active.bg | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.button_key_active.fg | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.button_key_active.hl | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.button_key_inactive.bg | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.button_key_inactive.fg | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.button_key_inactive.hl | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.button_label_active.bg | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.button_label_active.fg | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.button_label_active.hl | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.button_label_inactive.bg | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.button_label_inactive.fg | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.button_label_inactive.hl | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.check.bg | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.check.fg | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.check.hl | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.check_selected.bg | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.check_selected.fg | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.check_selected.hl | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.darrow.bg | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.darrow.fg | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.darrow.hl | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.dialog.bg | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.dialog.fg | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.dialog.hl | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.inputbox.bg | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.inputbox.fg | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.inputbox.hl | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.inputbox_border.bg | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.inputbox_border.fg | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.inputbox_border.hl | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.item.bg | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.item.fg | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.item.hl | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.item_selected.bg | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.item_selected.fg | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.item_selected.hl | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.menubox.bg | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.menubox.fg | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.menubox.hl | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.menubox_border.bg | MISRA-C:2012 R.13.2 |
Code | Violation | Standard |
---|---|---|
C | Function has global variable side effects. : dlg.menubox_border.fg | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.menubox_border.hl | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.position_indicator.bg | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.position_indicator.fg | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.position_indicator.hl | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.screen.bg | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.screen.fg | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.screen.hl | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.searchbox.bg | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.searchbox.fg | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.searchbox.hl | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.searchbox_border.bg | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.searchbox_border.fg | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.searchbox_border.hl | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.searchbox_title.bg | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.searchbox_title.fg | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.searchbox_title.hl | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.shadow.bg | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.shadow.fg | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.shadow.hl | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.tag.bg | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.tag.fg | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.tag.hl | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.tag_key.bg | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.tag_key.fg | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.tag_key.hl | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.tag_key_selected.bg | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.tag_key_selected.fg | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.tag_key_selected.hl | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.tag_selected.bg | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.tag_selected.fg | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.tag_selected.hl | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.title.bg | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.title.fg | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.title.hl | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.uarrow.bg | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.uarrow.fg | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.uarrow.hl | MISRA-C:2012 R.13.2 |
Code | Line | Violation | Standard |
---|---|---|---|
C | 165 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 166 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 168 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 170 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 172 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 174 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 174 | Else alternative missing in if. | MISRA-C:2012 R.15.7 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
init_one_color (179 to 189 util.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 184 | Function call with no prior declaration. : init_pair | MISRA-C:2012 R.17.3 |
M | 186 | Function call with no prior declaration. : COLOR_PAIR | MISRA-C:2012 R.17.3 |
M | 188 | Function call with no prior declaration. : COLOR_PAIR | MISRA-C:2012 R.17.3 |
C | 185 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 186 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 186 | Use of bit operator on signed type. : | used with int: A_BOLD | MISRA-C:2012 R.10.1 |
C | 186 | Use of bit operator on signed type. : | used with int: COLOR_PAIR | MISRA-C:2012 R.10.1 |
C | 188 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 179 | Type is incomplete in translation unit. : dialog_color | MISRA-C:2012 R.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
init_dialog_colors (191 to 222 util.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
C | 197 | DU anomaly dead code, variable value is unused on all paths. : dlg.border.atr | MISRA-C:2012 R.2.2 |
C | 198 | DU anomaly dead code, variable value is unused on all paths. : dlg.button_active.atr | MISRA-C:2012 R.2.2 |
C | 199 | DU anomaly dead code, variable value is unused on all paths. : dlg.button_inactive.atr | MISRA-C:2012 R.2.2 |
C | 200 | DU anomaly dead code, variable value is unused on all paths. : dlg.button_key_active.atr | MISRA-C:2012 R.2.2 |
C | 201 | DU anomaly dead code, variable value is unused on all paths. : dlg.button_key_inactive.atr | MISRA-C:2012 R.2.2 |
C | 202 | DU anomaly dead code, variable value is unused on all paths. : dlg.button_label_active.atr | MISRA-C:2012 R.2.2 |
C | 203 | DU anomaly dead code, variable value is unused on all paths. : dlg.button_label_inactive.atr | MISRA-C:2012 R.2.2 |
C | 218 | DU anomaly dead code, variable value is unused on all paths. : dlg.check.atr | MISRA-C:2012 R.2.2 |
C | 219 | DU anomaly dead code, variable value is unused on all paths. : dlg.check_selected.atr | MISRA-C:2012 R.2.2 |
C | 221 | DU anomaly dead code, variable value is unused on all paths. : dlg.darrow.atr | MISRA-C:2012 R.2.2 |
C | 195 | DU anomaly dead code, variable value is unused on all paths. : dlg.dialog.atr | MISRA-C:2012 R.2.2 |
C | 204 | DU anomaly dead code, variable value is unused on all paths. : dlg.inputbox.atr | MISRA-C:2012 R.2.2 |
C | 205 | DU anomaly dead code, variable value is unused on all paths. : dlg.inputbox_border.atr | MISRA-C:2012 R.2.2 |
C | 212 | DU anomaly dead code, variable value is unused on all paths. : dlg.item.atr | MISRA-C:2012 R.2.2 |
C | 213 | DU anomaly dead code, variable value is unused on all paths. : dlg.item_selected.atr | MISRA-C:2012 R.2.2 |
C | 210 | DU anomaly dead code, variable value is unused on all paths. : dlg.menubox.atr | MISRA-C:2012 R.2.2 |
C | 211 | DU anomaly dead code, variable value is unused on all paths. : dlg.menubox_border.atr | MISRA-C:2012 R.2.2 |
C | 209 | DU anomaly dead code, variable value is unused on all paths. : dlg.position_indicator.atr | MISRA-C:2012 R.2.2 |
C | 193 | DU anomaly dead code, variable value is unused on all paths. : dlg.screen.atr | MISRA-C:2012 R.2.2 |
C | 206 | DU anomaly dead code, variable value is unused on all paths. : dlg.searchbox.atr | MISRA-C:2012 R.2.2 |
C | 208 | DU anomaly dead code, variable value is unused on all paths. : dlg.searchbox_border.atr | MISRA-C:2012 R.2.2 |
C | 207 | DU anomaly dead code, variable value is unused on all paths. : dlg.searchbox_title.atr | MISRA-C:2012 R.2.2 |
C | 194 | DU anomaly dead code, variable value is unused on all paths. : dlg.shadow.atr | MISRA-C:2012 R.2.2 |
C | 214 | DU anomaly dead code, variable value is unused on all paths. : dlg.tag.atr | MISRA-C:2012 R.2.2 |
C | 216 | DU anomaly dead code, variable value is unused on all paths. : dlg.tag_key.atr | MISRA-C:2012 R.2.2 |
C | 217 | DU anomaly dead code, variable value is unused on all paths. : dlg.tag_key_selected.atr | MISRA-C:2012 R.2.2 |
C | 215 | DU anomaly dead code, variable value is unused on all paths. : dlg.tag_selected.atr | MISRA-C:2012 R.2.2 |
C | 196 | DU anomaly dead code, variable value is unused on all paths. : dlg.title.atr | MISRA-C:2012 R.2.2 |
C | 220 | DU anomaly dead code, variable value is unused on all paths. : dlg.uarrow.atr | MISRA-C:2012 R.2.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
color_setup (227 to 237 util.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 232 | Function call with no prior declaration. : has_colors | MISRA-C:2012 R.17.3 |
M | 233 | Function call with no prior declaration. : start_color | MISRA-C:2012 R.17.3 |
C | 232 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 232 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 236 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
attr_clear (242 to 253 util.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : attr_clear | MISRA-C:2012 R.8.4 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 246 | Function call with no prior declaration. : wattrset | MISRA-C:2012 R.17.3 |
M | 248 | Function call with no prior declaration. : wmove | MISRA-C:2012 R.17.3 |
M | 250 | Function call with no prior declaration. : waddch | MISRA-C:2012 R.17.3 |
M | 252 | Function call with no prior declaration. : touchwin | MISRA-C:2012 R.17.3 |
C | 250 | No brackets to loop body. | MISRA-C:2012 R.15.6 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
dialog_clear (255 to 310 util.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : dialog_clear | MISRA-C:2012 R.8.4 |
C | DD data flow anomalies found. | MISRA-C:2012 R.2.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 259 | Function call with no prior declaration. : getmaxy | MISRA-C:2012 R.17.3 |
M | 260 | Function call with no prior declaration. : getmaxx | MISRA-C:2012 R.17.3 |
M | 268 | Function call with no prior declaration. : wattrset | MISRA-C:2012 R.17.3 |
M | 269 | Function call with no prior declaration. : mvwaddstr | MISRA-C:2012 R.17.3 |
C | 269 | Casting operation to a pointer. | MISRA-C:2012 R.11.1,R.11.2,R.11.3,R.11.5,R.11.7 |
M | 276 | Function call with no prior declaration. : wmove | MISRA-C:2012 R.17.3 |
M | 279 | Function call with no prior declaration. : waddstr | MISRA-C:2012 R.17.3 |
M | 285 | Function call with no prior declaration. : waddch | MISRA-C:2012 R.17.3 |
M | 290 | Function call with no prior declaration. : waddch | MISRA-C:2012 R.17.3 |
M | 295 | Function call with no prior declaration. : waddstr | MISRA-C:2012 R.17.3 |
M | 301 | Function call with no prior declaration. : waddch | MISRA-C:2012 R.17.3 |
M | 307 | Function call with no prior declaration. : waddch | MISRA-C:2012 R.17.3 |
M | 309 | Function call with no prior declaration. : wnoutrefresh | MISRA-C:2012 R.17.3 |
C | 273 | Signed/unsigned conversion without cast. : (int and unsigned int): len += strlen | MISRA-C:2012 R.10.3,R.10.4 |
C | 273 | Value is not of appropriate type. : (int and char): len += strlen ( pos -> text | MISRA-C:2012 R.10.1,R.10.3,R.10.4,R.10.5,R.11.1 |
C | 273 | Literal value requires a U suffix. : 3 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | 277 | Expression needs brackets. | MISRA-C:2012 R.12.1,R.20.7 |
C | 280 | Use of mixed mode arithmetic. : (int and unsigned int): skip = len - ( columns - 2 - strlen | MISRA-C:2012 R.10.1,R.10.2,R.10.3,R.10.4 |
C | 280 | Signed/unsigned conversion without cast. : (int and unsigned int): skip = len - ( columns - 2 - strlen | MISRA-C:2012 R.10.3,R.10.4 |
C | 280 | Use of mixed mode arithmetic. : (int and unsigned int): skip = len - ( columns - 2 - strlen ( ellipsis ) | MISRA-C:2012 R.10.1,R.10.2,R.10.3,R.10.4 |
C | 280 | Signed/unsigned conversion without cast. : (int and unsigned int): skip = len - ( columns - 2 - strlen ( ellipsis ) | MISRA-C:2012 R.10.3,R.10.4 |
C | 285 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 287 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 290 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 292 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 294 | Signed/unsigned conversion without cast. : (int and unsigned int): skip < strlen | MISRA-C:2012 R.10.3,R.10.4 |
C | 294 | Value is not of appropriate type. : (int and char): skip < strlen ( pos -> text | MISRA-C:2012 R.10.1,R.10.3,R.10.4,R.10.5,R.11.1 |
C | 298 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 298 | Signed/unsigned conversion without cast. : (int and unsigned int): skip -= strlen | MISRA-C:2012 R.10.3,R.10.4 |
C | 298 | Value is not of appropriate type. : (int and char): skip -= strlen ( pos -> text | MISRA-C:2012 R.10.1,R.10.3,R.10.4,R.10.5,R.11.1 |
C | 301 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 303 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 306 | For loop initialisation is not simple. | MISRA-C:2012 R.14.2 |
C | 306 | Expression needs brackets. | MISRA-C:2012 R.12.1,R.20.7 |
C | 307 | No brackets to loop body. | MISRA-C:2012 R.15.6 |
C | 266 | Type is incomplete in translation unit. : subtitle_list | MISRA-C:2012 R.1.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
init_dialog (315 to 339 util.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : init_dialog | MISRA-C:2012 R.8.4 |
C | Function has global variable side effects. : dlg.border.atr | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.border.bg | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.border.fg | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.border.hl | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.button_active.atr | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.button_active.bg | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.button_active.fg | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.button_active.hl | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.button_inactive.atr | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.button_inactive.bg | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.button_inactive.fg | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.button_inactive.hl | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.button_key_active.atr | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.button_key_active.bg | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.button_key_active.fg | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.button_key_active.hl | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.button_key_inactive.atr | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.button_key_inactive.bg | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.button_key_inactive.fg | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.button_key_inactive.hl | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.button_label_active.atr | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.button_label_active.bg | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.button_label_active.fg | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.button_label_active.hl | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.button_label_inactive.atr | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.button_label_inactive.bg | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.button_label_inactive.fg | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.button_label_inactive.hl | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.check.atr | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.check.bg | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.check.fg | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.check.hl | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.check_selected.atr | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.check_selected.bg | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.check_selected.fg | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.check_selected.hl | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.darrow.atr | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.darrow.bg | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.darrow.fg | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.darrow.hl | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.dialog.atr | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.dialog.bg | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.dialog.fg | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.dialog.hl | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.inputbox.atr | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.inputbox.bg | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.inputbox.fg | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.inputbox.hl | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.inputbox_border.atr | MISRA-C:2012 R.13.2 |
Code | Violation | Standard |
---|---|---|
C | Function has global variable side effects. : dlg.inputbox_border.bg | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.inputbox_border.fg | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.inputbox_border.hl | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.item.atr | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.item.bg | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.item.fg | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.item.hl | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.item_selected.atr | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.item_selected.bg | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.item_selected.fg | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.item_selected.hl | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.menubox.atr | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.menubox.bg | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.menubox.fg | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.menubox.hl | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.menubox_border.atr | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.menubox_border.bg | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.menubox_border.fg | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.menubox_border.hl | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.position_indicator.atr | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.position_indicator.bg | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.position_indicator.fg | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.position_indicator.hl | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.screen.atr | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.screen.bg | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.screen.fg | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.screen.hl | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.searchbox.atr | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.searchbox.bg | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.searchbox.fg | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.searchbox.hl | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.searchbox_border.atr | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.searchbox_border.bg | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.searchbox_border.fg | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.searchbox_border.hl | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.searchbox_title.atr | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.searchbox_title.bg | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.searchbox_title.fg | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.searchbox_title.hl | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.shadow.atr | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.shadow.bg | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.shadow.fg | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.shadow.hl | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.tag.atr | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.tag.bg | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.tag.fg | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.tag.hl | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.tag_key.atr | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.tag_key.bg | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.tag_key.fg | MISRA-C:2012 R.13.2 |
Code | Violation | Standard |
---|---|---|
C | Function has global variable side effects. : dlg.tag_key.hl | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.tag_key_selected.atr | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.tag_key_selected.bg | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.tag_key_selected.fg | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.tag_key_selected.hl | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.tag_selected.atr | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.tag_selected.bg | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.tag_selected.fg | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.tag_selected.hl | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.title.atr | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.title.bg | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.title.fg | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.title.hl | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.uarrow.atr | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.uarrow.bg | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.uarrow.fg | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : dlg.uarrow.hl | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : saved_x | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : saved_y | MISRA-C:2012 R.13.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 319 | Function call with no prior declaration. : initscr | MISRA-C:2012 R.17.3 |
M | 322 | Function call with no prior declaration. : getyx | MISRA-C:2012 R.17.3 |
M | 324 | Function call with no prior declaration. : getmaxyx | MISRA-C:2012 R.17.3 |
M | 326 | Function call with no prior declaration. : endwin | MISRA-C:2012 R.17.3 |
M | 333 | Function call with no prior declaration. : keypad | MISRA-C:2012 R.17.3 |
M | 334 | Function call with no prior declaration. : cbreak | MISRA-C:2012 R.17.3 |
M | 335 | Function call with no prior declaration. : noecho | MISRA-C:2012 R.17.3 |
M | 317 | Procedure contains UR data flow anomalies. : height | MISRA-C:2012 R.9.1 |
M | 317 | Procedure contains UR data flow anomalies. : width | MISRA-C:2012 R.9.1 |
C | 330 | DU anomaly dead code, variable value is unused on all paths. : dlg.backtitle | MISRA-C:2012 R.2.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
set_dialog_backtitle (341 to 344 util.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : set_dialog_backtitle | MISRA-C:2012 R.8.4 |
Code | Line | Violation | Standard |
---|---|---|---|
C | 343 | DU anomaly dead code, variable value is unused on all paths. : dlg.backtitle | MISRA-C:2012 R.2.2 |
C | 341 | Void function has no side effects. : set_dialog_backtitle | MISRA-C:2012 R.2.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
set_dialog_subtitles (346 to 349 util.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : set_dialog_subtitles | MISRA-C:2012 R.8.4 |
Code | Line | Violation | Standard |
---|---|---|---|
C | 348 | DU anomaly dead code, variable value is unused on all paths. : dlg.subtitles | MISRA-C:2012 R.2.2 |
C | 346 | Void function has no side effects. : set_dialog_subtitles | MISRA-C:2012 R.2.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
end_dialog (354 to 360 util.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : end_dialog | MISRA-C:2012 R.8.4 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 357 | Function call with no prior declaration. : move | MISRA-C:2012 R.17.3 |
M | 358 | Function call with no prior declaration. : refresh | MISRA-C:2012 R.17.3 |
M | 359 | Function call with no prior declaration. : endwin | MISRA-C:2012 R.17.3 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
print_title (365 to 374 util.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : print_title | MISRA-C:2012 R.8.4 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 368 | Function call with no prior declaration. : MIN | MISRA-C:2012 R.17.3 |
M | 369 | Function call with no prior declaration. : wattrset | MISRA-C:2012 R.17.3 |
M | 370 | Function call with no prior declaration. : mvwaddch | MISRA-C:2012 R.17.3 |
M | 371 | Function call with no prior declaration. : mvwaddnstr | MISRA-C:2012 R.17.3 |
M | 372 | Function call with no prior declaration. : waddch | MISRA-C:2012 R.17.3 |
C | 367 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 370 | Expression needs brackets. | MISRA-C:2012 R.12.1,R.20.7 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
print_autowrap (382 to 442 util.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : print_autowrap | MISRA-C:2012 R.8.4 |
C | DD data flow anomalies found. | MISRA-C:2012 R.2.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 393 | Function call with no prior declaration. : wmove | MISRA-C:2012 R.17.3 |
M | 394 | Function call with no prior declaration. : waddstr | MISRA-C:2012 R.17.3 |
M | 421 | Function call with no prior declaration. : wmove | MISRA-C:2012 R.17.3 |
M | 422 | Function call with no prior declaration. : waddstr | MISRA-C:2012 R.17.3 |
M | 423 | Function call with no prior declaration. : getyx | MISRA-C:2012 R.17.3 |
C | 386 | Variable-length array declared. : tempstr[*] | MISRA-C:2012 R.18.8 |
C | 386 | Literal zero used in pointer context. | MISRA-C:2012 R.11.9 |
C | 388 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 390 | Signed/unsigned conversion without cast. : (int and unsigned int): prompt_len = strlen | MISRA-C:2012 R.10.3,R.10.4 |
C | 392 | Expression needs brackets. | MISRA-C:2012 R.12.1,R.20.7 |
C | 400 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 400 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 402 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 403 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 405 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 406 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 406 | Assignment operation in expression. | MISRA-C:2012 R.13.1,R.13.2,R.13.4 |
C | 412 | Signed/unsigned conversion without cast. : (int and unsigned int): wlen = strlen | MISRA-C:2012 R.10.3,R.10.4 |
C | 414 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 414 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 415 | Use of mixed mode arithmetic. : (int and unsigned int): wlen + 1 + strlen | MISRA-C:2012 R.10.1,R.10.2,R.10.3,R.10.4 |
C | 415 | Signed/unsigned conversion without cast. : (int and unsigned int): wlen + 1 + strlen | MISRA-C:2012 R.10.3,R.10.4 |
C | 415 | Expression needs brackets. | MISRA-C:2012 R.12.1,R.20.7 |
C | 415 | Signed/unsigned conversion without cast. : (unsigned int and int): ) > room | MISRA-C:2012 R.10.3,R.10.4 |
C | 416 | Assignment operation in expression. | MISRA-C:2012 R.13.1,R.13.2,R.13.4 |
C | 416 | Assignment operator in boolean expression. | MISRA-C:2012 R.13.1,R.13.4 |
C | 416 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 417 | Pointer arithmetic is not on array. | MISRA-C:2012 R.18.1,R.18.4 |
C | 417 | Expression needs brackets. | MISRA-C:2012 R.12.1,R.20.7 |
C | 426 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 429 | Literal zero used in pointer context. | MISRA-C:2012 R.11.9 |
C | 431 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 433 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 435 | Deprecated usage of ++ or -- operators found. | MISRA-C:2012 R.13.1,R.13.2,R.13.3 |
C | 435 | Assignment operation in expression. | MISRA-C:2012 R.13.1,R.13.2,R.13.4 |
C | 435 | Pointer arithmetic is not on array. | MISRA-C:2012 R.18.1,R.18.4 |
C | 435 | Expression needs brackets. | MISRA-C:2012 R.12.1,R.20.7 |
C | 435 | No brackets to loop body. | MISRA-C:2012 R.15.6 |
C | 438 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
print_button (447 to 471 util.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : print_button | MISRA-C:2012 R.8.4 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 451 | Function call with no prior declaration. : wmove | MISRA-C:2012 R.17.3 |
M | 452 | Function call with no prior declaration. : wattrset | MISRA-C:2012 R.17.3 |
M | 454 | Function call with no prior declaration. : waddstr | MISRA-C:2012 R.17.3 |
M | 457 | Function call with no prior declaration. : wattrset | MISRA-C:2012 R.17.3 |
M | 460 | Function call with no prior declaration. : waddch | MISRA-C:2012 R.17.3 |
M | 461 | Function call with no prior declaration. : wattrset | MISRA-C:2012 R.17.3 |
M | 463 | Function call with no prior declaration. : waddch | MISRA-C:2012 R.17.3 |
M | 464 | Function call with no prior declaration. : wattrset | MISRA-C:2012 R.17.3 |
M | 466 | Function call with no prior declaration. : waddstr | MISRA-C:2012 R.17.3 |
M | 467 | Function call with no prior declaration. : wattrset | MISRA-C:2012 R.17.3 |
M | 469 | Function call with no prior declaration. : waddstr | MISRA-C:2012 R.17.3 |
M | 470 | Function call with no prior declaration. : wmove | MISRA-C:2012 R.17.3 |
C | 463 | Pointer not checked for null before use. : label | MISRA-C:2012 D.4.1 |
C | 452 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 455 | Signed/unsigned conversion without cast. : (int and unsigned int): temp = strspn | MISRA-C:2012 R.10.3,R.10.4 |
C | 456 | const object reassigned. : label | MISRA-C:2012 R.1.3 |
C | 457 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 460 | No brackets to loop body. | MISRA-C:2012 R.15.6 |
C | 461 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 463 | Declaration does not specify an array. | MISRA-C:2012 R.18.1 |
C | 464 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 466 | Cast on a constant value. : label | MISRA-C:2012 R.11.8 |
C | 466 | Pointer arithmetic is not on array. | MISRA-C:2012 R.18.1,R.18.4 |
C | 467 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
draw_box (476 to 505 util.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : draw_box | MISRA-C:2012 R.8.4 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 482 | Function call with no prior declaration. : wattrset | MISRA-C:2012 R.17.3 |
M | 484 | Function call with no prior declaration. : wmove | MISRA-C:2012 R.17.3 |
M | 487 | Function call with no prior declaration. : waddch | MISRA-C:2012 R.17.3 |
M | 489 | Function call with no prior declaration. : waddch | MISRA-C:2012 R.17.3 |
M | 491 | Function call with no prior declaration. : waddch | MISRA-C:2012 R.17.3 |
M | 493 | Function call with no prior declaration. : waddch | MISRA-C:2012 R.17.3 |
M | 495 | Function call with no prior declaration. : waddch | MISRA-C:2012 R.17.3 |
M | 497 | Function call with no prior declaration. : waddch | MISRA-C:2012 R.17.3 |
M | 499 | Function call with no prior declaration. : waddch | MISRA-C:2012 R.17.3 |
M | 501 | Function call with no prior declaration. : waddch | MISRA-C:2012 R.17.3 |
M | 503 | Function call with no prior declaration. : waddch | MISRA-C:2012 R.17.3 |
C | 486 | No brackets to loop body. | MISRA-C:2012 R.15.6 |
C | 486 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 486 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 487 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 488 | Expression needs brackets. | MISRA-C:2012 R.12.1,R.20.7 |
C | 488 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 488 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 489 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 490 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 490 | Expression needs brackets. | MISRA-C:2012 R.12.1,R.20.7 |
C | 491 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 492 | Expression needs brackets. | MISRA-C:2012 R.12.1,R.20.7 |
C | 492 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 492 | Expression needs brackets. | MISRA-C:2012 R.12.1,R.20.7 |
C | 493 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 494 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 495 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 496 | Expression needs brackets. | MISRA-C:2012 R.12.1,R.20.7 |
C | 497 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 498 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 499 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 500 | Expression needs brackets. | MISRA-C:2012 R.12.1,R.20.7 |
C | 501 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 503 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
draw_shadow (511 to 527 util.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : draw_shadow | MISRA-C:2012 R.8.4 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 515 | Function call with no prior declaration. : has_colors | MISRA-C:2012 R.17.3 |
M | 516 | Function call with no prior declaration. : wattrset | MISRA-C:2012 R.17.3 |
M | 517 | Function call with no prior declaration. : wmove | MISRA-C:2012 R.17.3 |
M | 519 | Function call with no prior declaration. : waddch | MISRA-C:2012 R.17.3 |
M | 519 | Function call with no prior declaration. : winch | MISRA-C:2012 R.17.3 |
M | 521 | Function call with no prior declaration. : wmove | MISRA-C:2012 R.17.3 |
M | 522 | Function call with no prior declaration. : waddch | MISRA-C:2012 R.17.3 |
M | 522 | Function call with no prior declaration. : winch | MISRA-C:2012 R.17.3 |
M | 523 | Function call with no prior declaration. : waddch | MISRA-C:2012 R.17.3 |
M | 523 | Function call with no prior declaration. : winch | MISRA-C:2012 R.17.3 |
M | 525 | Function call with no prior declaration. : wnoutrefresh | MISRA-C:2012 R.17.3 |
C | 515 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 519 | No brackets to loop body. | MISRA-C:2012 R.15.6 |
C | 519 | Use of bit operator on signed type. : & used with int | MISRA-C:2012 R.10.1 |
C | 519 | Use of bit operator on signed type. : & used with int: A_CHARTEXT | MISRA-C:2012 R.10.1 |
C | 520 | For loop initialisation is not simple. | MISRA-C:2012 R.14.2 |
C | 520 | Expression needs brackets. | MISRA-C:2012 R.12.1,R.20.7 |
C | 522 | Use of bit operator on signed type. : & used with int | MISRA-C:2012 R.10.1 |
C | 522 | Use of bit operator on signed type. : & used with int: A_CHARTEXT | MISRA-C:2012 R.10.1 |
C | 523 | Use of bit operator on signed type. : & used with int | MISRA-C:2012 R.10.1 |
C | 523 | Use of bit operator on signed type. : & used with int: A_CHARTEXT | MISRA-C:2012 R.10.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
first_alpha (532 to 549 util.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : first_alpha | MISRA-C:2012 R.8.4 |
Code | Line | Violation | Standard |
---|---|---|---|
C | 536 | Signed/unsigned conversion without cast. : (int and unsigned int): i < strlen | MISRA-C:2012 R.10.3,R.10.4 |
C | 537 | Declaration does not specify an array. | MISRA-C:2012 R.18.1 |
C | 539 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 540 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 541 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 542 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 544 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 544 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 544 | Construct leads to infeasible code. | MISRA-C:2012 R.14.3 |
C | 544 | Literal zero used in pointer context. | MISRA-C:2012 R.11.9 |
C | 545 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
on_key_esc (560 to 581 util.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : on_key_esc | MISRA-C:2012 R.8.4 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 566 | Function call with no prior declaration. : nodelay | MISRA-C:2012 R.17.3 |
M | 567 | Function call with no prior declaration. : keypad | MISRA-C:2012 R.17.3 |
M | 568 | Function call with no prior declaration. : wgetch | MISRA-C:2012 R.17.3 |
M | 569 | Function call with no prior declaration. : wgetch | MISRA-C:2012 R.17.3 |
M | 571 | Function call with no prior declaration. : wgetch | MISRA-C:2012 R.17.3 |
M | 573 | Function call with no prior declaration. : nodelay | MISRA-C:2012 R.17.3 |
M | 574 | Function call with no prior declaration. : keypad | MISRA-C:2012 R.17.3 |
M | 578 | Function call with no prior declaration. : ungetch | MISRA-C:2012 R.17.3 |
C | 576 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 578 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 578 | Else alternative missing in if. | MISRA-C:2012 R.15.7 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
on_key_resize (584 to 588 util.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : on_key_resize | MISRA-C:2012 R.8.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
item_reset (594 to 604 util.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : item_reset | MISRA-C:2012 R.8.4 |
Code | Line | Violation | Standard |
---|---|---|---|
C | 598 | Pointer not checked for null before use. : item_head | MISRA-C:2012 D.4.1 |
C | 598 | For loop incrementation is not simple. | MISRA-C:2012 R.14.2 |
C | 600 | Use of banned function or variable. : free | MISRA-C:2012 D.4.12,R.1.3,R.17.1,R.21.3,R.21.6,R.21.7,R.21.8,R.21.9,R.21.10,R.21.12 |
C | 604 | Memory not freed after last reference. : p | MISRA-C:2012 R.22.1 |
C | 600 | Modification of loop counter in loop body. : p | MISRA-C:2012 R.14.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
item_make (606 to 621 util.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : item_make | MISRA-C:2012 R.8.4 |
Code | Line | Violation | Standard |
---|---|---|---|
C | 619 | Pointer not checked for null before use. : item_cur | MISRA-C:2012 D.4.1 |
C | 619 | Pointer not checked for null before use. : p | MISRA-C:2012 D.4.1 |
C | 612 | Pointer not checked for null before use. : p | MISRA-C:2012 D.4.1 |
C | 609 | Use of banned function or variable. : malloc | MISRA-C:2012 D.4.12,R.1.3,R.17.1,R.21.3,R.21.6,R.21.7,R.21.8,R.21.9,R.21.10,R.21.12 |
C | 611 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 612 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 614 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 616 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 618 | Use of banned function or variable. : va_start | MISRA-C:2012 D.4.12,R.1.3,R.17.1,R.21.3,R.21.6,R.21.7,R.21.8,R.21.9,R.21.10,R.21.12 |
C | 619 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 619 | Incorrect number of formats in output function. : 0 formats, 4 outputs | MISRA-C:2012 R.1.3 |
C | 620 | Use of banned function or variable. : va_end | MISRA-C:2012 D.4.12,R.1.3,R.17.1,R.21.3,R.21.6,R.21.7,R.21.8,R.21.9,R.21.10,R.21.12 |
C | 621 | Memory not freed after last reference. : p | MISRA-C:2012 R.22.1 |
C | 619 | DU anomaly dead code, variable value is unused on all paths. : (p)->node.str | MISRA-C:2012 R.2.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
item_add_str (623 to 635 util.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : item_add_str | MISRA-C:2012 R.8.4 |
Code | Line | Violation | Standard |
---|---|---|---|
C | 633 | Pointer not checked for null before use. : item_cur | MISRA-C:2012 D.4.1 |
C | 628 | Value is not of appropriate type. : (int and char): avail = sizeof ( item_cur -> node.str ) - strlen ( item_cur -> node.str | MISRA-C:2012 R.10.1,R.10.3,R.10.4,R.10.5,R.11.1 |
C | 630 | Use of banned function or variable. : va_start | MISRA-C:2012 D.4.12,R.1.3,R.17.1,R.21.3,R.21.6,R.21.7,R.21.8,R.21.9,R.21.10,R.21.12 |
C | 631 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 631 | Use of mixed mode arithmetic. : (int and unsigned int): strlen | MISRA-C:2012 R.10.1,R.10.2,R.10.3,R.10.4 |
C | 631 | Signed/unsigned conversion without cast. : (int and unsigned int): strlen | MISRA-C:2012 R.10.3,R.10.4 |
C | 631 | Value is not of appropriate type. : (int and char): strlen ( item_cur -> node.str | MISRA-C:2012 R.10.1,R.10.3,R.10.4,R.10.5,R.11.1 |
C | 631 | Incorrect number of formats in output function. : 0 formats, 4 outputs | MISRA-C:2012 R.1.3 |
C | 633 | Type conversion without cast. : (int and char): item_cur -> node.str [ sizeof ( item_cur -> node.str ) - 1 ] = '\0' | MISRA-C:2012 R.10.1,R.10.3,R.10.4 |
C | 634 | Use of banned function or variable. : va_end | MISRA-C:2012 D.4.12,R.1.3,R.17.1,R.21.3,R.21.6,R.21.7,R.21.8,R.21.9,R.21.10,R.21.12 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
item_set_tag (637 to 640 util.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : item_set_tag | MISRA-C:2012 R.8.4 |
Code | Line | Violation | Standard |
---|---|---|---|
C | 639 | Pointer not checked for null before use. : item_cur |
MISRA-C:2012 D.4.1 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
item_set_data (641 to 644 util.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : item_set_data | MISRA-C:2012 R.8.4 |
Code | Line | Violation | Standard |
---|---|---|---|
C | 643 | Pointer not checked for null before use. : item_cur |
MISRA-C:2012 D.4.1 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
item_set_selected (646 to 649 util.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : item_set_selected | MISRA-C:2012 R.8.4 |
Code | Line | Violation | Standard |
---|---|---|---|
C | 648 | Pointer not checked for null before use. : item_cur |
MISRA-C:2012 D.4.1 | ||||||||
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
item_activate_selected (651 to 657 util.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : item_activate_selected | MISRA-C:2012 R.8.4 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 653 | Function call with no prior declaration. : item_foreach | MISRA-C:2012 R.17.3 |
M | 654 | Function call with no prior declaration. : item_is_selected | MISRA-C:2012 R.17.3 |
C | 654 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 655 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
item_data (659 to 662 util.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : item_data | MISRA-C:2012 R.8.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
item_tag (664 to 667 util.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : item_tag | MISRA-C:2012 R.8.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
item_count (669 to 677 util.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : item_count | MISRA-C:2012 R.8.4 |
Code | Line | Violation | Standard |
---|---|---|---|
C | 674 | Pointer not checked for null before use. : item_head | MISRA-C:2012 D.4.1 |
C | 675 | No brackets to loop body. | MISRA-C:2012 R.15.6 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
item_set (679 to 685 util.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : item_set | MISRA-C:2012 R.8.4 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 682 | Function call with no prior declaration. : item_foreach | MISRA-C:2012 R.17.3 |
C | 683 | Deprecated usage of ++ or -- operators found. | MISRA-C:2012 R.13.1,R.13.2,R.13.3 |
C | 683 | Assignment operation in expression. | MISRA-C:2012 R.13.1,R.13.2,R.13.4 |
C | 683 | Expression needs brackets. | MISRA-C:2012 R.12.1,R.20.7 |
C | 684 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 683 | DU anomaly dead code, variable value is unused on all paths. : i | MISRA-C:2012 R.2.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
item_n (687 to 698 util.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : item_n | MISRA-C:2012 R.8.4 |
Code | Line | Violation | Standard |
---|---|---|---|
C | 692 | Pointer not checked for null before use. : item_head | MISRA-C:2012 D.4.1 |
C | 694 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
item_str (700 to 703 util.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : item_str | MISRA-C:2012 R.8.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
item_is_selected (705 to 708 util.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : item_is_selected | MISRA-C:2012 R.8.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
item_is_tag (710 to 713 util.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : item_is_tag | MISRA-C:2012 R.8.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
yy_symbol_value_print (903 to 915 yconf.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
C | 907 | Casting operation on a pointer. | MISRA-C:2012 R.11.1,R.11.2,R.11.3,R.11.7 |
C | 907 | Statement with no side effect. | MISRA-C:2012 R.2.2 |
C | 908 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 909 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 914 | Value is not of appropriate type. : (void and int): ( void ) ( yytype | MISRA-C:2012 R.10.1,R.10.3,R.10.4,R.10.5,R.11.1 |
C | 914 | Statement with no side effect. | MISRA-C:2012 R.2.2 |
C | 903 | Void function has no side effects. : yy_symbol_value_print | MISRA-C:2012 R.2.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
yy_symbol_print (922 to 930 yconf.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
C | 925 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 929 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
yy_stack_print (937 to 947 yconf.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
C | 940 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 941 | Pointer arithmetic is not on array. | MISRA-C:2012 R.18.1,R.18.4 |
C | 944 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 946 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
yy_reduce_print (960 to 978 yconf.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
C | 964 | Signed/unsigned conversion without cast. : (int and unsigned char): yyr2 | MISRA-C:2012 R.10.3,R.10.4 |
C | 967 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 971 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 972 | Declaration does not specify an array. | MISRA-C:2012 R.18.1 |
C | 972 | Expression needs brackets. | MISRA-C:2012 R.12.1,R.20.7 |
C | 974 | Signed/unsigned conversion without cast. : (unsigned int and int): ( yyi + 1 ) - ( | MISRA-C:2012 R.10.3,R.10.4 |
C | 974 | Signed/unsigned conversion without cast. : (unsigned int and int): ( yyi + 1 ) - ( yynrhs | MISRA-C:2012 R.10.3,R.10.4 |
C | 974 | Use of mixed mode arithmetic. : (unsigned int and int): ( yyi + 1 ) - ( yynrhs | MISRA-C:2012 R.10.1,R.10.2,R.10.3,R.10.4 |
C | 976 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
yydestruct (1240 to 1289 yconf.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 1257 | Function call with no prior declaration. : menu_end_menu | MISRA-C:2012 R.17.3 |
M | 1268 | Function call with no prior declaration. : menu_end_menu | MISRA-C:2012 R.17.3 |
M | 1279 | Function call with no prior declaration. : menu_end_menu | MISRA-C:2012 R.17.3 |
C | 1243 | Casting operation on a pointer. | MISRA-C:2012 R.11.1,R.11.2,R.11.3,R.11.7 |
C | 1243 | Statement with no side effect. | MISRA-C:2012 R.2.2 |
C | 1244 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1245 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1245 | const object reassigned. : yymsg | MISRA-C:2012 R.1.3 |
C | 1246 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1246 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 1246 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 1254 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 1255 | Format is not appropriate type. : format = %s, param 3 | MISRA-C:2012 R.1.3 |
C | 1257 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1265 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 1266 | Format is not appropriate type. : format = %s, param 3 | MISRA-C:2012 R.1.3 |
C | 1268 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1276 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 1277 | Format is not appropriate type. : format = %s, param 3 | MISRA-C:2012 R.1.3 |
C | 1279 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1285 | Switch empty default has no comment. | MISRA-C:2012 R.16.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
zconfparse (1307 to 2255 yconf.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | DD data flow anomalies found. | MISRA-C:2012 R.2.2 |
C | Function has global variable side effects. : (current_buf)->state | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : (current_entry)->(prompt)->type | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : (current_entry)->(sym)->flags | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : (current_entry)->dep | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : (current_entry)->file | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : (current_entry)->help | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : (current_entry)->prompt | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : (current_entry)->visibility | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : (current_menu)->file.name | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : (modules_sym)->curr.tri | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : current_buf | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : current_entry | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : current_menu | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : current_pos.file | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : current_pos.lineno | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : file.name | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : first_ts | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : last_entry_ptr | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : last_ts | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : modules_sym | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : sym_defconfig_list | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : symbol_hash | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : text | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : text_asize | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : text_size | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : yy_buffer_stack | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : yy_buffer_stack_max | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : yy_buffer_stack_top | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : yy_c_buf_p | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : yy_did_buffer_switch_on_eof | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : yy_hold_char | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : yy_init | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : yy_n_chars | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : yy_start | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : zconfchar | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : zconfin | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : zconfleng | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : zconflval.file | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : zconflval.id | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : zconflval.string | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : zconfnerrs | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : zconfout | MISRA-C:2012 R.13.2 |
C | Function has global variable side effects. : zconftext | MISRA-C:2012 R.13.2 |
Code | Line | Violation | Standard |
---|---|---|---|
C | 1557 | Casting operation to a pointer. | MISRA-C:2012 R.11.1,R.11.2,R.11.3,R.11.5,R.11.7 |
M | 1583 | Function call with no prior declaration. : sym_lookup | MISRA-C:2012 R.17.3 |
M | 1585 | Function call with no prior declaration. : menu_add_entry | MISRA-C:2012 R.17.3 |
M | 1586 | Function call with no prior declaration. : zconf_curname | MISRA-C:2012 R.17.3 |
M | 1586 | Function call with no prior declaration. : zconf_lineno | MISRA-C:2012 R.17.3 |
M | 1594 | Function call with no prior declaration. : menu_end_entry | MISRA-C:2012 R.17.3 |
M | 1595 | Function call with no prior declaration. : zconf_curname | MISRA-C:2012 R.17.3 |
M | 1595 | Function call with no prior declaration. : zconf_lineno | MISRA-C:2012 R.17.3 |
M | 1603 | Function call with no prior declaration. : sym_lookup | MISRA-C:2012 R.17.3 |
M | 1605 | Function call with no prior declaration. : menu_add_entry | MISRA-C:2012 R.17.3 |
M | 1606 | Function call with no prior declaration. : zconf_curname | MISRA-C:2012 R.17.3 |
M | 1606 | Function call with no prior declaration. : zconf_lineno | MISRA-C:2012 R.17.3 |
M | 1618 | Function call with no prior declaration. : menu_end_entry | MISRA-C:2012 R.17.3 |
M | 1619 | Function call with no prior declaration. : zconf_curname | MISRA-C:2012 R.17.3 |
M | 1619 | Function call with no prior declaration. : zconf_lineno | MISRA-C:2012 R.17.3 |
M | 1627 | Function call with no prior declaration. : menu_set_type | MISRA-C:2012 R.17.3 |
M | 1628 | Function call with no prior declaration. : zconf_curname | MISRA-C:2012 R.17.3 |
M | 1628 | Function call with no prior declaration. : zconf_lineno | MISRA-C:2012 R.17.3 |
M | 1638 | Function call with no prior declaration. : menu_add_prompt | MISRA-C:2012 R.17.3 |
M | 1639 | Function call with no prior declaration. : zconf_curname | MISRA-C:2012 R.17.3 |
M | 1639 | Function call with no prior declaration. : zconf_lineno | MISRA-C:2012 R.17.3 |
M | 1647 | Function call with no prior declaration. : menu_add_expr | MISRA-C:2012 R.17.3 |
M | 1649 | Function call with no prior declaration. : menu_set_type | MISRA-C:2012 R.17.3 |
M | 1650 | Function call with no prior declaration. : zconf_curname | MISRA-C:2012 R.17.3 |
M | 1650 | Function call with no prior declaration. : zconf_lineno | MISRA-C:2012 R.17.3 |
M | 1660 | Function call with no prior declaration. : menu_add_symbol | MISRA-C:2012 R.17.3 |
M | 1660 | Function call with no prior declaration. : sym_lookup | MISRA-C:2012 R.17.3 |
M | 1661 | Function call with no prior declaration. : zconf_curname | MISRA-C:2012 R.17.3 |
M | 1661 | Function call with no prior declaration. : zconf_lineno | MISRA-C:2012 R.17.3 |
M | 1669 | Function call with no prior declaration. : menu_add_symbol | MISRA-C:2012 R.17.3 |
M | 1669 | Function call with no prior declaration. : sym_lookup | MISRA-C:2012 R.17.3 |
M | 1670 | Function call with no prior declaration. : zconf_curname | MISRA-C:2012 R.17.3 |
M | 1670 | Function call with no prior declaration. : zconf_lineno | MISRA-C:2012 R.17.3 |
M | 1678 | Function call with no prior declaration. : menu_add_expr | MISRA-C:2012 R.17.3 |
M | 1678 | Function call with no prior declaration. : expr_alloc_comp | MISRA-C:2012 R.17.3 |
M | 1679 | Function call with no prior declaration. : zconf_curname | MISRA-C:2012 R.17.3 |
M | 1679 | Function call with no prior declaration. : zconf_lineno | MISRA-C:2012 R.17.3 |
M | 1689 | Function call with no prior declaration. : menu_add_option | MISRA-C:2012 R.17.3 |
M | 1712 | Function call with no prior declaration. : sym_lookup | MISRA-C:2012 R.17.3 |
M | 1714 | Function call with no prior declaration. : menu_add_entry | MISRA-C:2012 R.17.3 |
M | 1715 | Function call with no prior declaration. : menu_add_expr | MISRA-C:2012 R.17.3 |
M | 1716 | Function call with no prior declaration. : zconf_curname | MISRA-C:2012 R.17.3 |
M | 1716 | Function call with no prior declaration. : zconf_lineno | MISRA-C:2012 R.17.3 |
M | 1724 | Function call with no prior declaration. : menu_add_menu | MISRA-C:2012 R.17.3 |
M | 1733 | Function call with no prior declaration. : menu_end_menu | MISRA-C:2012 R.17.3 |
M | 1734 | Function call with no prior declaration. : zconf_curname | MISRA-C:2012 R.17.3 |
M | 1734 | Function call with no prior declaration. : zconf_lineno | MISRA-C:2012 R.17.3 |
M | 1743 | Function call with no prior declaration. : menu_add_prompt | MISRA-C:2012 R.17.3 |
M | 1744 | Function call with no prior declaration. : zconf_curname | MISRA-C:2012 R.17.3 |
M | 1744 | Function call with no prior declaration. : zconf_lineno | MISRA-C:2012 R.17.3 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 1753 | Function call with no prior declaration. : menu_set_type | MISRA-C:2012 R.17.3 |
M | 1754 | Function call with no prior declaration. : zconf_curname | MISRA-C:2012 R.17.3 |
M | 1754 | Function call with no prior declaration. : zconf_lineno | MISRA-C:2012 R.17.3 |
M | 1767 | Function call with no prior declaration. : zconf_curname | MISRA-C:2012 R.17.3 |
M | 1767 | Function call with no prior declaration. : zconf_lineno | MISRA-C:2012 R.17.3 |
M | 1776 | Function call with no prior declaration. : menu_add_symbol | MISRA-C:2012 R.17.3 |
M | 1776 | Function call with no prior declaration. : sym_lookup | MISRA-C:2012 R.17.3 |
M | 1777 | Function call with no prior declaration. : zconf_curname | MISRA-C:2012 R.17.3 |
M | 1777 | Function call with no prior declaration. : zconf_lineno | MISRA-C:2012 R.17.3 |
M | 1788 | Function call with no prior declaration. : zconf_curname | MISRA-C:2012 R.17.3 |
M | 1788 | Function call with no prior declaration. : zconf_lineno | MISRA-C:2012 R.17.3 |
M | 1789 | Function call with no prior declaration. : menu_add_entry | MISRA-C:2012 R.17.3 |
M | 1790 | Function call with no prior declaration. : menu_add_dep | MISRA-C:2012 R.17.3 |
M | 1791 | Function call with no prior declaration. : menu_add_menu | MISRA-C:2012 R.17.3 |
M | 1800 | Function call with no prior declaration. : menu_end_menu | MISRA-C:2012 R.17.3 |
M | 1801 | Function call with no prior declaration. : zconf_curname | MISRA-C:2012 R.17.3 |
M | 1801 | Function call with no prior declaration. : zconf_lineno | MISRA-C:2012 R.17.3 |
M | 1810 | Function call with no prior declaration. : menu_add_prompt | MISRA-C:2012 R.17.3 |
M | 1818 | Function call with no prior declaration. : menu_add_entry | MISRA-C:2012 R.17.3 |
M | 1819 | Function call with no prior declaration. : menu_add_prompt | MISRA-C:2012 R.17.3 |
M | 1820 | Function call with no prior declaration. : zconf_curname | MISRA-C:2012 R.17.3 |
M | 1820 | Function call with no prior declaration. : zconf_lineno | MISRA-C:2012 R.17.3 |
M | 1828 | Function call with no prior declaration. : menu_add_menu | MISRA-C:2012 R.17.3 |
M | 1837 | Function call with no prior declaration. : menu_end_menu | MISRA-C:2012 R.17.3 |
M | 1838 | Function call with no prior declaration. : zconf_curname | MISRA-C:2012 R.17.3 |
M | 1838 | Function call with no prior declaration. : zconf_lineno | MISRA-C:2012 R.17.3 |
M | 1847 | Function call with no prior declaration. : zconf_curname | MISRA-C:2012 R.17.3 |
M | 1847 | Function call with no prior declaration. : zconf_lineno | MISRA-C:2012 R.17.3 |
M | 1848 | Function call with no prior declaration. : zconf_nextfile | MISRA-C:2012 R.17.3 |
M | 1856 | Function call with no prior declaration. : menu_add_entry | MISRA-C:2012 R.17.3 |
M | 1857 | Function call with no prior declaration. : menu_add_prompt | MISRA-C:2012 R.17.3 |
M | 1858 | Function call with no prior declaration. : zconf_curname | MISRA-C:2012 R.17.3 |
M | 1858 | Function call with no prior declaration. : zconf_lineno | MISRA-C:2012 R.17.3 |
M | 1866 | Function call with no prior declaration. : menu_end_entry | MISRA-C:2012 R.17.3 |
M | 1874 | Function call with no prior declaration. : zconf_curname | MISRA-C:2012 R.17.3 |
M | 1874 | Function call with no prior declaration. : zconf_lineno | MISRA-C:2012 R.17.3 |
M | 1875 | Function call with no prior declaration. : zconf_starthelp | MISRA-C:2012 R.17.3 |
M | 1891 | Function call with no prior declaration. : menu_add_dep | MISRA-C:2012 R.17.3 |
M | 1892 | Function call with no prior declaration. : zconf_curname | MISRA-C:2012 R.17.3 |
M | 1892 | Function call with no prior declaration. : zconf_lineno | MISRA-C:2012 R.17.3 |
M | 1900 | Function call with no prior declaration. : menu_add_visibility | MISRA-C:2012 R.17.3 |
M | 1908 | Function call with no prior declaration. : menu_add_prompt | MISRA-C:2012 R.17.3 |
M | 1945 | Function call with no prior declaration. : expr_alloc_symbol | MISRA-C:2012 R.17.3 |
M | 1951 | Function call with no prior declaration. : expr_alloc_comp | MISRA-C:2012 R.17.3 |
M | 1957 | Function call with no prior declaration. : expr_alloc_comp | MISRA-C:2012 R.17.3 |
M | 1963 | Function call with no prior declaration. : expr_alloc_comp | MISRA-C:2012 R.17.3 |
M | 1969 | Function call with no prior declaration. : expr_alloc_comp | MISRA-C:2012 R.17.3 |
M | 1975 | Function call with no prior declaration. : expr_alloc_comp | MISRA-C:2012 R.17.3 |
M | 1981 | Function call with no prior declaration. : expr_alloc_comp | MISRA-C:2012 R.17.3 |
M | 1993 | Function call with no prior declaration. : expr_alloc_one | MISRA-C:2012 R.17.3 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 1999 | Function call with no prior declaration. : expr_alloc_two | MISRA-C:2012 R.17.3 |
M | 2005 | Function call with no prior declaration. : expr_alloc_two | MISRA-C:2012 R.17.3 |
M | 2011 | Function call with no prior declaration. : sym_lookup | MISRA-C:2012 R.17.3 |
M | 2017 | Function call with no prior declaration. : sym_lookup | MISRA-C:2012 R.17.3 |
C | 1375 | Pointer not checked for null before use. : yyssp | MISRA-C:2012 D.4.1 |
C | 2056 | Pointer not checked for null before use. : yyssp | MISRA-C:2012 D.4.1 |
C | 2155 | Pointer not checked for null before use. : yyssp | MISRA-C:2012 D.4.1 |
C | 2048 | Pointer not checked for null before use. : yyvsp | MISRA-C:2012 D.4.1 |
C | 2197 | Pointer not checked for null before use. : yyvsp | MISRA-C:2012 D.4.1 |
C | 2242 | Pointer not checked for null before use. : yyvsp | MISRA-C:2012 D.4.1 |
C | 2184 | Pointer not checked for null before use. : yyvsp | MISRA-C:2012 D.4.1 |
C | 2238 | Pointer not checked for null before use. : yyvsp | MISRA-C:2012 D.4.1 |
C | 1536 | Pointer not checked for null before use. : yyvsp | MISRA-C:2012 D.4.1 |
C | 2048 | Pointer not checked for null before use. : yyval.id | MISRA-C:2012 D.4.1 |
C | 2048 | Pointer not checked for null before use. : yyval.menu | MISRA-C:2012 D.4.1 |
C | 2048 | Pointer not checked for null before use. : yyval.expr | MISRA-C:2012 D.4.1 |
C | 2048 | Pointer not checked for null before use. : yyval.symbol | MISRA-C:2012 D.4.1 |
C | 2048 | Pointer not checked for null before use. : yyval.file | MISRA-C:2012 D.4.1 |
C | 2048 | Pointer not checked for null before use. : yyval.string | MISRA-C:2012 D.4.1 |
C | 2044 | Pointer not checked for null before use. : yyvsp.string | MISRA-C:2012 D.4.1 |
C | 1420 | Pointer not checked for null before use. : yyptr | MISRA-C:2012 D.4.1 |
C | 1464 | Pointer not checked for null before use. : zconfin | MISRA-C:2012 D.4.1 |
C | 1836 | Pointer not checked for null before use. : current_pos.file | MISRA-C:2012 D.4.1 |
C | 2222 | Pointer not checked for null before use. : current_pos.file | MISRA-C:2012 D.4.1 |
C | 1505 | Pointer not checked for null before use. : zconflval.id | MISRA-C:2012 D.4.1 |
C | 1464 | Pointer not checked for null before use. : text | MISRA-C:2012 D.4.1 |
C | 1505 | Pointer not checked for null before use. : zconflval.file | MISRA-C:2012 D.4.1 |
C | 1505 | Pointer not checked for null before use. : zconflval.string | MISRA-C:2012 D.4.1 |
C | 1848 | Pointer not checked for null before use. : current_buf | MISRA-C:2012 D.4.1 |
C | 1464 | Pointer not checked for null before use. : current_buf | MISRA-C:2012 D.4.1 |
C | 2017 | Pointer not checked for null before use. : symbol_hash | MISRA-C:2012 D.4.1 |
C | 1584 | Pointer not checked for null before use. : sym | MISRA-C:2012 D.4.1 |
C | 1604 | Pointer not checked for null before use. : sym | MISRA-C:2012 D.4.1 |
C | 1713 | Pointer not checked for null before use. : sym | MISRA-C:2012 D.4.1 |
C | 1715 | Pointer not checked for null before use. : current_entry | MISRA-C:2012 D.4.1 |
C | 1715 | Pointer not checked for null before use. : NULL | MISRA-C:2012 D.4.1 |
C | 1789 | Pointer not checked for null before use. : NULL | MISRA-C:2012 D.4.1 |
C | 1790 | Pointer not checked for null before use. : current_entry | MISRA-C:2012 D.4.1 |
C | 1810 | Pointer not checked for null before use. : NULL | MISRA-C:2012 D.4.1 |
C | 1818 | Pointer not checked for null before use. : NULL | MISRA-C:2012 D.4.1 |
C | 1819 | Pointer not checked for null before use. : current_entry | MISRA-C:2012 D.4.1 |
C | 1819 | Pointer not checked for null before use. : NULL | MISRA-C:2012 D.4.1 |
C | 1856 | Pointer not checked for null before use. : NULL | MISRA-C:2012 D.4.1 |
C | 1857 | Pointer not checked for null before use. : current_entry | MISRA-C:2012 D.4.1 |
C | 1857 | Pointer not checked for null before use. : NULL | MISRA-C:2012 D.4.1 |
C | 2187 | Pointer not checked for null before use. : yyssp | MISRA-C:2012 D.4.1 |
C | 1856 | Pointer not checked for null before use. : last_entry_ptr | MISRA-C:2012 D.4.1 |
C | 1908 | Pointer not checked for null before use. : current_entry | MISRA-C:2012 D.4.1 |
C | 1908 | Pointer not checked for null before use. : modules_sym | MISRA-C:2012 D.4.1 |
C | 2121 | Potentially infinite loop found. | MISRA-C:2012 R.2.1 |
C | 1354 | Assignment operation in expression. | MISRA-C:2012 R.13.1,R.13.2,R.13.4 |
C | 1355 | Assignment operation in expression. | MISRA-C:2012 R.13.1,R.13.2,R.13.4 |
C | 1356 | Literal value requires a U suffix. : 200 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | 1356 | Signed/unsigned conversion without cast. : (unsigned int and int): yystacksize | MISRA-C:2012 R.10.3,R.10.4 |
C | 1358 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1358 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1358 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 1375 | Implicit conversion of underlying type. : (short and int): yyssp = yystate | MISRA-C:2012 R.10.3,R.10.4 |
C | 1375 | Narrower int conversion without cast. : (short and int): yyssp = yystate | MISRA-C:2012 R.10.3 |
C | 1377 | Pointer arithmetic is not on array. | MISRA-C:2012 R.18.1,R.18.4 |
C | 1377 | Expression needs brackets. | MISRA-C:2012 R.12.1,R.20.7 |
C | 1377 | < > <= >= used on different object pointers. | MISRA-C:2012 R.18.3 |
C | 1380 | Pointer arithmetic is not on array. | MISRA-C:2012 R.18.1,R.18.4 |
C | 1380 | Pointer subtraction not addressing one array. | MISRA-C:2012 R.18.2 |
C | 1380 | Expression needs brackets. | MISRA-C:2012 R.12.1,R.20.7 |
C | 1407 | Signed/unsigned conversion without cast. : (int and unsigned int): 10000 | MISRA-C:2012 R.10.3,R.10.4 |
C | 1407 | Literal value requires a U suffix. : 10000 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | 1408 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1409 | Signed/unsigned conversion without cast. : (unsigned int and int): yystacksize | MISRA-C:2012 R.10.3,R.10.4 |
C | 1410 | Signed/unsigned conversion without cast. : (int and unsigned int): 10000 | MISRA-C:2012 R.10.3,R.10.4 |
C | 1410 | Literal value requires a U suffix. : 10000 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | 1411 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1411 | Literal value requires a U suffix. : 10000 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | 1411 | Signed/unsigned conversion without cast. : (unsigned int and int): yystacksize | MISRA-C:2012 R.10.3,R.10.4 |
C | 1416 | Use of banned function or variable. : malloc | MISRA-C:2012 D.4.12,R.1.3,R.17.1,R.21.3,R.21.6,R.21.7,R.21.8,R.21.9,R.21.10,R.21.12 |
C | 1416 | Expression needs brackets. | MISRA-C:2012 R.12.1,R.20.7 |
C | 1417 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1418 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1419 | Literal value requires a U suffix. : 0 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | 1419 | Signed/unsigned conversion without cast. : (unsigned int and int): yyi | MISRA-C:2012 R.10.3,R.10.4 |
C | 1419 | No brackets to loop body. | MISRA-C:2012 R.15.6 |
C | 1419 | Expression needs brackets. | MISRA-C:2012 R.12.1,R.20.7 |
C | 1420 | Literal value requires a U suffix. : 0 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | 1420 | Signed/unsigned conversion without cast. : (unsigned int and int): yyi | MISRA-C:2012 R.10.3,R.10.4 |
C | 1420 | No brackets to loop body. | MISRA-C:2012 R.15.6 |
C | 1420 | Expression needs brackets. | MISRA-C:2012 R.12.1,R.20.7 |
C | 1422 | Use of banned function or variable. : free | MISRA-C:2012 D.4.12,R.1.3,R.17.1,R.21.3,R.21.6,R.21.7,R.21.8,R.21.9,R.21.10,R.21.12 |
C | 1423 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 1428 | Attempt to use already freed object. : yyss | MISRA-C:2012 R.22.2 |
C | 1428 | Pointer arithmetic is not on array. | MISRA-C:2012 R.18.1,R.18.4 |
C | 1428 | Expression needs brackets. | MISRA-C:2012 R.12.1,R.20.7 |
C | 1429 | Pointer arithmetic is not on array. | MISRA-C:2012 R.18.1,R.18.4 |
C | 1429 | Expression needs brackets. | MISRA-C:2012 R.12.1,R.20.7 |
C | 1431 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1431 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1431 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
M | 1434 | Attempt to use already freed object. : yyss | MISRA-C:2012 R.22.2 |
C | 1434 | Pointer arithmetic is not on array. | MISRA-C:2012 R.18.1,R.18.4 |
C | 1434 | Expression needs brackets. | MISRA-C:2012 R.12.1,R.20.7 |
C | 1434 | < > <= >= used on different object pointers. | MISRA-C:2012 R.18.3 |
C | 1435 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1438 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1438 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1438 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 1441 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1456 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1463 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1463 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1463 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 1469 | Assignment operation in expression. | MISRA-C:2012 R.13.1,R.13.2,R.13.4 |
C | 1470 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1470 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1470 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 1474 | Type mismatch in ternary expression. : (int and unsigned char) | MISRA-C:2012 R.10.4 |
C | 1475 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1475 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 1475 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 1482 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1486 | Construct leads to infeasible code. | MISRA-C:2012 R.14.3 |
C | 1487 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1494 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1495 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1498 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1498 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 1498 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 1505 | Assignment operation in expression. | MISRA-C:2012 R.13.1,R.13.2,R.13.4 |
C | 1508 | goto label is backwards. | MISRA-C:2012 R.15.2 |
C | 1515 | Signed/unsigned conversion without cast. : (int and unsigned char): yyn = yydefact | MISRA-C:2012 R.10.3,R.10.4 |
C | 1517 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1526 | Signed/unsigned conversion without cast. : (int and unsigned char): yylen = yyr2 | MISRA-C:2012 R.10.3,R.10.4 |
C | 1536 | Implicit conversion of underlying type. : (signed char and int): yyval = yyvsp [ 1 - yylen | MISRA-C:2012 R.10.3,R.10.4 |
C | 1536 | Use of mixed mode arithmetic. : (signed char and int): yyval = yyvsp [ 1 - yylen | MISRA-C:2012 R.10.1,R.10.2,R.10.3,R.10.4 |
C | 1539 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1539 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1550 | Array bound exceeded. : yyvsp[*]; accessed=-2 | MISRA-C:2012 R.18.1 |
C | 1557 | Casting operation on a pointer. | MISRA-C:2012 R.11.1,R.11.2,R.11.3,R.11.7 |
C | 1557 | Cast to an unrelated type. | MISRA-C:2012 R.11.2,R.11.3 |
C | 1557 | Array bound exceeded. : yyvsp[*]; accessed=-2 | MISRA-C:2012 R.18.1 |
Code | Line | Violation | Standard |
---|---|---|---|
C | 1570 | Array bound exceeded. : yyvsp[*]; accessed=-2 | MISRA-C:2012 R.18.1 |
C | 1583 | Array bound exceeded. : yyvsp[*]; accessed=-1 | MISRA-C:2012 R.18.1 |
C | 1584 | Use of bit operator on signed type. : |= used with int: flags | MISRA-C:2012 R.10.1 |
C | 1584 | Use of bit operator on signed type. : |= used with int: SYMBOL_OPTIONAL | MISRA-C:2012 R.10.1 |
C | 1586 | Use of bit operator on signed type. : & used with int: cdebug | MISRA-C:2012 R.10.1 |
C | 1586 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1586 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1586 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 1586 | Array bound exceeded. : yyvsp[*]; accessed=-1 | MISRA-C:2012 R.18.1 |
C | 1595 | Use of bit operator on signed type. : & used with int: cdebug | MISRA-C:2012 R.10.1 |
C | 1595 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1595 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1595 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 1603 | Array bound exceeded. : yyvsp[*]; accessed=-1 | MISRA-C:2012 R.18.1 |
C | 1604 | Use of bit operator on signed type. : |= used with int: flags | MISRA-C:2012 R.10.1 |
C | 1604 | Use of bit operator on signed type. : |= used with int: SYMBOL_OPTIONAL | MISRA-C:2012 R.10.1 |
C | 1606 | Use of bit operator on signed type. : & used with int: cdebug | MISRA-C:2012 R.10.1 |
C | 1606 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1606 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1606 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 1606 | Array bound exceeded. : yyvsp[*]; accessed=-1 | MISRA-C:2012 R.18.1 |
C | 1614 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1615 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1617 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1619 | Use of bit operator on signed type. : & used with int: cdebug | MISRA-C:2012 R.10.1 |
C | 1619 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1619 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1619 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 1627 | Array bound exceeded. : yyvsp[*]; accessed=-2 | MISRA-C:2012 R.18.1 |
C | 1628 | Use of bit operator on signed type. : & used with int: cdebug | MISRA-C:2012 R.10.1 |
C | 1628 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1628 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1628 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 1628 | Array bound exceeded. : yyvsp[*]; accessed=-2 | MISRA-C:2012 R.18.1 |
C | 1638 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 1638 | Array bound exceeded. : yyvsp[*]; accessed=-2 | MISRA-C:2012 R.18.1 |
C | 1638 | Array bound exceeded. : yyvsp[*]; accessed=-1 | MISRA-C:2012 R.18.1 |
C | 1639 | Use of bit operator on signed type. : & used with int: cdebug | MISRA-C:2012 R.10.1 |
C | 1639 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1639 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1639 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 1647 | Array bound exceeded. : yyvsp[*]; accessed=-2 | MISRA-C:2012 R.18.1 |
C | 1647 | Array bound exceeded. : yyvsp[*]; accessed=-1 | MISRA-C:2012 R.18.1 |
C | 1648 | Array bound exceeded. : yyvsp[*]; accessed=-3 | MISRA-C:2012 R.18.1 |
C | 1649 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1649 | Array bound exceeded. : yyvsp[*]; accessed=-3 | MISRA-C:2012 R.18.1 |
C | 1650 | Use of bit operator on signed type. : & used with int: cdebug | MISRA-C:2012 R.10.1 |
C | 1650 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1650 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1650 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
Code | Line | Violation | Standard |
---|---|---|---|
C | 1650 | Array bound exceeded. : yyvsp[*]; accessed=-3 | MISRA-C:2012 R.18.1 |
C | 1660 | Array bound exceeded. : yyvsp[*]; accessed=-2 | MISRA-C:2012 R.18.1 |
C | 1660 | Array bound exceeded. : yyvsp[*]; accessed=-1 | MISRA-C:2012 R.18.1 |
C | 1661 | Use of bit operator on signed type. : & used with int: cdebug | MISRA-C:2012 R.10.1 |
C | 1661 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1661 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1661 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 1669 | Array bound exceeded. : yyvsp[*]; accessed=-2 | MISRA-C:2012 R.18.1 |
C | 1669 | Array bound exceeded. : yyvsp[*]; accessed=-1 | MISRA-C:2012 R.18.1 |
C | 1670 | Use of bit operator on signed type. : & used with int: cdebug | MISRA-C:2012 R.10.1 |
C | 1670 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1670 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1670 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 1678 | Array bound exceeded. : yyvsp[*]; accessed=-3 | MISRA-C:2012 R.18.1 |
C | 1678 | Array bound exceeded. : yyvsp[*]; accessed=-2 | MISRA-C:2012 R.18.1 |
C | 1678 | Array bound exceeded. : yyvsp[*]; accessed=-1 | MISRA-C:2012 R.18.1 |
C | 1679 | Use of bit operator on signed type. : & used with int: cdebug | MISRA-C:2012 R.10.1 |
C | 1679 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1679 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1679 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 1687 | Array bound exceeded. : yyvsp[*]; accessed=-1 | MISRA-C:2012 R.18.1 |
C | 1687 | Array bound exceeded. : yyvsp[*]; accessed=-1 | MISRA-C:2012 R.18.1 |
C | 1688 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1688 | Use of bit operator on signed type. : & used with int: flags | MISRA-C:2012 R.10.1 |
C | 1688 | Use of bit operator on signed type. : & used with int: TF_OPTION | MISRA-C:2012 R.10.1 |
C | 1688 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1689 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1691 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1691 | Array bound exceeded. : yyvsp[*]; accessed=-1 | MISRA-C:2012 R.18.1 |
C | 1691 | Use of banned function or variable. : free | MISRA-C:2012 D.4.12,R.1.3,R.17.1,R.21.3,R.21.6,R.21.7,R.21.8,R.21.9,R.21.10,R.21.12 |
C | 1692 | Array bound exceeded. : yyvsp[*]; accessed=-1 | MISRA-C:2012 R.18.1 |
C | 1712 | Array bound exceeded. : yyvsp[*]; accessed=-1 | MISRA-C:2012 R.18.1 |
C | 1713 | Use of bit operator on signed type. : |= used with int: flags | MISRA-C:2012 R.10.1 |
C | 1713 | Use of bit operator on signed type. : |= used with int: SYMBOL_AUTO | MISRA-C:2012 R.10.1 |
C | 1716 | Use of bit operator on signed type. : & used with int: cdebug | MISRA-C:2012 R.10.1 |
C | 1716 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1716 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1716 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 1734 | Use of bit operator on signed type. : & used with int: cdebug | MISRA-C:2012 R.10.1 |
C | 1734 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1734 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1734 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 1743 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 1743 | Array bound exceeded. : yyvsp[*]; accessed=-2 | MISRA-C:2012 R.18.1 |
C | 1743 | Array bound exceeded. : yyvsp[*]; accessed=-1 | MISRA-C:2012 R.18.1 |
C | 1744 | Use of bit operator on signed type. : & used with int: cdebug | MISRA-C:2012 R.10.1 |
C | 1744 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1744 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1744 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 1752 | Array bound exceeded. : yyvsp[*]; accessed=-2 | MISRA-C:2012 R.18.1 |
Code | Line | Violation | Standard |
---|---|---|---|
C | 1752 | Array bound exceeded. : yyvsp[*]; accessed=-2 | MISRA-C:2012 R.18.1 |
C | 1753 | Array bound exceeded. : yyvsp[*]; accessed=-2 | MISRA-C:2012 R.18.1 |
C | 1754 | Use of bit operator on signed type. : & used with int: cdebug | MISRA-C:2012 R.10.1 |
C | 1754 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1754 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1754 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 1754 | Array bound exceeded. : yyvsp[*]; accessed=-2 | MISRA-C:2012 R.18.1 |
C | 1758 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1766 | Use of bit operator on signed type. : |= used with int: flags | MISRA-C:2012 R.10.1 |
C | 1766 | Use of bit operator on signed type. : |= used with int: SYMBOL_OPTIONAL | MISRA-C:2012 R.10.1 |
C | 1767 | Use of bit operator on signed type. : & used with int: cdebug | MISRA-C:2012 R.10.1 |
C | 1767 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1767 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1767 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 1775 | Array bound exceeded. : yyvsp[*]; accessed=-3 | MISRA-C:2012 R.18.1 |
C | 1776 | Array bound exceeded. : yyvsp[*]; accessed=-2 | MISRA-C:2012 R.18.1 |
C | 1776 | Array bound exceeded. : yyvsp[*]; accessed=-1 | MISRA-C:2012 R.18.1 |
C | 1777 | Use of bit operator on signed type. : & used with int: cdebug | MISRA-C:2012 R.10.1 |
C | 1777 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1777 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1777 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 1780 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1788 | Use of bit operator on signed type. : & used with int: cdebug | MISRA-C:2012 R.10.1 |
C | 1788 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1788 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1788 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 1790 | Array bound exceeded. : yyvsp[*]; accessed=-1 | MISRA-C:2012 R.18.1 |
C | 1801 | Use of bit operator on signed type. : & used with int: cdebug | MISRA-C:2012 R.10.1 |
C | 1801 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1801 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1801 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 1810 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 1810 | Array bound exceeded. : yyvsp[*]; accessed=-1 | MISRA-C:2012 R.18.1 |
C | 1819 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 1819 | Array bound exceeded. : yyvsp[*]; accessed=-1 | MISRA-C:2012 R.18.1 |
C | 1820 | Use of bit operator on signed type. : & used with int: cdebug | MISRA-C:2012 R.10.1 |
C | 1820 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1820 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1820 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 1838 | Use of bit operator on signed type. : & used with int: cdebug | MISRA-C:2012 R.10.1 |
C | 1838 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1838 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1838 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 1847 | Use of bit operator on signed type. : & used with int: cdebug | MISRA-C:2012 R.10.1 |
C | 1847 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1847 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1847 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 1847 | Array bound exceeded. : yyvsp[*]; accessed=-1 | MISRA-C:2012 R.18.1 |
C | 1848 | Array bound exceeded. : yyvsp[*]; accessed=-1 | MISRA-C:2012 R.18.1 |
C | 1857 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
Code | Line | Violation | Standard |
---|---|---|---|
C | 1857 | Array bound exceeded. : yyvsp[*]; accessed=-1 | MISRA-C:2012 R.18.1 |
C | 1858 | Use of bit operator on signed type. : & used with int: cdebug | MISRA-C:2012 R.10.1 |
C | 1858 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1858 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1858 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 1874 | Use of bit operator on signed type. : & used with int: cdebug | MISRA-C:2012 R.10.1 |
C | 1874 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1874 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1874 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 1891 | Array bound exceeded. : yyvsp[*]; accessed=-1 | MISRA-C:2012 R.18.1 |
C | 1892 | Use of bit operator on signed type. : & used with int: cdebug | MISRA-C:2012 R.10.1 |
C | 1892 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 1892 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 1892 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 1908 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 1908 | Array bound exceeded. : yyvsp[*]; accessed=-1 | MISRA-C:2012 R.18.1 |
C | 1915 | Array bound exceeded. : yyvsp[*]; accessed=-1 | MISRA-C:2012 R.18.1 |
C | 1921 | Array bound exceeded. : yyvsp[*]; accessed=-1 | MISRA-C:2012 R.18.1 |
C | 1927 | Array bound exceeded. : yyvsp[*]; accessed=-1 | MISRA-C:2012 R.18.1 |
C | 1951 | Array bound exceeded. : yyvsp[*]; accessed=-2 | MISRA-C:2012 R.18.1 |
C | 1957 | Array bound exceeded. : yyvsp[*]; accessed=-2 | MISRA-C:2012 R.18.1 |
C | 1963 | Array bound exceeded. : yyvsp[*]; accessed=-2 | MISRA-C:2012 R.18.1 |
C | 1969 | Array bound exceeded. : yyvsp[*]; accessed=-2 | MISRA-C:2012 R.18.1 |
C | 1975 | Array bound exceeded. : yyvsp[*]; accessed=-2 | MISRA-C:2012 R.18.1 |
C | 1981 | Array bound exceeded. : yyvsp[*]; accessed=-2 | MISRA-C:2012 R.18.1 |
C | 1987 | Array bound exceeded. : yyvsp[*]; accessed=-1 | MISRA-C:2012 R.18.1 |
C | 1999 | Array bound exceeded. : yyvsp[*]; accessed=-2 | MISRA-C:2012 R.18.1 |
C | 2005 | Array bound exceeded. : yyvsp[*]; accessed=-2 | MISRA-C:2012 R.18.1 |
C | 2011 | Use of banned function or variable. : free | MISRA-C:2012 D.4.12,R.1.3,R.17.1,R.21.3,R.21.6,R.21.7,R.21.8,R.21.9,R.21.10,R.21.12 |
C | 2017 | Use of banned function or variable. : free | MISRA-C:2012 D.4.12,R.1.3,R.17.1,R.21.3,R.21.6,R.21.7,R.21.8,R.21.9,R.21.10,R.21.12 |
C | 2029 | Switch empty default has no comment. | MISRA-C:2012 R.16.4 |
C | 2042 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 2042 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 2042 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 2044 | Assignment operation in expression. | MISRA-C:2012 R.13.1,R.13.2,R.13.4 |
C | 2046 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 2046 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
M | 2046 | Attempt to use already freed object. : yyss | MISRA-C:2012 R.22.2 |
C | 2048 | Assignment operation in expression. | MISRA-C:2012 R.13.1,R.13.2,R.13.4 |
C | 2054 | Signed/unsigned conversion without cast. : (int and unsigned char): yyn = yyr1 | MISRA-C:2012 R.10.3,R.10.4 |
C | 2056 | No cast for widening complex int expression. : (int and short): yystate = yypgoto | MISRA-C:2012 R.10.6,R.10.7 |
C | 2056 | No cast for widening complex int expression. : (int and short): yystate = yypgoto [ yyn - 41 ] + * yyssp | MISRA-C:2012 R.10.6,R.10.7 |
C | 2057 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 2058 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 2060 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 2060 | No cast for widening complex int expression. : (int and short): yystate = yydefgoto [ yyn - 41 ] | MISRA-C:2012 R.10.6,R.10.7 |
C | 2062 | goto label is backwards. | MISRA-C:2012 R.15.2 |
C | 2071 | Value is not of appropriate type. : (bool and signed char) | MISRA-C:2012 R.10.1,R.10.3,R.10.4,R.10.5,R.11.1 |
C | 2071 | Array bound exceeded. : yytranslate[*]; accessed=-2 | MISRA-C:2012 R.18.1 |
C | 2071 | Type mismatch in ternary expression. : (int and unsigned char) | MISRA-C:2012 R.10.4 |
Code | Line | Violation | Standard |
---|---|---|---|
C | 2071 | Type mismatch in ternary expression. : (int and bool) | MISRA-C:2012 R.10.4 |
C | 2074 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 2124 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 2147 | Construct leads to infeasible code. | MISRA-C:2012 R.14.3 |
C | 2148 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 2148 | goto label is backwards. | MISRA-C:2012 R.15.2 |
C | 2152 | Assignment operation in expression. | MISRA-C:2012 R.13.1,R.13.2,R.13.4 |
C | 2154 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 2154 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
M | 2154 | Attempt to use already freed object. : yyss | MISRA-C:2012 R.22.2 |
C | 2155 | No cast for widening complex int expression. : (int and short): yystate = *yyssp | MISRA-C:2012 R.10.6,R.10.7 |
C | 2171 | Literal value requires a U suffix. : 1 | MISRA-C:2012 R.7.2,R.10.3,R.10.4 |
C | 2171 | Use of mixed mode arithmetic. : (unsigned char and signed char): yycheck [ yyn ] == 1 | MISRA-C:2012 R.10.1,R.10.2,R.10.3,R.10.4 |
C | 2175 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
M | 2180 | Attempt to use already freed object. : yyss | MISRA-C:2012 R.22.2 |
C | 2181 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 2186 | Assignment operation in expression. | MISRA-C:2012 R.13.1,R.13.2,R.13.4 |
C | 2187 | No cast for widening complex int expression. : (int and short): yystate = *yyssp | MISRA-C:2012 R.10.6,R.10.7 |
C | 2188 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 2188 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
M | 2188 | Attempt to use already freed object. : yyss | MISRA-C:2012 R.22.2 |
C | 2192 | Assignment operation in expression. | MISRA-C:2012 R.13.1,R.13.2,R.13.4 |
C | 2197 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 2197 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 2197 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 2200 | goto label is backwards. | MISRA-C:2012 R.15.2 |
C | 2232 | Array bound exceeded. : yytranslate[*]; accessed=-2 | MISRA-C:2012 R.18.1 |
C | 2232 | Type mismatch in ternary expression. : (int and unsigned char) | MISRA-C:2012 R.10.4 |
C | 2238 | Assignment operation in expression. | MISRA-C:2012 R.13.1,R.13.2,R.13.4 |
C | 2239 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 2239 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
M | 2239 | Attempt to use already freed object. : yyss | MISRA-C:2012 R.22.2 |
M | 2240 | Attempt to use already freed object. : yyss | MISRA-C:2012 R.22.2 |
C | 2242 | Use of mixed mode arithmetic. : (unsigned int and short): "Cleanup: popping" , yystos [ * yyssp | MISRA-C:2012 R.10.1,R.10.2,R.10.3,R.10.4 |
C | 2244 | Assignment operation in expression. | MISRA-C:2012 R.13.1,R.13.2,R.13.4 |
M | 2247 | Attempt to use already freed object. : yyss | MISRA-C:2012 R.22.2 |
C | 2247 | Use of banned function or variable. : free | MISRA-C:2012 D.4.12,R.1.3,R.17.1,R.21.3,R.21.6,R.21.7,R.21.8,R.21.9,R.21.10,R.21.12 |
C | 2248 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
M | 2248 | Attempt to use already freed object. : yyss | MISRA-C:2012 R.22.2 |
C | 1638 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 1647 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 1660 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 1660 | Implicit conversion: actual to formal param. : (symbol): param 2 | MISRA-C:2012 R.10.3 |
C | 1669 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 1669 | Implicit conversion: actual to formal param. : (symbol): param 2 | MISRA-C:2012 R.10.3 |
C | 1678 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 1678 | Implicit conversion: actual to formal param. : (expr): param 2 | MISRA-C:2012 R.10.3 |
C | 1678 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 1715 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 1715 | Implicit conversion: actual to formal param. : (int and enum): param 2 | MISRA-C:2012 R.10.3 |
C | 1715 | Implicit conversion: actual to formal param. : (int and enum): param 3 | MISRA-C:2012 R.10.3 |
C | 1743 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 1776 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 1776 | Implicit conversion: actual to formal param. : (symbol): param 2 | MISRA-C:2012 R.10.3 |
C | 1810 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 1810 | Implicit conversion: actual to formal param. : (int and enum): param 3 | MISRA-C:2012 R.10.3 |
C | 1819 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 1819 | Implicit conversion: actual to formal param. : (int and enum): param 3 | MISRA-C:2012 R.10.3 |
C | 1857 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 1857 | Implicit conversion: actual to formal param. : (int and enum): param 3 | MISRA-C:2012 R.10.3 |
C | 1908 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 1951 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 1957 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 1963 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 1969 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 1975 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 1981 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 1993 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 1999 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 2005 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 2242 | Implicit conversion: actual to formal param. | MISRA-C:2012 R.10.3 |
C | 1776 | Call has execution order dependant side effects. : sym_lookup | MISRA-C:2012 R.13.1,R.13.2,R.13.5 |
C | 1776 | Call has execution order dependant side effects. : menu_add_symbol | MISRA-C:2012 R.13.1,R.13.2,R.13.5 |
C | 1678 | Call has execution order dependant side effects. : menu_add_expr | MISRA-C:2012 R.13.1,R.13.2,R.13.5 |
C | 1669 | Call has execution order dependant side effects. : sym_lookup | MISRA-C:2012 R.13.1,R.13.2,R.13.5 |
C | 1669 | Call has execution order dependant side effects. : menu_add_symbol | MISRA-C:2012 R.13.1,R.13.2,R.13.5 |
C | 1660 | Call has execution order dependant side effects. : sym_lookup | MISRA-C:2012 R.13.1,R.13.2,R.13.5 |
C | 1660 | Call has execution order dependant side effects. : menu_add_symbol | MISRA-C:2012 R.13.1,R.13.2,R.13.5 |
C | 1307 | Recursion in procedure calls found. : zconfparse | MISRA-C:2012 R.17.2 |
C | 2255 | Memory not freed after last reference. : yyss | MISRA-C:2012 R.22.1 |
C | 1424 | Memory not freed after last reference. : yyss1 | MISRA-C:2012 R.22.1 |
C | 1424 | Memory not freed after last reference. : yyptr | MISRA-C:2012 R.22.1 |
M | 1933 | Procedure contains UR data flow anomalies. : yyval.expr | MISRA-C:2012 R.9.1 |
M | 1699 | Procedure contains UR data flow anomalies. : yyval.string | MISRA-C:2012 R.9.1 |
M | 2023 | Procedure contains UR data flow anomalies. : yyval.string | MISRA-C:2012 R.9.1 |
C | 1584 | DU anomaly dead code, variable value is unused on all paths. : (sym)->flags | MISRA-C:2012 R.2.2 |
C | 1604 | DU anomaly dead code, variable value is unused on all paths. : (sym)->flags | MISRA-C:2012 R.2.2 |
C | 1713 | DU anomaly dead code, variable value is unused on all paths. : (sym)->flags | MISRA-C:2012 R.2.2 |
Code | Line | Violation | Standard |
---|---|---|---|
C | 1420 | DU anomaly dead code, variable value is unused on all paths. : yyptr | MISRA-C:2012 R.2.2 |
C | 1336 | DU anomaly dead code, variable value is unused on all paths. : yytoken | MISRA-C:2012 R.2.2 |
C | 1487 | Unreachable Code found. | MISRA-C:2012 R.2.1 |
C | 2148 | Unreachable Code found. | MISRA-C:2012 R.2.1 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
conf_parse (2259 to 2289 yconf.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : conf_parse | MISRA-C:2012 R.8.4 |
C | DD data flow anomalies found. | MISRA-C:2012 R.2.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 2264 | Function call with no prior declaration. : zconf_initscan | MISRA-C:2012 R.17.3 |
M | 2266 | Function call with no prior declaration. : sym_init | MISRA-C:2012 R.17.3 |
M | 2267 | Function call with no prior declaration. : _menu_init | MISRA-C:2012 R.17.3 |
M | 2268 | Function call with no prior declaration. : menu_add_prompt | MISRA-C:2012 R.17.3 |
M | 2276 | Function call with no prior declaration. : sym_find | MISRA-C:2012 R.17.3 |
M | 2278 | Function call with no prior declaration. : _ | MISRA-C:2012 R.17.3 |
M | 2279 | Function call with no prior declaration. : sym_expand_string_value | MISRA-C:2012 R.17.3 |
M | 2281 | Function call with no prior declaration. : menu_finalize | MISRA-C:2012 R.17.3 |
M | 2283 | Function call with no prior declaration. : sym_check_deps | MISRA-C:2012 R.17.3 |
M | 2288 | Function call with no prior declaration. : sym_set_change_count | MISRA-C:2012 R.17.3 |
C | 2272 | Pointer not checked for null before use. : zconfin | MISRA-C:2012 D.4.1 |
C | 2272 | Pointer not checked for null before use. : current_buf | MISRA-C:2012 D.4.1 |
C | 2272 | Pointer not checked for null before use. : symbol_hash | MISRA-C:2012 D.4.1 |
C | 2276 | Pointer not checked for null before use. : symbol_hash | MISRA-C:2012 D.4.1 |
C | 2272 | Pointer not checked for null before use. : current_entry | MISRA-C:2012 D.4.1 |
C | 2268 | Pointer not checked for null before use. : current_entry | MISRA-C:2012 D.4.1 |
C | 2268 | Pointer not checked for null before use. : NULL | MISRA-C:2012 D.4.1 |
C | 2279 | Pointer not checked for null before use. : symbol_hash | MISRA-C:2012 D.4.1 |
C | 2281 | Pointer not checked for null before use. : current_entry | MISRA-C:2012 D.4.1 |
C | 2272 | Pointer not checked for null before use. : last_entry_ptr | MISRA-C:2012 D.4.1 |
C | 2270 | Use of banned function or variable. : getenv | MISRA-C:2012 D.4.12,R.1.3,R.17.1,R.21.3,R.21.6,R.21.7,R.21.8,R.21.9,R.21.10,R.21.12 |
C | 2270 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 2271 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 2272 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 2273 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 2274 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 2274 | Use of abort, exit, etc. | MISRA-C:2012 R.21.8 |
C | 2275 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 2276 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 2283 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 2284 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 2286 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 2287 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 2287 | Use of abort, exit, etc. | MISRA-C:2012 R.21.8 |
C | 2268 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 2268 | Implicit conversion: actual to formal param. : (int and char): param 2 | MISRA-C:2012 R.10.3 |
C | 2268 | Implicit conversion: actual to formal param. : (int and enum): param 3 | MISRA-C:2012 R.10.3 |
C | 2279 | Implicit conversion: actual to formal param. : (int and char): param 1 | MISRA-C:2012 R.10.3 |
C | 2281 | Implicit conversion: actual to formal param. : (int and enum): param 1 | MISRA-C:2012 R.10.3 |
C | 2259 | Recursion in procedure calls found. : conf_parse | MISRA-C:2012 R.17.2 |
C | 2281 | Potential side effect problem in expression. : (rootmenu)->sym | MISRA-C:2012 R.13.2 |
C | 2281 | Potential side effect problem in expression. : rootmenu.prompt | MISRA-C:2012 R.13.2 |
C | 2281 | Potential side effect problem in expression. : (rootmenu)->(prompt)->visible.expr | MISRA-C:2012 R.13.2 |
C | 2283 | DU anomaly dead code, variable value is unused on all paths. : (sym)->flags | MISRA-C:2012 R.2.2 |
C | 2279 | DU anomaly dead code, variable value is unused on all paths. : rootmenu.prompt.text | MISRA-C:2012 R.2.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
zconf_tokenname (2291 to 2304 yconf.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
C | 2294 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 2295 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 2296 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 2297 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 2298 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 2299 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 2300 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 2302 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 2293 | No default case in switch statement. | MISRA-C:2012 R.16.4 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
zconf_endtoken (2306 to 2324 yconf.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | Function has global variable side effects. : zconfnerrs | MISRA-C:2012 R.13.2 |
Code | Line | Violation | Standard |
---|---|---|---|
C | 2310 | Casting operation to a pointer. | MISRA-C:2012 R.11.1,R.11.2,R.11.3,R.11.5,R.11.7 |
C | 2316 | Casting operation to a pointer. | MISRA-C:2012 R.11.1,R.11.2,R.11.3,R.11.5,R.11.7 |
C | 2310 | Casting operation on a pointer. | MISRA-C:2012 R.11.1,R.11.2,R.11.3,R.11.7 |
C | 2310 | Cast to an unrelated type. | MISRA-C:2012 R.11.2,R.11.3 |
C | 2316 | Casting operation on a pointer. | MISRA-C:2012 R.11.1,R.11.2,R.11.3,R.11.7 |
C | 2316 | Cast to an unrelated type. | MISRA-C:2012 R.11.2,R.11.3 |
C | 2317 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 2317 | Format is not appropriate type. : format = %s, param 3 | MISRA-C:2012 R.1.3 |
C | 2315 | Call has execution order dependant side effects. : zconf_error | MISRA-C:2012 R.13.1,R.13.2,R.13.5 |
C | 2309 | Call has execution order dependant side effects. : zconf_error | MISRA-C:2012 R.13.1,R.13.2,R.13.5 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
zconfprint (2326 to 2335 yconf.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2330 | Function call with no prior declaration. : zconf_curname | MISRA-C:2012 R.17.3 |
M | 2330 | Function call with no prior declaration. : zconf_lineno | MISRA-C:2012 R.17.3 |
C | 2330 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 2331 | Use of banned function or variable. : va_start | MISRA-C:2012 D.4.12,R.1.3,R.17.1,R.21.3,R.21.6,R.21.7,R.21.8,R.21.9,R.21.10,R.21.12 |
C | 2332 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 2332 | Incorrect number of formats in output function. : 0 formats, 3 outputs | MISRA-C:2012 R.1.3 |
C | 2333 | Use of banned function or variable. : va_end | MISRA-C:2012 D.4.12,R.1.3,R.17.1,R.21.3,R.21.6,R.21.7,R.21.8,R.21.9,R.21.10,R.21.12 |
C | 2334 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
zconf_error (2337 to 2347 yconf.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2342 | Function call with no prior declaration. : zconf_curname | MISRA-C:2012 R.17.3 |
M | 2342 | Function call with no prior declaration. : zconf_lineno | MISRA-C:2012 R.17.3 |
C | 2342 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 2343 | Use of banned function or variable. : va_start | MISRA-C:2012 D.4.12,R.1.3,R.17.1,R.21.3,R.21.6,R.21.7,R.21.8,R.21.9,R.21.10,R.21.12 |
C | 2344 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 2344 | Incorrect number of formats in output function. : 0 formats, 3 outputs | MISRA-C:2012 R.1.3 |
C | 2345 | Use of banned function or variable. : va_end | MISRA-C:2012 D.4.12,R.1.3,R.17.1,R.21.3,R.21.6,R.21.7,R.21.8,R.21.9,R.21.10,R.21.12 |
C | 2346 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
zconferror (2349 to 2352 yconf.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2351 | Function call with no prior declaration. : zconf_curname | MISRA-C:2012 R.17.3 |
M | 2351 | Function call with no prior declaration. : zconf_lineno | MISRA-C:2012 R.17.3 |
C | 2351 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
print_quoted_string (2354 to 2369 yconf.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
C | 2359 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 2360 | Assignment operation in expression. | MISRA-C:2012 R.13.1,R.13.2,R.13.4 |
C | 2360 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 2361 | Pointer arithmetic is not on array. | MISRA-C:2012 R.18.1,R.18.4 |
C | 2362 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 2363 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 2363 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 2364 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 2365 | const object reassigned. : str | MISRA-C:2012 R.1.3 |
C | 2365 | Pointer assignment to wider scope. | MISRA-C:2012 R.18.6 |
C | 2365 | Pointer arithmetic is not on array. | MISRA-C:2012 R.18.1,R.18.4 |
C | 2367 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 2368 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
print_symbol (2371 to 2456 yconf.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 2376 | Function call with no prior declaration. : sym_is_choice | MISRA-C:2012 R.17.3 |
M | 2407 | Function call with no prior declaration. : expr_is_yes | MISRA-C:2012 R.17.3 |
M | 2409 | Function call with no prior declaration. : expr_fprint | MISRA-C:2012 R.17.3 |
M | 2415 | Function call with no prior declaration. : expr_fprint | MISRA-C:2012 R.17.3 |
M | 2416 | Function call with no prior declaration. : expr_is_yes | MISRA-C:2012 R.17.3 |
M | 2418 | Function call with no prior declaration. : expr_fprint | MISRA-C:2012 R.17.3 |
M | 2427 | Function call with no prior declaration. : expr_fprint | MISRA-C:2012 R.17.3 |
M | 2432 | Function call with no prior declaration. : expr_fprint | MISRA-C:2012 R.17.3 |
M | 2437 | Function call with no prior declaration. : expr_fprint | MISRA-C:2012 R.17.3 |
C | 2376 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 2377 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 2377 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 2379 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 2379 | Format is not appropriate type. : format = %s, param 3 | MISRA-C:2012 R.1.3 |
C | 2382 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 2385 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 2388 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 2391 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 2394 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 2397 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 2400 | For loop initialisation is not simple. | MISRA-C:2012 R.14.2 |
C | 2402 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 2405 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 2407 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 2408 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 2411 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 2414 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 2416 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 2417 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 2420 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 2423 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 2426 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 2428 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 2431 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 2433 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 2436 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 2438 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 2441 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 2443 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 2446 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 2450 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 2451 | Signed/unsigned conversion without cast. : (int and unsigned int): strlen | MISRA-C:2012 R.10.3,R.10.4 |
C | 2451 | Value is not of appropriate type. : (int and char): strlen ( menu -> help | MISRA-C:2012 R.10.1,R.10.3,R.10.4,R.10.5,R.11.1 |
C | 2452 | Deprecated usage of ++ or -- operators found. | MISRA-C:2012 R.13.1,R.13.2,R.13.3 |
C | 2452 | Type conversion without cast. : (int and char): menu -> help [ -- len ] == '\n' | MISRA-C:2012 R.10.1,R.10.3,R.10.4 |
C | 2453 | No brackets to loop body. | MISRA-C:2012 R.15.6 |
C | 2454 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 2454 | Format is not appropriate type. : format = %s, param 3 | MISRA-C:2012 R.1.3 |
C | 2374 | Struct/union not completely specified. : property | MISRA-C:2012 R.1.3 |
C | 2406 | Implicit conversion: actual to formal param. : (int and char): param 2 | MISRA-C:2012 R.10.3 |
C | 2442 | Implicit conversion: actual to formal param. : (int and char): param 2 | MISRA-C:2012 R.10.3 |
C | 2371 | Recursion in procedure calls found. : print_symbol | MISRA-C:2012 R.17.2 |
Code | Line | Violation | Standard |
---|
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
zconfdump (2458 to 2503 yconf.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : zconfdump | MISRA-C:2012 R.8.4 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 2483 | Function call with no prior declaration. : expr_is_yes | MISRA-C:2012 R.17.3 |
M | 2485 | Function call with no prior declaration. : expr_fprint | MISRA-C:2012 R.17.3 |
C | 2466 | Pointer not checked for null before use. : menu | MISRA-C:2012 D.4.1 |
C | 2465 | Potentially infinite loop found. | MISRA-C:2012 R.2.1 |
C | 2465 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 2466 | Assignment operation in expression. | MISRA-C:2012 R.13.1,R.13.2,R.13.4 |
C | 2466 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 2467 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 2468 | Assignment operation in expression. | MISRA-C:2012 R.13.1,R.13.2,R.13.4 |
C | 2468 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 2471 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 2473 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 2476 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 2478 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 2482 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 2483 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 2484 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 2486 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 2488 | Else alternative missing in if. | MISRA-C:2012 R.15.7 |
C | 2490 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 2491 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 2492 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 2493 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 2494 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 2494 | Assignment operation in expression. | MISRA-C:2012 R.13.1,R.13.2,R.13.4 |
C | 2494 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 2495 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 2496 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 2496 | (void) missing for discarded return value. | MISRA-C:2012 R.17.7 |
C | 2497 | Expression is not Boolean. | MISRA-C:2012 R.10.1,R.14.4 |
C | 2472 | Implicit conversion: actual to formal param. : (int and char): param 2 | MISRA-C:2012 R.10.3 |
C | 2477 | Implicit conversion: actual to formal param. : (int and char): param 2 | MISRA-C:2012 R.10.3 |
C | 2458 | Recursion in procedure calls found. : zconfdump | MISRA-C:2012 R.17.2 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
print_buttons (27 to 37 yesno.c) - FAIL |
---|
Code | Line | Violation | Standard |
---|---|---|---|
M | 32 | Function call with no prior declaration. : print_button | MISRA-C:2012 R.17.3 |
M | 32 | Function call with no prior declaration. : gettext | MISRA-C:2012 R.17.3 |
M | 33 | Function call with no prior declaration. : print_button | MISRA-C:2012 R.17.3 |
M | 33 | Function call with no prior declaration. : gettext | MISRA-C:2012 R.17.3 |
M | 35 | Function call with no prior declaration. : wmove | MISRA-C:2012 R.17.3 |
M | 36 | Function call with no prior declaration. : wrefresh | MISRA-C:2012 R.17.3 |
C | 29 | Expression needs brackets. | MISRA-C:2012 R.12.1,R.20.7 |
C | 35 | Expression needs brackets. | MISRA-C:2012 R.12.1,R.20.7 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
dialog_yesno (42 to 114 yesno.c) - FAIL |
---|
Code | Violation | Standard |
---|---|---|
C | No prototype for non-static function. : dialog_yesno | MISRA-C:2012 R.8.4 |
C | DD data flow anomalies found. | MISRA-C:2012 R.2.2 |
Code | Line | Violation | Standard |
---|---|---|---|
M | 48 | Function call with no prior declaration. : getmaxy | MISRA-C:2012 R.17.3 |
M | 50 | Function call with no prior declaration. : getmaxx | MISRA-C:2012 R.17.3 |
M | 54 | Function call with no prior declaration. : getmaxx | MISRA-C:2012 R.17.3 |
M | 55 | Function call with no prior declaration. : getmaxy | MISRA-C:2012 R.17.3 |
M | 57 | Function call with no prior declaration. : draw_shadow | MISRA-C:2012 R.17.3 |
M | 59 | Function call with no prior declaration. : newwin | MISRA-C:2012 R.17.3 |
M | 60 | Function call with no prior declaration. : keypad | MISRA-C:2012 R.17.3 |
M | 62 | Function call with no prior declaration. : draw_box | MISRA-C:2012 R.17.3 |
M | 64 | Function call with no prior declaration. : wattrset | MISRA-C:2012 R.17.3 |
M | 65 | Function call with no prior declaration. : mvwaddch | MISRA-C:2012 R.17.3 |
M | 67 | Function call with no prior declaration. : waddch | MISRA-C:2012 R.17.3 |
M | 68 | Function call with no prior declaration. : wattrset | MISRA-C:2012 R.17.3 |
M | 69 | Function call with no prior declaration. : waddch | MISRA-C:2012 R.17.3 |
M | 71 | Function call with no prior declaration. : print_title | MISRA-C:2012 R.17.3 |
M | 73 | Function call with no prior declaration. : wattrset | MISRA-C:2012 R.17.3 |
M | 74 | Function call with no prior declaration. : print_autowrap | MISRA-C:2012 R.17.3 |
M | 79 | Function call with no prior declaration. : wgetch | MISRA-C:2012 R.17.3 |
M | 83 | Function call with no prior declaration. : delwin | MISRA-C:2012 R.17.3 |
M | 87 | Function call with no prior declaration. : delwin | MISRA-C:2012 R.17.3 |
M | 96 | Function call with no prior declaration. : wrefresh | MISRA-C:2012 R.17.3 |
M | 100 | Function call with no prior declaration. : delwin | MISRA-C:2012 R.17.3 |
M | 103 | Function call with no prior declaration. : on_key_esc | MISRA-C:2012 R.17.3 |
M | 106 | Function call with no prior declaration. : delwin | MISRA-C:2012 R.17.3 |
M | 107 | Function call with no prior declaration. : on_key_resize | MISRA-C:2012 R.17.3 |
M | 112 | Function call with no prior declaration. : delwin | MISRA-C:2012 R.17.3 |
C | 60 | Pointer not checked for null before use. : dialog | MISRA-C:2012 D.4.1 |
C | 47 | Potentially infinite loop found. | MISRA-C:2012 R.2.1 |
C | 49 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 51 | No brackets to then/else. | MISRA-C:2012 R.15.6 |
C | 66 | Expression needs brackets. | MISRA-C:2012 R.12.1,R.20.7 |
C | 67 | No brackets to loop body. | MISRA-C:2012 R.15.6 |
C | 84 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 88 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 93 | Deprecated usage of ++ or -- operators found. | MISRA-C:2012 R.13.1,R.13.2,R.13.3 |
C | 93 | Assignment operation in expression. | MISRA-C:2012 R.13.1,R.13.2,R.13.4 |
C | 93 | Expression needs brackets. | MISRA-C:2012 R.12.1,R.20.7 |
C | 93 | Deprecated usage of ++ or -- operators found. | MISRA-C:2012 R.13.1,R.13.2,R.13.3 |
C | 93 | Assignment operation in expression. | MISRA-C:2012 R.13.1,R.13.2,R.13.4 |
C | 101 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 108 | goto label is backwards. | MISRA-C:2012 R.15.2 |
C | 109 | Switch case not terminated with break. | MISRA-C:2012 R.16.3 |
C | 80 | No default case in switch statement. | MISRA-C:2012 R.16.4 |
C | 93 | Expression has side effects. : button | MISRA-C:2012 R.13.1,R.13.2,R.13.5 |
[ | Top of Report | | | Key to Terms | | | Procedure Table | | | Contents | ] |
---|
Code | (Line) | Violation | Standard |
---|---|---|---|
M | (Source line number) | [Text of Mandatory standard] | [Appropriate rule reference] |
C | [Text of Required standard] | ||
O | [Text of Advisory standard] | ||
[Source: Text of line from Source file]
|
Components which pass all standards are marked: | Pass |
Components which fail only Advisory standards are marked: | Conditional Pass |
Components which fail on insufficient comments only are marked: | Comment FAIL |
Components which violate Mandatory standards are marked: | FAIL |
|
[ | Top of Report | | | Procedure Table | | | Contents | ] |
---|