2026-05-02 18:43 ftp://ftp.de.debian.org/debian/pool/main/k/kauth/kauth_5.116.0.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --library=qt --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: 67 57 elapsed-time: 0.4 0.3 head-timing-info: old-timing-info: head results: kauth-5.116.0/autotests/HelperTest.cpp:126:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Capabilities [valueFlowBailoutIncompleteVar] kauth-5.116.0/autotests/HelperTest.cpp:143:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AuthorizeFromHelperCapability [valueFlowBailoutIncompleteVar] kauth-5.116.0/autotests/HelperTest.cpp:164:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AuthRequiredStatus [valueFlowBailoutIncompleteVar] kauth-5.116.0/autotests/HelperTest.cpp:197:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AuthRequiredStatus [valueFlowBailoutIncompleteVar] kauth-5.116.0/autotests/HelperTest.cpp:220:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AuthRequiredStatus [valueFlowBailoutIncompleteVar] kauth-5.116.0/autotests/HelperTest.cpp:234:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AuthRequiredStatus [valueFlowBailoutIncompleteVar] kauth-5.116.0/autotests/HelperTest.cpp:46:5: warning: Member variable 'HelperTest::m_handler' is not initialized in the constructor. [uninitMemberVar] kauth-5.116.0/autotests/HelperTest.cpp:53:10: style: Either there is a missing 'override', or the member function 'HelperTest::init' can be static. [functionStatic] kauth-5.116.0/autotests/HelperTest.cpp:63:10: style: Either there is a missing 'override', or the member function 'HelperTest::cleanup' can be static. [functionStatic] kauth-5.116.0/autotests/HelperTest.cpp:66:10: style: Either there is a missing 'override', or the member function 'HelperTest::cleanupTestCase' can be static. [functionStatic] kauth-5.116.0/src/backends/dbus/DBusHelperProxy.h:44:5: style: Class 'DBusHelperProxy' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kauth-5.116.0/autotests/HelperTest.cpp:46:5: style: Class 'HelperTest' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kauth-5.116.0/autotests/SetupActionTest.cpp:29:2: error: failed to evaluate #if condition, undefined function-like macro invocation: KAUTHCORE_BUILD_DEPRECATED_SINCE( ... ) [syntaxError] kauth-5.116.0/autotests/TestBackend.cpp:17:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AuthorizeFromHelperCapability [valueFlowBailoutIncompleteVar] kauth-5.116.0/autotests/TestBackend.cpp:29:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DeniedStatus [valueFlowBailoutIncompleteVar] kauth-5.116.0/autotests/TestBackend.cpp:38:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DeniedStatus [valueFlowBailoutIncompleteVar] kauth-5.116.0/autotests/TestBackend.cpp:54:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable InvalidStatus [valueFlowBailoutIncompleteVar] kauth-5.116.0/autotests/TestBackend.cpp:69:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AuthorizedStatus [valueFlowBailoutIncompleteVar] kauth-5.116.0/autotests/TestBackend.cpp:26:64: style:inconclusive: Function 'authorizeAction' argument 1 names different: declaration '' definition 'action'. [funcArgNamesDifferentUnnamed] kauth-5.116.0/autotests/TestBackend.cpp:35:46: style:inconclusive: Function 'setupAction' argument 1 names different: declaration '' definition 'action'. [funcArgNamesDifferentUnnamed] kauth-5.116.0/autotests/TestBackend.cpp:48:61: style:inconclusive: Function 'actionStatus' argument 1 names different: declaration '' definition 'action'. [funcArgNamesDifferentUnnamed] kauth-5.116.0/autotests/TestBackend.cpp:62:79: style:inconclusive: Function 'isCallerAuthorized' argument 2 names different: declaration 'callerID' definition 'callerId'. [funcArgNamesDifferent] kauth-5.116.0/autotests/TestBackend.h:28:70: note: Function 'isCallerAuthorized' argument 2 names different: declaration 'callerID' definition 'callerId'. kauth-5.116.0/autotests/TestBackend.cpp:62:79: note: Function 'isCallerAuthorized' argument 2 names different: declaration 'callerID' definition 'callerId'. kauth-5.116.0/examples/client.cpp:33:26: style: Variable 'contents' is assigned a value that is never used. [unreadVariable] kauth-5.116.0/examples/helper.cpp:35:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadOnly [valueFlowBailoutIncompleteVar] kauth-5.116.0/examples/helper.cpp:25:47: style:inconclusive: Function 'longaction' argument 1 names different: declaration 'args' definition ''. [funcArgNamesDifferentUnnamed] kauth-5.116.0/src/action.h:130:2: error: failed to evaluate #if condition, undefined function-like macro invocation: KAUTHCORE_ENABLE_DEPRECATED_SINCE( ... ) [syntaxError] kauth-5.116.0/src/actionreply.cpp:191:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WriteOnly [valueFlowBailoutIncompleteVar] kauth-5.116.0/src/actionreply.cpp:202:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadOnly [valueFlowBailoutIncompleteVar] kauth-5.116.0/src/actionreply.cpp:18:5: warning: Member variable 'ActionReplyData::errorCode' is not initialized in the constructor. [uninitMemberVar] kauth-5.116.0/src/actionreply.cpp:18:5: warning: Member variable 'ActionReplyData::type' is not initialized in the constructor. [uninitMemberVar] kauth-5.116.0/src/actionreply.h:389:5: style: Class 'ActionReply' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kauth-5.116.0/src/actionreply.h:400:5: style: Class 'ActionReply' has a constructor with 1 argument that is not explicit. [noExplicitConstructor] kauth-5.116.0/src/actionreply.h:527:13: performance: Function 'errorDescription()' should return member 'errorDescription' by const reference. [returnByReference] kauth-5.116.0/src/actionreply.cpp:109:30: style:inconclusive: Function 'ActionReply' argument 1 names different: declaration 'errorCode' definition 'error'. [funcArgNamesDifferent] kauth-5.116.0/src/actionreply.h:400:21: note: Function 'ActionReply' argument 1 names different: declaration 'errorCode' definition 'error'. kauth-5.116.0/src/actionreply.cpp:109:30: note: Function 'ActionReply' argument 1 names different: declaration 'errorCode' definition 'error'. kauth-5.116.0/src/actionreply.cpp:190:16: style: Local variable 'data' shadows outer function [shadowFunction] kauth-5.116.0/src/actionreply.h:427:17: note: Shadowed declaration kauth-5.116.0/src/actionreply.cpp:190:16: note: Shadow variable kauth-5.116.0/src/backends/dbus/DBusHelperProxy.cpp:66:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WriteOnly [valueFlowBailoutIncompleteVar] kauth-5.116.0/src/backends/dbus/DBusHelperProxy.cpp:139:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable KAUTH [valueFlowBailoutIncompleteVar] kauth-5.116.0/src/backends/dbus/DBusHelperProxy.cpp:161:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadOnly [valueFlowBailoutIncompleteVar] kauth-5.116.0/src/backends/dbus/DBusHelperProxy.cpp:199:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AllEvents [valueFlowBailoutIncompleteVar] kauth-5.116.0/src/backends/dbus/DBusHelperProxy.cpp:243:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ReadOnly [valueFlowBailoutIncompleteVar] kauth-5.116.0/src/backends/dbus/DBusHelperProxy.cpp:307:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WriteOnly [valueFlowBailoutIncompleteVar] kauth-5.116.0/src/backends/dbus/DBusHelperProxy.cpp:317:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WriteOnly [valueFlowBailoutIncompleteVar] kauth-5.116.0/src/backends/dbus/DBusHelperProxy.cpp:327:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WriteOnly [valueFlowBailoutIncompleteVar] kauth-5.116.0/src/backends/dbus/DBusHelperProxy.cpp:158:48: style:inconclusive: Function 'remoteSignalReceived' argument 1 names different: declaration 'type' definition 't'. [funcArgNamesDifferent] kauth-5.116.0/src/backends/dbus/DBusHelperProxy.h:69:35: note: Function 'remoteSignalReceived' argument 1 names different: declaration 'type' definition 't'. kauth-5.116.0/src/backends/dbus/DBusHelperProxy.cpp:158:48: note: Function 'remoteSignalReceived' argument 1 names different: declaration 'type' definition 't'. kauth-5.116.0/src/backends/fake/FakeBackend.cpp:14:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NoCapability [valueFlowBailoutIncompleteVar] kauth-5.116.0/src/backends/fake/FakeBackend.cpp:20:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DeniedStatus [valueFlowBailoutIncompleteVar] kauth-5.116.0/src/backends/fake/FakeBackend.cpp:31:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DeniedStatus [valueFlowBailoutIncompleteVar] kauth-5.116.0/src/backends/fake/FakeBackend.cpp:17:64: style:inconclusive: Function 'authorizeAction' argument 1 names different: declaration '' definition 'action'. [funcArgNamesDifferentUnnamed] kauth-5.116.0/src/backends/fake/FakeBackend.cpp:23:46: style:inconclusive: Function 'setupAction' argument 1 names different: declaration '' definition 'action'. [funcArgNamesDifferentUnnamed] kauth-5.116.0/src/backends/fake/FakeBackend.cpp:28:61: style:inconclusive: Function 'actionStatus' argument 1 names different: declaration '' definition 'action'. [funcArgNamesDifferentUnnamed] kauth-5.116.0/src/backends/fake/kauth-policy-gen-polkit.cpp:34:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] kauth-5.116.0/src/backends/mac/AuthServicesBackend.cpp:60:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kAuthorizationEmptyEnvironment [valueFlowBailoutIncompleteVar] kauth-5.116.0/src/backends/mac/AuthServicesBackend.cpp:68:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AuthorizeFromClientCapability [valueFlowBailoutIncompleteVar] kauth-5.116.0/src/backends/mac/AuthServicesBackend.cpp:74:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kAuthorizationFlagDefaults [valueFlowBailoutIncompleteVar] kauth-5.116.0/src/backends/mac/AuthServicesBackend.cpp:88:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kAuthorizationFlagExtendRights [valueFlowBailoutIncompleteVar] kauth-5.116.0/src/backends/mac/AuthServicesBackend.cpp:122:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable kAuthorizationFlagExtendRights [valueFlowBailoutIncompleteVar] kauth-5.116.0/src/backends/mac/AuthServicesBackend.cpp:160:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable noErr [valueFlowBailoutIncompleteVar] kauth-5.116.0/src/backends/mac/AuthServicesBackend.cpp:146:19: style: C-style pointer casting [cstyleCast] kauth-5.116.0/src/backends/mac/AuthServicesBackend.cpp:85:72: style:inconclusive: Function 'authorizeAction' argument 1 names different: declaration '' definition 'action'. [funcArgNamesDifferentUnnamed] kauth-5.116.0/src/backends/mac/AuthServicesBackend.cpp:119:69: style:inconclusive: Function 'actionStatus' argument 1 names different: declaration '' definition 'action'. [funcArgNamesDifferentUnnamed] kauth-5.116.0/src/backends/mac/AuthServicesBackend.h:29:46: style:inconclusive: Function 'actionExists' argument 1 names different: declaration 'action' definition ''. [funcArgNamesDifferentUnnamed] kauth-5.116.0/src/backends/mac/kauth-policy-gen-mac.cpp:26:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errAuthorizationSuccess [valueFlowBailoutIncompleteVar] kauth-5.116.0/src/backends/polkit-1/Polkit1Backend.cpp:141:2: error: failed to evaluate #if condition, undefined function-like macro invocation: POLKITQT1_IS_VERSION( ... ) [syntaxError] kauth-5.116.0/src/backends/polkit-1/kauth-policy-gen-polkit1.cpp:34:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] kauth-5.116.0/src/policy-gen/policy-gen.cpp:34:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IniFormat [valueFlowBailoutIncompleteVar] kauth-5.116.0/src/policy-gen/policy-gen.cpp:70:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CaseInsensitiveOption [valueFlowBailoutIncompleteVar] kauth-5.116.0/src/policy-gen/policy-gen.cpp:153:47: style: Parameter 'ini' can be declared as reference to const [constParameterReference] diff: head kauth-5.116.0/autotests/TestBackend.cpp:26:64: style:inconclusive: Function 'authorizeAction' argument 1 names different: declaration '' definition 'action'. [funcArgNamesDifferentUnnamed] head kauth-5.116.0/autotests/TestBackend.cpp:35:46: style:inconclusive: Function 'setupAction' argument 1 names different: declaration '' definition 'action'. [funcArgNamesDifferentUnnamed] head kauth-5.116.0/autotests/TestBackend.cpp:48:61: style:inconclusive: Function 'actionStatus' argument 1 names different: declaration '' definition 'action'. [funcArgNamesDifferentUnnamed] head kauth-5.116.0/examples/helper.cpp:25:47: style:inconclusive: Function 'longaction' argument 1 names different: declaration 'args' definition ''. [funcArgNamesDifferentUnnamed] head kauth-5.116.0/src/backends/fake/FakeBackend.cpp:17:64: style:inconclusive: Function 'authorizeAction' argument 1 names different: declaration '' definition 'action'. [funcArgNamesDifferentUnnamed] head kauth-5.116.0/src/backends/fake/FakeBackend.cpp:23:46: style:inconclusive: Function 'setupAction' argument 1 names different: declaration '' definition 'action'. [funcArgNamesDifferentUnnamed] head kauth-5.116.0/src/backends/fake/FakeBackend.cpp:28:61: style:inconclusive: Function 'actionStatus' argument 1 names different: declaration '' definition 'action'. [funcArgNamesDifferentUnnamed] head kauth-5.116.0/src/backends/mac/AuthServicesBackend.cpp:119:69: style:inconclusive: Function 'actionStatus' argument 1 names different: declaration '' definition 'action'. [funcArgNamesDifferentUnnamed] head kauth-5.116.0/src/backends/mac/AuthServicesBackend.cpp:85:72: style:inconclusive: Function 'authorizeAction' argument 1 names different: declaration '' definition 'action'. [funcArgNamesDifferentUnnamed] head kauth-5.116.0/src/backends/mac/AuthServicesBackend.h:29:46: style:inconclusive: Function 'actionExists' argument 1 names different: declaration 'action' definition ''. [funcArgNamesDifferentUnnamed] DONE