1
0
Fork 0
Commit graph

576 commits

Author SHA1 Message Date
temi54c1l8
926dc62873 CANopen: static analysis: side effects on right hand of logical operator, '||' [MISRA 2012 Rule 13.5, required] 2024-06-12 16:43:51 +02:00
temi54c1l8
4cee088192 CANopen: static analysis: named parameter 'OD_statusBits' of 'non-virtual' function 'CO_CANopenInit' not subsequently referenced [MISRA 2012 Rule 2.7, advisory] 2024-06-12 16:36:20 +02:00
temi54c1l8
308f32ee8b CANopen: static analysis: both sides have side effects [MISRA 2012 Rule 1.3, required] 2024-06-12 16:34:56 +02:00
temi54c1l8
24065d5751 CANopen: static analysis: cannot assign 'unsigned16' to narrower essential type 'unsigned8' [MISRA 2012 Rule 10.3, required] 2024-06-12 16:29:47 +02:00
temi54c1l8
0f06b1022d CANopen:static analysis: right operand to + is a composite expression of type 'unsigned8' which is smaller than the left operand of type 'unsigned16' [MISRA 2012 Rule 10.7, required] 2024-06-12 16:23:04 +02:00
temi54c1l8
704bc17b1e CANopen:static analysis possible loss of precision (assignment) 2024-06-12 15:15:02 +02:00
temi54c1l8
8c06bec4c9 CANopen: static analysis increment operation combined with other operation with side-effects [MISRA 2012 Rule 13.3, advisory] 2024-06-12 15:08:54 +02:00
temi54c1l8
73a65dbfea Revert "CANopen: static analysis: locals not referenced [MISRA 2012 Rule 2.5, advisory]"
This reverts commit 20fa24abf7.
2024-06-12 14:59:34 +02:00
temi54c1l8
20fa24abf7 CANopen: static analysis: locals not referenced [MISRA 2012 Rule 2.5, advisory] 2024-06-12 14:57:53 +02:00
temi54c1l8
cff7a3cf5a static analysis: refactoring changed enum with define to be able to use bitwise operators on user space 2024-06-12 14:35:37 +02:00
temi54c1l8
686ab04ee9 static analysis: enumerator 'CO_CAN_ID_EMERGENCY' reuses the constant value '128' previously used by enumerator 'CO_CAN_ID_SYNC'
refactoring changed enum with define
2024-06-12 14:26:51 +02:00
temi54c1l8
691728f71a static analysis: essential type of condition of 'if' statement is in not correct [MISRA 2012 Rule 14.4, required] 2024-06-12 13:57:42 +02:00
temi54c1l8
7855d35bae static analysis: refactoring changed enum with define to be able to use bitwise operators 2024-06-12 13:41:13 +02:00
temi54c1l8
6e009c0893 static analysis: cannot assign 'signed8' to different essential type 'boolean' [MISRA 2012 Rule 10.3, required] 2024-06-12 10:42:40 +02:00
temi54c1l8
9e8ceb4dfa static analysis: ignoring return value of functions [MISRA 2012 Directive 4.7, required] 2024-06-12 10:13:45 +02:00
temi54c1l8
b2de7f4cbe static analysis: integer null pointer constant is not the NULL macro [MISRA 2012 Rule 11.9, required] 2024-06-12 09:46:34 +02:00
temi54c1l8
e720f497d1 static analisys: cannot assign 'unsigned32' to narrower essential type 'unsigned8' [MISRA 2012 Rule 10.3, required] 2024-06-12 09:43:41 +02:00
temi54c1l8
fbe4d307d9 static analysis: argument is not compatible with other argument in call to function 'memmove' 2024-06-12 09:42:19 +02:00
temi54c1l8
d4e7214f4d static analysis: conditional of #if does not evaluate to 0 or 1 [MISRA 2012 Rule 20.8, required] 2024-06-12 09:09:12 +02:00
temi54c1l8
7399d31447 static analysis: ignoring return value of function 'OD_extension_init' [MISRA 2012 Directive 4.7, required], [MISRA 2012 Rule 17.7, required]
ignores the return because it was checked on the function argument
2024-06-11 15:09:49 +02:00
temi54c1l8
bfa773da05 CO_GFC: static analysis: cannot assign 'signed8' to different essential type 'boolean' [MISRA 2012 Rule 10.3, required] 2024-06-11 14:49:48 +02:00
temi54c1l8
7cabf33d35 CO_GFC: static analysis: Added parentheses for dependency on operator precedence [MISRA 2012 Rule 12.1, advisory] 2024-06-11 14:48:50 +02:00
temi54c1l8
3533d4498a CO_GFC: static analysis: add 'U' of unsigned [MISRA 2012 Rule 10.4, required] 2024-06-11 14:45:15 +02:00
temi54c1l8
e58c5de976 CO_GFC: static analysis: ignoring return value of function 'OD_extension_init' [MISRA 2012 Directive 4.7, required], [MISRA 2012 Rule 17.7, required]
ignores the return because it was checked on the function argument
2024-06-11 14:43:05 +02:00
temi54c1l8
59e0c3b07b CO_SRDO: static analysis: the name '_configurationValid' matches a pattern reserved to the compiler [MISRA 2012 Rule 21.2, required] 2024-06-11 09:21:47 +02:00
temi54c1l8
88e437b525 static analysis: minor fix 2024-06-11 09:14:58 +02:00
temi54c1l8
5a31668c3e CO_SRDO: static analysis: loss of precision (assignment) from 32 bits to 8 bits
when: SRDO->dataLength = srdoDataLength[0];
2024-06-11 09:12:42 +02:00
temi54c1l8
c4c4f98e2c CO_SRDO: static analysis result of assignment operator used in right operand to '=' operator [MISRA 2012 Rule 13.4, advisory] 2024-06-11 09:10:15 +02:00
temi54c1l8
fa774c75fa CO_SRDO: static analysis: variables are potentially uninitialized [MISRA 2012 Rule 9.1, mandatory] 2024-06-11 09:07:21 +02:00
temi54c1l8
68daa1f526 CO_SRDO: static analysis: cannot assign 'unsigned32' to narrower essential type 'unsigned16' [MISRA 2012 Rule 10.3, required] 2024-06-11 09:04:52 +02:00
temi54c1l8
9632958e3d CO_SRDO: static analysis: cannot assign 'signed8' to different essential type 'boolean' [MISRA 2012 Rule 10.3, required] 2024-06-11 09:03:19 +02:00
temi54c1l8
70fc66046b CO_SRDO: static analysis: no 'else' at end of 'if ... else if' chain [MISRA 2012 Rule 15.7, required] 2024-06-11 09:00:18 +02:00
temi54c1l8
ae2f75b7a6 CO_SRDO: static analysis: warning 578: declaration of 'ret' hides a local variable [MISRA 2012 Rule 5.3, required]
variable already declared at the beginning of the function
2024-06-11 07:48:57 +02:00
temi54c1l8
e87959d86c CO_SRDO: static analysis: ignoring return value of function 'OD_extension_init' [MISRA 2012 Directive 4.7, required], [MISRA 2012 Rule 17.7, required]
ignores the return because it was checked on the function argument
2024-06-11 07:44:43 +02:00
temi54c1l8
46dcd05251 CO_SRDO: static analysis: function 'OD_not_write_same_value' defined without a prototype in scope [MISRA 2012 Rule 8.4, required] 2024-06-11 07:39:23 +02:00
temi54c1l8
0142f41857 static analysis: an enum value is not an appropriate left operand [MISRA 2012 Rule 10.1, required] 2024-06-10 17:59:05 +02:00
temi54c1l8
446925be63 static analysis: add 'U' of unsigned [MISRA 2012 Rule 10.4, required] 2024-06-10 17:57:42 +02:00
temi54c1l8
dc10900ad5 static analysis: Aggiunte parentesi per la dipendenza posta sulla precedenza dell'operatore [MISRA 2012 Rule 12.1, advisory] 2024-06-10 14:39:05 +02:00
temi54c1l8
a17b9fa209 static analysis: Ignoring return value of functions: CO_setUint8, CO_setUint16, CO_setUint32 [MISRA 2012 Directive 4.7, required] 2024-06-10 12:07:41 +02:00
temi54c1l8
187650d073 static analysis: Ignoring return value of function 'memmove' [MISRA 2012 Directive 4.7, required] 2024-06-10 11:58:55 +02:00
temi54c1l8
e3206f2c7f static analysis: Ignoring return value of function 'memset' [MISRA 2012 Directive 4.7, required] 2024-06-10 11:56:47 +02:00
temi54c1l8
ddaa8974f1 static analysis: Ignoring return value of function 'memcpy' [MISRA 2012 Directive 4.7, required] 2024-06-10 10:30:59 +02:00
temi54c1l8
1b63929837 Only if the configuration is valid, the private variable is activated (otherwise CO_SRDO_process will generate errors) 2024-06-07 20:29:01 +02:00
Janez
6a0df55b01 Overrun not correctly reported in CO_Emergency.c, by H-Grobben #466 2024-06-04 19:54:00 +02:00
temi54c1l8
f407bc6d05 Fixed txErrors variable name 2024-06-04 19:28:42 +02:00
Janez
0dd1a08118 remove SRDO warning 2024-06-04 19:26:13 +02:00
Janez
61ff70e997 Merge branch 'temi54c1l8-fix_srdo_three_part' 2024-06-04 19:16:56 +02:00
Janez
3fe59fed4b Use CO_CONFORMANCE_TEST_TOOL_ADAPTATION macro to make code optional. 2024-06-04 19:16:00 +02:00
temi54c1l8
39c2d7a897 Implemented "elegant" solution to avoid problems with conformance test tool 2024-06-04 14:16:19 +02:00
Janez
83b358abb5 Another cast data after bitwise 2024-06-03 17:11:41 +02:00