2025-09-02 21:13 ftp://ftp.de.debian.org/debian/pool/main/q/qatzip/qatzip_1.3.1.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=zlib --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 -j4 platform: Linux-6.12.41+deb13-amd64-x86_64-with-glibc2.41 python: 3.13.5 client-version: 1.3.67 compiler: g++ (Debian 14.2.0-19) 14.2.0 cppcheck: head 2.18.0 head-info: e6e045f (2025-09-02 21:05:14 +0200) count: 230 429 elapsed-time: 1.3 3.2 head-timing-info: old-timing-info: head results: QATzip-1.3.1/src/qatzip.c:579:0: error: failed to evaluate #if condition, undefined function-like macro invocation: __GLIBC_PREREQ( ... ) [preprocessorErrorDirective] QATzip-1.3.1/src/qatzip.c:579:2: error: failed to evaluate #if condition, undefined function-like macro invocation: __GLIBC_PREREQ( ... ) [preprocessorErrorDirective] QATzip-1.3.1/src/qatzip_lz4.c:76:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_FORCE_SW [valueFlowBailoutIncompleteVar] QATzip-1.3.1/src/qatzip_gzip.c:107:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_DEFLATE [valueFlowBailoutIncompleteVar] QATzip-1.3.1/src/qatzip_gzip.c:128:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_DEFLATE [valueFlowBailoutIncompleteVar] QATzip-1.3.1/src/qatzip_gzip.c:187:109: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_DEFLATE [valueFlowBailoutIncompleteVar] QATzip-1.3.1/src/qatzip_gzip.c:205:260: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_DEFLATE [valueFlowBailoutIncompleteVar] QATzip-1.3.1/src/qatzip_gzip.c:289:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_DEFLATE [valueFlowBailoutIncompleteVar] QATzip-1.3.1/src/qatzip_lz4.c:104:57: style: Parameter 'res' can be declared as pointer to const [constParameterPointer] QATzip-1.3.1/src/qatzip_lz4.c:107:20: style: Variable 'hc_start' can be declared as pointer to const [constVariablePointer] QATzip-1.3.1/src/qatzip_lz4.c:134:57: style: Parameter 'res' can be declared as pointer to const [constParameterPointer] QATzip-1.3.1/src/qatzip_lz4.c:177:41: style: Parameter 'qz_sess' can be declared as pointer to const [constParameterPointer] QATzip-1.3.1/src/qatzip_lz4.c:179:15: style: Variable 'hdr' can be declared as pointer to const [constVariablePointer] QATzip-1.3.1/src/qatzip_lz4.c:224:63: style: Parameter 'res' can be declared as pointer to const [constParameterPointer] QATzip-1.3.1/src/qatzip_page_table.h:83:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] QATzip-1.3.1/src/qatzip_mem.c:110:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COMMON_MEM [valueFlowBailoutIncompleteVar] QATzip-1.3.1/src/qatzip_mem.c:174:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QzSession_T [valueFlowBailoutIncompleteVar] QATzip-1.3.1/src/qatzip_mem.c:240:5: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] QATzip-1.3.1/src/qatzip_stream.c:101:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SUCCESS [valueFlowBailoutIncompleteVar] QATzip-1.3.1/src/qatzip_stream.c:125:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SUCCESS [valueFlowBailoutIncompleteVar] QATzip-1.3.1/src/qatzip_stream.c:260:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FAILURE [valueFlowBailoutIncompleteVar] QATzip-1.3.1/src/qatzip_stream.c:282:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_FAIL [valueFlowBailoutIncompleteVar] QATzip-1.3.1/src/qatzip_stream.c:405:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_FAIL [valueFlowBailoutIncompleteVar] QATzip-1.3.1/src/qatzip_stream.c:601:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_FAIL [valueFlowBailoutIncompleteVar] QATzip-1.3.1/src/qatzip_stream.c:753:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_FAIL [valueFlowBailoutIncompleteVar] QATzip-1.3.1/src/qatzip_mem.c:117:43: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] QATzip-1.3.1/src/qatzip_gzip.c:86:68: style: Parameter 'res' can be declared as pointer to const [constParameterPointer] QATzip-1.3.1/src/qatzip_gzip.c:119:59: style: Parameter 'res' can be declared as pointer to const [constParameterPointer] QATzip-1.3.1/src/qatzip_gzip.c:138:56: style: Parameter 'res' can be declared as pointer to const [constParameterPointer] QATzip-1.3.1/src/qatzip_gzip.c:150:14: style: Variable 'h_4B' can be declared as pointer to const [constVariablePointer] QATzip-1.3.1/src/qatzip_gzip.c:228:58: style: Parameter 'res' can be declared as pointer to const [constParameterPointer] QATzip-1.3.1/src/qatzip_gzip.c:263:59: style: Parameter 'res' can be declared as pointer to const [constParameterPointer] QATzip-1.3.1/src/qatzip_gzip.c:273:58: style: Parameter 'res' can be declared as pointer to const [constParameterPointer] QATzip-1.3.1/src/qatzip_gzip.c:287:17: style: Variable 'h' can be declared as pointer to const [constVariablePointer] QATzip-1.3.1/src/qatzip_sw.c:98:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_HW_BUFF_SZ [valueFlowBailoutIncompleteVar] QATzip-1.3.1/src/qatzip_sw.c:264:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_OK [valueFlowBailoutIncompleteVar] QATzip-1.3.1/src/qatzip_sw.c:398:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_OK [valueFlowBailoutIncompleteVar] QATzip-1.3.1/src/qatzip_sw.c:465:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_OK [valueFlowBailoutIncompleteVar] QATzip-1.3.1/src/qatzip_sw.c:479:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_OK [valueFlowBailoutIncompleteVar] QATzip-1.3.1/src/qatzip_sw.c:539:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_OK [valueFlowBailoutIncompleteVar] QATzip-1.3.1/src/qatzip_sw.c:588:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_FAIL [valueFlowBailoutIncompleteVar] QATzip-1.3.1/src/qatzip_sw.c:627:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_FAIL [valueFlowBailoutIncompleteVar] QATzip-1.3.1/src/qatzip_sw.c:666:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_FAIL [valueFlowBailoutIncompleteVar] QATzip-1.3.1/src/qatzip_sw.c:707:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_FAIL [valueFlowBailoutIncompleteVar] QATzip-1.3.1/src/qatzip_sw.c:755:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dataLenInBytes [valueFlowBailoutIncompleteVar] QATzip-1.3.1/src/qatzip_sw.c:804:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_FAIL [valueFlowBailoutIncompleteVar] QATzip-1.3.1/src/qatzip_sw.c:853:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dataLenInBytes [valueFlowBailoutIncompleteVar] QATzip-1.3.1/src/qatzip_sw.c:910:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_OK [valueFlowBailoutIncompleteVar] QATzip-1.3.1/src/qatzip_sw.c:947:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_OK [valueFlowBailoutIncompleteVar] QATzip-1.3.1/src/qatzip_sw.c:971:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dataLenInBytes [valueFlowBailoutIncompleteVar] QATzip-1.3.1/src/qatzip_stream.c:252:36: style: Parameter 'addr' can be declared as pointer to const [constParameterPointer] QATzip-1.3.1/src/qatzip_stream.c:366:20: style: Variable 'stream_buf' can be declared as pointer to const [constVariablePointer] QATzip-1.3.1/src/qatzip_stream.c:751:30: style: Parameter 'sess' can be declared as pointer to const [constParameterPointer] QATzip-1.3.1/test/bt.c:75:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] QATzip-1.3.1/src/qatzip_utils.c:222:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] QATzip-1.3.1/src/qatzip_utils.c:278:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CPA_DC_DEFLATE [valueFlowBailoutIncompleteVar] QATzip-1.3.1/src/qatzip_utils.c:355:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_OK [valueFlowBailoutIncompleteVar] QATzip-1.3.1/src/qatzip_utils.c:399:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_STATIC_HDR [valueFlowBailoutIncompleteVar] QATzip-1.3.1/src/qatzip_utils.c:460:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_DIR_BOTH [valueFlowBailoutIncompleteVar] QATzip-1.3.1/src/qatzip_utils.c:513:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_OK [valueFlowBailoutIncompleteVar] QATzip-1.3.1/src/qatzip_utils.c:544:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_OK [valueFlowBailoutIncompleteVar] QATzip-1.3.1/src/qatzip_utils.c:586:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_OK [valueFlowBailoutIncompleteVar] QATzip-1.3.1/src/qatzip_utils.c:608:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_OK [valueFlowBailoutIncompleteVar] QATzip-1.3.1/src/qatzip_utils.c:677:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_DEFLATE_4B [valueFlowBailoutIncompleteVar] QATzip-1.3.1/src/qatzip_utils.c:701:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_DEFLATE_4B [valueFlowBailoutIncompleteVar] QATzip-1.3.1/src/qatzip_utils.c:780:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_DEFLATE_4B [valueFlowBailoutIncompleteVar] QATzip-1.3.1/src/qatzip_utils.c:824:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_DEFLATE_4B [valueFlowBailoutIncompleteVar] QATzip-1.3.1/src/qatzip_utils.c:866:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_LZ4 [valueFlowBailoutIncompleteVar] QATzip-1.3.1/src/qatzip_utils.c:880:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_LZ4s [valueFlowBailoutIncompleteVar] QATzip-1.3.1/src/qatzip_utils.c:1037:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pData [valueFlowBailoutIncompleteVar] QATzip-1.3.1/src/qatzip_utils.c:1046:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pData [valueFlowBailoutIncompleteVar] QATzip-1.3.1/src/qatzip_utils.c:1071:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable requiresPhysicallyContiguousMemory [valueFlowBailoutIncompleteVar] QATzip-1.3.1/src/qatzip_utils.c:1155:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable requiresPhysicallyContiguousMemory [valueFlowBailoutIncompleteVar] QATzip-1.3.1/src/qatzip_utils.c:1202:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_BUF_ERROR [valueFlowBailoutIncompleteVar] QATzip-1.3.1/src/qatzip_utils.c:1213:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pData [valueFlowBailoutIncompleteVar] QATzip-1.3.1/src/qatzip_utils.c:1249:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_BUF_ERROR [valueFlowBailoutIncompleteVar] QATzip-1.3.1/src/qatzip_utils.c:1367:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable requiresPhysicallyContiguousMemory [valueFlowBailoutIncompleteVar] QATzip-1.3.1/src/qatzip_utils.c:1456:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pData [valueFlowBailoutIncompleteVar] QATzip-1.3.1/src/qatzip_utils.c:1490:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dataLenInBytes [valueFlowBailoutIncompleteVar] QATzip-1.3.1/src/qatzip_utils.c:1627:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_BUF_ERROR [valueFlowBailoutIncompleteVar] QATzip-1.3.1/src/qatzip_utils.c:1638:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable requiresPhysicallyContiguousMemory [valueFlowBailoutIncompleteVar] QATzip-1.3.1/src/qatzip_utils.c:1663:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pData [valueFlowBailoutIncompleteVar] QATzip-1.3.1/src/qatzip_utils.c:1686:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_FAIL [valueFlowBailoutIncompleteVar] QATzip-1.3.1/src/qatzip_utils.c:1727:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_FAIL [valueFlowBailoutIncompleteVar] QATzip-1.3.1/src/qatzip_utils.c:1757:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QzRing_T [valueFlowBailoutIncompleteVar] QATzip-1.3.1/src/qatzip_utils.c:1794:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_OK [valueFlowBailoutIncompleteVar] QATzip-1.3.1/src/qatzip_utils.c:1815:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_FAIL [valueFlowBailoutIncompleteVar] QATzip-1.3.1/src/xxhash.c:521:41: style:inconclusive: Boolean expression 'len>=16' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] QATzip-1.3.1/test/bt.c:152:21: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] QATzip-1.3.1/test/bt.c:152:21: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] QATzip-1.3.1/test/bt.c:152:21: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] QATzip-1.3.1/test/bt.c:152:21: warning: %d in format string (no. 4) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] QATzip-1.3.1/test/bt.c:154:21: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] QATzip-1.3.1/test/bt.c:154:21: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] QATzip-1.3.1/test/bt.c:154:21: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] QATzip-1.3.1/test/bt.c:159:21: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] QATzip-1.3.1/test/bt.c:159:21: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] QATzip-1.3.1/test/bt.c:164:17: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] QATzip-1.3.1/test/bt.c:164:17: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] QATzip-1.3.1/test/bt.c:164:17: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] QATzip-1.3.1/src/xxhash.c:448:61: style:inconclusive: Function 'XXH32' argument 2 names different: declaration 'length' definition 'len'. [funcArgNamesDifferent] QATzip-1.3.1/src/xxhash.h:171:61: note: Function 'XXH32' argument 2 names different: declaration 'length' definition 'len'. QATzip-1.3.1/src/xxhash.c:448:61: note: Function 'XXH32' argument 2 names different: declaration 'length' definition 'len'. QATzip-1.3.1/src/xxhash.c:483:52: style:inconclusive: Function 'XXH32_copyState' argument 1 names different: declaration 'dst_state' definition 'dstState'. [funcArgNamesDifferent] QATzip-1.3.1/src/xxhash.h:178:52: note: Function 'XXH32_copyState' argument 1 names different: declaration 'dst_state' definition 'dstState'. QATzip-1.3.1/src/xxhash.c:483:52: note: Function 'XXH32_copyState' argument 1 names different: declaration 'dst_state' definition 'dstState'. QATzip-1.3.1/src/xxhash.c:484:58: style:inconclusive: Function 'XXH32_copyState' argument 2 names different: declaration 'src_state' definition 'srcState'. [funcArgNamesDifferent] QATzip-1.3.1/src/xxhash.h:179:58: note: Function 'XXH32_copyState' argument 2 names different: declaration 'src_state' definition 'srcState'. QATzip-1.3.1/src/xxhash.c:484:58: note: Function 'XXH32_copyState' argument 2 names different: declaration 'src_state' definition 'srcState'. QATzip-1.3.1/src/xxhash.c:579:58: style:inconclusive: Function 'XXH32_update' argument 1 names different: declaration 'statePtr' definition 'state_in'. [funcArgNamesDifferent] QATzip-1.3.1/src/xxhash.h:183:58: note: Function 'XXH32_update' argument 1 names different: declaration 'statePtr' definition 'state_in'. QATzip-1.3.1/src/xxhash.c:579:58: note: Function 'XXH32_update' argument 1 names different: declaration 'statePtr' definition 'state_in'. QATzip-1.3.1/src/xxhash.c:580:35: style:inconclusive: Function 'XXH32_update' argument 3 names different: declaration 'length' definition 'len'. [funcArgNamesDifferent] QATzip-1.3.1/src/xxhash.h:184:35: note: Function 'XXH32_update' argument 3 names different: declaration 'length' definition 'len'. QATzip-1.3.1/src/xxhash.c:580:35: note: Function 'XXH32_update' argument 3 names different: declaration 'length' definition 'len'. QATzip-1.3.1/src/xxhash.c:611:63: style:inconclusive: Function 'XXH32_digest' argument 1 names different: declaration 'statePtr' definition 'state_in'. [funcArgNamesDifferent] QATzip-1.3.1/src/xxhash.h:185:64: note: Function 'XXH32_digest' argument 1 names different: declaration 'statePtr' definition 'state_in'. QATzip-1.3.1/src/xxhash.c:611:63: note: Function 'XXH32_digest' argument 1 names different: declaration 'statePtr' definition 'state_in'. QATzip-1.3.1/src/xxhash.c:962:67: style:inconclusive: Function 'XXH64' argument 2 names different: declaration 'length' definition 'len'. [funcArgNamesDifferent] QATzip-1.3.1/src/xxhash.h:234:61: note: Function 'XXH64' argument 2 names different: declaration 'length' definition 'len'. QATzip-1.3.1/src/xxhash.c:962:67: note: Function 'XXH64' argument 2 names different: declaration 'length' definition 'len'. QATzip-1.3.1/src/xxhash.c:995:52: style:inconclusive: Function 'XXH64_copyState' argument 1 names different: declaration 'dst_state' definition 'dstState'. [funcArgNamesDifferent] QATzip-1.3.1/src/xxhash.h:241:52: note: Function 'XXH64_copyState' argument 1 names different: declaration 'dst_state' definition 'dstState'. QATzip-1.3.1/src/xxhash.c:995:52: note: Function 'XXH64_copyState' argument 1 names different: declaration 'dst_state' definition 'dstState'. QATzip-1.3.1/src/xxhash.c:996:58: style:inconclusive: Function 'XXH64_copyState' argument 2 names different: declaration 'src_state' definition 'srcState'. [funcArgNamesDifferent] QATzip-1.3.1/src/xxhash.h:242:58: note: Function 'XXH64_copyState' argument 2 names different: declaration 'src_state' definition 'srcState'. QATzip-1.3.1/src/xxhash.c:996:58: note: Function 'XXH64_copyState' argument 2 names different: declaration 'src_state' definition 'srcState'. QATzip-1.3.1/src/xxhash.c:1082:58: style:inconclusive: Function 'XXH64_update' argument 1 names different: declaration 'statePtr' definition 'state_in'. [funcArgNamesDifferent] QATzip-1.3.1/src/xxhash.h:246:58: note: Function 'XXH64_update' argument 1 names different: declaration 'statePtr' definition 'state_in'. QATzip-1.3.1/src/xxhash.c:1082:58: note: Function 'XXH64_update' argument 1 names different: declaration 'statePtr' definition 'state_in'. QATzip-1.3.1/src/xxhash.c:1083:35: style:inconclusive: Function 'XXH64_update' argument 3 names different: declaration 'length' definition 'len'. [funcArgNamesDifferent] QATzip-1.3.1/src/xxhash.h:247:35: note: Function 'XXH64_update' argument 3 names different: declaration 'length' definition 'len'. QATzip-1.3.1/src/xxhash.c:1083:35: note: Function 'XXH64_update' argument 3 names different: declaration 'length' definition 'len'. QATzip-1.3.1/src/xxhash.c:1120:69: style:inconclusive: Function 'XXH64_digest' argument 1 names different: declaration 'statePtr' definition 'state_in'. [funcArgNamesDifferent] QATzip-1.3.1/src/xxhash.h:248:64: note: Function 'XXH64_digest' argument 1 names different: declaration 'statePtr' definition 'state_in'. QATzip-1.3.1/src/xxhash.c:1120:69: note: Function 'XXH64_digest' argument 1 names different: declaration 'statePtr' definition 'state_in'. QATzip-1.3.1/src/xxhash.c:256:23: style: union member 'Anonymous0::u' is never used. [unusedStructMember] QATzip-1.3.1/test/main.c:92:0: error: failed to evaluate #if condition, undefined function-like macro invocation: CPA_DC_API_VERSION_AT_LEAST( ... ) [preprocessorErrorDirective] QATzip-1.3.1/test/main.c:92:2: error: failed to evaluate #if condition, undefined function-like macro invocation: CPA_DC_API_VERSION_AT_LEAST( ... ) [preprocessorErrorDirective] QATzip-1.3.1/utils/qzip.c:186:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_FAIL [valueFlowBailoutIncompleteVar] QATzip-1.3.1/utils/qzip.c:282:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] QATzip-1.3.1/utils/qzip.c:419:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_DEFLATE_4B [valueFlowBailoutIncompleteVar] QATzip-1.3.1/utils/qzip.c:521:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_DUPLICATE [valueFlowBailoutIncompleteVar] QATzip-1.3.1/utils/qzip.c:767:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tv_nsec [valueFlowBailoutIncompleteVar] QATzip-1.3.1/utils/qzip.c:834:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] QATzip-1.3.1/src/qatzip_sw.c:621:34: style:inconclusive: Function 'qzSWDecompress' argument 3 names different: declaration 'uncompressed_buf_len' definition 'src_len'. [funcArgNamesDifferent] QATzip-1.3.1/src/qatzip_internal.h:535:34: note: Function 'qzSWDecompress' argument 3 names different: declaration 'uncompressed_buf_len' definition 'src_len'. QATzip-1.3.1/src/qatzip_sw.c:621:34: note: Function 'qzSWDecompress' argument 3 names different: declaration 'uncompressed_buf_len' definition 'src_len'. QATzip-1.3.1/src/qatzip_sw.c:622:34: style:inconclusive: Function 'qzSWDecompress' argument 5 names different: declaration 'compressed_buffer_len' definition 'dest_len'. [funcArgNamesDifferent] QATzip-1.3.1/src/qatzip_internal.h:536:34: note: Function 'qzSWDecompress' argument 5 names different: declaration 'compressed_buffer_len' definition 'dest_len'. QATzip-1.3.1/src/qatzip_sw.c:622:34: note: Function 'qzSWDecompress' argument 5 names different: declaration 'compressed_buffer_len' definition 'dest_len'. QATzip-1.3.1/src/qatzip_sw.c:660:39: style:inconclusive: Function 'qzSWDecompressMulti' argument 3 names different: declaration 'uncompressed_buf_len' definition 'src_len'. [funcArgNamesDifferent] QATzip-1.3.1/src/qatzip_internal.h:539:39: note: Function 'qzSWDecompressMulti' argument 3 names different: declaration 'uncompressed_buf_len' definition 'src_len'. QATzip-1.3.1/src/qatzip_sw.c:660:39: note: Function 'qzSWDecompressMulti' argument 3 names different: declaration 'uncompressed_buf_len' definition 'src_len'. QATzip-1.3.1/src/qatzip_sw.c:661:39: style:inconclusive: Function 'qzSWDecompressMulti' argument 5 names different: declaration 'compressed_buffer_len' definition 'dest_len'. [funcArgNamesDifferent] QATzip-1.3.1/src/qatzip_internal.h:540:39: note: Function 'qzSWDecompressMulti' argument 5 names different: declaration 'compressed_buffer_len' definition 'dest_len'. QATzip-1.3.1/src/qatzip_sw.c:661:39: note: Function 'qzSWDecompressMulti' argument 5 names different: declaration 'compressed_buffer_len' definition 'dest_len'. QATzip-1.3.1/utils/qzip_7z.c:102:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] QATzip-1.3.1/utils/qzip_7z.c:111:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] QATzip-1.3.1/utils/qzip_7z.c:123:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] QATzip-1.3.1/utils/qzip_7z.c:133:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] QATzip-1.3.1/utils/qzip_7z.c:147:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] QATzip-1.3.1/utils/qzip_7z.c:321:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_FAIL [valueFlowBailoutIncompleteVar] QATzip-1.3.1/utils/qzip_7z.c:386:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_FAIL [valueFlowBailoutIncompleteVar] QATzip-1.3.1/utils/qzip_7z.c:528:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] QATzip-1.3.1/utils/qzip_7z.c:792:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] QATzip-1.3.1/utils/qzip_7z.c:953:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] QATzip-1.3.1/utils/qzip_7z.c:1134:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] QATzip-1.3.1/utils/qzip_7z.c:1570:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] QATzip-1.3.1/utils/qzip_7z.c:1746:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] QATzip-1.3.1/utils/qzip_7z.c:1829:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] QATzip-1.3.1/utils/qzip_7z.c:2200:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] QATzip-1.3.1/utils/qzip_7z.c:2265:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] QATzip-1.3.1/utils/qzip_7z.c:2773:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] QATzip-1.3.1/utils/qzip_7z.c:2804:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] QATzip-1.3.1/utils/qzip_7z.c:2839:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] QATzip-1.3.1/utils/qzip_7z.c:2879:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] QATzip-1.3.1/utils/qzip_7z.c:3035:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable attribute [valueFlowBailoutIncompleteVar] QATzip-1.3.1/utils/qzip_7z.c:3085:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] QATzip-1.3.1/utils/qzip_7z.c:3186:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] QATzip-1.3.1/src/qatzip_utils.c:219:26: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] QATzip-1.3.1/src/qatzip_utils.c:1758:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ring [nullPointerOutOfMemory] QATzip-1.3.1/src/qatzip_utils.c:1757:30: note: Assuming allocation function fails QATzip-1.3.1/src/qatzip_utils.c:1757:12: note: Assignment 'ring=(QzRing_T*)calloc(1,sizeof(QzRing_T))', assigned value is 0 QATzip-1.3.1/src/qatzip_utils.c:1758:5: note: Null pointer dereference QATzip-1.3.1/src/qatzip_utils.c:1759:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ring [nullPointerOutOfMemory] QATzip-1.3.1/src/qatzip_utils.c:1757:30: note: Assuming allocation function fails QATzip-1.3.1/src/qatzip_utils.c:1757:12: note: Assignment 'ring=(QzRing_T*)calloc(1,sizeof(QzRing_T))', assigned value is 0 QATzip-1.3.1/src/qatzip_utils.c:1759:5: note: Null pointer dereference QATzip-1.3.1/src/qatzip_utils.c:1760:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ring [nullPointerOutOfMemory] QATzip-1.3.1/src/qatzip_utils.c:1757:30: note: Assuming allocation function fails QATzip-1.3.1/src/qatzip_utils.c:1757:12: note: Assignment 'ring=(QzRing_T*)calloc(1,sizeof(QzRing_T))', assigned value is 0 QATzip-1.3.1/src/qatzip_utils.c:1760:5: note: Null pointer dereference QATzip-1.3.1/src/qatzip_utils.c:1761:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ring [nullPointerOutOfMemory] QATzip-1.3.1/src/qatzip_utils.c:1757:30: note: Assuming allocation function fails QATzip-1.3.1/src/qatzip_utils.c:1757:12: note: Assignment 'ring=(QzRing_T*)calloc(1,sizeof(QzRing_T))', assigned value is 0 QATzip-1.3.1/src/qatzip_utils.c:1761:5: note: Null pointer dereference QATzip-1.3.1/src/qatzip_utils.c:1246:24: style: Checking if unsigned expression 'src_avail_len' is less than zero. [unsignedLessThanZero] QATzip-1.3.1/src/qatzip_utils.c:1246:49: style: Checking if unsigned expression 'dest_avail_len' is less than zero. [unsignedLessThanZero] QATzip-1.3.1/src/qatzip_utils.c:1248:34: style: Checking if unsigned expression 'dest_avail_len' is less than zero. [unsignedLessThanZero] QATzip-1.3.1/utils/qzip_main.c:39:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_OK [valueFlowBailoutIncompleteVar] QATzip-1.3.1/src/qatzip_utils.c:1534:38: style:inconclusive: Function 'setDeflateEndOfStream' argument 1 names different: declaration 'sess' definition 'qz_sess'. [funcArgNamesDifferent] QATzip-1.3.1/src/qatzip_internal.h:543:38: note: Function 'setDeflateEndOfStream' argument 1 names different: declaration 'sess' definition 'qz_sess'. QATzip-1.3.1/src/qatzip_utils.c:1534:38: note: Function 'setDeflateEndOfStream' argument 1 names different: declaration 'sess' definition 'qz_sess'. QATzip-1.3.1/src/qatzip_utils.c:219:16: style: Variable 'tm_info' can be declared as pointer to const [constVariablePointer] QATzip-1.3.1/src/qatzip_utils.c:1242:15: style: Variable 'qzLZ4Header' can be declared as pointer to const [constVariablePointer] QATzip-1.3.1/src/qatzip_utils.c:1358:15: style: Variable 'qzFooter' can be declared as pointer to const [constVariablePointer] QATzip-1.3.1/src/qatzip_utils.c:1359:15: style: Variable 'lz4Footer' can be declared as pointer to const [constVariablePointer] QATzip-1.3.1/src/qatzip_utils.c:1360:17: style: Variable 'zlibFooter' can be declared as pointer to const [constVariablePointer] QATzip-1.3.1/src/qatzip_utils.c:1494:25: style: Variable 'zlibFooter' can be declared as pointer to const [constVariablePointer] QATzip-1.3.1/src/qatzip_utils.c:1678:27: style: Variable 'free_entries' is assigned a value that is never used. [unreadVariable] QATzip-1.3.1/src/qatzip_utils.c:1719:17: style: Variable 'entries' is assigned a value that is never used. [unreadVariable] QATzip-1.3.1/utils/qzstd.c:142:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable litLength [valueFlowBailoutIncompleteVar] QATzip-1.3.1/utils/qzstd.c:185:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_LZ4_HEADER_SIZE [valueFlowBailoutIncompleteVar] QATzip-1.3.1/utils/qzstd.c:190:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_LZ4_BLK_HEADER_SIZE [valueFlowBailoutIncompleteVar] QATzip-1.3.1/utils/qzstd.c:195:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_LZ4_FOOTER_SIZE [valueFlowBailoutIncompleteVar] QATzip-1.3.1/utils/qzstd.c:202:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_LZ4_MAGIC [valueFlowBailoutIncompleteVar] QATzip-1.3.1/utils/qzstd.c:216:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_OK [valueFlowBailoutIncompleteVar] QATzip-1.3.1/utils/qzstd.c:290:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QzSessionParamsLZ4S_T [valueFlowBailoutIncompleteVar] QATzip-1.3.1/utils/qzstd.c:329:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ZSTD_c_minMatch [valueFlowBailoutIncompleteVar] QATzip-1.3.1/utils/qzip_main.c:133:38: style: Checking if unsigned expression 'g_params_th.comp_lvl' is less than zero. [unsignedLessThanZero] QATzip-1.3.1/utils/qzip_main.c:42:11: style: Variable 'out_name' can be declared as pointer to const [constVariablePointer] QATzip-1.3.1/utils/qzstd.c:388:17: style: Local variable 'ret' shadows outer variable [shadowVariable] QATzip-1.3.1/utils/qzstd.c:334:9: note: Shadowed declaration QATzip-1.3.1/utils/qzstd.c:388:17: note: Shadow variable QATzip-1.3.1/utils/qzstd.c:122:20: style: Variable 'endip' can be declared as pointer to const [constVariablePointer] QATzip-1.3.1/utils/qzstd.c:200:15: style: Variable 'hdr' can be declared as pointer to const [constVariablePointer] QATzip-1.3.1/utils/qzstd.c:223:20: style: Variable 'end' can be declared as pointer to const [constVariablePointer] QATzip-1.3.1/utils/qzstd.c:95:13: style: union member 'Anonymous0::u' is never used. [unusedStructMember] QATzip-1.3.1/utils/qzstd.c:233:25: style: Variable 'cnt_sz' is assigned a value that is never used. [unreadVariable] QATzip-1.3.1/utils/qzstd.c:233:37: style: Variable 'blk_sz' is assigned a value that is never used. [unreadVariable] QATzip-1.3.1/utils/qzstd.c:301:34: style: Variable 'dst_buffer_size' is assigned a value that is never used. [unreadVariable] QATzip-1.3.1/utils/qzstd.c:307:29: style: Variable 'bytes_read' is assigned a value that is never used. [unreadVariable] QATzip-1.3.1/utils/qzstd_main.c:55:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] QATzip-1.3.1/utils/qzstd_main.c:57:11: style: Variable 'out_filename' can be declared as pointer to const [constVariablePointer] QATzip-1.3.1/utils/qzip.c:406:62: style: Parameter 'params' can be declared as pointer to const [constParameterPointer] QATzip-1.3.1/utils/qzip.c:458:58: style: Parameter 'params' can be declared as pointer to const [constParameterPointer] QATzip-1.3.1/utils/qzip.c:486:59: style: Parameter 'params' can be declared as pointer to const [constParameterPointer] QATzip-1.3.1/utils/qzip.c:704:52: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] QATzip-1.3.1/utils/qzip.c:151:28: style: Variable 'us_begin' is assigned a value that is never used. [unreadVariable] QATzip-1.3.1/utils/qzip.c:152:26: style: Variable 'us_end' is assigned a value that is never used. [unreadVariable] QATzip-1.3.1/utils/qzip.c:267:29: style: Variable 'bytes_read' is assigned a value that is never used. [unreadVariable] QATzip-1.3.1/utils/qzip.c:268:34: style: Variable 'bytes_lookahead' is assigned a value that is never used. [unreadVariable] QATzip-1.3.1/utils/qzip_7z.c:2108:9: style: Obsolescent function 'utime' called. It is recommended to use 'utimensat' instead. [prohibitedutimeCalled] QATzip-1.3.1/utils/qzip_7z.c:668:9: style: Condition '!eheader' is always false [knownConditionTrueFalse] QATzip-1.3.1/utils/qzip_7z.c:392:18: style:inconclusive: Same expression used in consecutive assignments of 'src_remain_output' and 'total'. [duplicateAssignExpression] QATzip-1.3.1/utils/qzip_7z.c:393:18: note: Same expression used in consecutive assignments of 'src_remain_output' and 'total'. QATzip-1.3.1/utils/qzip_7z.c:392:18: note: Same expression used in consecutive assignments of 'src_remain_output' and 'total'. QATzip-1.3.1/utils/qzip_7z.c:214:47: style:inconclusive: Function 'getUint64Bytes' argument 2 names different: declaration 'u64' definition 'p'. [funcArgNamesDifferent] QATzip-1.3.1/utils/qzip.h:721:47: note: Function 'getUint64Bytes' argument 2 names different: declaration 'u64' definition 'p'. QATzip-1.3.1/utils/qzip_7z.c:214:47: note: Function 'getUint64Bytes' argument 2 names different: declaration 'u64' definition 'p'. QATzip-1.3.1/utils/qzip_7z.c:738:53: style:inconclusive: Function 'qz7zCompress' argument 2 names different: declaration 'the_list' definition 'list'. [funcArgNamesDifferent] QATzip-1.3.1/utils/qzip.h:709:53: note: Function 'qz7zCompress' argument 2 names different: declaration 'the_list' definition 'list'. QATzip-1.3.1/utils/qzip_7z.c:738:53: note: Function 'qz7zCompress' argument 2 names different: declaration 'the_list' definition 'list'. QATzip-1.3.1/utils/qzip_7z.c:750:38: style:inconclusive: Function 'deleteSourceFile' argument 1 names different: declaration 'the_list' definition 'list'. [funcArgNamesDifferent] QATzip-1.3.1/utils/qzip.h:736:38: note: Function 'deleteSourceFile' argument 1 names different: declaration 'the_list' definition 'list'. QATzip-1.3.1/utils/qzip_7z.c:750:38: note: Function 'deleteSourceFile' argument 1 names different: declaration 'the_list' definition 'list'. QATzip-1.3.1/utils/qzip_7z.c:1732:37: style:inconclusive: Function 'freeEndHeader' argument 1 names different: declaration 'eheader' definition 'h'. [funcArgNamesDifferent] QATzip-1.3.1/utils/qzip.h:705:37: note: Function 'freeEndHeader' argument 1 names different: declaration 'eheader' definition 'h'. QATzip-1.3.1/utils/qzip_7z.c:1732:37: note: Function 'freeEndHeader' argument 1 names different: declaration 'eheader' definition 'h'. QATzip-1.3.1/utils/qzip_7z.c:2283:38: style:inconclusive: Function 'fileItemCreate' argument 1 names different: declaration 'pfilename' definition 'f'. [funcArgNamesDifferent] QATzip-1.3.1/utils/qzip.h:640:38: note: Function 'fileItemCreate' argument 1 names different: declaration 'pfilename' definition 'f'. QATzip-1.3.1/utils/qzip_7z.c:2283:38: note: Function 'fileItemCreate' argument 1 names different: declaration 'pfilename' definition 'f'. QATzip-1.3.1/utils/qzip_7z.c:2328:43: style:inconclusive: Function 'qzListAdd' argument 2 names different: declaration 'node' definition 'fi'. [funcArgNamesDifferent] QATzip-1.3.1/utils/qzip.h:631:43: note: Function 'qzListAdd' argument 2 names different: declaration 'node' definition 'fi'. QATzip-1.3.1/utils/qzip_7z.c:2328:43: note: Function 'qzListAdd' argument 2 names different: declaration 'node' definition 'fi'. QATzip-1.3.1/utils/qzip_7z.c:525:29: style: Variable 'cur_file' can be declared as pointer to const [constVariablePointer] QATzip-1.3.1/utils/qzip_7z.c:772:33: style: Variable 'item' can be declared as pointer to const [constVariablePointer] QATzip-1.3.1/utils/qzip_7z.c:1458:68: style: Parameter 'sheader' can be declared as pointer to const [constParameterPointer] QATzip-1.3.1/utils/qzip_7z.c:1569:11: style: Variable 'dirc' can be declared as pointer to const [constVariablePointer] QATzip-1.3.1/utils/qzip_7z.c:1569:18: style: Variable 'basec' can be declared as pointer to const [constVariablePointer] QATzip-1.3.1/utils/qzip_7z.c:1621:22: style: Variable 'p' can be declared as pointer to const [constVariablePointer] QATzip-1.3.1/utils/qzip_7z.c:1631:43: style: Parameter 'sh' can be declared as pointer to const [constParameterPointer] QATzip-1.3.1/utils/qzip_7z.c:1751:15: style: Variable 'ret' can be declared as pointer to const [constVariablePointer] QATzip-1.3.1/utils/qzip_7z.c:2261:39: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] QATzip-1.3.1/utils/qzip_7z.c:2283:38: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] QATzip-1.3.1/utils/qzip_7z.c:2554:29: style: Variable 'p' can be declared as pointer to const [constVariablePointer] QATzip-1.3.1/utils/qzip_7z.c:2585:25: style: Variable 'p' can be declared as pointer to const [constVariablePointer] QATzip-1.3.1/utils/qzip_7z.c:2595:21: style: Variable 'fi' can be declared as pointer to const [constVariablePointer] QATzip-1.3.1/utils/qzip_7z.c:2744:36: style: Parameter 'tbl' can be declared as pointer to const [constParameterPointer] QATzip-1.3.1/utils/qzip_7z.c:2744:57: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] QATzip-1.3.1/utils/qzip_7z.c:2769:49: style: Parameter 'header' can be declared as pointer to const [constParameterPointer] QATzip-1.3.1/utils/qzip_7z.c:2795:54: style: Parameter 'property' can be declared as pointer to const [constParameterPointer] QATzip-1.3.1/utils/qzip_7z.c:2811:38: style: Parameter 'pack' can be declared as pointer to const [constParameterPointer] QATzip-1.3.1/utils/qzip_7z.c:2832:18: style: Variable 'coder' can be declared as pointer to const [constVariablePointer] QATzip-1.3.1/utils/qzip_7z.c:2870:38: style: Parameter 'digest' can be declared as pointer to const [constParameterPointer] QATzip-1.3.1/utils/qzip_7z.c:3032:21: style: Variable 'p' can be declared as pointer to const [constVariablePointer] QATzip-1.3.1/utils/qzip_7z.c:3053:21: style: Variable 'pfile' can be declared as pointer to const [constVariablePointer] QATzip-1.3.1/utils/qzip_7z.c:3123:21: style: Variable 'pfile' can be declared as pointer to const [constVariablePointer] QATzip-1.3.1/utils/qzip_7z.c:3184:11: style: Variable 'dirc' can be declared as pointer to const [constVariablePointer] QATzip-1.3.1/utils/qzip_7z.c:3239:36: style: Variable 'dentry' can be declared as pointer to const [constVariablePointer] QATzip-1.3.1/utils/qzip_7z.c:3318:20: style: Variable 'sig_wrong' is assigned a value that is never used. [unreadVariable] diff: 2.18.0 QATzip-1.3.1/src/qatzip.c:1120:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_OK [valueFlowBailoutIncompleteVar] 2.18.0 QATzip-1.3.1/src/qatzip.c:1151:8: style: Variable 'rc' is reassigned a value before the old one has been used. [redundantAssignment] QATzip-1.3.1/src/qatzip.c:1129:12: note: rc is assigned QATzip-1.3.1/src/qatzip.c:1151:8: note: rc is overwritten 2.18.0 QATzip-1.3.1/src/qatzip.c:1163:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_OK [valueFlowBailoutIncompleteVar] 2.18.0 QATzip-1.3.1/src/qatzip.c:1194:8: style: Variable 'rc' is reassigned a value before the old one has been used. [redundantAssignment] QATzip-1.3.1/src/qatzip.c:1172:12: note: rc is assigned QATzip-1.3.1/src/qatzip.c:1194:8: note: rc is overwritten 2.18.0 QATzip-1.3.1/src/qatzip.c:1208:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_OK [valueFlowBailoutIncompleteVar] 2.18.0 QATzip-1.3.1/src/qatzip.c:1246:8: style: Variable 'rc' is reassigned a value before the old one has been used. [redundantAssignment] QATzip-1.3.1/src/qatzip.c:1217:12: note: rc is assigned QATzip-1.3.1/src/qatzip.c:1246:8: note: rc is overwritten 2.18.0 QATzip-1.3.1/src/qatzip.c:1263:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_OK [valueFlowBailoutIncompleteVar] 2.18.0 QATzip-1.3.1/src/qatzip.c:1294:8: style: Variable 'rc' is reassigned a value before the old one has been used. [redundantAssignment] QATzip-1.3.1/src/qatzip.c:1272:12: note: rc is assigned QATzip-1.3.1/src/qatzip.c:1294:8: note: rc is overwritten 2.18.0 QATzip-1.3.1/src/qatzip.c:1306:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_OK [valueFlowBailoutIncompleteVar] 2.18.0 QATzip-1.3.1/src/qatzip.c:1337:8: style: Variable 'rc' is reassigned a value before the old one has been used. [redundantAssignment] QATzip-1.3.1/src/qatzip.c:1315:12: note: rc is assigned QATzip-1.3.1/src/qatzip.c:1337:8: note: rc is overwritten 2.18.0 QATzip-1.3.1/src/qatzip.c:1353:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_OK [valueFlowBailoutIncompleteVar] 2.18.0 QATzip-1.3.1/src/qatzip.c:139:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_PARAMS [valueFlowBailoutIncompleteVar] 2.18.0 QATzip-1.3.1/src/qatzip.c:1422:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CPA_STATUS_SUCCESS [valueFlowBailoutIncompleteVar] 2.18.0 QATzip-1.3.1/src/qatzip.c:1514:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CPA_STATUS_SUCCESS [valueFlowBailoutIncompleteVar] 2.18.0 QATzip-1.3.1/src/qatzip.c:1551:21: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] 2.18.0 QATzip-1.3.1/src/qatzip.c:1614:14: style: Variable 'good' is assigned a value that is never used. [unreadVariable] 2.18.0 QATzip-1.3.1/src/qatzip.c:1634:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CPA_STATUS_FAIL [valueFlowBailoutIncompleteVar] 2.18.0 QATzip-1.3.1/src/qatzip.c:1735:17: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] 2.18.0 QATzip-1.3.1/src/qatzip.c:1784:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_OK [valueFlowBailoutIncompleteVar] 2.18.0 QATzip-1.3.1/src/qatzip.c:1810:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_OK [valueFlowBailoutIncompleteVar] 2.18.0 QATzip-1.3.1/src/qatzip.c:1860:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_PARAMS [valueFlowBailoutIncompleteVar] 2.18.0 QATzip-1.3.1/src/qatzip.c:1889:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_PARAMS [valueFlowBailoutIncompleteVar] 2.18.0 QATzip-1.3.1/src/qatzip.c:2106:12: style: Variable 'rc' is assigned a value that is never used. [unreadVariable] 2.18.0 QATzip-1.3.1/src/qatzip.c:2139:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_OK [valueFlowBailoutIncompleteVar] 2.18.0 QATzip-1.3.1/src/qatzip.c:2201:21: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] 2.18.0 QATzip-1.3.1/src/qatzip.c:2293:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CPA_STATUS_FAIL [valueFlowBailoutIncompleteVar] 2.18.0 QATzip-1.3.1/src/qatzip.c:2377:17: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] 2.18.0 QATzip-1.3.1/src/qatzip.c:2461:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_PARAMS [valueFlowBailoutIncompleteVar] 2.18.0 QATzip-1.3.1/src/qatzip.c:255:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CPA_STATUS_SUCCESS [valueFlowBailoutIncompleteVar] 2.18.0 QATzip-1.3.1/src/qatzip.c:2676:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_PARAMS [valueFlowBailoutIncompleteVar] 2.18.0 QATzip-1.3.1/src/qatzip.c:267:37: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'PollingHeartBeat' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] QATzip-1.3.1/src/qatzip.c:821:9: note: You might need to cast the function pointer here QATzip-1.3.1/src/qatzip.c:267:37: note: Parameter 'arg' can be declared as pointer to const 2.18.0 QATzip-1.3.1/src/qatzip.c:269:22: style: Variable 'status' is assigned a value that is never used. [unreadVariable] 2.18.0 QATzip-1.3.1/src/qatzip.c:269:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CPA_STATUS_SUCCESS [valueFlowBailoutIncompleteVar] 2.18.0 QATzip-1.3.1/src/qatzip.c:2727:22: style: Variable 'status' is assigned a value that is never used. [unreadVariable] 2.18.0 QATzip-1.3.1/src/qatzip.c:2727:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CPA_STATUS_SUCCESS [valueFlowBailoutIncompleteVar] 2.18.0 QATzip-1.3.1/src/qatzip.c:2748:26: style: Parameter 'sess' can be declared as pointer to const [constParameterPointer] 2.18.0 QATzip-1.3.1/src/qatzip.c:2751:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_PARAMS [valueFlowBailoutIncompleteVar] 2.18.0 QATzip-1.3.1/src/qatzip.c:2757:30: style: Parameter 'sess' can be declared as pointer to const [constParameterPointer] 2.18.0 QATzip-1.3.1/src/qatzip.c:2757:48: style: Parameter 'status' can be declared as pointer to const [constParameterPointer] 2.18.0 QATzip-1.3.1/src/qatzip.c:2760:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_PARAMS [valueFlowBailoutIncompleteVar] 2.18.0 QATzip-1.3.1/src/qatzip.c:2769:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_PARAMS [valueFlowBailoutIncompleteVar] 2.18.0 QATzip-1.3.1/src/qatzip.c:277:9: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] 2.18.0 QATzip-1.3.1/src/qatzip.c:2783:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_PARAMS [valueFlowBailoutIncompleteVar] 2.18.0 QATzip-1.3.1/src/qatzip.c:2800:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_PARAMS [valueFlowBailoutIncompleteVar] 2.18.0 QATzip-1.3.1/src/qatzip.c:2817:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_PARAMS [valueFlowBailoutIncompleteVar] 2.18.0 QATzip-1.3.1/src/qatzip.c:2834:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_PARAMS [valueFlowBailoutIncompleteVar] 2.18.0 QATzip-1.3.1/src/qatzip.c:2851:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_PARAMS [valueFlowBailoutIncompleteVar] 2.18.0 QATzip-1.3.1/src/qatzip.c:2868:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_PARAMS [valueFlowBailoutIncompleteVar] 2.18.0 QATzip-1.3.1/src/qatzip.c:287:43: style: Parameter 'qz_sess' can be declared as pointer to const [constParameterPointer] 2.18.0 QATzip-1.3.1/src/qatzip.c:2881:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_PARAMS [valueFlowBailoutIncompleteVar] 2.18.0 QATzip-1.3.1/src/qatzip.c:2894:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_PARAMS [valueFlowBailoutIncompleteVar] 2.18.0 QATzip-1.3.1/src/qatzip.c:2907:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_PARAMS [valueFlowBailoutIncompleteVar] 2.18.0 QATzip-1.3.1/src/qatzip.c:2920:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_PARAMS [valueFlowBailoutIncompleteVar] 2.18.0 QATzip-1.3.1/src/qatzip.c:2937:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CPA_STATUS_SUCCESS [valueFlowBailoutIncompleteVar] 2.18.0 QATzip-1.3.1/src/qatzip.c:2959:30: style: Clarify calculation precedence for '+' and '?'. [clarifyCalculation] 2.18.0 QATzip-1.3.1/src/qatzip.c:2970:67: style: Parameter 'sess' can be declared as pointer to const [constParameterPointer] 2.18.0 QATzip-1.3.1/src/qatzip.c:2972:26: style: Variable 'dest_sz' is assigned a value that is never used. [unreadVariable] 2.18.0 QATzip-1.3.1/src/qatzip.c:2973:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CPA_STATUS_SUCCESS [valueFlowBailoutIncompleteVar] 2.18.0 QATzip-1.3.1/src/qatzip.c:2985:5: style:inconclusive: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] 2.18.0 QATzip-1.3.1/src/qatzip.c:2990:26: style: Variable 'dest_sz' is assigned a value that is never used. [unreadVariable] 2.18.0 QATzip-1.3.1/src/qatzip.c:2991:28: style: Variable 'chunk_cnt' is assigned a value that is never used. [unreadVariable] 2.18.0 QATzip-1.3.1/src/qatzip.c:2993:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CPA_STATUS_SUCCESS [valueFlowBailoutIncompleteVar] 2.18.0 QATzip-1.3.1/src/qatzip.c:3013:5: style:inconclusive: Statements following 'return' will never be executed. [unreachableCode] 2.18.0 QATzip-1.3.1/src/qatzip.c:3015:49: style: Clarify calculation precedence for '+' and '?'. [clarifyCalculation] 2.18.0 QATzip-1.3.1/src/qatzip.c:3027:15: style: Variable 'qz_sess' can be declared as pointer to const [constVariablePointer] 2.18.0 QATzip-1.3.1/src/qatzip.c:3030:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_COMPRESSED_SZ_OF_EMPTY_FILE [valueFlowBailoutIncompleteVar] 2.18.0 QATzip-1.3.1/src/qatzip.c:3038:35: style: Clarify calculation precedence for '+' and '?'. [clarifyCalculation] 2.18.0 QATzip-1.3.1/src/qatzip.c:304:61: style: Parameter 'inst_cap' can be declared as pointer to const [constParameterPointer] 2.18.0 QATzip-1.3.1/src/qatzip.c:3070:47: style: Parameter 'num_elem' can be declared as pointer to const [constParameterPointer] 2.18.0 QATzip-1.3.1/src/qatzip.c:3073:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_FAIL [valueFlowBailoutIncompleteVar] 2.18.0 QATzip-1.3.1/src/qatzip.c:3076:64: style: Parameter 'api_info' can be declared as pointer to const [constParameterPointer] 2.18.0 QATzip-1.3.1/src/qatzip.c:3077:53: style: Parameter 'num_elem' can be declared as pointer to const [constParameterPointer] 2.18.0 QATzip-1.3.1/src/qatzip.c:3080:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_FAIL [valueFlowBailoutIncompleteVar] 2.18.0 QATzip-1.3.1/src/qatzip.c:3093:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLOCK_REALTIME [valueFlowBailoutIncompleteVar] 2.18.0 QATzip-1.3.1/src/qatzip.c:3106:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_OK [valueFlowBailoutIncompleteVar] 2.18.0 QATzip-1.3.1/src/qatzip.c:3179:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dataLenInBytes [valueFlowBailoutIncompleteVar] 2.18.0 QATzip-1.3.1/src/qatzip.c:3191:17: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] 2.18.0 QATzip-1.3.1/src/qatzip.c:319:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_FAIL [valueFlowBailoutIncompleteVar] 2.18.0 QATzip-1.3.1/src/qatzip.c:3245:21: style: Variable 'good' is assigned a value that is never used. [unreadVariable] 2.18.0 QATzip-1.3.1/src/qatzip.c:3273:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CPA_STATUS_FAIL [valueFlowBailoutIncompleteVar] 2.18.0 QATzip-1.3.1/src/qatzip.c:3413:17: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] 2.18.0 QATzip-1.3.1/src/qatzip.c:3493:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_OK [valueFlowBailoutIncompleteVar] 2.18.0 QATzip-1.3.1/src/qatzip.c:3560:21: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] 2.18.0 QATzip-1.3.1/src/qatzip.c:3659:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CPA_STATUS_FAIL [valueFlowBailoutIncompleteVar] 2.18.0 QATzip-1.3.1/src/qatzip.c:367:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_NONE [valueFlowBailoutIncompleteVar] 2.18.0 QATzip-1.3.1/src/qatzip.c:3765:17: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] 2.18.0 QATzip-1.3.1/src/qatzip.c:3810:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_OK [valueFlowBailoutIncompleteVar] 2.18.0 QATzip-1.3.1/src/qatzip.c:3856:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_FAIL [valueFlowBailoutIncompleteVar] 2.18.0 QATzip-1.3.1/src/qatzip.c:3900:25: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] 2.18.0 QATzip-1.3.1/src/qatzip.c:3915:25: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] 2.18.0 QATzip-1.3.1/src/qatzip.c:3980:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_OK [valueFlowBailoutIncompleteVar] 2.18.0 QATzip-1.3.1/src/qatzip.c:3984:16: warning: If memory allocation fails, then there is a possible null pointer dereference: qz_sess->async_ctrl [nullPointerOutOfMemory] QATzip-1.3.1/src/qatzip.c:3983:37: note: Assuming allocation function fails QATzip-1.3.1/src/qatzip.c:3983:37: note: Assignment 'qz_sess->async_ctrl=calloc(1,sizeof(struct QzAsynctrl_T))', assigned value is 0 QATzip-1.3.1/src/qatzip.c:3984:16: note: Null pointer dereference 2.18.0 QATzip-1.3.1/src/qatzip.c:4020:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_OK [valueFlowBailoutIncompleteVar] 2.18.0 QATzip-1.3.1/src/qatzip.c:4060:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_OK [valueFlowBailoutIncompleteVar] 2.18.0 QATzip-1.3.1/src/qatzip.c:4104:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_OK [valueFlowBailoutIncompleteVar] 2.18.0 QATzip-1.3.1/src/qatzip.c:4119:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_PARAMS [valueFlowBailoutIncompleteVar] 2.18.0 QATzip-1.3.1/src/qatzip.c:4162:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_PARAMS [valueFlowBailoutIncompleteVar] 2.18.0 QATzip-1.3.1/src/qatzip.c:449:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tv_sec [valueFlowBailoutIncompleteVar] 2.18.0 QATzip-1.3.1/src/qatzip.c:458:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CPA_STATUS_SUCCESS [valueFlowBailoutIncompleteVar] 2.18.0 QATzip-1.3.1/src/qatzip.c:524:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTHREAD_KEYS_MAX [valueFlowBailoutIncompleteVar] 2.18.0 QATzip-1.3.1/src/qatzip.c:578:11: style: Variable 'pre_section_name' can be declared as pointer to const [constVariablePointer] head QATzip-1.3.1/src/qatzip.c:579:0: error: failed to evaluate #if condition, undefined function-like macro invocation: __GLIBC_PREREQ( ... ) [preprocessorErrorDirective] head QATzip-1.3.1/src/qatzip.c:579:2: error: failed to evaluate #if condition, undefined function-like macro invocation: __GLIBC_PREREQ( ... ) [preprocessorErrorDirective] 2.18.0 QATzip-1.3.1/src/qatzip.c:633:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_NOSW_NO_HW [valueFlowBailoutIncompleteVar] 2.18.0 QATzip-1.3.1/src/qatzip.c:664:33: style: The statement 'if (g_process.sw_backup!=sw_backup) g_process.sw_backup=sw_backup' is logically equivalent to 'g_process.sw_backup=sw_backup'. [duplicateConditionalAssign] QATzip-1.3.1/src/qatzip.c:665:33: note: Assignment 'g_process.sw_backup=sw_backup' QATzip-1.3.1/src/qatzip.c:664:33: note: Condition 'g_process.sw_backup!=sw_backup' is redundant 2.18.0 QATzip-1.3.1/src/qatzip.c:707:33: style: Variable 'g_process.qat_available' is reassigned a value before the old one has been used. [redundantAssignment] QATzip-1.3.1/src/qatzip.c:703:33: note: g_process.qat_available is assigned QATzip-1.3.1/src/qatzip.c:707:33: note: g_process.qat_available is overwritten 2.18.0 QATzip-1.3.1/src/qatzip.c:854:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pPrivateMetaData [valueFlowBailoutIncompleteVar] 2.18.0 QATzip-1.3.1/src/qatzip.c:950:57: style: Parameter 'params' can be declared as pointer to const [constParameterPointer] 2.18.0 QATzip-1.3.1/src/qatzip.c:960:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_OK [valueFlowBailoutIncompleteVar] 2.18.0 QATzip-1.3.1/test/main.c:1032:62: style: Local variable 'decomp_out_sz' shadows outer variable [shadowVariable] QATzip-1.3.1/test/main.c:896:33: note: Shadowed declaration QATzip-1.3.1/test/main.c:1032:62: note: Shadow variable 2.18.0 QATzip-1.3.1/test/main.c:1135:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_OK [valueFlowBailoutIncompleteVar] 2.18.0 QATzip-1.3.1/test/main.c:1331:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] 2.18.0 QATzip-1.3.1/test/main.c:140:9: style: struct member 'CPUCore_S::seq' is never used. [unusedStructMember] 2.18.0 QATzip-1.3.1/test/main.c:141:9: style: struct member 'CPUCore_S::used' is never used. [unusedStructMember] 2.18.0 QATzip-1.3.1/test/main.c:1433:8: style: Variable 'rc' is reassigned a value before the old one has been used. [redundantAssignment] QATzip-1.3.1/test/main.c:1429:8: note: rc is assigned QATzip-1.3.1/test/main.c:1433:8: note: rc is overwritten 2.18.0 QATzip-1.3.1/test/main.c:145:9: style: struct member 'NUMANode_S::num_cores' is never used. [unusedStructMember] 2.18.0 QATzip-1.3.1/test/main.c:146:16: style: struct member 'NUMANode_S::core' is never used. [unusedStructMember] 2.18.0 QATzip-1.3.1/test/main.c:1471:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] 2.18.0 QATzip-1.3.1/test/main.c:1620:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] 2.18.0 QATzip-1.3.1/test/main.c:1684:8: style: Variable 'rc' is reassigned a value before the old one has been used. [redundantAssignment] QATzip-1.3.1/test/main.c:1676:8: note: rc is assigned QATzip-1.3.1/test/main.c:1684:8: note: rc is overwritten 2.18.0 QATzip-1.3.1/test/main.c:1694:8: style: Variable 'rc' is reassigned a value before the old one has been used. [redundantAssignment] QATzip-1.3.1/test/main.c:1690:8: note: rc is assigned QATzip-1.3.1/test/main.c:1694:8: note: rc is overwritten 2.18.0 QATzip-1.3.1/test/main.c:1737:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_DUPLICATE [valueFlowBailoutIncompleteVar] 2.18.0 QATzip-1.3.1/test/main.c:1751:9: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] 2.18.0 QATzip-1.3.1/test/main.c:1783:12: style: Condition '-1==block_size' is always false [knownConditionTrueFalse] 2.18.0 QATzip-1.3.1/test/main.c:1787:61: style: Clarify calculation precedence for '%' and '?'. [clarifyCalculation] 2.18.0 QATzip-1.3.1/test/main.c:2032:9: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] 2.18.0 QATzip-1.3.1/test/main.c:2086:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_DUPLICATE [valueFlowBailoutIncompleteVar] 2.18.0 QATzip-1.3.1/test/main.c:2100:9: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] 2.18.0 QATzip-1.3.1/test/main.c:2132:12: style: Condition '-1==block_size' is always false [knownConditionTrueFalse] 2.18.0 QATzip-1.3.1/test/main.c:2135:61: style: Clarify calculation precedence for '%' and '?'. [clarifyCalculation] 2.18.0 QATzip-1.3.1/test/main.c:219:28: style: Variable 'fmt_found' is assigned a value that is never used. [unreadVariable] 2.18.0 QATzip-1.3.1/test/main.c:2380:9: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] 2.18.0 QATzip-1.3.1/test/main.c:2459:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] 2.18.0 QATzip-1.3.1/test/main.c:2521:16: style: Variable 'test_arg' can be declared as pointer to const [constVariablePointer] 2.18.0 QATzip-1.3.1/test/main.c:2540:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_OK [valueFlowBailoutIncompleteVar] 2.18.0 QATzip-1.3.1/test/main.c:2871:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_DUPLICATE [valueFlowBailoutIncompleteVar] 2.18.0 QATzip-1.3.1/test/main.c:2900:16: style: Variable 'src_sz' is reassigned a value before the old one has been used. [redundantAssignment] QATzip-1.3.1/test/main.c:2896:12: note: src_sz is assigned QATzip-1.3.1/test/main.c:2900:16: note: src_sz is overwritten 2.18.0 QATzip-1.3.1/test/main.c:2901:17: style: Variable 'dest_sz' is reassigned a value before the old one has been used. [redundantAssignment] QATzip-1.3.1/test/main.c:2897:29: note: dest_sz is assigned QATzip-1.3.1/test/main.c:2901:17: note: dest_sz is overwritten 2.18.0 QATzip-1.3.1/test/main.c:2989:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_OK [valueFlowBailoutIncompleteVar] 2.18.0 QATzip-1.3.1/test/main.c:3045:28: style: Variable 'gzheader' can be declared as const array [constVariable] 2.18.0 QATzip-1.3.1/test/main.c:3111:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_OK [valueFlowBailoutIncompleteVar] 2.18.0 QATzip-1.3.1/test/main.c:3197:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_DUPLICATE [valueFlowBailoutIncompleteVar] 2.18.0 QATzip-1.3.1/test/main.c:3256:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_DUPLICATE [valueFlowBailoutIncompleteVar] 2.18.0 QATzip-1.3.1/test/main.c:3359:16: style: Variable 'test_arg' can be declared as pointer to const [constVariablePointer] 2.18.0 QATzip-1.3.1/test/main.c:3366:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_OK [valueFlowBailoutIncompleteVar] 2.18.0 QATzip-1.3.1/test/main.c:347:49: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] 2.18.0 QATzip-1.3.1/test/main.c:3536:16: style: Variable 'test_arg' can be declared as pointer to const [constVariablePointer] 2.18.0 QATzip-1.3.1/test/main.c:3543:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_OK [valueFlowBailoutIncompleteVar] 2.18.0 QATzip-1.3.1/test/main.c:365:9: error: Resource leak: fd [resourceLeak] 2.18.0 QATzip-1.3.1/test/main.c:3663:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_DUPLICATE [valueFlowBailoutIncompleteVar] 2.18.0 QATzip-1.3.1/test/main.c:370:50: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] 2.18.0 QATzip-1.3.1/test/main.c:3775:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_OK [valueFlowBailoutIncompleteVar] 2.18.0 QATzip-1.3.1/test/main.c:3825:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] 2.18.0 QATzip-1.3.1/test/main.c:3896:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] 2.18.0 QATzip-1.3.1/test/main.c:390:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] 2.18.0 QATzip-1.3.1/test/main.c:3985:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] 2.18.0 QATzip-1.3.1/test/main.c:4057:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] 2.18.0 QATzip-1.3.1/test/main.c:411:56: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] 2.18.0 QATzip-1.3.1/test/main.c:415:11: style: Variable 'filename_ptr' can be declared as pointer to const [constVariablePointer] 2.18.0 QATzip-1.3.1/test/main.c:4163:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] 2.18.0 QATzip-1.3.1/test/main.c:4214:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_BUF_ERROR [valueFlowBailoutIncompleteVar] 2.18.0 QATzip-1.3.1/test/main.c:4285:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_BUF_ERROR [valueFlowBailoutIncompleteVar] 2.18.0 QATzip-1.3.1/test/main.c:4324:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_COMP_THRESHOLD_DEFAULT [valueFlowBailoutIncompleteVar] 2.18.0 QATzip-1.3.1/test/main.c:4355:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] 2.18.0 QATzip-1.3.1/test/main.c:437:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] 2.18.0 QATzip-1.3.1/test/main.c:4482:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_OK [valueFlowBailoutIncompleteVar] 2.18.0 QATzip-1.3.1/test/main.c:459:53: style: Parameter 'arg' can be declared as pointer to const [constParameterPointer] 2.18.0 QATzip-1.3.1/test/main.c:4605:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable instID [valueFlowBailoutIncompleteVar] 2.18.0 QATzip-1.3.1/test/main.c:467:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_FAIL [valueFlowBailoutIncompleteVar] 2.18.0 QATzip-1.3.1/test/main.c:4695:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_OK [valueFlowBailoutIncompleteVar] 2.18.0 QATzip-1.3.1/test/main.c:4784:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_DUPLICATE [valueFlowBailoutIncompleteVar] 2.18.0 QATzip-1.3.1/test/main.c:4844:61: style: Clarify calculation precedence for '%' and '?'. [clarifyCalculation] 2.18.0 QATzip-1.3.1/test/main.c:4846:12: warning: If memory allocation fails, then there is a possible null pointer dereference: compressed_blocks_sz [nullPointerOutOfMemory] QATzip-1.3.1/test/main.c:4845:34: note: Assuming allocation function fails QATzip-1.3.1/test/main.c:4845:34: note: Assignment 'compressed_blocks_sz=malloc(sizeof(int)*num_blocks)', assigned value is 0 QATzip-1.3.1/test/main.c:4846:12: note: Null pointer dereference 2.18.0 QATzip-1.3.1/test/main.c:4894:30: style: Local variable 'i' shadows outer variable [shadowVariable] QATzip-1.3.1/test/main.c:4872:22: note: Shadowed declaration QATzip-1.3.1/test/main.c:4894:30: note: Shadow variable 2.18.0 QATzip-1.3.1/test/main.c:5031:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_DUPLICATE [valueFlowBailoutIncompleteVar] 2.18.0 QATzip-1.3.1/test/main.c:5091:61: style: Clarify calculation precedence for '%' and '?'. [clarifyCalculation] 2.18.0 QATzip-1.3.1/test/main.c:5093:12: warning: If memory allocation fails, then there is a possible null pointer dereference: compressed_blocks_sz [nullPointerOutOfMemory] QATzip-1.3.1/test/main.c:5092:34: note: Assuming allocation function fails QATzip-1.3.1/test/main.c:5092:34: note: Assignment 'compressed_blocks_sz=malloc(sizeof(int)*num_blocks)', assigned value is 0 QATzip-1.3.1/test/main.c:5093:12: note: Null pointer dereference 2.18.0 QATzip-1.3.1/test/main.c:510:50: style: Parameter 'arg' can be declared as pointer to const [constParameterPointer] 2.18.0 QATzip-1.3.1/test/main.c:5167:34: style: Local variable 'i' shadows outer variable [shadowVariable] QATzip-1.3.1/test/main.c:5149:22: note: Shadowed declaration QATzip-1.3.1/test/main.c:5167:34: note: Shadow variable 2.18.0 QATzip-1.3.1/test/main.c:518:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_FAIL [valueFlowBailoutIncompleteVar] 2.18.0 QATzip-1.3.1/test/main.c:5295:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_DUPLICATE [valueFlowBailoutIncompleteVar] 2.18.0 QATzip-1.3.1/test/main.c:5450:34: style: Local variable 'i' shadows outer variable [shadowVariable] QATzip-1.3.1/test/main.c:5416:31: note: Shadowed declaration QATzip-1.3.1/test/main.c:5450:34: note: Shadow variable 2.18.0 QATzip-1.3.1/test/main.c:5533:20: style: Variable 'temp_dest' can be declared as pointer to const [constVariablePointer] 2.18.0 QATzip-1.3.1/test/main.c:5535:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_OK [valueFlowBailoutIncompleteVar] 2.18.0 QATzip-1.3.1/test/main.c:5586:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_DUPLICATE [valueFlowBailoutIncompleteVar] 2.18.0 QATzip-1.3.1/test/main.c:558:46: style: Parameter 'arg' can be declared as pointer to const [constParameterPointer] 2.18.0 QATzip-1.3.1/test/main.c:5613:12: style: Condition '-1==block_size' is always false [knownConditionTrueFalse] 2.18.0 QATzip-1.3.1/test/main.c:5617:61: style: Clarify calculation precedence for '%' and '?'. [clarifyCalculation] 2.18.0 QATzip-1.3.1/test/main.c:567:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_FAIL [valueFlowBailoutIncompleteVar] 2.18.0 QATzip-1.3.1/test/main.c:5711:25: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] 2.18.0 QATzip-1.3.1/test/main.c:5783:25: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] 2.18.0 QATzip-1.3.1/test/main.c:588:47: style: Parameter 'arg' can be declared as pointer to const [constParameterPointer] 2.18.0 QATzip-1.3.1/test/main.c:5957:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_OK [valueFlowBailoutIncompleteVar] 2.18.0 QATzip-1.3.1/test/main.c:596:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_FAIL [valueFlowBailoutIncompleteVar] 2.18.0 QATzip-1.3.1/test/main.c:5994:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTHREAD_MUTEX_INITIALIZER [valueFlowBailoutIncompleteVar] 2.18.0 QATzip-1.3.1/test/main.c:6038:12: style: Condition '-1==block_size' is always false [knownConditionTrueFalse] 2.18.0 QATzip-1.3.1/test/main.c:6042:61: style: Clarify calculation precedence for '%' and '?'. [clarifyCalculation] 2.18.0 QATzip-1.3.1/test/main.c:6129:25: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] 2.18.0 QATzip-1.3.1/test/main.c:619:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_OK [valueFlowBailoutIncompleteVar] 2.18.0 QATzip-1.3.1/test/main.c:6203:25: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] 2.18.0 QATzip-1.3.1/test/main.c:6392:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CPA_TRUE [valueFlowBailoutIncompleteVar] 2.18.0 QATzip-1.3.1/test/main.c:6411:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COMMON_MEM [valueFlowBailoutIncompleteVar] 2.18.0 QATzip-1.3.1/test/main.c:652:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_OK [valueFlowBailoutIncompleteVar] 2.18.0 QATzip-1.3.1/test/main.c:706:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_OK [valueFlowBailoutIncompleteVar] 2.18.0 QATzip-1.3.1/test/main.c:929:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable QZ_OK [valueFlowBailoutIncompleteVar] head QATzip-1.3.1/test/main.c:92:0: error: failed to evaluate #if condition, undefined function-like macro invocation: CPA_DC_API_VERSION_AT_LEAST( ... ) [preprocessorErrorDirective] head QATzip-1.3.1/test/main.c:92:2: error: failed to evaluate #if condition, undefined function-like macro invocation: CPA_DC_API_VERSION_AT_LEAST( ... ) [preprocessorErrorDirective] DONE