2026-05-03 03:00 ftp://ftp.de.debian.org/debian/pool/main/libd/libdex/libdex_1.1.0.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.12.85+deb13-amd64-x86_64-with-glibc2.41 python: 3.13.5 client-version: 1.3.70 compiler: g++ (20250906) 15.2.0 cppcheck: head 2.20.0 head-info: e5c4a73 (2026-05-01 11:10:43 +0200) count: 108 106 elapsed-time: 0.9 0.8 head-timing-info: old-timing-info: head results: libdex-1.1.0/examples/cat-util.h:114:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_OPTION_ARG_FILENAME [valueFlowBailoutIncompleteVar] libdex-1.1.0/examples/cat-util.h:219:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_main_loop_unref [valueFlowBailoutIncompleteVar] libdex-1.1.0/examples/cat.c:66:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PRIORITY_DEFAULT [valueFlowBailoutIncompleteVar] libdex-1.1.0/examples/cat.c:107:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PRIORITY_DEFAULT [valueFlowBailoutIncompleteVar] libdex-1.1.0/examples/cp.c:181:49: error: There is an unknown macro here somewhere. Configuration is required. If G_FILE_ATTRIBUTE_STANDARD_TYPE is a macro then please configure it. [unknownMacro] libdex-1.1.0/examples/dbus.c:63:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_METHOD_INVOCATION_HANDLED [valueFlowBailoutIncompleteVar] libdex-1.1.0/examples/dbus.c:89:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GVariantBuilder [valueFlowBailoutIncompleteVar] libdex-1.1.0/examples/dbus.c:107:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDBusConnection [valueFlowBailoutIncompleteVar] libdex-1.1.0/examples/dbus.c:156:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DexDbusPingPong [valueFlowBailoutIncompleteVar] libdex-1.1.0/examples/dbus.c:177:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DexDbusPingPong [valueFlowBailoutIncompleteVar] libdex-1.1.0/examples/dbus.c:205:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DexDbusPingPong [valueFlowBailoutIncompleteVar] libdex-1.1.0/examples/dbus.c:246:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] libdex-1.1.0/examples/dbus.c:261:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GMainLoop [valueFlowBailoutIncompleteVar] libdex-1.1.0/examples/dbus.c:73:34: style: Parameter 'pp' can be declared as pointer to const [constParameterPointer] libdex-1.1.0/examples/dbus.c:78:45: style: Parameter 'klass' can be declared as pointer to const [constParameterPointer] libdex-1.1.0/examples/echo-bench.c:130:30: error: There is an unknown macro here somewhere. Configuration is required. If G_GINT64_FORMAT is a macro then please configure it. [unknownMacro] libdex-1.1.0/examples/host.c:30:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GError [valueFlowBailoutIncompleteVar] libdex-1.1.0/examples/host.c:65:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GMainLoop [valueFlowBailoutIncompleteVar] libdex-1.1.0/examples/host.c:26:27: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'resolve_address' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libdex-1.1.0/examples/host.c:82:54: note: You might need to cast the function pointer here libdex-1.1.0/examples/host.c:26:27: note: Parameter 'user_data' can be declared as pointer to const libdex-1.1.0/examples/host.c:63:13: style: Parameter 'argv' can be declared as const array [constParameter] libdex-1.1.0/examples/httpd.c:52:2: error: failed to evaluate #if condition, undefined function-like macro invocation: SOUP_CHECK_VERSION( ... ) [syntaxError] libdex-1.1.0/examples/infinite-loop.c:65:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_main_loop_unref [valueFlowBailoutIncompleteVar] libdex-1.1.0/examples/tcp-echo.c:47:86: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_PRIORITY_DEFAULT [valueFlowBailoutIncompleteVar] libdex-1.1.0/examples/tcp-echo.c:71:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSocketConnection [valueFlowBailoutIncompleteVar] libdex-1.1.0/examples/tcp-echo.c:102:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GSocketListener [valueFlowBailoutIncompleteVar] libdex-1.1.0/examples/wget.c:126:26: error: There is an unknown macro here somewhere. Configuration is required. If G_GSSIZE_FORMAT is a macro then please configure it. [unknownMacro] libdex-1.1.0/src/dex-version-macros.h:47:2: error: failed to evaluate #if condition, undefined function-like macro invocation: G_ENCODE_VERSION( ... ) [syntaxError] libdex-1.1.0/src/dex-future.h:25:3: error: #error "Only can be included directly." [preprocessorErrorDirective] libdex-1.1.0/src/dex-future-private.h:25:3: error: #error "config.h must be included before dex-future-private.h" [preprocessorErrorDirective] libdex-1.1.0/src/dex-cancellable.h:25:3: error: #error "Only can be included directly." [preprocessorErrorDirective] libdex-1.1.0/src/dex-enums.h:25:3: error: #error "Only can be included directly." [preprocessorErrorDirective] libdex-1.1.0/src/dex-future-list-model.c:50:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_OBJECT [valueFlowBailoutIncompleteVar] libdex-1.1.0/src/dex-future-list-model.c:95:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dex_future_list_model_parent_class [valueFlowBailoutIncompleteVar] libdex-1.1.0/src/dex-future-list-model.c:123:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_LIST_MODEL [valueFlowBailoutIncompleteVar] libdex-1.1.0/src/dex-future-list-model.c:149:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GWeakRef [valueFlowBailoutIncompleteVar] libdex-1.1.0/src/dex-future-list-model.c:107:49: style: Parameter 'self' can be declared as pointer to const [constParameterPointer] libdex-1.1.0/testsuite/test-channel.c:60:3: error: syntax error [syntaxError] libdex-1.1.0/testsuite/test-dbus.c:63:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_CONNECTION_FLAGS_AUTHENTICATION_CLIENT [valueFlowBailoutIncompleteVar] libdex-1.1.0/testsuite/test-dbus.c:77:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_USEC_PER_SEC [valueFlowBailoutIncompleteVar] libdex-1.1.0/testsuite/test-dbus.c:93:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_USEC_PER_SEC [valueFlowBailoutIncompleteVar] libdex-1.1.0/testsuite/test-dbus.c:110:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_METHOD_INVOCATION_HANDLED [valueFlowBailoutIncompleteVar] libdex-1.1.0/testsuite/test-dbus.c:120:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_METHOD_INVOCATION_HANDLED [valueFlowBailoutIncompleteVar] libdex-1.1.0/testsuite/test-dbus.c:163:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SOURCE_CONTINUE [valueFlowBailoutIncompleteVar] libdex-1.1.0/testsuite/test-dbus.c:202:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_bus_unown_name [valueFlowBailoutIncompleteVar] libdex-1.1.0/testsuite/test-dbus.c:238:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_BUS_NAME_OWNER_FLAGS_ALLOW_REPLACEMENT [valueFlowBailoutIncompleteVar] libdex-1.1.0/testsuite/test-dbus.c:317:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_PROXY_FLAGS_NONE [valueFlowBailoutIncompleteVar] libdex-1.1.0/testsuite/test-dbus.c:350:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_PROXY_FLAGS_NONE [valueFlowBailoutIncompleteVar] libdex-1.1.0/testsuite/test-dbus.c:390:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_PROXY_FLAGS_NONE [valueFlowBailoutIncompleteVar] libdex-1.1.0/testsuite/test-dbus.c:438:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_PROXY_FLAGS_NONE [valueFlowBailoutIncompleteVar] libdex-1.1.0/testsuite/test-dbus.c:489:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_PROXY_FLAGS_NONE [valueFlowBailoutIncompleteVar] libdex-1.1.0/testsuite/test-dbus.c:557:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_PROXY_FLAGS_NONE [valueFlowBailoutIncompleteVar] libdex-1.1.0/testsuite/test-dbus.c:619:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_PROXY_FLAGS_NONE [valueFlowBailoutIncompleteVar] libdex-1.1.0/testsuite/test-dbus.c:670:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_PROXY_FLAGS_NONE [valueFlowBailoutIncompleteVar] libdex-1.1.0/testsuite/test-dbus.c:730:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_PROXY_FLAGS_NONE [valueFlowBailoutIncompleteVar] libdex-1.1.0/testsuite/test-dbus.c:772:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_BUS_TYPE_SESSION [valueFlowBailoutIncompleteVar] libdex-1.1.0/testsuite/test-dbus.c:842:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEX_FUTURE_STATUS_PENDING [valueFlowBailoutIncompleteVar] libdex-1.1.0/testsuite/test-dbus.c:865:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_BUS_TYPE_SESSION [valueFlowBailoutIncompleteVar] libdex-1.1.0/testsuite/test-dbus.c:930:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_DBUS_PROXY_FLAGS_NONE [valueFlowBailoutIncompleteVar] libdex-1.1.0/testsuite/test-dbus.c:410:3: warning: Assert statement calls a function which may have desired side effects: 'g_value_get_boolean'. [assertWithSideEffect] libdex-1.1.0/testsuite/test-dbus.c:696:3: warning: Assert statement calls a function which may have desired side effects: 'g_value_get_boolean'. [assertWithSideEffect] libdex-1.1.0/testsuite/test-dbus.c:849:3: warning: Assert statement calls a function which may have desired side effects: 'g_value_get_boolean'. [assertWithSideEffect] libdex-1.1.0/testsuite/test-dbus.c:959:3: warning: Assert statement calls a function which may have desired side effects: 'g_value_get_boolean'. [assertWithSideEffect] libdex-1.1.0/testsuite/test-dbus.c:133:32: style: Parameter 'foo' can be declared as pointer to const [constParameterPointer] libdex-1.1.0/testsuite/test-dbus.c:138:43: style: Parameter 'klass' can be declared as pointer to const [constParameterPointer] libdex-1.1.0/testsuite/test-fiber.c:69:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEX_FUTURE_STATUS_RESOLVED [valueFlowBailoutIncompleteVar] libdex-1.1.0/testsuite/test-fiber.c:138:73: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dex_unref [valueFlowBailoutIncompleteVar] libdex-1.1.0/testsuite/test-fiber.c:192:94: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dex_unref [valueFlowBailoutIncompleteVar] libdex-1.1.0/testsuite/test-fiber.c:71:3: warning: Assert statement calls a function which may have desired side effects: 'g_value_get_int'. [assertWithSideEffect] libdex-1.1.0/testsuite/test-fiber.c:126:7: warning: Assert statement calls a function which may have desired side effects: 'g_value_get_int'. [assertWithSideEffect] libdex-1.1.0/testsuite/test-fiber.c:41:32: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'scheduler_fiber_func' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libdex-1.1.0/testsuite/test-fiber.c:57:36: note: You might need to cast the function pointer here libdex-1.1.0/testsuite/test-fiber.c:41:32: note: Parameter 'user_data' can be declared as pointer to const libdex-1.1.0/testsuite/test-fiber.c:48:33: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'scheduler_fiber_error' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libdex-1.1.0/testsuite/test-fiber.c:74:26: note: You might need to cast the function pointer here libdex-1.1.0/testsuite/test-fiber.c:48:33: note: Parameter 'user_data' can be declared as pointer to const libdex-1.1.0/testsuite/test-fiber.c:180:35: style: Parameter 'future' can be declared as pointer to const. However it seems that 'after_fiber_cancelled' is a callback function, if 'future' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libdex-1.1.0/testsuite/test-fiber.c:193:69: note: You might need to cast the function pointer here libdex-1.1.0/testsuite/test-fiber.c:180:35: note: Parameter 'future' can be declared as pointer to const libdex-1.1.0/testsuite/test-fiber.c:181:35: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'after_fiber_cancelled' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libdex-1.1.0/testsuite/test-fiber.c:193:69: note: You might need to cast the function pointer here libdex-1.1.0/testsuite/test-fiber.c:181:35: note: Parameter 'user_data' can be declared as pointer to const libdex-1.1.0/testsuite/test-future-list-model.c:70:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_OBJECT [valueFlowBailoutIncompleteVar] libdex-1.1.0/testsuite/test-future-list-model.c:33:31: style: Parameter 'model' can be declared as pointer to const. However it seems that 'on_items_changed' is a callback function, if 'model' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libdex-1.1.0/testsuite/test-future-list-model.c:67:3: note: You might need to cast the function pointer here libdex-1.1.0/testsuite/test-future-list-model.c:33:31: note: Parameter 'model' can be declared as pointer to const libdex-1.1.0/testsuite/test-future-list-model.c:37:31: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'on_items_changed' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libdex-1.1.0/testsuite/test-future-list-model.c:67:3: note: You might need to cast the function pointer here libdex-1.1.0/testsuite/test-future-list-model.c:37:31: note: Parameter 'user_data' can be declared as pointer to const libdex-1.1.0/testsuite/test-future.c:309:1: error: syntax error [syntaxError] libdex-1.1.0/testsuite/test-object.c:51:1: error: There is an unknown macro here somewhere. Configuration is required. If DEX_DEFINE_FINAL_TYPE is a macro then please configure it. [unknownMacro] libdex-1.1.0/testsuite/test-scheduler.c:48:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_main_loop_unref [valueFlowBailoutIncompleteVar] libdex-1.1.0/testsuite/test-scheduler.c:64:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dex_unref [valueFlowBailoutIncompleteVar] libdex-1.1.0/testsuite/test-scheduler.c:81:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dex_unref [valueFlowBailoutIncompleteVar] libdex-1.1.0/testsuite/test-scheduler.c:56:10: style: Variable 'count' can be declared as pointer to const [constVariablePointer] libdex-1.1.0/testsuite/test-semaphore.c:102:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_USEC_PER_SEC [valueFlowBailoutIncompleteVar] libdex-1.1.0/testsuite/test-semaphore.c:111:7: warning: Assert statement calls a function which may have desired side effects: 'g_atomic_int_get'. [assertWithSideEffect] libdex-1.1.0/testsuite/test-semaphore.c:38:12: style: struct member 'WorkerState::source' is never used. [unusedStructMember] libdex-1.1.0/testsuite/test-stream.c:68:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_TYPE_BYTES [valueFlowBailoutIncompleteVar] libdex-1.1.0/testsuite/test-stream.c:54:7: error: Memory leak: main_loop [memleak] libdex-1.1.0/testsuite/test-stream.c:48:11: style: Variable 'bytes' can be declared as pointer to const [constVariablePointer] libdex-1.1.0/testsuite/test-thread.c:84:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable g_main_loop_unref [valueFlowBailoutIncompleteVar] libdex-1.1.0/testsuite/test-thread.c:116:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_SOURCE_REMOVE [valueFlowBailoutIncompleteVar] libdex-1.1.0/testsuite/test-thread.c:130:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dex_unref [valueFlowBailoutIncompleteVar] libdex-1.1.0/testsuite/test-thread.c:61:3: warning: Assert statement calls a function which may have desired side effects: 'g_value_get_string'. [assertWithSideEffect] libdex-1.1.0/testsuite/test-thread.c:147:3: warning: Assert statement calls a function which may have desired side effects: 'g_value_get_int'. [assertWithSideEffect] libdex-1.1.0/testsuite/test-thread.c:40:10: style: Variable 'state' can be declared as pointer to const [constVariablePointer] libdex-1.1.0/testsuite/test-version.c:28:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DEX_VERSION_S [valueFlowBailoutIncompleteVar] libdex-1.1.0/testsuite/test-watch.c:52:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_IO_IN [valueFlowBailoutIncompleteVar] libdex-1.1.0/testsuite/test-watch.c:90:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_IO_OUT [valueFlowBailoutIncompleteVar] libdex-1.1.0/testsuite/test-watch.c:125:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_IO_IN [valueFlowBailoutIncompleteVar] libdex-1.1.0/testsuite/test-watch.c:162:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_IO_IN [valueFlowBailoutIncompleteVar] libdex-1.1.0/testsuite/test-watch.c:201:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_IO_OUT [valueFlowBailoutIncompleteVar] libdex-1.1.0/testsuite/test-watch.c:239:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable G_IO_OUT [valueFlowBailoutIncompleteVar] libdex-1.1.0/testsuite/test-watch.c:49:3: warning: Assert statement calls a function which may have desired side effects: 'pipe'. [assertWithSideEffect] libdex-1.1.0/testsuite/test-watch.c:59:3: warning: Assert statement calls a function which may have desired side effects: 'write'. [assertWithSideEffect] libdex-1.1.0/testsuite/test-watch.c:87:3: warning: Assert statement calls a function which may have desired side effects: 'pipe'. [assertWithSideEffect] libdex-1.1.0/testsuite/test-watch.c:122:3: warning: Assert statement calls a function which may have desired side effects: 'pipe'. [assertWithSideEffect] libdex-1.1.0/testsuite/test-watch.c:159:3: warning: Assert statement calls a function which may have desired side effects: 'pipe'. [assertWithSideEffect] libdex-1.1.0/testsuite/test-watch.c:198:3: warning: Assert statement calls a function which may have desired side effects: 'pipe'. [assertWithSideEffect] libdex-1.1.0/testsuite/test-watch.c:236:3: warning: Assert statement calls a function which may have desired side effects: 'pipe'. [assertWithSideEffect] diff: head libdex-1.1.0/testsuite/test-fiber.c:180:35: style: Parameter 'future' can be declared as pointer to const. However it seems that 'after_fiber_cancelled' is a callback function, if 'future' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libdex-1.1.0/testsuite/test-fiber.c:193:69: note: You might need to cast the function pointer here libdex-1.1.0/testsuite/test-fiber.c:180:35: note: Parameter 'future' can be declared as pointer to const head libdex-1.1.0/testsuite/test-fiber.c:181:35: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'after_fiber_cancelled' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libdex-1.1.0/testsuite/test-fiber.c:193:69: note: You might need to cast the function pointer here libdex-1.1.0/testsuite/test-fiber.c:181:35: note: Parameter 'user_data' can be declared as pointer to const DONE