2026-05-01 18:17 ftp://ftp.de.debian.org/debian/pool/main/e/eos-sdk/eos-sdk_0~git20230107+ds.orig.tar.xz 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 --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j1 platform: Linux-6.8.0-111-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.70 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04.1) 14.2.0 cppcheck: head 2.20.0 head-info: e5c4a73 (2026-05-01 11:10:43 +0200) count: 73 71 elapsed-time: 0.9 0.8 head-timing-info: old-timing-info: head results: eos-sdk-0~git20230107+ds/endless/eosapplication.h:7:2: error: #error "Please do not include this header file directly." [preprocessorErrorDirective] eos-sdk-0~git20230107+ds/endless/eostypes.h:7:2: error: #error "Please do not include this header file directly." [preprocessorErrorDirective] eos-sdk-0~git20230107+ds/endless/eoscellrendererpixbuflink.c:38:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SIGNAL_RUN_FIRST [valueFlowBailoutIncompleteVar] eos-sdk-0~git20230107+ds/endless/eoscellrenderertextlink.c:29:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GTK_CELL_RENDERER_PRELIT [valueFlowBailoutIncompleteVar] eos-sdk-0~git20230107+ds/endless/eoscellrenderertextlink.c:64:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SIGNAL_RUN_FIRST [valueFlowBailoutIncompleteVar] eos-sdk-0~git20230107+ds/endless/eoscustomcontainer.h:7:2: error: #error "Please do not include this header file directly." [preprocessorErrorDirective] eos-sdk-0~git20230107+ds/endless/eosapiversion.h:54:3: error: failed to evaluate #if condition, undefined function-like macro invocation: G_ENCODE_VERSION( ... ) [syntaxError] eos-sdk-0~git20230107+ds/endless/eoslicense.h:7:2: error: #error "Please do not include this header file directly." [preprocessorErrorDirective] eos-sdk-0~git20230107+ds/endless/eospagemanager.h:7:2: error: #error "Please do not include this header file directly." [preprocessorErrorDirective] eos-sdk-0~git20230107+ds/endless/eosprofile.h:6:2: error: #error "Please do not include this header file directly." [preprocessorErrorDirective] eos-sdk-0~git20230107+ds/endless/gvdb/gvdb-builder.c:72:35: style:inconclusive: Function 'gvdb_hash_table_new' argument 2 names different: declaration 'key' definition 'name_in_parent'. [funcArgNamesDifferent] eos-sdk-0~git20230107+ds/endless/gvdb/gvdb-builder.h:31:89: note: Function 'gvdb_hash_table_new' argument 2 names different: declaration 'key' definition 'name_in_parent'. eos-sdk-0~git20230107+ds/endless/gvdb/gvdb-builder.c:72:35: note: Function 'gvdb_hash_table_new' argument 2 names different: declaration 'key' definition 'name_in_parent'. eos-sdk-0~git20230107+ds/endless/gvdb/gvdb-builder.c:191:29: style: Parameter 'key' can be declared as pointer to const. However it seems that 'hash_table_insert' is a callback function, if 'key' is declared with const you might also need to cast function pointer(s). [constParameterCallback] eos-sdk-0~git20230107+ds/endless/gvdb/gvdb-builder.c:366:32: note: You might need to cast the function pointer here eos-sdk-0~git20230107+ds/endless/gvdb/gvdb-builder.c:191:29: note: Parameter 'key' can be declared as pointer to const eos-sdk-0~git20230107+ds/endless/gvdb/gvdb-builder.c:206:26: style: Parameter 'item' can be declared as pointer to const [constParameterPointer] eos-sdk-0~git20230107+ds/endless/gvdb/gvdb-builder.c:412:25: style: Variable 'child' can be declared as pointer to const [constVariablePointer] eos-sdk-0~git20230107+ds/endless/gvdb/gvdb-reader.c:110:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_MAXUINT [valueFlowBailoutIncompleteVar] eos-sdk-0~git20230107+ds/endless/gvdb/gvdb-reader.c:494:31: style:inconclusive: Function 'gvdb_table_list' argument 1 names different: declaration 'table' definition 'file'. [funcArgNamesDifferent] eos-sdk-0~git20230107+ds/endless/gvdb/gvdb-reader.h:45:88: note: Function 'gvdb_table_list' argument 1 names different: declaration 'table' definition 'file'. eos-sdk-0~git20230107+ds/endless/gvdb/gvdb-reader.c:494:31: note: Function 'gvdb_table_list' argument 1 names different: declaration 'table' definition 'file'. eos-sdk-0~git20230107+ds/endless/gvdb/gvdb-reader.c:550:37: style:inconclusive: Function 'gvdb_table_has_value' argument 1 names different: declaration 'table' definition 'file'. [funcArgNamesDifferent] eos-sdk-0~git20230107+ds/endless/gvdb/gvdb-reader.h:58:88: note: Function 'gvdb_table_has_value' argument 1 names different: declaration 'table' definition 'file'. eos-sdk-0~git20230107+ds/endless/gvdb/gvdb-reader.c:550:37: note: Function 'gvdb_table_has_value' argument 1 names different: declaration 'table' definition 'file'. eos-sdk-0~git20230107+ds/endless/gvdb/gvdb-reader.c:603:37: style:inconclusive: Function 'gvdb_table_get_value' argument 1 names different: declaration 'table' definition 'file'. [funcArgNamesDifferent] eos-sdk-0~git20230107+ds/endless/gvdb/gvdb-reader.h:54:88: note: Function 'gvdb_table_get_value' argument 1 names different: declaration 'table' definition 'file'. eos-sdk-0~git20230107+ds/endless/gvdb/gvdb-reader.c:603:37: note: Function 'gvdb_table_get_value' argument 1 names different: declaration 'table' definition 'file'. eos-sdk-0~git20230107+ds/endless/gvdb/gvdb-reader.c:669:36: style:inconclusive: Function 'gvdb_table_get_table' argument 1 names different: declaration 'table' definition 'file'. [funcArgNamesDifferent] eos-sdk-0~git20230107+ds/endless/gvdb/gvdb-reader.h:48:88: note: Function 'gvdb_table_get_table' argument 1 names different: declaration 'table' definition 'file'. eos-sdk-0~git20230107+ds/endless/gvdb/gvdb-reader.c:669:36: note: Function 'gvdb_table_get_table' argument 1 names different: declaration 'table' definition 'file'. eos-sdk-0~git20230107+ds/endless/gvdb/gvdb-reader.c:699:29: style:inconclusive: Function 'gvdb_table_free' argument 1 names different: declaration 'table' definition 'file'. [funcArgNamesDifferent] eos-sdk-0~git20230107+ds/endless/gvdb/gvdb-reader.h:40:88: note: Function 'gvdb_table_free' argument 1 names different: declaration 'table' definition 'file'. eos-sdk-0~git20230107+ds/endless/gvdb/gvdb-reader.c:699:29: note: Function 'gvdb_table_free' argument 1 names different: declaration 'table' definition 'file'. eos-sdk-0~git20230107+ds/endless/gvdb/gvdb-reader.c:516:40: style: Local variable 'item' shadows outer variable [shadowVariable] eos-sdk-0~git20230107+ds/endless/gvdb/gvdb-reader.c:497:32: note: Shadowed declaration eos-sdk-0~git20230107+ds/endless/gvdb/gvdb-reader.c:516:40: note: Shadow variable eos-sdk-0~git20230107+ds/endless/gvdb/gvdb-reader.c:48:55: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] eos-sdk-0~git20230107+ds/endless/gvdb/gvdb-reader.c:65:52: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] eos-sdk-0~git20230107+ds/endless/gvdb/gvdb-reader.c:218:37: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] eos-sdk-0~git20230107+ds/endless/gvdb/gvdb-reader.c:235:47: style: Parameter 'item' can be declared as pointer to const [constParameterPointer] eos-sdk-0~git20230107+ds/test/endless/run-tests.c:17:33: error: There is an unknown macro here somewhere. Configuration is required. If G_GINT64_FORMAT is a macro then please configure it. [unknownMacro] eos-sdk-0~git20230107+ds/test/endless/test-application.c:44:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_APPLICATION_FLAGS_NONE [valueFlowBailoutIncompleteVar] eos-sdk-0~git20230107+ds/test/endless/test-application.c:134:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRUSR [valueFlowBailoutIncompleteVar] eos-sdk-0~git20230107+ds/test/endless/test-application.c:160:14: style: Variable 'config_dir' can be declared as pointer to const [constVariablePointer] eos-sdk-0~git20230107+ds/test/endless/test-application.c:160:25: style: Variable 'config_dir' is assigned a value that is never used. [unreadVariable] eos-sdk-0~git20230107+ds/test/endless/test-custom-container.c:59:3: warning: Assert statement calls a function which may have desired side effects: 'g_list_find'. [assertWithSideEffect] eos-sdk-0~git20230107+ds/test/endless/test-custom-container.c:60:3: warning: Assert statement calls a function which may have desired side effects: 'g_list_find'. [assertWithSideEffect] eos-sdk-0~git20230107+ds/test/endless/test-custom-container.c:61:3: warning: Assert statement calls a function which may have desired side effects: 'g_list_find'. [assertWithSideEffect] eos-sdk-0~git20230107+ds/test/endless/test-custom-container.c:75:3: warning: Assert statement calls a function which may have desired side effects: 'g_list_find'. [assertWithSideEffect] eos-sdk-0~git20230107+ds/test/endless/test-page-manager.c:280:3: warning: Assert statement calls a function which may have desired side effects: 'g_list_find'. [assertWithSideEffect] eos-sdk-0~git20230107+ds/test/endless/test-page-manager.c:281:3: warning: Assert statement calls a function which may have desired side effects: 'g_list_find'. [assertWithSideEffect] eos-sdk-0~git20230107+ds/test/endless/test-page-manager.c:282:3: warning: Assert statement calls a function which may have desired side effects: 'g_list_find'. [assertWithSideEffect] eos-sdk-0~git20230107+ds/test/endless/test-page-manager.c:125:3: error: Dereferencing 'prop_string' after it is deallocated / released [deallocuse] eos-sdk-0~git20230107+ds/test/endless/test-page-manager.c:126:3: error: Memory pointed to by 'prop_string' is freed twice. [doubleFree] eos-sdk-0~git20230107+ds/test/endless/test-page-manager.c:121:3: note: Memory pointed to by 'prop_string' is freed twice. eos-sdk-0~git20230107+ds/test/endless/test-page-manager.c:126:3: note: Memory pointed to by 'prop_string' is freed twice. eos-sdk-0~git20230107+ds/test/endless/test-page-manager.c:130:3: error: Dereferencing 'prop_string' after it is deallocated / released [deallocuse] eos-sdk-0~git20230107+ds/test/endless/test-page-manager.c:131:3: error: Memory pointed to by 'prop_string' is freed twice. [doubleFree] eos-sdk-0~git20230107+ds/test/endless/test-page-manager.c:121:3: note: Memory pointed to by 'prop_string' is freed twice. eos-sdk-0~git20230107+ds/test/endless/test-page-manager.c:131:3: note: Memory pointed to by 'prop_string' is freed twice. eos-sdk-0~git20230107+ds/test/endless/test-page-manager.c:138:3: error: Dereferencing 'prop_string' after it is deallocated / released [deallocuse] eos-sdk-0~git20230107+ds/test/endless/test-page-manager.c:139:3: error: Memory pointed to by 'prop_string' is freed twice. [doubleFree] eos-sdk-0~git20230107+ds/test/endless/test-page-manager.c:121:3: note: Memory pointed to by 'prop_string' is freed twice. eos-sdk-0~git20230107+ds/test/endless/test-page-manager.c:139:3: note: Memory pointed to by 'prop_string' is freed twice. eos-sdk-0~git20230107+ds/test/endless/test-profile.c:11:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EosProfileProbe [valueFlowBailoutIncompleteVar] eos-sdk-0~git20230107+ds/test/endless/test-window.c:47:82: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOS_TYPE_TOP_BAR [valueFlowBailoutIncompleteVar] eos-sdk-0~git20230107+ds/test/endless/test-window.c:73:19: style: Variable 'orig_pm' can be declared as pointer to const [constVariablePointer] eos-sdk-0~git20230107+ds/test/endless/test-window.c:78:19: style: Variable 'test_pm' can be declared as pointer to const [constVariablePointer] eos-sdk-0~git20230107+ds/test/endless/test-window.c:148:19: style: Variable 'new_pm' can be declared as pointer to const [constVariablePointer] eos-sdk-0~git20230107+ds/tools/eos-profile-tool/eos-profile-cmd-convert.c:53:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] eos-sdk-0~git20230107+ds/tools/eos-profile-tool/eos-profile-cmd-convert.c:78:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GArray [valueFlowBailoutIncompleteVar] eos-sdk-0~git20230107+ds/tools/eos-profile-tool/eos-profile-cmd-convert.c:215:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] eos-sdk-0~git20230107+ds/tools/eos-profile-tool/eos-profile-cmd-convert.c:163:9: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] eos-sdk-0~git20230107+ds/tools/eos-profile-tool/eos-profile-cmd-convert.c:123:19: style: Variable 'obj' can be declared as pointer to const [constVariablePointer] eos-sdk-0~git20230107+ds/tools/eos-profile-tool/eos-profile-cmd-convert.c:123:23: style: Variable 'obj' is assigned a value that is never used. [unreadVariable] eos-sdk-0~git20230107+ds/tools/eos-profile-tool/eos-profile-cmd-diff.c:22:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_USEC_PER_SEC [valueFlowBailoutIncompleteVar] eos-sdk-0~git20230107+ds/tools/eos-profile-tool/eos-profile-cmd-diff.c:46:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_USEC_PER_SEC [valueFlowBailoutIncompleteVar] eos-sdk-0~git20230107+ds/tools/eos-profile-tool/eos-profile-cmd-diff.c:98:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] eos-sdk-0~git20230107+ds/tools/eos-profile-tool/eos-profile-cmd-diff.c:210:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GArray [valueFlowBailoutIncompleteVar] eos-sdk-0~git20230107+ds/tools/eos-profile-tool/eos-profile-cmd-diff.c:301:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable src_fd [valueFlowBailoutIncompleteVar] eos-sdk-0~git20230107+ds/tools/eos-profile-tool/eos-profile-cmd-diff.c:348:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GHashTable [valueFlowBailoutIncompleteVar] eos-sdk-0~git20230107+ds/tools/eos-profile-tool/eos-profile-cmd-help.c:14:48: style: Parameter 'dummy' can be declared as pointer to const. However it seems that 'print_available_commands' is a callback function, if 'dummy' is declared with const you might also need to cast function pointer(s). [constParameterCallback] eos-sdk-0~git20230107+ds/tools/eos-profile-tool/eos-profile-cmd-help.c:36:28: note: You might need to cast the function pointer here eos-sdk-0~git20230107+ds/tools/eos-profile-tool/eos-profile-cmd-help.c:14:48: note: Parameter 'dummy' can be declared as pointer to const eos-sdk-0~git20230107+ds/tools/eos-profile-tool/eos-profile-cmd-show.c:16:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_USEC_PER_SEC [valueFlowBailoutIncompleteVar] eos-sdk-0~git20230107+ds/tools/eos-profile-tool/eos-profile-cmd-show.c:40:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_USEC_PER_SEC [valueFlowBailoutIncompleteVar] eos-sdk-0~git20230107+ds/tools/eos-profile-tool/eos-profile-cmd-show.c:92:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GArray [valueFlowBailoutIncompleteVar] eos-sdk-0~git20230107+ds/tools/eos-profile-tool/eos-profile-cmd-show.c:215:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] eos-sdk-0~git20230107+ds/tools/eos-profile-tool/eos-profile-main.c:59:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] eos-sdk-0~git20230107+ds/tools/eos-profile-tool/eos-profile-main.c:46:48: style:inconclusive: Function 'eos_profile_foreach_cmd' argument 2 names different: declaration '' definition 'data'. [funcArgNamesDifferentUnnamed] eos-sdk-0~git20230107+ds/tools/eos-profile-tool/eos-profile-utils.c:34:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] eos-sdk-0~git20230107+ds/tools/eos-profile-tool/eos-profile-utils.c:59:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] eos-sdk-0~git20230107+ds/tools/eos-profile-tool/eos-profile-utils.c:73:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] eos-sdk-0~git20230107+ds/tools/eos-profile-tool/eos-profile-utils.c:87:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_autofree [valueFlowBailoutIncompleteVar] eos-sdk-0~git20230107+ds/tools/eos-profile-tool/eos-profile-utils.c:103:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GStrv [valueFlowBailoutIncompleteVar] eos-sdk-0~git20230107+ds/tools/eos-profile-tool/eos-profile-utils.c:100:61: style:inconclusive: Function 'eos_profile_util_foreach_probe_v1' argument 3 names different: declaration '' definition 'callback_data'. [funcArgNamesDifferentUnnamed] diff: head eos-sdk-0~git20230107+ds/tools/eos-profile-tool/eos-profile-main.c:46:48: style:inconclusive: Function 'eos_profile_foreach_cmd' argument 2 names different: declaration '' definition 'data'. [funcArgNamesDifferentUnnamed] head eos-sdk-0~git20230107+ds/tools/eos-profile-tool/eos-profile-utils.c:100:61: style:inconclusive: Function 'eos_profile_util_foreach_probe_v1' argument 3 names different: declaration '' definition 'callback_data'. [funcArgNamesDifferentUnnamed] DONE