2026-03-20 11:52 ftp://ftp.de.debian.org/debian/pool/main/b/bitstruct/bitstruct_8.22.0.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=python --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j1 platform: Linux-6.8.0-106-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.70 compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04.1) 13.3.0 cppcheck: head 2.20.0 head-info: 4412833 (2026-03-20 08:27:05 +0100) count: 51 51 elapsed-time: 0.2 0.2 head-timing-info: old-timing-info: head results: bitstruct-8.22.0/src/bitstruct/bitstream.c:38:62: style: Parameter 'self_p' can be declared as pointer to const [constParameterPointer] bitstruct-8.22.0/src/bitstruct/bitstream.c:43:63: style: Parameter 'self_p' can be declared as pointer to const [constParameterPointer] bitstruct-8.22.0/src/bitstruct/bitstream.c:597:54: style: Parameter 'self_p' can be declared as pointer to const [constParameterPointer] bitstruct-8.22.0/src/bitstruct/c.c:332:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_TypeError [valueFlowBailoutIncompleteVar] bitstruct-8.22.0/src/bitstruct/c.c:359:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_OverflowError [valueFlowBailoutIncompleteVar] bitstruct-8.22.0/src/bitstruct/c.c:401:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_OverflowError [valueFlowBailoutIncompleteVar] bitstruct-8.22.0/src/bitstruct/c.c:538:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_NotImplementedError [valueFlowBailoutIncompleteVar] bitstruct-8.22.0/src/bitstruct/c.c:580:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_NotImplementedError [valueFlowBailoutIncompleteVar] bitstruct-8.22.0/src/bitstruct/c.c:639:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_NotImplementedError [valueFlowBailoutIncompleteVar] bitstruct-8.22.0/src/bitstruct/c.c:658:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_NotImplementedError [valueFlowBailoutIncompleteVar] bitstruct-8.22.0/src/bitstruct/c.c:699:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_NotImplementedError [valueFlowBailoutIncompleteVar] bitstruct-8.22.0/src/bitstruct/c.c:714:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_NotImplementedError [valueFlowBailoutIncompleteVar] bitstruct-8.22.0/src/bitstruct/c.c:728:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_NotImplementedError [valueFlowBailoutIncompleteVar] bitstruct-8.22.0/src/bitstruct/c.c:743:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_NotImplementedError [valueFlowBailoutIncompleteVar] bitstruct-8.22.0/src/bitstruct/c.c:813:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] bitstruct-8.22.0/src/bitstruct/c.c:861:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] bitstruct-8.22.0/src/bitstruct/c.c:992:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] bitstruct-8.22.0/src/bitstruct/c.c:1017:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] bitstruct-8.22.0/src/bitstruct/c.c:1050:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyBUF_C_CONTIGUOUS [valueFlowBailoutIncompleteVar] bitstruct-8.22.0/src/bitstruct/c.c:1169:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] bitstruct-8.22.0/src/bitstruct/c.c:1196:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_TypeError [valueFlowBailoutIncompleteVar] bitstruct-8.22.0/src/bitstruct/c.c:1235:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] bitstruct-8.22.0/src/bitstruct/c.c:1250:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] bitstruct-8.22.0/src/bitstruct/c.c:1280:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] bitstruct-8.22.0/src/bitstruct/c.c:1390:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_KeyError [valueFlowBailoutIncompleteVar] bitstruct-8.22.0/src/bitstruct/c.c:1407:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] bitstruct-8.22.0/src/bitstruct/c.c:1475:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] bitstruct-8.22.0/src/bitstruct/c.c:1869:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] bitstruct-8.22.0/src/bitstruct/c.c:2008:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] bitstruct-8.22.0/src/bitstruct/c.c:2117:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] bitstruct-8.22.0/src/bitstruct/c.c:2422:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] bitstruct-8.22.0/src/bitstruct/c.c:2483:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] bitstruct-8.22.0/src/bitstruct/c.c:2110:55: style:inconclusive: Function 'm_compiled_format_setstate' argument 2 names different: declaration 'args_p' definition 'state_p'. [funcArgNamesDifferent] bitstruct-8.22.0/src/bitstruct/c.c:98:55: note: Function 'm_compiled_format_setstate' argument 2 names different: declaration 'args_p' definition 'state_p'. bitstruct-8.22.0/src/bitstruct/c.c:2110:55: note: Function 'm_compiled_format_setstate' argument 2 names different: declaration 'args_p' definition 'state_p'. bitstruct-8.22.0/src/bitstruct/c.c:2414:60: style:inconclusive: Function 'm_compiled_format_dict_setstate' argument 2 names different: declaration 'args_p' definition 'state_p'. [funcArgNamesDifferent] bitstruct-8.22.0/src/bitstruct/c.c:146:60: note: Function 'm_compiled_format_dict_setstate' argument 2 names different: declaration 'args_p' definition 'state_p'. bitstruct-8.22.0/src/bitstruct/c.c:2414:60: note: Function 'm_compiled_format_dict_setstate' argument 2 names different: declaration 'args_p' definition 'state_p'. bitstruct-8.22.0/src/bitstruct/c.c:373:61: style: Parameter 'field_info_p' can be declared as pointer to const. However it seems that 'unpack_signed_integer' is a callback function, if 'field_info_p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bitstruct-8.22.0/src/bitstruct/c.c:636:22: note: You might need to cast the function pointer here bitstruct-8.22.0/src/bitstruct/c.c:373:61: note: Parameter 'field_info_p' can be declared as pointer to const bitstruct-8.22.0/src/bitstruct/c.c:390:56: style: Parameter 'field_info_p' can be declared as pointer to const. However it seems that 'pack_unsigned_integer' is a callback function, if 'field_info_p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bitstruct-8.22.0/src/bitstruct/c.c:654:20: note: You might need to cast the function pointer here bitstruct-8.22.0/src/bitstruct/c.c:390:56: note: Parameter 'field_info_p' can be declared as pointer to const bitstruct-8.22.0/src/bitstruct/c.c:412:63: style: Parameter 'field_info_p' can be declared as pointer to const. However it seems that 'unpack_unsigned_integer' is a callback function, if 'field_info_p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bitstruct-8.22.0/src/bitstruct/c.c:655:22: note: You might need to cast the function pointer here bitstruct-8.22.0/src/bitstruct/c.c:412:63: note: Parameter 'field_info_p' can be declared as pointer to const bitstruct-8.22.0/src/bitstruct/c.c:461:37: style: Parameter 'value_p' can be declared as pointer to const. However it seems that 'pack_float_32' is a callback function, if 'value_p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bitstruct-8.22.0/src/bitstruct/c.c:685:24: note: You might need to cast the function pointer here bitstruct-8.22.0/src/bitstruct/c.c:461:37: note: Parameter 'value_p' can be declared as pointer to const bitstruct-8.22.0/src/bitstruct/c.c:485:37: style: Parameter 'value_p' can be declared as pointer to const. However it seems that 'pack_float_64' is a callback function, if 'value_p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bitstruct-8.22.0/src/bitstruct/c.c:690:24: note: You might need to cast the function pointer here bitstruct-8.22.0/src/bitstruct/c.c:485:37: note: Parameter 'value_p' can be declared as pointer to const bitstruct-8.22.0/src/bitstruct/c.c:486:48: style: Parameter 'field_info_p' can be declared as pointer to const. However it seems that 'pack_float_64' is a callback function, if 'field_info_p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bitstruct-8.22.0/src/bitstruct/c.c:690:24: note: You might need to cast the function pointer here bitstruct-8.22.0/src/bitstruct/c.c:486:48: note: Parameter 'field_info_p' can be declared as pointer to const bitstruct-8.22.0/src/bitstruct/c.c:512:44: style: Parameter 'field_info_p' can be declared as pointer to const. However it seems that 'pack_bool' is a callback function, if 'field_info_p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bitstruct-8.22.0/src/bitstruct/c.c:710:20: note: You might need to cast the function pointer here bitstruct-8.22.0/src/bitstruct/c.c:512:44: note: Parameter 'field_info_p' can be declared as pointer to const bitstruct-8.22.0/src/bitstruct/c.c:520:51: style: Parameter 'field_info_p' can be declared as pointer to const. However it seems that 'unpack_bool' is a callback function, if 'field_info_p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bitstruct-8.22.0/src/bitstruct/c.c:711:22: note: You might need to cast the function pointer here bitstruct-8.22.0/src/bitstruct/c.c:520:51: note: Parameter 'field_info_p' can be declared as pointer to const bitstruct-8.22.0/src/bitstruct/c.c:529:44: style: Parameter 'field_info_p' can be declared as pointer to const. However it seems that 'pack_text' is a callback function, if 'field_info_p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bitstruct-8.22.0/src/bitstruct/c.c:724:20: note: You might need to cast the function pointer here bitstruct-8.22.0/src/bitstruct/c.c:529:44: note: Parameter 'field_info_p' can be declared as pointer to const bitstruct-8.22.0/src/bitstruct/c.c:548:51: style: Parameter 'field_info_p' can be declared as pointer to const. However it seems that 'unpack_text' is a callback function, if 'field_info_p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bitstruct-8.22.0/src/bitstruct/c.c:725:22: note: You might need to cast the function pointer here bitstruct-8.22.0/src/bitstruct/c.c:548:51: note: Parameter 'field_info_p' can be declared as pointer to const bitstruct-8.22.0/src/bitstruct/c.c:570:43: style: Parameter 'field_info_p' can be declared as pointer to const. However it seems that 'pack_raw' is a callback function, if 'field_info_p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bitstruct-8.22.0/src/bitstruct/c.c:739:20: note: You might need to cast the function pointer here bitstruct-8.22.0/src/bitstruct/c.c:570:43: note: Parameter 'field_info_p' can be declared as pointer to const bitstruct-8.22.0/src/bitstruct/c.c:590:50: style: Parameter 'field_info_p' can be declared as pointer to const. However it seems that 'unpack_raw' is a callback function, if 'field_info_p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bitstruct-8.22.0/src/bitstruct/c.c:740:22: note: You might need to cast the function pointer here bitstruct-8.22.0/src/bitstruct/c.c:590:50: note: Parameter 'field_info_p' can be declared as pointer to const bitstruct-8.22.0/src/bitstruct/c.c:606:52: style: Parameter 'field_info_p' can be declared as pointer to const. However it seems that 'pack_zero_padding' is a callback function, if 'field_info_p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bitstruct-8.22.0/src/bitstruct/c.c:753:20: note: You might need to cast the function pointer here bitstruct-8.22.0/src/bitstruct/c.c:606:52: note: Parameter 'field_info_p' can be declared as pointer to const bitstruct-8.22.0/src/bitstruct/c.c:615:51: style: Parameter 'field_info_p' can be declared as pointer to const. However it seems that 'pack_one_padding' is a callback function, if 'field_info_p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bitstruct-8.22.0/src/bitstruct/c.c:761:20: note: You might need to cast the function pointer here bitstruct-8.22.0/src/bitstruct/c.c:615:51: note: Parameter 'field_info_p' can be declared as pointer to const bitstruct-8.22.0/src/bitstruct/c.c:623:54: style: Parameter 'field_info_p' can be declared as pointer to const. However it seems that 'unpack_padding' is a callback function, if 'field_info_p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] bitstruct-8.22.0/src/bitstruct/c.c:762:22: note: You might need to cast the function pointer here bitstruct-8.22.0/src/bitstruct/c.c:623:54: note: Parameter 'field_info_p' can be declared as pointer to const bitstruct-8.22.0/src/bitstruct/c.c:957:46: style: Parameter 'info_p' can be declared as pointer to const [constParameterPointer] bitstruct-8.22.0/src/bitstruct/c.c:1179:45: style: Parameter 'info_p' can be declared as pointer to const [constParameterPointer] diff: DONE