2026-05-29 01:25 ftp://ftp.de.debian.org/debian/pool/main/p/pscan/pscan_1.3.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 -j6 platform: Linux-7.0.7+deb14-amd64-x86_64-with-glibc2.42 python: 3.13.12 client-version: 1.4.0 compiler: g++ (Debian 15.2.0-17) 15.2.0 cppcheck: head 2.20.0 head-info: f1379d63 (2026-05-28 13:47:32 +0200) count: 14 11 elapsed-time: 0.0 0.1 head-timing-info: old-timing-info: head results: test.c:21:2: error: #error Do not compile this file! [preprocessorErrorDirective] pscan.c:99:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pscan.c:125:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] pscan.c:198:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] pscan.c:169:11: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] pscan.c:367:42: style:inconclusive: Function 'setup_checks' argument 1 names different: declaration 'yytext' definition 'name'. [funcArgNamesDifferent] pscan.h:57:49: note: Function 'setup_checks' argument 1 names different: declaration 'yytext' definition 'name'. pscan.c:367:42: note: Function 'setup_checks' argument 1 names different: declaration 'yytext' definition 'name'. pscan.c:459:44: style:inconclusive: Function 'push_stack' argument 1 names different: declaration 'current' definition 'state'. [funcArgNamesDifferent] pscan.h:55:51: note: Function 'push_stack' argument 1 names different: declaration 'current' definition 'state'. pscan.c:459:44: note: Function 'push_stack' argument 1 names different: declaration 'current' definition 'state'. pscan.c:299:37: style: Argument 'state' shadows outer variable [shadowVariable] pscan.h:52:24: note: Shadowed variable pscan.c:299:37: note: Shadow argument pscan.c:367:64: style: Argument 'state' shadows outer variable [shadowVariable] pscan.h:52:24: note: Shadowed variable pscan.c:367:64: note: Shadow argument pscan.c:459:44: style: Argument 'state' shadows outer variable [shadowVariable] pscan.h:52:24: note: Shadowed variable pscan.c:459:44: note: Shadow argument pscan.c:118:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] pscan.c:299:37: style: Parameter 'state' can be declared as pointer to const [constParameterPointer] pscan.c:369:14: style: Variable 'problem' can be declared as pointer to const [constVariablePointer] pscan.c:459:44: style: Parameter 'state' can be declared as pointer to const [constParameterPointer] diff: head pscan.c:299:37: style: Argument 'state' shadows outer variable [shadowVariable] pscan.h:52:24: note: Shadowed variable pscan.c:299:37: note: Shadow argument head pscan.c:367:64: style: Argument 'state' shadows outer variable [shadowVariable] pscan.h:52:24: note: Shadowed variable pscan.c:367:64: note: Shadow argument head pscan.c:459:44: style: Argument 'state' shadows outer variable [shadowVariable] pscan.h:52:24: note: Shadowed variable pscan.c:459:44: note: Shadow argument DONE