2025-05-04 18:58 ftp://ftp.de.debian.org/debian/pool/main/g/golang-github-grafana-regexp/golang-github-grafana-regexp_0.0~git20240518.a468a5b.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 -j3 platform: Linux-6.8.0-1022-oracle-aarch64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 cppcheck: head 2.17.0 head-info: 88ef81e (2025-05-02 08:42:38 +0200) count: 27 27 elapsed-time: 1.2 1.2 head-timing-info: old-timing-info: head results: golang-github-grafana-regexp-0.0~git20240518.a468a5b/testdata/testregex.c:161:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] golang-github-grafana-regexp-0.0~git20240518.a468a5b/testdata/testregex.c:678:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOSUB [valueFlowBailoutIncompleteVar] golang-github-grafana-regexp-0.0~git20240518.a468a5b/testdata/testregex.c:863:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rm_so [valueFlowBailoutIncompleteVar] golang-github-grafana-regexp-0.0~git20240518.a468a5b/testdata/testregex.c:947:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rm_so [valueFlowBailoutIncompleteVar] golang-github-grafana-regexp-0.0~git20240518.a468a5b/testdata/testregex.c:1260:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOSUB [valueFlowBailoutIncompleteVar] golang-github-grafana-regexp-0.0~git20240518.a468a5b/testdata/testregex.c:776:11: style: Condition 'c=='u'' is always false [knownConditionTrueFalse] golang-github-grafana-regexp-0.0~git20240518.a468a5b/testdata/testregex.c:775:9: note: Assignment 'c=0', assigned value is 0 golang-github-grafana-regexp-0.0~git20240518.a468a5b/testdata/testregex.c:776:11: note: Condition 'c=='u'' is always false golang-github-grafana-regexp-0.0~git20240518.a468a5b/testdata/testregex.c:780:15: warning: Either the condition 'e' is redundant or there is possible null pointer dereference: ++s. [nullPointerRedundantCheck] golang-github-grafana-regexp-0.0~git20240518.a468a5b/testdata/testregex.c:803:11: note: Assuming that condition 'e' is not redundant golang-github-grafana-regexp-0.0~git20240518.a468a5b/testdata/testregex.c:777:11: note: Assignment to 'e=s+1' golang-github-grafana-regexp-0.0~git20240518.a468a5b/testdata/testregex.c:780:15: note: Null pointer dereference golang-github-grafana-regexp-0.0~git20240518.a468a5b/testdata/testregex.c:577:17: style: Variable 'e' can be declared as pointer to const [constVariablePointer] golang-github-grafana-regexp-0.0~git20240518.a468a5b/testdata/testregex.c:654:14: style: Parameter 'comment' can be declared as pointer to const [constParameterPointer] golang-github-grafana-regexp-0.0~git20240518.a468a5b/testdata/testregex.c:654:29: style: Parameter 'fun' can be declared as pointer to const [constParameterPointer] golang-github-grafana-regexp-0.0~git20240518.a468a5b/testdata/testregex.c:654:68: style: Parameter 'msg' can be declared as pointer to const [constParameterPointer] golang-github-grafana-regexp-0.0~git20240518.a468a5b/testdata/testregex.c:693:16: style: Parameter 'preg' can be declared as pointer to const [constParameterPointer] golang-github-grafana-regexp-0.0~git20240518.a468a5b/testdata/testregex.c:695:8: style: Variable 'msg' can be declared as pointer to const [constVariablePointer] golang-github-grafana-regexp-0.0~git20240518.a468a5b/testdata/testregex.c:727:8: style: Variable 'b' can be declared as pointer to const [constVariablePointer] golang-github-grafana-regexp-0.0~git20240518.a468a5b/testdata/testregex.c:729:8: style: Variable 'q' can be declared as pointer to const [constVariablePointer] golang-github-grafana-regexp-0.0~git20240518.a468a5b/testdata/testregex.c:730:8: style: Variable 'e' can be declared as pointer to const [constVariablePointer] golang-github-grafana-regexp-0.0~git20240518.a468a5b/testdata/testregex.c:858:24: style: Parameter 'match' can be declared as pointer to const [constParameterPointer] golang-github-grafana-regexp-0.0~git20240518.a468a5b/testdata/testregex.c:858:59: style: Parameter 'ans' can be declared as pointer to const [constParameterPointer] golang-github-grafana-regexp-0.0~git20240518.a468a5b/testdata/testregex.c:1041:17: style: Variable 'e' can be declared as pointer to const [constVariablePointer] golang-github-grafana-regexp-0.0~git20240518.a468a5b/testdata/testregex.c:1061:33: style: Parameter 'msg' can be declared as pointer to const [constParameterPointer] golang-github-grafana-regexp-0.0~git20240518.a468a5b/testdata/testregex.c:1078:14: style: Parameter 'tabs' can be declared as pointer to const [constParameterPointer] golang-github-grafana-regexp-0.0~git20240518.a468a5b/testdata/testregex.c:1078:26: style: Parameter 'spec' can be declared as pointer to const [constParameterPointer] golang-github-grafana-regexp-0.0~git20240518.a468a5b/testdata/testregex.c:1078:57: style: Parameter 'ans' can be declared as pointer to const [constParameterPointer] golang-github-grafana-regexp-0.0~git20240518.a468a5b/testdata/testregex.c:1078:79: style: Parameter 'accept' can be declared as pointer to const [constParameterPointer] golang-github-grafana-regexp-0.0~git20240518.a468a5b/testdata/testregex.c:1246:9: style: Variable 'subunit' can be declared as pointer to const [constVariablePointer] golang-github-grafana-regexp-0.0~git20240518.a468a5b/testdata/testregex.c:565:9: style: struct member 'Anonymous1::stack' is never used. [unusedStructMember] golang-github-grafana-regexp-0.0~git20240518.a468a5b/testdata/testregex.c:1256:14: style: Unused variable: pat [unusedVariable] diff: DONE