2024-04-20 19:13 ftp://ftp.de.debian.org/debian/pool/main/o/openssl-ibmca/openssl-ibmca_1.4.0.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=openssl --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning -D__GNUC__ --platform=unix64 -j1 platform: Linux-5.15.0-105-generic-x86_64-with-glibc2.35 python: 3.10.12 client-version: 1.3.56 compiler: g++ (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0 cppcheck: head 2.13.0 head-info: fb15ac6 (2024-04-20 19:16:41 +0200) count: 10 7 elapsed-time: 0.3 0.3 head-timing-info: old-timing-info: head results: openssl-ibmca-1.4.0/src/e_ibmca.c:3737:1: error: There is an unknown macro here somewhere. Configuration is required. If IMPLEMENT_DYNAMIC_CHECK_FN is a macro then please configure it. [unknownMacro] openssl-ibmca-1.4.0/src/test/ibmca_mechaList_test.c:120:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] openssl-ibmca-1.4.0/src/test/ibmca_mechaList_test.c:129:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] openssl-ibmca-1.4.0/src/test/ibmca_mechaList_test.c:188:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable flags [valueFlowBailoutIncompleteVar] openssl-ibmca-1.4.0/src/test/ibmca_mechaList_test.c:232:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable no_argument [valueFlowBailoutIncompleteVar] openssl-ibmca-1.4.0/src/test/ibmca_mechaList_test.c:138:26: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] openssl-ibmca-1.4.0/src/test/ibmca_mechaList_test.c:86:2: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] openssl-ibmca-1.4.0/src/test/ibmca_mechaList_test.c:186:57: style: Parameter 'pmech_list' can be declared as pointer to const [constParameterPointer] openssl-ibmca-1.4.0/src/test/ibmca_mechaList_test.c:223:27: style: Parameter 'argv' can be declared as const array [constParameter] openssl-ibmca-1.4.0/src/test/ibmca_mechaList_test.c:231:16: style: Variable 'long_options' can be declared as const array [constVariable] diff: head openssl-ibmca-1.4.0/src/test/ibmca_mechaList_test.c:129:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] head openssl-ibmca-1.4.0/src/test/ibmca_mechaList_test.c:188:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable flags [valueFlowBailoutIncompleteVar] head openssl-ibmca-1.4.0/src/test/ibmca_mechaList_test.c:232:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable no_argument [valueFlowBailoutIncompleteVar] DONE