2025-05-09 04:59 ftp://ftp.de.debian.org/debian/pool/main/a/aespipe/aespipe_2.4h.orig.tar.bz2 cppcheck-options: --library=posix --library=gnu --library=bsd --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j3 platform: Linux-6.8.0-1022-oracle-aarch64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 cppcheck: head 2.17.0 head-info: 66c9938 (2025-05-08 13:55:11 +0200) count: 20 20 elapsed-time: 26.8 12.1 head-timing-info: old-timing-info: head results: aespipe-v2.4h/aespipe.c:97:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] aespipe-v2.4h/aespipe.c:118:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] aespipe-v2.4h/aespipe.c:160:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] aespipe-v2.4h/aespipe.c:177:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] aespipe-v2.4h/aespipe.c:324:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] aespipe-v2.4h/aespipe.c:375:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] aespipe-v2.4h/aespipe.c:1183:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] aespipe-v2.4h/aespipe.c:176:18: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] aespipe-v2.4h/aespipe.c:1270:18: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] aespipe-v2.4h/aespipe.c:170:20: style: Variable 'p' can be declared as pointer to const [constVariablePointer] aespipe-v2.4h/aespipe.c:341:23: style: Variable 'seed' can be declared as pointer to const [constVariablePointer] aespipe-v2.4h/aespipe.c:437:20: style: Variable 'kp' can be declared as pointer to const [constVariablePointer] aespipe-v2.4h/aespipe.c:471:43: style: Parameter 'keyStr' can be declared as pointer to const. However it seems that 'unhashed2_hash_buffer' is a callback function, if 'keyStr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] aespipe-v2.4h/aespipe.c:1320:53: note: You might need to cast the function pointer here aespipe-v2.4h/aespipe.c:471:43: note: Parameter 'keyStr' can be declared as pointer to const aespipe-v2.4h/aespipe.c:1164:18: style: Variable 'hfn' can be declared as pointer to const [constVariablePointer] aespipe-v2.4h/aespipe.c:1164:36: style: Variable 'efn' can be declared as pointer to const [constVariablePointer] aespipe-v2.4h/aespipe.c:1167:11: style: Variable 'hardware' can be declared as pointer to const [constVariablePointer] aespipe-v2.4h/aespipe.c:1458:15: style: Variable 'mode' can be declared as pointer to const [constVariablePointer] aespipe-v2.4h/aespipe.c:1458:22: style: Variable 'ramLo' can be declared as pointer to const [constVariablePointer] aespipe-v2.4h/aespipe.c:706:13: error: Overlapping read/write in memcpy() is undefined behavior [overlappingWriteFunction] aespipe-v2.4h/rmd160.c:188:38: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] diff: DONE