2026-05-05 08:21 ftp://ftp.de.debian.org/debian/pool/main/t/tclvfs/tclvfs_1.4.2~20230906.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.12.85+deb13-amd64-x86_64-with-glibc2.41 python: 3.13.5 client-version: 1.3.70 compiler: g++ (20250906) 15.2.0 cppcheck: head 2.20.0 head-info: 519958a (2026-05-04 15:03:10 +0200) count: 57 33 elapsed-time: 0.4 0.3 head-timing-info: old-timing-info: head results: tclvfs/generic/vfs.c:354:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] tclvfs/generic/vfs.c:449:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] tclvfs/generic/vfs.c:495:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] tclvfs/generic/vfs.c:607:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] tclvfs/generic/vfs.c:738:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] tclvfs/generic/vfs.c:891:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_EVAL_GLOBAL [valueFlowBailoutIncompleteVar] tclvfs/generic/vfs.c:908:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_PATH_ABSOLUTE [valueFlowBailoutIncompleteVar] tclvfs/generic/vfs.c:1066:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] tclvfs/generic/vfs.c:1132:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_EVAL_GLOBAL [valueFlowBailoutIncompleteVar] tclvfs/generic/vfs.c:1282:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_EVAL_GLOBAL [valueFlowBailoutIncompleteVar] tclvfs/generic/vfs.c:1300:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] tclvfs/generic/vfs.c:1342:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_EVAL_GLOBAL [valueFlowBailoutIncompleteVar] tclvfs/generic/vfs.c:1479:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_READABLE [valueFlowBailoutIncompleteVar] tclvfs/generic/vfs.c:1551:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] tclvfs/generic/vfs.c:1620:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_EVAL_GLOBAL [valueFlowBailoutIncompleteVar] tclvfs/generic/vfs.c:1646:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_EVAL_GLOBAL [valueFlowBailoutIncompleteVar] tclvfs/generic/vfs.c:1679:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_EVAL_GLOBAL [valueFlowBailoutIncompleteVar] tclvfs/generic/vfs.c:1751:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_EVAL_GLOBAL [valueFlowBailoutIncompleteVar] tclvfs/generic/vfs.c:1808:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_EVAL_GLOBAL [valueFlowBailoutIncompleteVar] tclvfs/generic/vfs.c:1855:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_EVAL_GLOBAL [valueFlowBailoutIncompleteVar] tclvfs/generic/vfs.c:1937:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] tclvfs/generic/vfs.c:2029:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_ERROR [valueFlowBailoutIncompleteVar] tclvfs/generic/vfs.c:351:17: style:inconclusive: Function 'Vfs_Init' argument 1 names different: declaration '' definition 'interp'. [funcArgNamesDifferentUnnamed] tclvfs/generic/vfs.c:407:17: style:inconclusive: Function 'Vfs_RegisterWithInterp' argument 1 names different: declaration '' definition 'interp'. [funcArgNamesDifferentUnnamed] tclvfs/generic/vfs.c:446:16: style:inconclusive: Function 'Vfs_UnregisterWithInterp' argument 1 names different: declaration '' definition 'dummy'. [funcArgNamesDifferentUnnamed] tclvfs/generic/vfs.c:447:17: style:inconclusive: Function 'Vfs_UnregisterWithInterp' argument 2 names different: declaration '' definition 'interp'. [funcArgNamesDifferentUnnamed] tclvfs/generic/vfs.c:1883:14: style:inconclusive: Function 'Vfs_AddVolume' argument 1 names different: declaration '' definition 'volume'. [funcArgNamesDifferentUnnamed] tclvfs/generic/vfs.c:1909:14: style:inconclusive: Function 'Vfs_RemoveVolume' argument 1 names different: declaration '' definition 'volume'. [funcArgNamesDifferentUnnamed] tclvfs/generic/vfs.c:489:11: style: Variable 'strRep' can be declared as pointer to const [constVariablePointer] tclvfs/generic/vfs.c:563:17: style: Parameter 'interp' can be declared as pointer to const [constParameterPointer] tclvfs/generic/vfs.c:566:11: style: Variable 'strRep' can be declared as pointer to const [constVariablePointer] tclvfs/generic/vfs.c:643:11: style: Variable 'mountStr' can be declared as pointer to const [constVariablePointer] tclvfs/generic/vfs.c:982:11: style: Variable 'normed' can be declared as pointer to const [constVariablePointer] tclvfs/generic/vfs.c:1149:9: style: Variable 'fieldName' can be declared as pointer to const [constVariablePointer] tclvfs/generic/vfs.c:1225:13: style: Variable 'str' can be declared as pointer to const [constVariablePointer] tclvfs/generic/vfs.c:1517:23: style: Parameter 'types' can be declared as pointer to const [constParameterPointer] tclvfs/generic/vfs.c:1354:16: style: Variable 'returnVal' is assigned a value that is never used. [unreadVariable] tclvfs/generic/vfs.c:1361:20: style: Variable 'returnVal' is assigned a value that is never used. [unreadVariable] tclvfs/win/nmakehlp.c:80:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SEM_FAILCRITICALERRORS [valueFlowBailoutIncompleteVar] tclvfs/win/nmakehlp.c:210:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROCESS_INFORMATION [valueFlowBailoutIncompleteVar] tclvfs/win/nmakehlp.c:346:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROCESS_INFORMATION [valueFlowBailoutIncompleteVar] tclvfs/win/nmakehlp.c:474:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DWORD [valueFlowBailoutIncompleteVar] tclvfs/win/nmakehlp.c:649:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] tclvfs/win/nmakehlp.c:690:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DWORD [valueFlowBailoutIncompleteVar] tclvfs/win/nmakehlp.c:707:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PATH [valueFlowBailoutIncompleteVar] tclvfs/win/nmakehlp.c:725:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PATH [valueFlowBailoutIncompleteVar] tclvfs/win/nmakehlp.c:637:13: warning: Either the condition 've' is redundant or there is possible null pointer dereference: ve. [nullPointerRedundantCheck] tclvfs/win/nmakehlp.c:636:10: note: Assuming that condition 've' is not redundant tclvfs/win/nmakehlp.c:637:13: note: Null pointer dereference tclvfs/win/nmakehlp.c:680:12: warning: If resource allocation fails, then there is a possible null pointer dereference: fp [nullPointerOutOfResources] tclvfs/win/nmakehlp.c:618:15: note: Assuming allocation function fails tclvfs/win/nmakehlp.c:618:15: note: Assignment 'fp=fopen(filename,"rt")', assigned value is 0 tclvfs/win/nmakehlp.c:680:12: note: Null pointer dereference tclvfs/win/nmakehlp.c:472:17: style: Same expression on both sides of '-' because 'lastBuf' and 'pi->buffer' represent the same value. [duplicateExpression] tclvfs/win/nmakehlp.c:467:23: note: 'lastBuf' is assigned value 'pi->buffer' here. tclvfs/win/nmakehlp.c:472:17: note: Same expression on both sides of '-' because 'lastBuf' and 'pi->buffer' represent the same value. tclvfs/win/nmakehlp.c:484:5: style:inconclusive: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] tclvfs/win/nmakehlp.c:611:17: style:inconclusive: Function 'SubstituteFile' argument 1 names different: declaration 'substs' definition 'substitutions'. [funcArgNamesDifferent] tclvfs/win/nmakehlp.c:44:39: note: Function 'SubstituteFile' argument 1 names different: declaration 'substs' definition 'substitutions'. tclvfs/win/nmakehlp.c:611:17: note: Function 'SubstituteFile' argument 1 names different: declaration 'substs' definition 'substitutions'. tclvfs/win/nmakehlp.c:705:17: style:inconclusive: Function 'QualifyPath' argument 1 names different: declaration 'path' definition 'szPath'. [funcArgNamesDifferent] tclvfs/win/nmakehlp.c:45:36: note: Function 'QualifyPath' argument 1 names different: declaration 'path' definition 'szPath'. tclvfs/win/nmakehlp.c:705:17: note: Function 'QualifyPath' argument 1 names different: declaration 'path' definition 'szPath'. tclvfs/win/nmakehlp.c:794:41: style:inconclusive: Function 'LocateDependency' argument 1 names different: declaration 'keyfile' definition 'keypath'. [funcArgNamesDifferent] tclvfs/win/nmakehlp.c:46:41: note: Function 'LocateDependency' argument 1 names different: declaration 'keyfile' definition 'keypath'. tclvfs/win/nmakehlp.c:794:41: note: Function 'LocateDependency' argument 1 names different: declaration 'keyfile' definition 'keypath'. tclvfs/win/nmakehlp.c:663:23: style: Local variable 'sp' shadows outer variable [shadowVariable] tclvfs/win/nmakehlp.c:616:16: note: Shadowed declaration tclvfs/win/nmakehlp.c:663:23: note: Shadow variable tclvfs/win/nmakehlp.c:647:19: style: Variable 'p' can be declared as pointer to const [constVariablePointer] tclvfs/win/nmakehlp.c:661:9: style: Variable 'm' can be declared as pointer to const [constVariablePointer] tclvfs/win/nmakehlp.c:663:23: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] diff: head tclvfs/generic/vfs.c:1066:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] head tclvfs/generic/vfs.c:1132:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_EVAL_GLOBAL [valueFlowBailoutIncompleteVar] head tclvfs/generic/vfs.c:1149:9: style: Variable 'fieldName' can be declared as pointer to const [constVariablePointer] head tclvfs/generic/vfs.c:1225:13: style: Variable 'str' can be declared as pointer to const [constVariablePointer] head tclvfs/generic/vfs.c:1282:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_EVAL_GLOBAL [valueFlowBailoutIncompleteVar] head tclvfs/generic/vfs.c:1342:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_EVAL_GLOBAL [valueFlowBailoutIncompleteVar] head tclvfs/generic/vfs.c:1354:16: style: Variable 'returnVal' is assigned a value that is never used. [unreadVariable] head tclvfs/generic/vfs.c:1361:20: style: Variable 'returnVal' is assigned a value that is never used. [unreadVariable] head tclvfs/generic/vfs.c:1479:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_READABLE [valueFlowBailoutIncompleteVar] head tclvfs/generic/vfs.c:1517:23: style: Parameter 'types' can be declared as pointer to const [constParameterPointer] head tclvfs/generic/vfs.c:1551:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] head tclvfs/generic/vfs.c:1620:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_EVAL_GLOBAL [valueFlowBailoutIncompleteVar] head tclvfs/generic/vfs.c:1646:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_EVAL_GLOBAL [valueFlowBailoutIncompleteVar] head tclvfs/generic/vfs.c:1679:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_EVAL_GLOBAL [valueFlowBailoutIncompleteVar] head tclvfs/generic/vfs.c:1751:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_EVAL_GLOBAL [valueFlowBailoutIncompleteVar] head tclvfs/generic/vfs.c:1808:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_EVAL_GLOBAL [valueFlowBailoutIncompleteVar] head tclvfs/generic/vfs.c:1855:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_EVAL_GLOBAL [valueFlowBailoutIncompleteVar] head tclvfs/generic/vfs.c:1883:14: style:inconclusive: Function 'Vfs_AddVolume' argument 1 names different: declaration '' definition 'volume'. [funcArgNamesDifferentUnnamed] head tclvfs/generic/vfs.c:1909:14: style:inconclusive: Function 'Vfs_RemoveVolume' argument 1 names different: declaration '' definition 'volume'. [funcArgNamesDifferentUnnamed] head tclvfs/generic/vfs.c:351:17: style:inconclusive: Function 'Vfs_Init' argument 1 names different: declaration '' definition 'interp'. [funcArgNamesDifferentUnnamed] head tclvfs/generic/vfs.c:407:17: style:inconclusive: Function 'Vfs_RegisterWithInterp' argument 1 names different: declaration '' definition 'interp'. [funcArgNamesDifferentUnnamed] head tclvfs/generic/vfs.c:446:16: style:inconclusive: Function 'Vfs_UnregisterWithInterp' argument 1 names different: declaration '' definition 'dummy'. [funcArgNamesDifferentUnnamed] head tclvfs/generic/vfs.c:447:17: style:inconclusive: Function 'Vfs_UnregisterWithInterp' argument 2 names different: declaration '' definition 'interp'. [funcArgNamesDifferentUnnamed] head tclvfs/generic/vfs.c:982:11: style: Variable 'normed' can be declared as pointer to const [constVariablePointer] DONE