2026-05-03 04:53 ftp://ftp.de.debian.org/debian/pool/main/libi/libirman/libirman_0.5.2.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --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-1047-aws-aarch64-with-glibc2.35 python: 3.10.12 client-version: 1.4.0 compiler: g++ (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0 cppcheck: head 2.20.0 head-info: e5c4a73 (2026-05-01 11:10:43 +0200) count: 54 54 elapsed-time: 0.3 0.2 head-timing-info: old-timing-info: head results: libirman-0.5.2/chunk.c:69:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libirman-0.5.2/chunk.c:91:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] libirman-0.5.2/chunk.c:137:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libirman-0.5.2/chunk.c:111:19: warning: Either the condition 'ch' is redundant or there is possible null pointer dereference: ch. [nullPointerRedundantCheck] libirman-0.5.2/chunk.c:121:10: note: Assuming that condition 'ch' is not redundant libirman-0.5.2/chunk.c:111:19: note: Null pointer dereference libirman-0.5.2/chunk.c:179:12: style: Variable 'ch' can be declared as pointer to const [constVariablePointer] libirman-0.5.2/hashtable.c:64:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] libirman-0.5.2/hashtable.c:115:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] libirman-0.5.2/hashtable.c:137:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] libirman-0.5.2/hashtable.c:35:12: style: Checking if unsigned expression 'size' is less than zero. [unsignedLessThanZero] libirman-0.5.2/hashtable.c:63:37: style: Checking if unsigned expression 'ht->size' is less than zero. [unsignedLessThanZero] libirman-0.5.2/hashtable.c:12:34: style: Parameter 'key' can be declared as pointer to const [constParameterPointer] libirman-0.5.2/hashtable.c:99:33: style: Parameter 'ht' can be declared as pointer to const [constParameterPointer] libirman-0.5.2/hashtable.c:101:15: style: Variable 'node' can be declared as pointer to const [constVariablePointer] libirman-0.5.2/hashtable.c:120:32: style: Parameter 'ht' can be declared as pointer to const [constParameterPointer] libirman-0.5.2/ircmd.c:108:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] libirman-0.5.2/ircmd.c:283:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] libirman-0.5.2/ircmd.c:301:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] libirman-0.5.2/ircmd.c:335:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] libirman-0.5.2/ircmd.c:358:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] libirman-0.5.2/ircmd.c:403:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] libirman-0.5.2/ircmd.c:454:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] libirman-0.5.2/ircmd.c:211:9: warning:inconclusive: The buffer 'irmanrc_portname' may not be null-terminated after the call to strncpy(). [terminateStrncpy] libirman-0.5.2/ircmd.c:156:9: style: Variable 'p' is reassigned a value before the old one has been used. [redundantAssignment] libirman-0.5.2/ircmd.c:153:8: note: p is assigned libirman-0.5.2/ircmd.c:156:9: note: p is overwritten libirman-0.5.2/ircmd.c:54:39: style: Parameter 'text' can be declared as pointer to const [constParameterPointer] libirman-0.5.2/ircmd.c:72:39: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] libirman-0.5.2/ircmd.c:124:11: style: Variable 'home' can be declared as pointer to const [constVariablePointer] libirman-0.5.2/ircmd.c:239:15: style: Variable 'name_match' can be declared as pointer to const [constVariablePointer] libirman-0.5.2/ircmd.c:277:15: style: Variable 'text_match' can be declared as pointer to const [constVariablePointer] libirman-0.5.2/ircmd.c:331:15: style: Variable 'newname_match' can be declared as pointer to const [constVariablePointer] libirman-0.5.2/ircmd.c:420:15: style: Variable 'text_match' can be declared as pointer to const [constVariablePointer] libirman-0.5.2/ircmd.c:443:15: style: Variable 'text_match' can be declared as pointer to const [constVariablePointer] libirman-0.5.2/ircmd.c:478:38: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] libirman-0.5.2/irfunc.c:47:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] libirman-0.5.2/irfunc.c:109:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] libirman-0.5.2/irfunc.c:171:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] libirman-0.5.2/irfunc.c:205:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] libirman-0.5.2/irfunc.c:216:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] libirman-0.5.2/irfunc.c:240:38: style: Parameter 'code' can be declared as pointer to const [constParameterPointer] libirman-0.5.2/irfunc.c:275:9: style: Variable 'j' can be declared as pointer to const [constVariablePointer] libirman-0.5.2/irio.c:85:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TIOCM_DTR [valueFlowBailoutIncompleteVar] libirman-0.5.2/irio.c:234:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] libirman-0.5.2/irio.c:299:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] libirman-0.5.2/irio.c:81:24: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] libirman-0.5.2/lirc-plugin/irman.c:67:25: error: There is an unknown macro here somewhere. Configuration is required. If PLUGINDOCS is a macro then please configure it. [unknownMacro] libirman-0.5.2/test_func.c:22:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libirman-0.5.2/test_func.c:19:9: style: Variable 'text' can be declared as pointer to const [constVariablePointer] libirman-0.5.2/test_io.c:24:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libirman-0.5.2/test_name.c:23:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libirman-0.5.2/test_name.c:18:18: style: Variable 'oldcode' can be declared as pointer to const [constVariablePointer] libirman-0.5.2/test_name.c:19:9: style: Variable 'name' can be declared as pointer to const [constVariablePointer] libirman-0.5.2/test_name.c:67:13: style: Variable 'oldcode' is assigned a value that is never used. [unreadVariable] libirman-0.5.2/workmanir.c:88:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libirman-0.5.2/workmanir.c:128:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libirman-0.5.2/workmanir.c:78:9: style: Variable 'str' can be declared as pointer to const [constVariablePointer] diff: DONE