2024-04-18 06:44 ftp://ftp.de.debian.org/debian/pool/main/libt/libticonv/libticonv_1.1.6~git20231126.f67c953.orig.tar.bz2 cppcheck-options: --library=posix --library=gnu --library=bsd --library=gtk --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning -D__GNUC__ --platform=unix64 -j4 platform: Linux-6.1.0-18-amd64-x86_64-with-glibc2.36 python: 3.11.2 client-version: 1.3.56 compiler: g++ (Debian 12.2.0-14) 12.2.0 cppcheck: head 2.13.0 head-info: 397464e (2024-04-17 17:31:21 +0200) count: 61 38 elapsed-time: 7.6 246.9 head-timing-info: old-timing-info: head results: libticonv-1.1.6~git20231126.f67c953/src/iconv.c:51:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_CRITICAL [valueFlowBailoutIncompleteVar] libticonv-1.1.6~git20231126.f67c953/src/iconv.c:250:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_CRITICAL [valueFlowBailoutIncompleteVar] libticonv-1.1.6~git20231126.f67c953/src/iconv.c:261:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_CRITICAL [valueFlowBailoutIncompleteVar] libticonv-1.1.6~git20231126.f67c953/src/filename.cc:175:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gunichar2 [valueFlowBailoutIncompleteVar] libticonv-1.1.6~git20231126.f67c953/src/ticonv.cc:51:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION [valueFlowBailoutIncompleteVar] libticonv-1.1.6~git20231126.f67c953/src/ticonv.cc:75:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_CRITICAL [valueFlowBailoutIncompleteVar] libticonv-1.1.6~git20231126.f67c953/src/ticonv.cc:96:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_CRITICAL [valueFlowBailoutIncompleteVar] libticonv-1.1.6~git20231126.f67c953/src/ticonv.cc:136:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_CRITICAL [valueFlowBailoutIncompleteVar] libticonv-1.1.6~git20231126.f67c953/src/ticonv.cc:217:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_CRITICAL [valueFlowBailoutIncompleteVar] libticonv-1.1.6~git20231126.f67c953/src/ticonv.cc:245:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_CRITICAL [valueFlowBailoutIncompleteVar] libticonv-1.1.6~git20231126.f67c953/src/ticonv.cc:314:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_CRITICAL [valueFlowBailoutIncompleteVar] libticonv-1.1.6~git20231126.f67c953/src/ticonv.cc:342:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_CRITICAL [valueFlowBailoutIncompleteVar] libticonv-1.1.6~git20231126.f67c953/src/ticonv.cc:373:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_CRITICAL [valueFlowBailoutIncompleteVar] libticonv-1.1.6~git20231126.f67c953/src/ticonv.cc:403:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_CRITICAL [valueFlowBailoutIncompleteVar] libticonv-1.1.6~git20231126.f67c953/src/ticonv.cc:443:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_CRITICAL [valueFlowBailoutIncompleteVar] libticonv-1.1.6~git20231126.f67c953/src/ticonv.cc:481:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_CRITICAL [valueFlowBailoutIncompleteVar] libticonv-1.1.6~git20231126.f67c953/src/ticonv.cc:511:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_CRITICAL [valueFlowBailoutIncompleteVar] libticonv-1.1.6~git20231126.f67c953/src/ticonv.cc:554:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_CRITICAL [valueFlowBailoutIncompleteVar] libticonv-1.1.6~git20231126.f67c953/src/ticonv.cc:595:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_CRITICAL [valueFlowBailoutIncompleteVar] libticonv-1.1.6~git20231126.f67c953/src/ticonv.cc:626:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_CRITICAL [valueFlowBailoutIncompleteVar] libticonv-1.1.6~git20231126.f67c953/src/ticonv.cc:666:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_CRITICAL [valueFlowBailoutIncompleteVar] libticonv-1.1.6~git20231126.f67c953/src/ticonv.cc:704:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_CRITICAL [valueFlowBailoutIncompleteVar] libticonv-1.1.6~git20231126.f67c953/src/ticonv.cc:729:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_CRITICAL [valueFlowBailoutIncompleteVar] libticonv-1.1.6~git20231126.f67c953/src/ticonv.cc:806:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_CRITICAL [valueFlowBailoutIncompleteVar] libticonv-1.1.6~git20231126.f67c953/src/ticonv.cc:844:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_CRITICAL [valueFlowBailoutIncompleteVar] libticonv-1.1.6~git20231126.f67c953/src/ticonv.cc:869:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_CRITICAL [valueFlowBailoutIncompleteVar] libticonv-1.1.6~git20231126.f67c953/src/charset.cc:41:28: style: C-style pointer casting [cstyleCast] libticonv-1.1.6~git20231126.f67c953/src/charset.cc:91:21: style: C-style pointer casting [cstyleCast] libticonv-1.1.6~git20231126.f67c953/src/charset.cc:467:21: style: C-style pointer casting [cstyleCast] libticonv-1.1.6~git20231126.f67c953/src/charset.cc:749:21: style: C-style pointer casting [cstyleCast] libticonv-1.1.6~git20231126.f67c953/src/ticonv.cc:117:9: style: C-style pointer casting [cstyleCast] libticonv-1.1.6~git20231126.f67c953/src/ticonv.cc:157:9: style: C-style pointer casting [cstyleCast] libticonv-1.1.6~git20231126.f67c953/src/ticonv.cc:236:15: style: C-style pointer casting [cstyleCast] libticonv-1.1.6~git20231126.f67c953/src/ticonv.cc:258:9: style: C-style pointer casting [cstyleCast] libticonv-1.1.6~git20231126.f67c953/src/ticonv.cc:333:28: style: C-style pointer casting [cstyleCast] libticonv-1.1.6~git20231126.f67c953/src/ticonv.cc:256:34: style:inconclusive: Function 'ticonv_ti_free' argument 1 names different: declaration 'ti' definition 'str'. [funcArgNamesDifferent] libticonv-1.1.6~git20231126.f67c953/src/ticonv.h:134:47: note: Function 'ticonv_ti_free' argument 1 names different: declaration 'ti' definition 'str'. libticonv-1.1.6~git20231126.f67c953/src/ticonv.cc:256:34: note: Function 'ticonv_ti_free' argument 1 names different: declaration 'ti' definition 'str'. libticonv-1.1.6~git20231126.f67c953/tests/test_ticonv.cc:54:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ti73_charset [valueFlowBailoutIncompleteVar] libticonv-1.1.6~git20231126.f67c953/src/filename.cc:70:18: style: C-style pointer casting [cstyleCast] libticonv-1.1.6~git20231126.f67c953/src/filename.cc:71:18: style: C-style pointer casting [cstyleCast] libticonv-1.1.6~git20231126.f67c953/src/filename.cc:263:12: style: C-style pointer casting [cstyleCast] libticonv-1.1.6~git20231126.f67c953/src/filename.cc:264:12: style: C-style pointer casting [cstyleCast] libticonv-1.1.6~git20231126.f67c953/src/filename.cc:248:61: style:inconclusive: Function 'ticonv_gfe_to_zfe' argument 2 names different: declaration 'src' definition 'src_'. [funcArgNamesDifferent] libticonv-1.1.6~git20231126.f67c953/src/ticonv.h:201:72: note: Function 'ticonv_gfe_to_zfe' argument 2 names different: declaration 'src' definition 'src_'. libticonv-1.1.6~git20231126.f67c953/src/filename.cc:248:61: note: Function 'ticonv_gfe_to_zfe' argument 2 names different: declaration 'src' definition 'src_'. libticonv-1.1.6~git20231126.f67c953/src/filename.cc:60:18: style: Variable 'utf16_src' can be declared as pointer to const [constVariablePointer] libticonv-1.1.6~git20231126.f67c953/src/filename.cc:250:8: style: Variable 'src' can be declared as pointer to const [constVariablePointer] libticonv-1.1.6~git20231126.f67c953/src/type2str.cc:36:54: style:inconclusive: Function 'ticonv_model_to_string' argument 1 names different: declaration 'type' definition 'model'. [funcArgNamesDifferent] libticonv-1.1.6~git20231126.f67c953/src/ticonv.h:178:64: note: Function 'ticonv_model_to_string' argument 1 names different: declaration 'type' definition 'model'. libticonv-1.1.6~git20231126.f67c953/src/type2str.cc:36:54: note: Function 'ticonv_model_to_string' argument 1 names different: declaration 'type' definition 'model'. libticonv-1.1.6~git20231126.f67c953/tests/torture_ticonv.c:61:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libticonv-1.1.6~git20231126.f67c953/tests/torture_ticonv.c:30:12: style: Variable 'pti' can be declared as pointer to const [constVariablePointer] libticonv-1.1.6~git20231126.f67c953/src/tokens.cc:146:11: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libticonv-1.1.6~git20231126.f67c953/src/tokens.cc:309:10: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libticonv-1.1.6~git20231126.f67c953/src/tokens.cc:313:10: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libticonv-1.1.6~git20231126.f67c953/src/tokens.cc:324:10: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libticonv-1.1.6~git20231126.f67c953/src/tokens.cc:328:10: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libticonv-1.1.6~git20231126.f67c953/src/tokens.cc:463:10: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libticonv-1.1.6~git20231126.f67c953/src/tokens.cc:467:10: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libticonv-1.1.6~git20231126.f67c953/src/tokens.cc:202:11: style: C-style pointer casting [cstyleCast] libticonv-1.1.6~git20231126.f67c953/src/tokens.cc:564:30: style: C-style pointer casting [cstyleCast] libticonv-1.1.6~git20231126.f67c953/src/tokens.cc:644:15: style: C-style pointer casting [cstyleCast] libticonv-1.1.6~git20231126.f67c953/src/tokens.cc:715:37: style: C-style pointer casting [cstyleCast] libticonv-1.1.6~git20231126.f67c953/src/tokens.cc:134:6: style: The scope of the variable 'i' can be reduced. [variableScope] libticonv-1.1.6~git20231126.f67c953/src/tokens.cc:562:67: style:inconclusive: Function 'ticonv_varname_tokenize' argument 2 names different: declaration 'src' definition 'src_'. [funcArgNamesDifferent] libticonv-1.1.6~git20231126.f67c953/src/ticonv.h:195:80: note: Function 'ticonv_varname_tokenize' argument 2 names different: declaration 'src' definition 'src_'. libticonv-1.1.6~git20231126.f67c953/src/tokens.cc:562:67: note: Function 'ticonv_varname_tokenize' argument 2 names different: declaration 'src' definition 'src_'. libticonv-1.1.6~git20231126.f67c953/src/tokens.cc:50:8: style: Variable 'dst' can be declared as pointer to const [constVariablePointer] diff: head libticonv-1.1.6~git20231126.f67c953/src/iconv.c:250:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_CRITICAL [valueFlowBailoutIncompleteVar] head libticonv-1.1.6~git20231126.f67c953/src/iconv.c:261:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_CRITICAL [valueFlowBailoutIncompleteVar] head libticonv-1.1.6~git20231126.f67c953/src/ticonv.cc:136:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_CRITICAL [valueFlowBailoutIncompleteVar] head libticonv-1.1.6~git20231126.f67c953/src/ticonv.cc:217:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_CRITICAL [valueFlowBailoutIncompleteVar] head libticonv-1.1.6~git20231126.f67c953/src/ticonv.cc:245:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_CRITICAL [valueFlowBailoutIncompleteVar] head libticonv-1.1.6~git20231126.f67c953/src/ticonv.cc:314:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_CRITICAL [valueFlowBailoutIncompleteVar] head libticonv-1.1.6~git20231126.f67c953/src/ticonv.cc:342:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_CRITICAL [valueFlowBailoutIncompleteVar] head libticonv-1.1.6~git20231126.f67c953/src/ticonv.cc:373:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_CRITICAL [valueFlowBailoutIncompleteVar] head libticonv-1.1.6~git20231126.f67c953/src/ticonv.cc:403:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_CRITICAL [valueFlowBailoutIncompleteVar] head libticonv-1.1.6~git20231126.f67c953/src/ticonv.cc:443:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_CRITICAL [valueFlowBailoutIncompleteVar] head libticonv-1.1.6~git20231126.f67c953/src/ticonv.cc:481:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_CRITICAL [valueFlowBailoutIncompleteVar] head libticonv-1.1.6~git20231126.f67c953/src/ticonv.cc:511:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_CRITICAL [valueFlowBailoutIncompleteVar] head libticonv-1.1.6~git20231126.f67c953/src/ticonv.cc:554:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_CRITICAL [valueFlowBailoutIncompleteVar] head libticonv-1.1.6~git20231126.f67c953/src/ticonv.cc:595:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_CRITICAL [valueFlowBailoutIncompleteVar] head libticonv-1.1.6~git20231126.f67c953/src/ticonv.cc:626:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_CRITICAL [valueFlowBailoutIncompleteVar] head libticonv-1.1.6~git20231126.f67c953/src/ticonv.cc:666:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_CRITICAL [valueFlowBailoutIncompleteVar] head libticonv-1.1.6~git20231126.f67c953/src/ticonv.cc:704:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_CRITICAL [valueFlowBailoutIncompleteVar] head libticonv-1.1.6~git20231126.f67c953/src/ticonv.cc:729:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_CRITICAL [valueFlowBailoutIncompleteVar] head libticonv-1.1.6~git20231126.f67c953/src/ticonv.cc:75:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_CRITICAL [valueFlowBailoutIncompleteVar] head libticonv-1.1.6~git20231126.f67c953/src/ticonv.cc:806:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_CRITICAL [valueFlowBailoutIncompleteVar] head libticonv-1.1.6~git20231126.f67c953/src/ticonv.cc:844:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_CRITICAL [valueFlowBailoutIncompleteVar] head libticonv-1.1.6~git20231126.f67c953/src/ticonv.cc:869:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_CRITICAL [valueFlowBailoutIncompleteVar] head libticonv-1.1.6~git20231126.f67c953/src/ticonv.cc:96:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_CRITICAL [valueFlowBailoutIncompleteVar] DONE