2024-04-11 15:56 ftp://ftp.de.debian.org/debian/pool/main/p/pysha3/pysha3_1.0.2.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=python --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 -j4 platform: Linux-6.1.0-18-amd64-x86_64-with-glibc2.36 python: 3.11.2 client-version: 1.3.56 compiler: g++ (Debian 12.2.0-14) 12.2.0 cppcheck: head 2.13.0 head-info: 25768b4 (2024-04-11 17:09:00 +0200) count: 22 17 elapsed-time: 1.6 0.5 head-timing-info: old-timing-info: head results: pysha3-1.0.2/Modules/_sha3/kcp/KeccakP-1600-SnP.h:6:0: error: #error "No KeccakOpt" [preprocessorErrorDirective] pysha3-1.0.2/Modules/_sha3/kcp/KeccakP-1600-opt64.c:472:32: error: syntax error [syntaxError] pysha3-1.0.2/Modules/pymemsets.c:41:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] pysha3-1.0.2/Modules/_sha3/clinic/sha3module.c.h:43:59: debug: Function::addArguments found argument 'ignored' with varid 0. [varid0] pysha3-1.0.2/Modules/_sha3/clinic/sha3module.c.h:61:61: debug: Function::addArguments found argument 'ignored' with varid 0. [varid0] pysha3-1.0.2/Modules/_sha3/clinic/sha3module.c.h:79:64: debug: Function::addArguments found argument 'ignored' with varid 0. [varid0] pysha3-1.0.2/Modules/_sha3/sha3module.c:225:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_TypeError [valueFlowBailoutIncompleteVar] pysha3-1.0.2/Modules/_sha3/sha3module.c:322:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_RuntimeError [valueFlowBailoutIncompleteVar] pysha3-1.0.2/Modules/_sha3/sha3module.c:351:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_RuntimeError [valueFlowBailoutIncompleteVar] pysha3-1.0.2/Modules/_sha3/sha3module.c:375:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_TypeError [valueFlowBailoutIncompleteVar] pysha3-1.0.2/Modules/_sha3/sha3module.c:619:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_RuntimeError [valueFlowBailoutIncompleteVar] pysha3-1.0.2/Modules/_sha3/sha3module.c:744:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyType_Type [valueFlowBailoutIncompleteVar] pysha3-1.0.2/Modules/_sha3/kcp/KeccakHash.c:21:55: style:inconclusive: Function '_PySHA3_Keccak_HashInitialize' argument 1 names different: declaration 'hashInstance' definition 'instance'. [funcArgNamesDifferent] pysha3-1.0.2/Modules/_sha3/kcp/KeccakHash.h:49:55: note: Function '_PySHA3_Keccak_HashInitialize' argument 1 names different: declaration 'hashInstance' definition 'instance'. pysha3-1.0.2/Modules/_sha3/kcp/KeccakHash.c:21:55: note: Function '_PySHA3_Keccak_HashInitialize' argument 1 names different: declaration 'hashInstance' definition 'instance'. pysha3-1.0.2/Modules/_sha3/kcp/KeccakHash.c:37:51: style:inconclusive: Function '_PySHA3_Keccak_HashUpdate' argument 1 names different: declaration 'hashInstance' definition 'instance'. [funcArgNamesDifferent] pysha3-1.0.2/Modules/_sha3/kcp/KeccakHash.h:85:51: note: Function '_PySHA3_Keccak_HashUpdate' argument 1 names different: declaration 'hashInstance' definition 'instance'. pysha3-1.0.2/Modules/_sha3/kcp/KeccakHash.c:37:51: note: Function '_PySHA3_Keccak_HashUpdate' argument 1 names different: declaration 'hashInstance' definition 'instance'. pysha3-1.0.2/Modules/_sha3/kcp/KeccakHash.c:66:50: style:inconclusive: Function '_PySHA3_Keccak_HashFinal' argument 1 names different: declaration 'hashInstance' definition 'instance'. [funcArgNamesDifferent] pysha3-1.0.2/Modules/_sha3/kcp/KeccakHash.h:99:50: note: Function '_PySHA3_Keccak_HashFinal' argument 1 names different: declaration 'hashInstance' definition 'instance'. pysha3-1.0.2/Modules/_sha3/kcp/KeccakHash.c:66:50: note: Function '_PySHA3_Keccak_HashFinal' argument 1 names different: declaration 'hashInstance' definition 'instance'. pysha3-1.0.2/Modules/_sha3/kcp/KeccakHash.c:77:52: style:inconclusive: Function '_PySHA3_Keccak_HashSqueeze' argument 1 names different: declaration 'hashInstance' definition 'instance'. [funcArgNamesDifferent] pysha3-1.0.2/Modules/_sha3/kcp/KeccakHash.h:110:52: note: Function '_PySHA3_Keccak_HashSqueeze' argument 1 names different: declaration 'hashInstance' definition 'instance'. pysha3-1.0.2/Modules/_sha3/kcp/KeccakHash.c:77:52: note: Function '_PySHA3_Keccak_HashSqueeze' argument 1 names different: declaration 'hashInstance' definition 'instance'. pysha3-1.0.2/Modules/_sha3/kcp/KeccakP-1600-inplace32BI.c:121:53: style:inconclusive: Function '_PySHA3_KeccakP1600_AddByte' argument 2 names different: declaration 'data' definition 'byte'. [funcArgNamesDifferent] pysha3-1.0.2/Modules/_sha3/kcp/KeccakP-1600-SnP-opt32.h:28:53: note: Function '_PySHA3_KeccakP1600_AddByte' argument 2 names different: declaration 'data' definition 'byte'. pysha3-1.0.2/Modules/_sha3/kcp/KeccakP-1600-inplace32BI.c:121:53: note: Function '_PySHA3_KeccakP1600_AddByte' argument 2 names different: declaration 'data' definition 'byte'. pysha3-1.0.2/Modules/_sha3/sha3module.c:433:19: style: Variable 'type' can be declared as pointer to const [constVariablePointer] pysha3-1.0.2/Modules/_sha3/sha3module.c:598:27: style: Parameter 'self' can be declared as pointer to const [constParameterPointer] pysha3-1.0.2/Modules/_sha3/kcp/KeccakP-1600-inplace32BI.c:288:13: style: Variable 'stateAsHalfLanes' can be declared as pointer to const [constVariablePointer] pysha3-1.0.2/Modules/_sha3/kcp/KeccakP-1600-inplace32BI.c:360:13: style: Variable 'stateAsHalfLanes' can be declared as pointer to const [constVariablePointer] pysha3-1.0.2/Modules/_sha3/kcp/KeccakP-1600-inplace32BI.c:362:11: style: Variable 'laneAsBytes' is not assigned a value. [unassignedVariable] diff: head pysha3-1.0.2/Modules/_sha3/sha3module.c:322:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_RuntimeError [valueFlowBailoutIncompleteVar] head pysha3-1.0.2/Modules/_sha3/sha3module.c:351:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_RuntimeError [valueFlowBailoutIncompleteVar] head pysha3-1.0.2/Modules/_sha3/sha3module.c:375:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_TypeError [valueFlowBailoutIncompleteVar] head pysha3-1.0.2/Modules/_sha3/sha3module.c:619:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_RuntimeError [valueFlowBailoutIncompleteVar] head pysha3-1.0.2/Modules/_sha3/sha3module.c:744:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyType_Type [valueFlowBailoutIncompleteVar] DONE