2026-05-04 20:46 ftp://ftp.de.debian.org/debian/pool/main/r/rhsrvany/rhsrvany_1.1.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-111-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.70 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04.1) 14.2.0 cppcheck: head 2.20.0 head-info: 519958a (2026-05-04 15:03:10 +0200) count: 21 12 elapsed-time: 0.2 0.0 head-timing-info: old-timing-info: head results: rhsrvany-1.1/RHSrvAny/RHSrvAny.c:114:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lpServiceName [valueFlowBailoutIncompleteVar] rhsrvany-1.1/RHSrvAny/RHSrvAny.c:147:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SERVICE_ALL_ACCESS [valueFlowBailoutIncompleteVar] rhsrvany-1.1/RHSrvAny/RHSrvAny.c:191:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PATH [valueFlowBailoutIncompleteVar] rhsrvany-1.1/RHSrvAny/RHSrvAny.c:274:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SERVICE_WIN32_OWN_PROCESS [valueFlowBailoutIncompleteVar] rhsrvany-1.1/RHSrvAny/RHSrvAny.c:306:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_SUCCESS [valueFlowBailoutIncompleteVar] rhsrvany-1.1/RHSrvAny/RHSrvAny.c:382:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HKEY_LOCAL_MACHINE [valueFlowBailoutIncompleteVar] rhsrvany-1.1/RHSrvAny/RHSrvAny.c:449:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SERVICE_START_PENDING [valueFlowBailoutIncompleteVar] rhsrvany-1.1/RHSrvAny/RHSrvAny.c:494:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NO_ERROR [valueFlowBailoutIncompleteVar] rhsrvany-1.1/RHSrvAny/RHSrvAny.c:527:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EVENTLOG_ERROR_TYPE [valueFlowBailoutIncompleteVar] rhsrvany-1.1/RHSrvAny/RHSrvAny.c:261:11: style:inconclusive: Function 'SvcMain' argument 1 names different: declaration '' definition 'dwArgc'. [funcArgNamesDifferentUnnamed] rhsrvany-1.1/RHSrvAny/RHSrvAny.c:262:13: style:inconclusive: Function 'SvcMain' argument 2 names different: declaration '' definition 'lpszArgv'. [funcArgNamesDifferentUnnamed] rhsrvany-1.1/RHSrvAny/RHSrvAny.c:326:11: style:inconclusive: Function 'SvcInit' argument 1 names different: declaration '' definition 'dwArgc'. [funcArgNamesDifferentUnnamed] rhsrvany-1.1/RHSrvAny/RHSrvAny.c:327:13: style:inconclusive: Function 'SvcInit' argument 2 names different: declaration '' definition 'lpszArgv'. [funcArgNamesDifferentUnnamed] rhsrvany-1.1/RHSrvAny/RHSrvAny.c:438:11: style:inconclusive: Function 'ReportSvcStatus' argument 1 names different: declaration '' definition 'dwCurrentState'. [funcArgNamesDifferentUnnamed] rhsrvany-1.1/RHSrvAny/RHSrvAny.c:439:11: style:inconclusive: Function 'ReportSvcStatus' argument 2 names different: declaration '' definition 'dwWin32ExitCode'. [funcArgNamesDifferentUnnamed] rhsrvany-1.1/RHSrvAny/RHSrvAny.c:440:11: style:inconclusive: Function 'ReportSvcStatus' argument 3 names different: declaration '' definition 'dwWaitHint'. [funcArgNamesDifferentUnnamed] rhsrvany-1.1/RHSrvAny/RHSrvAny.c:475:11: style:inconclusive: Function 'SvcCtrlHandler' argument 1 names different: declaration '' definition 'dwCtrl'. [funcArgNamesDifferentUnnamed] rhsrvany-1.1/RHSrvAny/RHSrvAny.c:500:12: style:inconclusive: Function 'SvcReportEvent' argument 1 names different: declaration '' definition 'szFunction'. [funcArgNamesDifferentUnnamed] rhsrvany-1.1/RHSrvAny/RHSrvAny.c:400:18: style: Variable 'fSuccess' is assigned a value that is never used. [unreadVariable] rhsrvany-1.1/pnp_wait/pnp_wait.c:70:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WAIT_OBJECT_0 [valueFlowBailoutIncompleteVar] rhsrvany-1.1/pnp_wait/pnp_wait.c:79:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INFINITE [valueFlowBailoutIncompleteVar] diff: head rhsrvany-1.1/RHSrvAny/RHSrvAny.c:261:11: style:inconclusive: Function 'SvcMain' argument 1 names different: declaration '' definition 'dwArgc'. [funcArgNamesDifferentUnnamed] head rhsrvany-1.1/RHSrvAny/RHSrvAny.c:262:13: style:inconclusive: Function 'SvcMain' argument 2 names different: declaration '' definition 'lpszArgv'. [funcArgNamesDifferentUnnamed] head rhsrvany-1.1/RHSrvAny/RHSrvAny.c:326:11: style:inconclusive: Function 'SvcInit' argument 1 names different: declaration '' definition 'dwArgc'. [funcArgNamesDifferentUnnamed] head rhsrvany-1.1/RHSrvAny/RHSrvAny.c:327:13: style:inconclusive: Function 'SvcInit' argument 2 names different: declaration '' definition 'lpszArgv'. [funcArgNamesDifferentUnnamed] head rhsrvany-1.1/RHSrvAny/RHSrvAny.c:438:11: style:inconclusive: Function 'ReportSvcStatus' argument 1 names different: declaration '' definition 'dwCurrentState'. [funcArgNamesDifferentUnnamed] head rhsrvany-1.1/RHSrvAny/RHSrvAny.c:439:11: style:inconclusive: Function 'ReportSvcStatus' argument 2 names different: declaration '' definition 'dwWin32ExitCode'. [funcArgNamesDifferentUnnamed] head rhsrvany-1.1/RHSrvAny/RHSrvAny.c:440:11: style:inconclusive: Function 'ReportSvcStatus' argument 3 names different: declaration '' definition 'dwWaitHint'. [funcArgNamesDifferentUnnamed] head rhsrvany-1.1/RHSrvAny/RHSrvAny.c:475:11: style:inconclusive: Function 'SvcCtrlHandler' argument 1 names different: declaration '' definition 'dwCtrl'. [funcArgNamesDifferentUnnamed] head rhsrvany-1.1/RHSrvAny/RHSrvAny.c:500:12: style:inconclusive: Function 'SvcReportEvent' argument 1 names different: declaration '' definition 'szFunction'. [funcArgNamesDifferentUnnamed] DONE