2025-07-08 07:22 ftp://ftp.de.debian.org/debian/pool/main/g/gcab/gcab_1.6.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --library=gtk --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 -j1 platform: Linux-6.8.0-63-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 cppcheck: head 2.17.0 head-info: 8833e3e (2025-07-07 13:50:36 +0200) count: 37 33 elapsed-time: 0.8 0.7 head-timing-info: old-timing-info: head results: gcab-1.6/libgcab/gcab-file.h:83:1: error: There is an unknown macro here somewhere. Configuration is required. If G_DEPRECATED_FOR is a macro then please configure it. [unknownMacro] gcab-1.6/libgcab/decomp.c:298:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable e [valueFlowBailoutIncompleteVar] gcab-1.6/libgcab/decomp.c:512:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable b [valueFlowBailoutIncompleteVar] gcab-1.6/libgcab/decomp.c:100:23: style: Variable 'p' can be declared as pointer to const [constVariablePointer] gcab-1.6/libgcab/decomp.c:742:14: style: Variable 'hufftbl' can be declared as pointer to const [constVariablePointer] gcab-1.6/libgcab/decomp.c:851:14: style: Variable 'runsrc' can be declared as pointer to const [constVariablePointer] gcab-1.6/libgcab/decomp.c:852:14: style: Variable 'hufftbl' can be declared as pointer to const [constVariablePointer] gcab-1.6/libgcab/decomp.c:1141:18: style: Variable 'dataend' can be declared as pointer to const [constVariablePointer] gcab-1.6/src/gcab-bzero.c:31:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] gcab-1.6/src/gcab-fuzz.c:30:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCabCabinet [valueFlowBailoutIncompleteVar] gcab-1.6/src/gcab-fuzz.c:62:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] gcab-1.6/src/gcab.c:42:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] gcab-1.6/src/gcab.c:59:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DIR_SEPARATOR [valueFlowBailoutIncompleteVar] gcab-1.6/src/gcab.c:78:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] gcab-1.6/src/gcab.c:99:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] gcab-1.6/tests/gcab-self-test.c:32:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TEST_DIST [valueFlowBailoutIncompleteVar] gcab-1.6/tests/gcab-self-test.c:38:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] gcab-1.6/tests/gcab-self-test.c:80:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] gcab-1.6/tests/gcab-self-test.c:129:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] gcab-1.6/tests/gcab-self-test.c:164:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCabCabinet [valueFlowBailoutIncompleteVar] gcab-1.6/tests/gcab-self-test.c:180:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCabCabinet [valueFlowBailoutIncompleteVar] gcab-1.6/tests/gcab-self-test.c:201:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCabCabinet [valueFlowBailoutIncompleteVar] gcab-1.6/tests/gcab-self-test.c:227:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCabCabinet [valueFlowBailoutIncompleteVar] gcab-1.6/tests/gcab-self-test.c:240:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GBytes [valueFlowBailoutIncompleteVar] gcab-1.6/tests/gcab-self-test.c:255:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] gcab-1.6/tests/gcab-self-test.c:326:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCAB_COMPRESSION_NONE [valueFlowBailoutIncompleteVar] gcab-1.6/tests/gcab-self-test.c:426:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] gcab-1.6/tests/gcab-self-test.c:459:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] gcab-1.6/tests/gcab-self-test.c:497:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] gcab-1.6/tests/gcab-self-test.c:531:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCAB_COMPRESSION_NONE [valueFlowBailoutIncompleteVar] gcab-1.6/tests/gcab-self-test.c:615:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_LOG_LEVEL_CRITICAL [valueFlowBailoutIncompleteVar] gcab-1.6/tests/gcab-self-test.c:62:5: warning: Assert statement calls a function which may have desired side effects: 'g_date_time_get_year'. [assertWithSideEffect] gcab-1.6/tests/gcab-self-test.c:64:5: warning: Assert statement calls a function which may have desired side effects: 'g_date_time_get_day_of_month'. [assertWithSideEffect] gcab-1.6/tests/gcab-self-test.c:65:5: warning: Assert statement calls a function which may have desired side effects: 'g_date_time_get_hour'. [assertWithSideEffect] gcab-1.6/tests/gcab-self-test.c:67:5: warning: Assert statement calls a function which may have desired side effects: 'g_date_time_get_second'. [assertWithSideEffect] gcab-1.6/tests/gcab-self-test.c:199:16: style: Variable 'cabfolders' can be declared as pointer to const [constVariablePointer] gcab-1.6/tests/gcab-self-test.c:550:26: style: struct member 'Anonymous4::checksum' is never used. [unusedStructMember] diff: head gcab-1.6/tests/gcab-self-test.c:62:5: warning: Assert statement calls a function which may have desired side effects: 'g_date_time_get_year'. [assertWithSideEffect] head gcab-1.6/tests/gcab-self-test.c:64:5: warning: Assert statement calls a function which may have desired side effects: 'g_date_time_get_day_of_month'. [assertWithSideEffect] head gcab-1.6/tests/gcab-self-test.c:65:5: warning: Assert statement calls a function which may have desired side effects: 'g_date_time_get_hour'. [assertWithSideEffect] head gcab-1.6/tests/gcab-self-test.c:67:5: warning: Assert statement calls a function which may have desired side effects: 'g_date_time_get_second'. [assertWithSideEffect] DONE