2026-05-02 19:12 ftp://ftp.de.debian.org/debian/pool/main/k/keybinder-3.0/keybinder-3.0_0.3.2.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=gtk --library=lua --library=motif --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: 21 18 elapsed-time: 0.2 0.1 head-timing-info: old-timing-info: head results: keybinder-keybinder-3.0-v0.3.2/examples/lkeybinder.c:47:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] keybinder-keybinder-3.0-v0.3.2/examples/lkeybinder.c:64:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TFUNCTION [valueFlowBailoutIncompleteVar] keybinder-keybinder-3.0-v0.3.2/examples/lkeybinder.c:102:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] keybinder-keybinder-3.0-v0.3.2/examples/lkeybinder.c:127:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] keybinder-keybinder-3.0-v0.3.2/examples/lminigtk.c:21:29: style: Parameter 'L' can be declared as pointer to const. However it seems that 'main' is a callback function, if 'L' is declared with const you might also need to cast function pointer(s). [constParameterCallback] keybinder-keybinder-3.0-v0.3.2/examples/lminigtk.c:35:12: note: You might need to cast the function pointer here keybinder-keybinder-3.0-v0.3.2/examples/lminigtk.c:21:29: note: Parameter 'L' can be declared as pointer to const keybinder-keybinder-3.0-v0.3.2/examples/lminigtk.c:27:34: style: Parameter 'L' can be declared as pointer to const. However it seems that 'main_quit' is a callback function, if 'L' is declared with const you might also need to cast function pointer(s). [constParameterCallback] keybinder-keybinder-3.0-v0.3.2/examples/lminigtk.c:36:17: note: You might need to cast the function pointer here keybinder-keybinder-3.0-v0.3.2/examples/lminigtk.c:27:34: note: Parameter 'L' can be declared as pointer to const keybinder-keybinder-3.0-v0.3.2/examples/main.c:14:44: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'handler' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] keybinder-keybinder-3.0-v0.3.2/examples/main.c:25:31: note: You might need to cast the function pointer here keybinder-keybinder-3.0-v0.3.2/examples/main.c:14:44: note: Parameter 'user_data' can be declared as pointer to const keybinder-keybinder-3.0-v0.3.2/libkeybinder/bind.c:118:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable level [valueFlowBailoutIncompleteVar] keybinder-keybinder-3.0-v0.3.2/libkeybinder/bind.c:147:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_LOCK_MASK [valueFlowBailoutIncompleteVar] keybinder-keybinder-3.0-v0.3.2/libkeybinder/bind.c:223:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable group [valueFlowBailoutIncompleteVar] keybinder-keybinder-3.0-v0.3.2/libkeybinder/bind.c:284:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_MOD1_MASK [valueFlowBailoutIncompleteVar] keybinder-keybinder-3.0-v0.3.2/libkeybinder/bind.c:325:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_SUPER_MASK [valueFlowBailoutIncompleteVar] keybinder-keybinder-3.0-v0.3.2/libkeybinder/bind.c:437:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_FILTER_CONTINUE [valueFlowBailoutIncompleteVar] keybinder-keybinder-3.0-v0.3.2/libkeybinder/bind.c:477:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XkbMajorVersion [valueFlowBailoutIncompleteVar] keybinder-keybinder-3.0-v0.3.2/libkeybinder/bind.c:687:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GDK_CURRENT_TIME [valueFlowBailoutIncompleteVar] keybinder-keybinder-3.0-v0.3.2/libkeybinder/bind.c:653:12: style: Redundant initialization for 'iter'. The initialized value is overwritten before it is read. [redundantInitialization] keybinder-keybinder-3.0-v0.3.2/libkeybinder/bind.c:651:15: note: iter is initialized keybinder-keybinder-3.0-v0.3.2/libkeybinder/bind.c:653:12: note: iter is overwritten keybinder-keybinder-3.0-v0.3.2/libkeybinder/bind.c:557:23: style:inconclusive: Function 'keybinder_bind' argument 3 names different: declaration '' definition 'user_data'. [funcArgNamesDifferentUnnamed] keybinder-keybinder-3.0-v0.3.2/libkeybinder/bind.c:579:28: style:inconclusive: Function 'keybinder_bind_full' argument 3 names different: declaration '' definition 'user_data'. [funcArgNamesDifferentUnnamed] keybinder-keybinder-3.0-v0.3.2/libkeybinder/bind.c:580:37: style:inconclusive: Function 'keybinder_bind_full' argument 4 names different: declaration '' definition 'notify'. [funcArgNamesDifferentUnnamed] keybinder-keybinder-3.0-v0.3.2/libkeybinder/bind.c:340:32: style: Parameter 'binding' can be declared as pointer to const [constParameterPointer] keybinder-keybinder-3.0-v0.3.2/libkeybinder/bind.c:368:10: style: Variable 'iter' can be declared as pointer to const [constVariablePointer] diff: head keybinder-keybinder-3.0-v0.3.2/libkeybinder/bind.c:557:23: style:inconclusive: Function 'keybinder_bind' argument 3 names different: declaration '' definition 'user_data'. [funcArgNamesDifferentUnnamed] head keybinder-keybinder-3.0-v0.3.2/libkeybinder/bind.c:579:28: style:inconclusive: Function 'keybinder_bind_full' argument 3 names different: declaration '' definition 'user_data'. [funcArgNamesDifferentUnnamed] head keybinder-keybinder-3.0-v0.3.2/libkeybinder/bind.c:580:37: style:inconclusive: Function 'keybinder_bind_full' argument 4 names different: declaration '' definition 'notify'. [funcArgNamesDifferentUnnamed] DONE