2024-04-17 05:31 ftp://ftp.de.debian.org/debian/pool/main/h/haskell-lpeg/haskell-lpeg_1.0.4.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=lua --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning -D__GNUC__ --platform=unix64 -j4 platform: Linux-6.1.0-18-amd64-x86_64-with-glibc2.36 python: 3.11.2 client-version: 1.3.56 compiler: g++ (Debian 12.2.0-14) 12.2.0 cppcheck: head 2.13.0 head-info: 8b518bf (2024-04-17 07:27:46 +0200) count: 45 24 elapsed-time: 0.2 0.2 head-timing-info: old-timing-info: head results: lpeg-1.0.4/cbits/lpeg-1.0.2/lpcode.c:133:54: debug: Function::addArguments found argument 't' with varid 0. [varid0] lpeg-1.0.4/cbits/lpeg-1.0.2/lpcap.c:88:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable siz [valueFlowBailoutIncompleteVar] lpeg-1.0.4/cbits/lpeg-1.0.2/lptree.c:1220:64: debug: Function::addArguments found argument 'catf' with varid 0. [varid0] lpeg-1.0.4/cbits/lpeg-1.0.2/lpcap.c:129:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_OPEQ [valueFlowBailoutIncompleteVar] lpeg-1.0.4/cbits/lpeg-1.0.2/lpcap.c:163:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable siz [valueFlowBailoutIncompleteVar] lpeg-1.0.4/cbits/lpeg-1.0.2/lpcap.c:207:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable siz [valueFlowBailoutIncompleteVar] lpeg-1.0.4/cbits/lpeg-1.0.2/lpcap.c:232:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_MULTRET [valueFlowBailoutIncompleteVar] lpeg-1.0.4/cbits/lpeg-1.0.2/lpcap.c:293:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_MULTRET [valueFlowBailoutIncompleteVar] lpeg-1.0.4/cbits/lpeg-1.0.2/lpcap.c:334:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable siz [valueFlowBailoutIncompleteVar] lpeg-1.0.4/cbits/lpeg-1.0.2/lpcap.c:407:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s [valueFlowBailoutIncompleteVar] lpeg-1.0.4/cbits/lpeg-1.0.2/lpcap.c:473:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable idx [valueFlowBailoutIncompleteVar] lpeg-1.0.4/cbits/lpeg-1.0.2/lpvm.c:82:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] lpeg-1.0.4/cbits/lpeg-1.0.2/lpvm.c:192:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s [valueFlowBailoutIncompleteVar] lpeg-1.0.4/cbits/lpeg-1.0.2/lptree.c:253:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_OPEQ [valueFlowBailoutIncompleteVar] lpeg-1.0.4/cbits/lpeg-1.0.2/lptree.c:405:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tag [valueFlowBailoutIncompleteVar] lpeg-1.0.4/cbits/lpeg-1.0.2/lptree.c:472:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tag [valueFlowBailoutIncompleteVar] lpeg-1.0.4/cbits/lpeg-1.0.2/lptree.c:640:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tag [valueFlowBailoutIncompleteVar] lpeg-1.0.4/cbits/lpeg-1.0.2/lptree.c:724:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tag [valueFlowBailoutIncompleteVar] lpeg-1.0.4/cbits/lpeg-1.0.2/lptree.c:790:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TFUNCTION [valueFlowBailoutIncompleteVar] lpeg-1.0.4/cbits/lpeg-1.0.2/lptree.c:842:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key [valueFlowBailoutIncompleteVar] lpeg-1.0.4/cbits/lpeg-1.0.2/lptree.c:854:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TFUNCTION [valueFlowBailoutIncompleteVar] lpeg-1.0.4/cbits/lpeg-1.0.2/lptree.c:913:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_OPEQ [valueFlowBailoutIncompleteVar] lpeg-1.0.4/cbits/lpeg-1.0.2/lptree.c:1072:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key [valueFlowBailoutIncompleteVar] lpeg-1.0.4/cbits/lpeg-1.0.2/lptree.c:1193:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] lpeg-1.0.4/cbits/lpeg-1.0.2/lptree.c:1235:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TTABLE [valueFlowBailoutIncompleteVar] lpeg-1.0.4/cbits/lpeg-1.0.2/lptree.c:1297:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] lpeg-1.0.4/cbits/lpeg-1.0.2/lpvm.c:78:10: style: Variable 'stack' can be declared as pointer to const [constVariablePointer] lpeg-1.0.4/cbits/lpeg-1.0.2/lpcap.c:87:12: style: Variable 'co' can be declared as pointer to const [constVariablePointer] lpeg-1.0.4/cbits/lpeg-1.0.2/lpcap.c:264:40: style: Parameter 'last' can be declared as pointer to const [constParameterPointer] lpeg-1.0.4/cbits/lpeg-1.0.2/lptree.c:1121:3: style: Statements following noreturn function 'luaL_error()' will never be executed. [unreachableCode] lpeg-1.0.4/cbits/lpeg-1.0.2/lptree.c:1129:3: style: Statements following noreturn function 'luaL_error()' will never be executed. [unreachableCode] lpeg-1.0.4/cbits/lpeg-1.0.2/lptree.c:54:60: style: Parameter 'g' can be declared as pointer to const [constParameterPointer] lpeg-1.0.4/cbits/lpeg-1.0.2/lptree.c:346:12: style: Variable 'p' can be declared as pointer to const [constVariablePointer] lpeg-1.0.4/cbits/lpeg-1.0.2/lptree.c:389:43: style: Parameter 'sib' can be declared as pointer to const [constParameterPointer] lpeg-1.0.4/cbits/lpeg-1.0.2/lptree.c:492:10: style: Variable 'tree1' can be declared as pointer to const [constVariablePointer] lpeg-1.0.4/cbits/lpeg-1.0.2/lptree.c:507:10: style: Variable 'tree1' can be declared as pointer to const [constVariablePointer] lpeg-1.0.4/cbits/lpeg-1.0.2/lptree.c:508:10: style: Variable 'tree2' can be declared as pointer to const [constVariablePointer] lpeg-1.0.4/cbits/lpeg-1.0.2/lptree.c:533:10: style: Variable 'tree1' can be declared as pointer to const [constVariablePointer] lpeg-1.0.4/cbits/lpeg-1.0.2/lptree.c:534:10: style: Variable 'tree2' can be declared as pointer to const [constVariablePointer] lpeg-1.0.4/cbits/lpeg-1.0.2/lptree.c:938:12: style: Variable 'rn' can be declared as pointer to const [constVariablePointer] lpeg-1.0.4/cbits/lpeg-1.0.2/lptree.c:979:44: style: Parameter 'passed' can be declared as pointer to const [constParameterPointer] lpeg-1.0.4/cbits/lpeg-1.0.2/lptree.c:557:5: style: Variable '((unsigned char*)(t+1))[i]' is assigned a value that is never used. [unreadVariable] lpeg-1.0.4/cbits/lpeg-1.0.2/lptree.c:634:5: style: Variable '((unsigned char*)(t+1))[i]' is assigned a value that is never used. [unreadVariable] lpeg-1.0.4/cbits/lpeg-1.0.2/lpcode.c:614:56: style: Parameter 'cs' can be declared as pointer to const [constParameterPointer] lpeg-1.0.4/cbits/lpeg-1.0.2/lpcode.c:844:54: style: Parameter 'positions' can be declared as pointer to const [constParameterPointer] diff: head lpeg-1.0.4/cbits/lpeg-1.0.2/lpcap.c:129:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_OPEQ [valueFlowBailoutIncompleteVar] head lpeg-1.0.4/cbits/lpeg-1.0.2/lpcap.c:163:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable siz [valueFlowBailoutIncompleteVar] head lpeg-1.0.4/cbits/lpeg-1.0.2/lpcap.c:207:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable siz [valueFlowBailoutIncompleteVar] head lpeg-1.0.4/cbits/lpeg-1.0.2/lpcap.c:232:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_MULTRET [valueFlowBailoutIncompleteVar] head lpeg-1.0.4/cbits/lpeg-1.0.2/lpcap.c:293:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_MULTRET [valueFlowBailoutIncompleteVar] head lpeg-1.0.4/cbits/lpeg-1.0.2/lpcap.c:334:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable siz [valueFlowBailoutIncompleteVar] head lpeg-1.0.4/cbits/lpeg-1.0.2/lpcap.c:407:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s [valueFlowBailoutIncompleteVar] head lpeg-1.0.4/cbits/lpeg-1.0.2/lpcap.c:473:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable idx [valueFlowBailoutIncompleteVar] head lpeg-1.0.4/cbits/lpeg-1.0.2/lptree.c:1072:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key [valueFlowBailoutIncompleteVar] head lpeg-1.0.4/cbits/lpeg-1.0.2/lptree.c:1193:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] head lpeg-1.0.4/cbits/lpeg-1.0.2/lptree.c:1235:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TTABLE [valueFlowBailoutIncompleteVar] head lpeg-1.0.4/cbits/lpeg-1.0.2/lptree.c:1297:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] head lpeg-1.0.4/cbits/lpeg-1.0.2/lptree.c:405:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tag [valueFlowBailoutIncompleteVar] head lpeg-1.0.4/cbits/lpeg-1.0.2/lptree.c:472:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tag [valueFlowBailoutIncompleteVar] head lpeg-1.0.4/cbits/lpeg-1.0.2/lptree.c:640:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tag [valueFlowBailoutIncompleteVar] head lpeg-1.0.4/cbits/lpeg-1.0.2/lptree.c:724:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tag [valueFlowBailoutIncompleteVar] head lpeg-1.0.4/cbits/lpeg-1.0.2/lptree.c:790:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TFUNCTION [valueFlowBailoutIncompleteVar] head lpeg-1.0.4/cbits/lpeg-1.0.2/lptree.c:842:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key [valueFlowBailoutIncompleteVar] head lpeg-1.0.4/cbits/lpeg-1.0.2/lptree.c:854:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TFUNCTION [valueFlowBailoutIncompleteVar] head lpeg-1.0.4/cbits/lpeg-1.0.2/lptree.c:913:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_OPEQ [valueFlowBailoutIncompleteVar] head lpeg-1.0.4/cbits/lpeg-1.0.2/lpvm.c:192:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s [valueFlowBailoutIncompleteVar] DONE