2026-05-29 00:56 ftp://ftp.de.debian.org/debian/pool/main/p/prctl/prctl_1.7.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: 12 12 elapsed-time: 0.0 0.1 head-timing-info: old-timing-info: head results: prctl-1.7/prctl.c:85:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PR_GET_UNALIGN [valueFlowBailoutIncompleteVar] prctl-1.7/prctl.c:152:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PR_GET_FPEMU [valueFlowBailoutIncompleteVar] prctl-1.7/prctl.c:220:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PR_MCE_KILL_GET [valueFlowBailoutIncompleteVar] prctl-1.7/prctl.c:301:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable opterr [valueFlowBailoutIncompleteVar] prctl-1.7/prctl.c:457:16: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] prctl-1.7/prctl.c:54:21: style: Parameter 'progname' can be declared as pointer to const [constParameterPointer] prctl-1.7/prctl.c:455:19: style: Variable 'pwd_entry' can be declared as pointer to const [constVariablePointer] prctl-1.7/prctl.c:256:6: warning: Uninitialized variable: retval [uninitvar] prctl-1.7/prctl.c:219:16: note: Assuming condition is true prctl-1.7/prctl.c:256:6: note: Uninitialized variable: retval prctl-1.7/prctl.c:79:6: style: Unused variable: umask [unusedVariable] prctl-1.7/prctl.c:214:6: style: Unused variable: umask [unusedVariable] prctl-1.7/prctl.c:282:6: style: Variable 'always_signal' is assigned a value that is never used. [unreadVariable] prctl-1.7/prctl.c:285:6: style: Unused variable: umask [unusedVariable] diff: DONE