2025-09-15 21:25 ftp://ftp.de.debian.org/debian/pool/main/r/razercfg/razercfg_0.43.orig.tar.xz 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-79-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.69 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04) 14.2.0 cppcheck: head 2.18.0 head-info: 3e169d6 (2025-09-15 13:38:15 +0200) count: 63 63 elapsed-time: 0.5 0.5 head-timing-info: old-timing-info: head results: razercfg-0.43/librazer/librazer.h:23:0: error: #error "librazer.h is a razercfg internal library!" [preprocessorErrorDirective] razercfg-0.43/librazer/librazer.h:23:3: error: #error "librazer.h is a razercfg internal library!" [preprocessorErrorDirective] razercfg-0.43/razerd/razerd.c:371:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] razercfg-0.43/razerd/razerd.c:385:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] razercfg-0.43/razerd/razerd.c:399:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] razercfg-0.43/razerd/razerd.c:411:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] razercfg-0.43/razerd/razerd.c:427:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] razercfg-0.43/razerd/razerd.c:469:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] razercfg-0.43/razerd/razerd.c:515:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] razercfg-0.43/razerd/razerd.c:682:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] razercfg-0.43/razerd/razerd.c:719:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] razercfg-0.43/razerd/razerd.c:741:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u32 [valueFlowBailoutIncompleteVar] razercfg-0.43/razerd/razerd.c:750:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable string [valueFlowBailoutIncompleteVar] razercfg-0.43/razerd/razerd.c:779:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable string [valueFlowBailoutIncompleteVar] razercfg-0.43/razerd/razerd.c:812:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] razercfg-0.43/razerd/razerd.c:836:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAZER_IDSTR_MAX_SIZE [valueFlowBailoutIncompleteVar] razercfg-0.43/razerd/razerd.c:855:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nr [valueFlowBailoutIncompleteVar] razercfg-0.43/razerd/razerd.c:874:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable id [valueFlowBailoutIncompleteVar] razercfg-0.43/razerd/razerd.c:893:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nr [valueFlowBailoutIncompleteVar] razercfg-0.43/razerd/razerd.c:912:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable id [valueFlowBailoutIncompleteVar] razercfg-0.43/razerd/razerd.c:931:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable id [valueFlowBailoutIncompleteVar] razercfg-0.43/razerd/razerd.c:941:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAZER_IDSTR_MAX_SIZE [valueFlowBailoutIncompleteVar] razercfg-0.43/razerd/razerd.c:960:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable getfwver [valueFlowBailoutIncompleteVar] razercfg-0.43/razerd/razerd.c:981:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable getfreq [valueFlowBailoutIncompleteVar] razercfg-0.43/razerd/razerd.c:1011:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable suppfreqs [valueFlowBailoutIncompleteVar] razercfg-0.43/razerd/razerd.c:1037:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable suppresol [valueFlowBailoutIncompleteVar] razercfg-0.43/razerd/razerd.c:1063:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable suppdpimappings [valueFlowBailoutIncompleteVar] razercfg-0.43/razerd/razerd.c:1097:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable changedpimapping [valueFlowBailoutIncompleteVar] razercfg-0.43/razerd/razerd.c:1135:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable getdpimapping [valueFlowBailoutIncompleteVar] razercfg-0.43/razerd/razerd.c:1164:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable setdpimapping [valueFlowBailoutIncompleteVar] razercfg-0.43/razerd/razerd.c:1217:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable getmouseinfo [valueFlowBailoutIncompleteVar] razercfg-0.43/razerd/razerd.c:1255:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable getleds [valueFlowBailoutIncompleteVar] razercfg-0.43/razerd/razerd.c:1306:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAZER_LEDNAME_MAX_SIZE [valueFlowBailoutIncompleteVar] razercfg-0.43/razerd/razerd.c:1325:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable setled [valueFlowBailoutIncompleteVar] razercfg-0.43/razerd/razerd.c:1421:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable setfreq [valueFlowBailoutIncompleteVar] razercfg-0.43/razerd/razerd.c:1476:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable getprofiles [valueFlowBailoutIncompleteVar] razercfg-0.43/razerd/razerd.c:1502:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable getprofname [valueFlowBailoutIncompleteVar] razercfg-0.43/razerd/razerd.c:1536:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable setprofname [valueFlowBailoutIncompleteVar] razercfg-0.43/razerd/razerd.c:1572:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable getactiveprof [valueFlowBailoutIncompleteVar] razercfg-0.43/razerd/razerd.c:1595:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable setactiveprof [valueFlowBailoutIncompleteVar] razercfg-0.43/razerd/razerd.c:1630:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable suppbuttons [valueFlowBailoutIncompleteVar] razercfg-0.43/razerd/razerd.c:1656:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable suppbutfuncs [valueFlowBailoutIncompleteVar] razercfg-0.43/razerd/razerd.c:1683:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable getbutfunc [valueFlowBailoutIncompleteVar] razercfg-0.43/razerd/razerd.c:1716:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable setbutfunc [valueFlowBailoutIncompleteVar] razercfg-0.43/razerd/razerd.c:1762:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable suppaxes [valueFlowBailoutIncompleteVar] razercfg-0.43/razerd/razerd.c:1791:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable flashfw [valueFlowBailoutIncompleteVar] razercfg-0.43/razerd/razerd.c:1846:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable claim [valueFlowBailoutIncompleteVar] razercfg-0.43/razerd/razerd.c:1870:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable release [valueFlowBailoutIncompleteVar] razercfg-0.43/razerd/razerd.c:2069:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable notify_newmouse [valueFlowBailoutIncompleteVar] razercfg-0.43/razerd/razerd.c:2109:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FD_SETSIZE [valueFlowBailoutIncompleteVar] razercfg-0.43/razerd/razerd.c:2140:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAZER_DEFAULT_CONFIG [valueFlowBailoutIncompleteVar] razercfg-0.43/razerd/razerd.c:2154:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable no_argument [valueFlowBailoutIncompleteVar] razercfg-0.43/razerd/razerd.c:2224:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] razercfg-0.43/razerd/razerd.c:711:38: style: Parameter 'client' can be declared as pointer to const [constParameterPointer] razercfg-0.43/razerd/razerd.c:711:60: style: Parameter 'r' can be declared as pointer to const [constParameterPointer] razercfg-0.43/razerd/razerd.c:1133:33: style: Variable 'mapping' can be declared as pointer to const [constVariablePointer] razercfg-0.43/razerd/razerd.c:1201:47: style: Parameter 'client' can be declared as pointer to const [constParameterPointer] razercfg-0.43/razerd/razerd.c:1206:49: style: Parameter 'client' can be declared as pointer to const [constParameterPointer] razercfg-0.43/razerd/razerd.c:1214:30: style: Variable 'profiles' can be declared as pointer to const [constVariablePointer] razercfg-0.43/razerd/razerd.c:1473:30: style: Variable 'list' can be declared as pointer to const [constVariablePointer] razercfg-0.43/razerd/razerd.c:1570:30: style: Variable 'activeprof' can be declared as pointer to const [constVariablePointer] razercfg-0.43/razerd/razerd.c:1680:32: style: Variable 'func' can be declared as pointer to const [constVariablePointer] razercfg-0.43/razerd/razerd.c:2153:23: style: Variable 'long_options' can be declared as const array [constVariable] diff: DONE