2025-09-02 20:21 ftp://ftp.de.debian.org/debian/pool/main/p/pylsqpack/pylsqpack_0.3.22.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=python --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 -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: 120 119 elapsed-time: 1.7 4.7 head-timing-info: old-timing-info: head results: pylsqpack-0.3.22/vendor/ls-qpack/bin/fuzz-decode.c:94:11: error: syntax error [syntaxError] pylsqpack-0.3.22/vendor/ls-qpack/bin/encode-int.c:69:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pylsqpack-0.3.22/src/pylsqpack/binding.c:114:17: error: syntax error [syntaxError] pylsqpack-0.3.22/vendor/ls-qpack/bin/encode-int.c:10:51: style: Parameter 'end' can be declared as pointer to const [constParameterPointer] pylsqpack-0.3.22/vendor/ls-qpack/bin/encode-int.c:63:20: style: Variable 'p' can be declared as pointer to const [constVariablePointer] pylsqpack-0.3.22/vendor/ls-qpack/bin/interop-encode.c:57:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pylsqpack-0.3.22/vendor/ls-qpack/bin/interop-encode.c:130:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pylsqpack-0.3.22/vendor/ls-qpack/bin/interop-encode.c:186:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pylsqpack-0.3.22/vendor/ls-qpack/bin/interop-encode.c:204:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pylsqpack-0.3.22/vendor/ls-qpack/bin/interop-encode.c:220:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pylsqpack-0.3.22/vendor/ls-qpack/bin/interop-encode.c:236:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pylsqpack-0.3.22/vendor/ls-qpack/bin/interop-encode.c:248:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] pylsqpack-0.3.22/vendor/ls-qpack/bin/interop-decode.c:185:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pylsqpack-0.3.22/vendor/ls-qpack/bin/interop-decode.c:242:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next_buf [valueFlowBailoutIncompleteVar] pylsqpack-0.3.22/vendor/ls-qpack/bin/interop-decode.c:252:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LSXPACK_MAX_STRLEN [valueFlowBailoutIncompleteVar] pylsqpack-0.3.22/vendor/ls-qpack/bin/interop-decode.c:287:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LSQPACK_DEC_OPT_HTTP1X [valueFlowBailoutIncompleteVar] pylsqpack-0.3.22/vendor/ls-qpack/bin/interop-decode.c:387:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] pylsqpack-0.3.22/vendor/ls-qpack/bin/interop-decode.c:396:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] pylsqpack-0.3.22/vendor/ls-qpack/deps/xxhash/xxhash.c:228:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable v [valueFlowBailoutIncompleteVar] pylsqpack-0.3.22/vendor/ls-qpack/deps/xxhash/xxhash.c:242:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable v [valueFlowBailoutIncompleteVar] pylsqpack-0.3.22/vendor/ls-qpack/bin/interop-decode.c:569:22: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] pylsqpack-0.3.22/vendor/ls-qpack/bin/interop-decode.c:610:27: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] pylsqpack-0.3.22/vendor/ls-qpack/bin/interop-decode.c:572:38: warning: Either the condition '!buf' is redundant or there is possible null pointer dereference: buf. [nullPointerRedundantCheck] pylsqpack-0.3.22/vendor/ls-qpack/bin/interop-decode.c:574:21: note: Assuming that condition '!buf' is not redundant pylsqpack-0.3.22/vendor/ls-qpack/bin/interop-decode.c:572:38: note: Null pointer dereference pylsqpack-0.3.22/vendor/ls-qpack/bin/interop-decode.c:57:23: style: struct member 'static_table_entry::val' is never used. [unusedStructMember] pylsqpack-0.3.22/vendor/ls-qpack/test/test_circ_list.c:38:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LSQPACK_LONGEST_SDTC [valueFlowBailoutIncompleteVar] pylsqpack-0.3.22/vendor/ls-qpack/deps/xxhash/xxhash.c:333:46: style:inconclusive: Function 'XXH32' argument 2 names different: declaration 'length' definition 'len'. [funcArgNamesDifferent] pylsqpack-0.3.22/vendor/ls-qpack/deps/xxhash/xxhash.h:84:52: note: Function 'XXH32' argument 2 names different: declaration 'length' definition 'len'. pylsqpack-0.3.22/vendor/ls-qpack/deps/xxhash/xxhash.c:333:46: note: Function 'XXH32' argument 2 names different: declaration 'length' definition 'len'. pylsqpack-0.3.22/vendor/ls-qpack/deps/xxhash/xxhash.c:475:52: style:inconclusive: Function 'XXH64' argument 2 names different: declaration 'length' definition 'len'. [funcArgNamesDifferent] pylsqpack-0.3.22/vendor/ls-qpack/deps/xxhash/xxhash.h:85:52: note: Function 'XXH64' argument 2 names different: declaration 'length' definition 'len'. pylsqpack-0.3.22/vendor/ls-qpack/deps/xxhash/xxhash.c:475:52: note: Function 'XXH64' argument 2 names different: declaration 'length' definition 'len'. pylsqpack-0.3.22/vendor/ls-qpack/deps/xxhash/xxhash.c:563:42: style:inconclusive: Function 'XXH32_reset' argument 1 names different: declaration 'statePtr' definition 'state_in'. [funcArgNamesDifferent] pylsqpack-0.3.22/vendor/ls-qpack/deps/xxhash/xxhash.h:126:42: note: Function 'XXH32_reset' argument 1 names different: declaration 'statePtr' definition 'state_in'. pylsqpack-0.3.22/vendor/ls-qpack/deps/xxhash/xxhash.c:563:42: note: Function 'XXH32_reset' argument 1 names different: declaration 'statePtr' definition 'state_in'. pylsqpack-0.3.22/vendor/ls-qpack/deps/xxhash/xxhash.c:576:42: style:inconclusive: Function 'XXH64_reset' argument 1 names different: declaration 'statePtr' definition 'state_in'. [funcArgNamesDifferent] pylsqpack-0.3.22/vendor/ls-qpack/deps/xxhash/xxhash.h:131:47: note: Function 'XXH64_reset' argument 1 names different: declaration 'statePtr' definition 'state_in'. pylsqpack-0.3.22/vendor/ls-qpack/deps/xxhash/xxhash.c:576:42: note: Function 'XXH64_reset' argument 1 names different: declaration 'statePtr' definition 'state_in'. pylsqpack-0.3.22/vendor/ls-qpack/deps/xxhash/xxhash.c:681:43: style:inconclusive: Function 'XXH32_update' argument 1 names different: declaration 'statePtr' definition 'state_in'. [funcArgNamesDifferent] pylsqpack-0.3.22/vendor/ls-qpack/deps/xxhash/xxhash.h:127:43: note: Function 'XXH32_update' argument 1 names different: declaration 'statePtr' definition 'state_in'. pylsqpack-0.3.22/vendor/ls-qpack/deps/xxhash/xxhash.c:681:43: note: Function 'XXH32_update' argument 1 names different: declaration 'statePtr' definition 'state_in'. pylsqpack-0.3.22/vendor/ls-qpack/deps/xxhash/xxhash.c:682:35: style:inconclusive: Function 'XXH32_update' argument 3 names different: declaration 'length' definition 'len'. [funcArgNamesDifferent] pylsqpack-0.3.22/vendor/ls-qpack/deps/xxhash/xxhash.h:128:35: note: Function 'XXH32_update' argument 3 names different: declaration 'length' definition 'len'. pylsqpack-0.3.22/vendor/ls-qpack/deps/xxhash/xxhash.c:682:35: note: Function 'XXH32_update' argument 3 names different: declaration 'length' definition 'len'. pylsqpack-0.3.22/vendor/ls-qpack/deps/xxhash/xxhash.c:734:39: style:inconclusive: Function 'XXH32_digest' argument 1 names different: declaration 'statePtr' definition 'state_in'. [funcArgNamesDifferent] pylsqpack-0.3.22/vendor/ls-qpack/deps/xxhash/xxhash.h:129:49: note: Function 'XXH32_digest' argument 1 names different: declaration 'statePtr' definition 'state_in'. pylsqpack-0.3.22/vendor/ls-qpack/deps/xxhash/xxhash.c:734:39: note: Function 'XXH32_digest' argument 1 names different: declaration 'statePtr' definition 'state_in'. pylsqpack-0.3.22/vendor/ls-qpack/deps/xxhash/xxhash.c:836:43: style:inconclusive: Function 'XXH64_update' argument 1 names different: declaration 'statePtr' definition 'state_in'. [funcArgNamesDifferent] pylsqpack-0.3.22/vendor/ls-qpack/deps/xxhash/xxhash.h:133:48: note: Function 'XXH64_update' argument 1 names different: declaration 'statePtr' definition 'state_in'. pylsqpack-0.3.22/vendor/ls-qpack/deps/xxhash/xxhash.c:836:43: note: Function 'XXH64_update' argument 1 names different: declaration 'statePtr' definition 'state_in'. pylsqpack-0.3.22/vendor/ls-qpack/deps/xxhash/xxhash.c:837:35: style:inconclusive: Function 'XXH64_update' argument 3 names different: declaration 'length' definition 'len'. [funcArgNamesDifferent] pylsqpack-0.3.22/vendor/ls-qpack/deps/xxhash/xxhash.h:134:40: note: Function 'XXH64_update' argument 3 names different: declaration 'length' definition 'len'. pylsqpack-0.3.22/vendor/ls-qpack/deps/xxhash/xxhash.c:837:35: note: Function 'XXH64_update' argument 3 names different: declaration 'length' definition 'len'. pylsqpack-0.3.22/vendor/ls-qpack/deps/xxhash/xxhash.c:931:54: style:inconclusive: Function 'XXH64_digest' argument 1 names different: declaration 'statePtr' definition 'state_in'. [funcArgNamesDifferent] pylsqpack-0.3.22/vendor/ls-qpack/deps/xxhash/xxhash.h:135:54: note: Function 'XXH64_digest' argument 1 names different: declaration 'statePtr' definition 'state_in'. pylsqpack-0.3.22/vendor/ls-qpack/deps/xxhash/xxhash.c:931:54: note: Function 'XXH64_digest' argument 1 names different: declaration 'statePtr' definition 'state_in'. pylsqpack-0.3.22/vendor/ls-qpack/deps/xxhash/xxhash.c:699:11: style: Variable 'bEnd' can be declared as pointer to const [constVariablePointer] pylsqpack-0.3.22/vendor/ls-qpack/deps/xxhash/xxhash.c:854:11: style: Variable 'bEnd' can be declared as pointer to const [constVariablePointer] pylsqpack-0.3.22/vendor/ls-qpack/deps/xxhash/xxhash.c:631:16: style: Variable 'p32' is assigned a value that is never used. [unreadVariable] pylsqpack-0.3.22/vendor/ls-qpack/deps/xxhash/xxhash.c:786:16: style: Variable 'p64' is assigned a value that is never used. [unreadVariable] pylsqpack-0.3.22/vendor/ls-qpack/test/test_circ_list.c:6:37: style: Parameter 'context' can be declared as pointer to const. However it seems that '_decoderUnblocked' is a callback function, if 'context' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pylsqpack-0.3.22/vendor/ls-qpack/test/test_circ_list.c:30:26: note: You might need to cast the function pointer here pylsqpack-0.3.22/vendor/ls-qpack/test/test_circ_list.c:6:37: note: Parameter 'context' can be declared as pointer to const pylsqpack-0.3.22/vendor/ls-qpack/test/test_circ_list.c:10:59: style: Parameter 'context' can be declared as pointer to const. However it seems that '_decoderPrepareDecode' is a callback function, if 'context' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pylsqpack-0.3.22/vendor/ls-qpack/test/test_circ_list.c:32:31: note: You might need to cast the function pointer here pylsqpack-0.3.22/vendor/ls-qpack/test/test_circ_list.c:10:59: note: Parameter 'context' can be declared as pointer to const pylsqpack-0.3.22/vendor/ls-qpack/test/test_circ_list.c:10:91: style: Parameter 'header' can be declared as pointer to const. However it seems that '_decoderPrepareDecode' is a callback function, if 'header' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pylsqpack-0.3.22/vendor/ls-qpack/test/test_circ_list.c:32:31: note: You might need to cast the function pointer here pylsqpack-0.3.22/vendor/ls-qpack/test/test_circ_list.c:10:91: note: Parameter 'header' can be declared as pointer to const pylsqpack-0.3.22/vendor/ls-qpack/test/test_circ_list.c:16:40: style: Parameter 'context' can be declared as pointer to const. However it seems that '_decoderProcessHeader' is a callback function, if 'context' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pylsqpack-0.3.22/vendor/ls-qpack/test/test_circ_list.c:34:31: note: You might need to cast the function pointer here pylsqpack-0.3.22/vendor/ls-qpack/test/test_circ_list.c:16:40: note: Parameter 'context' can be declared as pointer to const pylsqpack-0.3.22/vendor/ls-qpack/test/test_circ_list.c:16:72: style: Parameter 'header' can be declared as pointer to const. However it seems that '_decoderProcessHeader' is a callback function, if 'header' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pylsqpack-0.3.22/vendor/ls-qpack/test/test_circ_list.c:34:31: note: You might need to cast the function pointer here pylsqpack-0.3.22/vendor/ls-qpack/test/test_circ_list.c:16:72: note: Parameter 'header' can be declared as pointer to const pylsqpack-0.3.22/vendor/ls-qpack/test/test_circ_list.c:65:28: style: Unused variable: value [unusedVariable] pylsqpack-0.3.22/vendor/ls-qpack/test/test_dec_crash_case.c:31:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pylsqpack-0.3.22/vendor/ls-qpack/test/test_dec_crash_case.c:6:37: style: Parameter 'context' can be declared as pointer to const. However it seems that '_decoderUnblocked' is a callback function, if 'context' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pylsqpack-0.3.22/vendor/ls-qpack/test/test_dec_crash_case.c:27:26: note: You might need to cast the function pointer here pylsqpack-0.3.22/vendor/ls-qpack/test/test_dec_crash_case.c:6:37: note: Parameter 'context' can be declared as pointer to const pylsqpack-0.3.22/vendor/ls-qpack/test/test_dec_crash_case.c:17:40: style: Parameter 'context' can be declared as pointer to const. However it seems that '_decoderProcessHeader' is a callback function, if 'context' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pylsqpack-0.3.22/vendor/ls-qpack/test/test_dec_crash_case.c:29:31: note: You might need to cast the function pointer here pylsqpack-0.3.22/vendor/ls-qpack/test/test_dec_crash_case.c:17:40: note: Parameter 'context' can be declared as pointer to const pylsqpack-0.3.22/vendor/ls-qpack/test/test_dec_crash_case.c:17:72: style: Parameter 'header' can be declared as pointer to const. However it seems that '_decoderProcessHeader' is a callback function, if 'header' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pylsqpack-0.3.22/vendor/ls-qpack/test/test_dec_crash_case.c:29:31: note: You might need to cast the function pointer here pylsqpack-0.3.22/vendor/ls-qpack/test/test_dec_crash_case.c:17:72: note: Parameter 'header' can be declared as pointer to const pylsqpack-0.3.22/vendor/ls-qpack/test/test_dyn_table_cap_mismatch.c:31:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pylsqpack-0.3.22/vendor/ls-qpack/test/test_dyn_table_cap_mismatch.c:40:9: error: Resource leak: response [resourceLeak] pylsqpack-0.3.22/vendor/ls-qpack/test/test_dyn_table_cap_mismatch.c:42:53: warning: If resource allocation fails, then there is a possible null pointer dereference: encoder_stream [nullPointerOutOfResources] pylsqpack-0.3.22/vendor/ls-qpack/test/test_dyn_table_cap_mismatch.c:39:31: note: Assuming allocation function fails pylsqpack-0.3.22/vendor/ls-qpack/test/test_dyn_table_cap_mismatch.c:39:31: note: Assignment 'encoder_stream=fopen("../../test/testdata/encoder_stream","r")', assigned value is 0 pylsqpack-0.3.22/vendor/ls-qpack/test/test_dyn_table_cap_mismatch.c:42:53: note: Null pointer dereference pylsqpack-0.3.22/vendor/ls-qpack/test/test_dyn_table_cap_mismatch.c:6:37: style: Parameter 'context' can be declared as pointer to const. However it seems that '_decoderUnblocked' is a callback function, if 'context' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pylsqpack-0.3.22/vendor/ls-qpack/test/test_dyn_table_cap_mismatch.c:27:26: note: You might need to cast the function pointer here pylsqpack-0.3.22/vendor/ls-qpack/test/test_dyn_table_cap_mismatch.c:6:37: note: Parameter 'context' can be declared as pointer to const pylsqpack-0.3.22/vendor/ls-qpack/test/test_dyn_table_cap_mismatch.c:17:40: style: Parameter 'context' can be declared as pointer to const. However it seems that '_decoderProcessHeader' is a callback function, if 'context' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pylsqpack-0.3.22/vendor/ls-qpack/test/test_dyn_table_cap_mismatch.c:29:31: note: You might need to cast the function pointer here pylsqpack-0.3.22/vendor/ls-qpack/test/test_dyn_table_cap_mismatch.c:17:40: note: Parameter 'context' can be declared as pointer to const pylsqpack-0.3.22/vendor/ls-qpack/test/test_dyn_table_cap_mismatch.c:17:72: style: Parameter 'header' can be declared as pointer to const. However it seems that '_decoderProcessHeader' is a callback function, if 'header' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pylsqpack-0.3.22/vendor/ls-qpack/test/test_dyn_table_cap_mismatch.c:29:31: note: You might need to cast the function pointer here pylsqpack-0.3.22/vendor/ls-qpack/test/test_dyn_table_cap_mismatch.c:17:72: note: Parameter 'header' can be declared as pointer to const pylsqpack-0.3.22/vendor/ls-qpack/test/test_enc_str.c:12:30: style: struct member 'str_test::strt_lineno' is never used. [unusedStructMember] pylsqpack-0.3.22/vendor/ls-qpack/test/test_huff_dec.c:326:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pylsqpack-0.3.22/vendor/ls-qpack/test/test_int.c:173:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable it_encoded [valueFlowBailoutIncompleteVar] pylsqpack-0.3.22/vendor/ls-qpack/test/test_huff_dec.c:326:9: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] pylsqpack-0.3.22/vendor/ls-qpack/test/test_int.c:172:20: style: Variable 'dst' can be declared as pointer to const [constVariablePointer] pylsqpack-0.3.22/vendor/ls-qpack/test/test_read_enc_stream.c:215:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pylsqpack-0.3.22/vendor/ls-qpack/test/test_read_enc_stream.c:230:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LSQPACK_DEC_OPT_HTTP1X [valueFlowBailoutIncompleteVar] pylsqpack-0.3.22/vendor/ls-qpack/test/test_read_enc_stream.c:229:51: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] pylsqpack-0.3.22/vendor/ls-qpack/test/test_read_enc_stream.c:16:17: style: struct member 'lsqpack_dec_table_entry::dte_name_len' is never used. [unusedStructMember] pylsqpack-0.3.22/vendor/ls-qpack/test/test_read_enc_stream.c:17:17: style: struct member 'lsqpack_dec_table_entry::dte_val_len' is never used. [unusedStructMember] pylsqpack-0.3.22/vendor/ls-qpack/test/test_read_enc_stream.c:18:17: style: struct member 'lsqpack_dec_table_entry::dte_refcnt' is never used. [unusedStructMember] pylsqpack-0.3.22/vendor/ls-qpack/test/test_read_enc_stream.c:19:17: style: struct member 'lsqpack_dec_table_entry::dte_pad' is never used. [unusedStructMember] pylsqpack-0.3.22/vendor/ls-qpack/test/test_read_enc_stream.c:20:17: style: struct member 'lsqpack_dec_table_entry::dte_buf' is never used. [unusedStructMember] pylsqpack-0.3.22/vendor/ls-qpack/test/test_read_enc_stream.c:29:21: style: struct member 'test_read_encoder_stream::lineno' is never used. [unusedStructMember] pylsqpack-0.3.22/vendor/ls-qpack/test/test_read_enc_stream.c:36:21: style: struct member 'test_read_encoder_stream::n_entries' is never used. [unusedStructMember] pylsqpack-0.3.22/vendor/ls-qpack/test/test_read_enc_stream.c:39:21: style: struct member 'test_read_encoder_stream::dyn_table' is never used. [unusedStructMember] pylsqpack-0.3.22/vendor/ls-qpack/test/test_read_enc_stream.c:38:21: style: struct member 'Anonymous0::name' is never used. [unusedStructMember] pylsqpack-0.3.22/vendor/ls-qpack/test/test_read_enc_stream.c:38:28: style: struct member 'Anonymous0::value' is never used. [unusedStructMember] pylsqpack-0.3.22/vendor/ls-qpack/test/test_read_enc_stream.c:171:35: style: struct member 'ringbuf_iter::rbuf' is never used. [unusedStructMember] pylsqpack-0.3.22/vendor/ls-qpack/test/test_read_enc_stream.c:172:14: style: struct member 'ringbuf_iter::next' is never used. [unusedStructMember] pylsqpack-0.3.22/vendor/ls-qpack/test/test_read_enc_stream.c:172:20: style: struct member 'ringbuf_iter::end' is never used. [unusedStructMember] pylsqpack-0.3.22/vendor/ls-qpack/bin/interop-encode.c:90:16: style: Checking if unsigned expression 'enc_sz' is less than zero. [unsignedLessThanZero] pylsqpack-0.3.22/vendor/ls-qpack/bin/interop-encode.c:181:20: style: Variable 'end_cmd' can be declared as pointer to const [constVariablePointer] pylsqpack-0.3.22/vendor/ls-qpack/bin/interop-encode.c:200:20: style: Variable 'end_cmd' can be declared as pointer to const [constVariablePointer] pylsqpack-0.3.22/vendor/ls-qpack/bin/interop-encode.c:216:20: style: Variable 'end_cmd' can be declared as pointer to const [constVariablePointer] pylsqpack-0.3.22/vendor/ls-qpack/bin/interop-encode.c:232:20: style: Variable 'end_cmd' can be declared as pointer to const [constVariablePointer] pylsqpack-0.3.22/vendor/ls-qpack/test/test_qpack.c:259:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LSQPACK_LONGEST_SDTC [valueFlowBailoutIncompleteVar] pylsqpack-0.3.22/vendor/ls-qpack/test/test_qpack.c:350:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LSXPACK_MAX_STRLEN [valueFlowBailoutIncompleteVar] pylsqpack-0.3.22/vendor/ls-qpack/test/test_qpack.c:399:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LSQPACK_LONGEST_HEADER_ACK [valueFlowBailoutIncompleteVar] pylsqpack-0.3.22/vendor/ls-qpack/test/test_qpack.c:466:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LSQPACK_DEC_OPT_HTTP1X [valueFlowBailoutIncompleteVar] pylsqpack-0.3.22/vendor/ls-qpack/test/test_qpack.c:486:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pylsqpack-0.3.22/vendor/ls-qpack/test/test_qpack.c:530:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LSQPACK_LONGEST_SDTC [valueFlowBailoutIncompleteVar] pylsqpack-0.3.22/vendor/ls-qpack/test/test_qpack.c:580:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LSQPACK_LONGEST_SDTC [valueFlowBailoutIncompleteVar] pylsqpack-0.3.22/vendor/ls-qpack/test/test_qpack.c:678:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LSXPACK_MAX_STRLEN [valueFlowBailoutIncompleteVar] pylsqpack-0.3.22/vendor/ls-qpack/test/test_qpack.c:718:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LSQPACK_DEC_OPT_HTTP1X [valueFlowBailoutIncompleteVar] pylsqpack-0.3.22/vendor/ls-qpack/test/test_qpack.c:750:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pylsqpack-0.3.22/vendor/ls-qpack/test/test_qpack.c:768:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LSQPACK_DEC_OPT_HTTP1X [valueFlowBailoutIncompleteVar] pylsqpack-0.3.22/vendor/ls-qpack/test/test_qpack.c:785:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pylsqpack-0.3.22/vendor/ls-qpack/test/test_qpack.c:802:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pylsqpack-0.3.22/vendor/ls-qpack/test/test_qpack.c:819:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pylsqpack-0.3.22/vendor/ls-qpack/test/test_qpack.c:836:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pylsqpack-0.3.22/vendor/ls-qpack/test/test_qpack.c:854:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pylsqpack-0.3.22/vendor/ls-qpack/test/test_qpack.c:872:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pylsqpack-0.3.22/vendor/ls-qpack/test/test_qpack.c:890:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pylsqpack-0.3.22/vendor/ls-qpack/test/test_qpack.c:914:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pylsqpack-0.3.22/vendor/ls-qpack/test/test_qpack.c:960:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pylsqpack-0.3.22/vendor/ls-qpack/test/test_qpack.c:124:18: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] pylsqpack-0.3.22/vendor/ls-qpack/test/test_qpack.c:214:18: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] pylsqpack-0.3.22/vendor/ls-qpack/test/test_qpack.c:643:12: style: Variable 'enc_st' is reassigned a value before the old one has been used. [redundantAssignment] pylsqpack-0.3.22/vendor/ls-qpack/test/test_qpack.c:629:12: note: enc_st is assigned pylsqpack-0.3.22/vendor/ls-qpack/test/test_qpack.c:643:12: note: enc_st is overwritten pylsqpack-0.3.22/vendor/ls-qpack/test/test_qpack.c:1042:13: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] pylsqpack-0.3.22/vendor/ls-qpack/test/test_qpack.c:338:22: style: Parameter 'hblock_ctx_p' can be declared as pointer to const. However it seems that 'dht_unblocked' is a callback function, if 'hblock_ctx_p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pylsqpack-0.3.22/vendor/ls-qpack/test/test_qpack.c:402:31: note: You might need to cast the function pointer here pylsqpack-0.3.22/vendor/ls-qpack/test/test_qpack.c:338:22: note: Parameter 'hblock_ctx_p' can be declared as pointer to const pylsqpack-0.3.22/vendor/ls-qpack/test/test_qpack.c:667:18: style: Parameter 'hblock_ctx_p' can be declared as pointer to const. However it seems that 'unblocked' is a callback function, if 'hblock_ctx_p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pylsqpack-0.3.22/vendor/ls-qpack/test/test_qpack.c:703:27: note: You might need to cast the function pointer here pylsqpack-0.3.22/vendor/ls-qpack/test/test_qpack.c:667:18: note: Parameter 'hblock_ctx_p' can be declared as pointer to const pylsqpack-0.3.22/vendor/ls-qpack/test/test_qpack.c:674:60: style: Parameter 'xhdr' can be declared as pointer to const. However it seems that 'prepare_decode' is a callback function, if 'xhdr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pylsqpack-0.3.22/vendor/ls-qpack/test/test_qpack.c:704:27: note: You might need to cast the function pointer here pylsqpack-0.3.22/vendor/ls-qpack/test/test_qpack.c:674:60: note: Parameter 'xhdr' can be declared as pointer to const pylsqpack-0.3.22/vendor/ls-qpack/test/test_qpack.c:690:60: style: Parameter 'xhdr' can be declared as pointer to const. However it seems that 'process_header' is a callback function, if 'xhdr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] pylsqpack-0.3.22/vendor/ls-qpack/test/test_qpack.c:705:27: note: You might need to cast the function pointer here pylsqpack-0.3.22/vendor/ls-qpack/test/test_qpack.c:690:60: note: Parameter 'xhdr' can be declared as pointer to const pylsqpack-0.3.22/vendor/ls-qpack/test/test_qpack.c:944:20: style: Variable 'end_cmd' can be declared as pointer to const [constVariablePointer] pylsqpack-0.3.22/vendor/ls-qpack/test/test_qpack.c:320:44: warning: Uninitialized variable: enc_buf [uninitvar] pylsqpack-0.3.22/vendor/ls-qpack/test/test_qpack.c:273:19: note: Assuming condition is false pylsqpack-0.3.22/vendor/ls-qpack/test/test_qpack.c:320:44: note: Uninitialized variable: enc_buf pylsqpack-0.3.22/vendor/ls-qpack/test/test_qpack.c:322:47: warning: Uninitialized variable: header_buf [uninitvar] pylsqpack-0.3.22/vendor/ls-qpack/test/test_qpack.c:273:19: note: Assuming condition is false pylsqpack-0.3.22/vendor/ls-qpack/test/test_qpack.c:322:47: note: Uninitialized variable: header_buf pylsqpack-0.3.22/vendor/ls-qpack/test/test_qpack.c:983:29: error: Uninitialized variable: seq_el->stream_id [uninitvar] pylsqpack-0.3.22/vendor/ls-qpack/test/test_qpack.c:258:11: style: Unused variable: ratio [unusedVariable] pylsqpack-0.3.22/vendor/ls-qpack/test/test_qpack.c:576:14: style: Unused variable: i [unusedVariable] pylsqpack-0.3.22/vendor/ls-qpack/test/test_qpack.c:577:26: style: Unused variable: p [unusedVariable] pylsqpack-0.3.22/vendor/ls-qpack/test/test_qpack.c:578:14: style: Unused variable: val [unusedVariable] pylsqpack-0.3.22/vendor/ls-qpack/test/test_qpack.c:579:34: style: Unused variable: state [unusedVariable] pylsqpack-0.3.22/vendor/ls-qpack/lsqpack.c:82:0: error: failed to evaluate #if condition, undefined function-like macro invocation: __has_attribute( ... ) [preprocessorErrorDirective] pylsqpack-0.3.22/vendor/ls-qpack/lsqpack.c:82:4: error: failed to evaluate #if condition, undefined function-like macro invocation: __has_attribute( ... ) [preprocessorErrorDirective] diff: head pylsqpack-0.3.22/vendor/ls-qpack/lsqpack.c:82:0: error: failed to evaluate #if condition, undefined function-like macro invocation: __has_attribute( ... ) [preprocessorErrorDirective] head pylsqpack-0.3.22/vendor/ls-qpack/lsqpack.c:82:4: error: failed to evaluate #if condition, undefined function-like macro invocation: __has_attribute( ... ) [preprocessorErrorDirective] 2.18.0 pylsqpack-0.3.22/vendor/ls-qpack/lsqpack.h:692:17: error: syntax error [syntaxError] DONE