2025-05-05 16:01 ftp://ftp.de.debian.org/debian/pool/main/libc/libcap2/libcap2_2.75.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-59-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04) 14.2.0 cppcheck: head 2.17.0 head-info: fcc0493 (2025-05-05 13:08:11 +0200) count: 155 153 elapsed-time: 10.0 10.6 head-timing-info: old-timing-info: head results: libcap-2.75/contrib/bug218607/thread.cpp:45:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cout [valueFlowBailoutIncompleteVar] libcap-2.75/contrib/bug218607/thread.cpp:50:32: style:inconclusive: Boolean expression '!(in_before|out_before)' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] libcap-2.75/contrib/bug218607/thread.cpp:50:32: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] libcap-2.75/contrib/bug400591/bug.c:18:16: warning: Assert statement modifies 'caps'. [assignmentInAssert] libcap-2.75/contrib/capso/bind.c:25:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] libcap-2.75/contrib/capso/capso.c:125:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PF_UNSPEC [valueFlowBailoutIncompleteVar] libcap-2.75/contrib/capso/capso.c:213:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable iovec [valueFlowBailoutIncompleteVar] libcap-2.75/contrib/capso/capso.c:292:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAP_NET_BIND_SERVICE [valueFlowBailoutIncompleteVar] libcap-2.75/contrib/capso/capso.c:168:10: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] libcap-2.75/contrib/sucap/su.c:120:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAM_SUCCESS [valueFlowBailoutIncompleteVar] libcap-2.75/contrib/sucap/su.c:151:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] libcap-2.75/contrib/sucap/su.c:184:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libcap-2.75/contrib/sucap/su.c:203:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCSAFLUSH [valueFlowBailoutIncompleteVar] libcap-2.75/contrib/sucap/su.c:230:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] libcap-2.75/contrib/sucap/su.c:278:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAP_CHOWN [valueFlowBailoutIncompleteVar] libcap-2.75/contrib/sucap/su.c:320:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAP_CHOWN [valueFlowBailoutIncompleteVar] libcap-2.75/contrib/sucap/su.c:366:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] libcap-2.75/contrib/sucap/su.c:385:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libcap-2.75/contrib/sucap/su.c:443:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libcap-2.75/contrib/sucap/su.c:465:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_BLOCK [valueFlowBailoutIncompleteVar] libcap-2.75/contrib/sucap/su.c:494:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_DFL [valueFlowBailoutIncompleteVar] libcap-2.75/contrib/sucap/su.c:734:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libcap-2.75/contrib/sucap/su.c:759:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAM_SUCCESS [valueFlowBailoutIncompleteVar] libcap-2.75/contrib/sucap/su.c:822:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAM_SUCCESS [valueFlowBailoutIncompleteVar] libcap-2.75/contrib/sucap/su.c:845:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAM_SUCCESS [valueFlowBailoutIncompleteVar] libcap-2.75/contrib/sucap/su.c:862:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INIT_PROCESS [valueFlowBailoutIncompleteVar] libcap-2.75/contrib/sucap/su.c:878:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UT_LINESIZE [valueFlowBailoutIncompleteVar] libcap-2.75/contrib/sucap/su.c:933:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] libcap-2.75/contrib/sucap/su.c:1009:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UT_LINESIZE [valueFlowBailoutIncompleteVar] libcap-2.75/contrib/sucap/su.c:1087:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UT_LINESIZE [valueFlowBailoutIncompleteVar] libcap-2.75/contrib/sucap/su.c:1150:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAM_USER [valueFlowBailoutIncompleteVar] libcap-2.75/contrib/sucap/su.c:1171:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAM_TTY [valueFlowBailoutIncompleteVar] libcap-2.75/contrib/sucap/su.c:1191:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAP_SETGID [valueFlowBailoutIncompleteVar] libcap-2.75/contrib/sucap/su.c:1314:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAM_SUCCESS [valueFlowBailoutIncompleteVar] libcap-2.75/contrib/sucap/su.c:1328:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAM_SUCCESS [valueFlowBailoutIncompleteVar] libcap-2.75/contrib/sucap/su.c:1375:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAM_SYSTEM_ERR [valueFlowBailoutIncompleteVar] libcap-2.75/contrib/sucap/su.c:1446:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libcap-2.75/contrib/sucap/su.c:1471:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAP_INHERITABLE [valueFlowBailoutIncompleteVar] libcap-2.75/contrib/sucap/su.c:675:19: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] libcap-2.75/contrib/sucap/su.c:687:27: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] libcap-2.75/contrib/sucap/su.c:778:25: portability: Non reentrant function 'ttyname' called. For threadsafe applications it is recommended to use the reentrant replacement function 'ttyname_r'. [prohibitedttynameCalled] libcap-2.75/contrib/sucap/su.c:788:22: portability: Non reentrant function 'getlogin' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getlogin_r'. [prohibitedgetloginCalled] libcap-2.75/contrib/sucap/su.c:1059:20: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] libcap-2.75/contrib/sucap/su.c:1211:10: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] libcap-2.75/contrib/sucap/su.c:687:25: style: Variable 'tmp' is reassigned a value before the old one has been used. [redundantAssignment] libcap-2.75/contrib/sucap/su.c:675:17: note: tmp is assigned libcap-2.75/contrib/sucap/su.c:687:25: note: tmp is overwritten libcap-2.75/contrib/sucap/su.c:393:48: style: Parameter 'argv' can be declared as const array [constParameter] libcap-2.75/contrib/sucap/su.c:919:36: style: Parameter 'u_tmp_p' can be declared as pointer to const [constParameterPointer] libcap-2.75/contrib/sucap/su.c:1056:22: style: Variable 'hptr' can be declared as pointer to const [constVariablePointer] libcap-2.75/contrib/sucap/su.c:889:30: warning: Suspicious usage of 'sizeof' with a numeric constant as parameter. [sizeofwithnumericparameter] libcap-2.75/libcap/_makenames.c:31:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libcap-2.75/libcap/_makenames.c:52:19: style: Condition 'pointers==NULL' is always false [knownConditionTrueFalse] libcap-2.75/libcap/libcap.h:40:0: error: #error Kernel does not support library [preprocessorErrorDirective] libcap-2.75/libcap/libcap.h:40:3: error: #error Kernel does not support library [preprocessorErrorDirective] libcap-2.75/libcap/execable.c:48:49: error: There is an unknown macro here somewhere. Configuration is required. If LIBRARY_VERSION is a macro then please configure it. [unknownMacro] libcap-2.75/libcap/psx_exec.c:10:49: error: There is an unknown macro here somewhere. Configuration is required. If LIBRARY_VERSION is a macro then please configure it. [unknownMacro] libcap-2.75/pam_cap/execable.c:27:17: error: There is an unknown macro here somewhere. Configuration is required. If LIBCAP_VERSION is a macro then please configure it. [unknownMacro] libcap-2.75/pam_cap/pam_cap.c:56:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NGROUPS_MAX [valueFlowBailoutIncompleteVar] libcap-2.75/pam_cap/pam_cap.c:122:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] libcap-2.75/pam_cap/pam_cap.c:222:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAM_DATA_REPLACE [valueFlowBailoutIncompleteVar] libcap-2.75/pam_cap/pam_cap.c:274:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] libcap-2.75/pam_cap/pam_cap.c:366:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_CONS [valueFlowBailoutIncompleteVar] libcap-2.75/pam_cap/pam_cap.c:393:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_ERR [valueFlowBailoutIncompleteVar] libcap-2.75/pam_cap/pam_cap.c:413:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAM_CONV_AGAIN [valueFlowBailoutIncompleteVar] libcap-2.75/pam_cap/pam_cap.c:469:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAM_ESTABLISH_CRED [valueFlowBailoutIncompleteVar] libcap-2.75/pam_cap/pam_cap.c:62:11: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] libcap-2.75/pam_cap/pam_cap.c:78:26: portability: Non reentrant function 'getgrgid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrgid_r'. [prohibitedgetgrgidCalled] libcap-2.75/pam_cap/test.c:7:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAM_SUCCESS [valueFlowBailoutIncompleteVar] libcap-2.75/pam_cap/test_pam_cap.c:40:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAM_CONV_AGAIN [valueFlowBailoutIncompleteVar] libcap-2.75/pam_cap/test_pam_cap.c:46:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAM_USER [valueFlowBailoutIncompleteVar] libcap-2.75/pam_cap/test_pam_cap.c:58:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] libcap-2.75/pam_cap/test_pam_cap.c:86:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] libcap-2.75/pam_cap/test_pam_cap.c:128:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAP_INHERITABLE [valueFlowBailoutIncompleteVar] libcap-2.75/pam_cap/test_pam_cap.c:260:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAP_INHERITABLE [valueFlowBailoutIncompleteVar] libcap-2.75/pam_cap/test_pam_cap.c:185:16: style: Variable 'v' can be declared as pointer to const [constVariablePointer] libcap-2.75/pam_cap/pam_cap.c:55:20: style: Variable 'pwd' can be declared as pointer to const [constVariablePointer] libcap-2.75/pam_cap/test_pam_cap.c:304:12: style: Variable 'status' is assigned a value that is never used. [unreadVariable] libcap-2.75/progs/capsh.c:65:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libcap-2.75/progs/capsh.c:165:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cap_get_bound [valueFlowBailoutIncompleteVar] libcap-2.75/progs/capsh.c:242:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAP_SET [valueFlowBailoutIncompleteVar] libcap-2.75/progs/capsh.c:293:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libcap-2.75/progs/capsh.c:353:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libcap-2.75/progs/capsh.c:410:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libcap-2.75/progs/capsh.c:450:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libcap-2.75/progs/capsh.c:492:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libcap-2.75/progs/capsh.c:539:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libcap-2.75/progs/capsh.c:201:9: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] libcap-2.75/progs/capsh.c:203:10: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] libcap-2.75/progs/capsh.c:206:9: portability: Non reentrant function 'getgrgid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrgid_r'. [prohibitedgetgrgidCalled] libcap-2.75/progs/capsh.c:212:6: portability: Non reentrant function 'getgrgid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrgid_r'. [prohibitedgetgrgidCalled] libcap-2.75/progs/capsh.c:309:30: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] libcap-2.75/progs/capsh.c:369:30: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] libcap-2.75/progs/capsh.c:426:28: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] libcap-2.75/progs/capsh.c:866:35: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] libcap-2.75/progs/capsh.c:896:12: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] libcap-2.75/progs/capsh.c:807:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libcap-2.75/progs/capsh.c:1063:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libcap-2.75/progs/capsh.c:1072:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libcap-2.75/progs/capsh.c:159:19: style: Variable 'g' can be declared as pointer to const [constVariablePointer] libcap-2.75/progs/capsh.c:162:20: style: Variable 'u' can be declared as pointer to const [constVariablePointer] libcap-2.75/progs/capsh.c:162:24: style: Variable 'eu' can be declared as pointer to const [constVariablePointer] libcap-2.75/progs/capsh.c:400:30: style: Variable 'dir' can be declared as pointer to const [constVariablePointer] libcap-2.75/progs/capsh.c:1133:9: style: Variable 'match' can be declared as pointer to const [constVariablePointer] libcap-2.75/progs/capsh.c:635:22: style: Variable 'raised_for_setpcap' is assigned a value that is never used. [unreadVariable] libcap-2.75/progs/getcap.c:28:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libcap-2.75/progs/getcap.c:43:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FTW_F [valueFlowBailoutIncompleteVar] libcap-2.75/progs/getcap.c:108:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optind [valueFlowBailoutIncompleteVar] libcap-2.75/progs/getpcaps.c:16:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libcap-2.75/progs/getpcaps.c:68:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] libcap-2.75/progs/old/execcap.c:20:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libcap-2.75/progs/old/execcap.c:49:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libcap-2.75/progs/old/setpcaps.c:18:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libcap-2.75/progs/old/setpcaps.c:37:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libcap-2.75/progs/old/setpcaps.c:101:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libcap-2.75/progs/old/sucap.c:27:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libcap-2.75/progs/old/sucap.c:46:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] libcap-2.75/progs/old/sucap.c:74:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libcap-2.75/progs/old/sucap.c:72:22: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] libcap-2.75/progs/old/sucap.c:82:21: portability: Non reentrant function 'getgrnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrnam_r'. [prohibitedgetgrnamCalled] libcap-2.75/progs/old/sucap.c:72:17: style: Variable 'pw' can be declared as pointer to const [constVariablePointer] libcap-2.75/progs/old/sucap.c:82:16: style: Variable 'gr' can be declared as pointer to const [constVariablePointer] libcap-2.75/progs/setcap.c:17:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libcap-2.75/progs/setcap.c:58:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libcap-2.75/progs/setcap.c:73:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libcap-2.75/progs/setcap.c:115:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libcap-2.75/psx/psx.c:115:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __ATOMIC_SEQ_CST [valueFlowBailoutIncompleteVar] libcap-2.75/psx/psx.c:161:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __ATOMIC_SEQ_CST [valueFlowBailoutIncompleteVar] libcap-2.75/psx/psx.c:173:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __ATOMIC_SEQ_CST [valueFlowBailoutIncompleteVar] libcap-2.75/psx/psx.c:183:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __ATOMIC_SEQ_CST [valueFlowBailoutIncompleteVar] libcap-2.75/psx/psx.c:316:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] libcap-2.75/psx/psx.c:517:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] libcap-2.75/psx/psx.c:358:23: style: Checking if unsigned expression 'nread' is less than zero. [unsignedLessThanZero] libcap-2.75/psx/psx.c:370:9: style: Variable 'dir' can be declared as pointer to const [constVariablePointer] libcap-2.75/psx/psx.c:397:26: style: Variable 'y' can be declared as pointer to const [constVariablePointer] libcap-2.75/psx/psx.c:487:21: style: Variable 'ref' can be declared as pointer to const [constVariablePointer] libcap-2.75/psx/psx.c:280:15: style: struct member 'psx_linux_dirent64::d_ino' is never used. [unusedStructMember] libcap-2.75/psx/psx.c:281:15: style: struct member 'psx_linux_dirent64::d_off' is never used. [unusedStructMember] libcap-2.75/psx/psx.c:283:19: style: struct member 'psx_linux_dirent64::d_type' is never used. [unusedStructMember] libcap-2.75/psx/psx_calls.c:146:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SI_TKILL [valueFlowBailoutIncompleteVar] libcap-2.75/psx/psx_calls.c:252:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SYS_rt_sigaction [valueFlowBailoutIncompleteVar] libcap-2.75/psx/wrap/psx_wrap.c:18:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libcap-2.75/tests/exploit.c:136:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SA_SIGINFO [valueFlowBailoutIncompleteVar] libcap-2.75/tests/libcap_launch_test.c:54:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable args [valueFlowBailoutIncompleteVar] libcap-2.75/tests/libcap_psx_test.c:19:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PR_GET_KEEPCAPS [valueFlowBailoutIncompleteVar] libcap-2.75/tests/libcap_psx_test.c:47:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] libcap-2.75/tests/libcap_psx_test.c:17:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] libcap-2.75/tests/libcap_psx_test.c:70:2: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] libcap-2.75/tests/noop.c:3:26: style: Parameter 'argv' can be declared as const array [constParameter] libcap-2.75/tests/psx_test.c:23:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PR_GET_KEEPCAPS [valueFlowBailoutIncompleteVar] libcap-2.75/tests/psx_test.c:81:2: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] libcap-2.75/tests/psx_test.c:114:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] libcap-2.75/tests/uns_test.c:33:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libcap-2.75/tests/uns_test.c:63:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAP_SETFCAP [valueFlowBailoutIncompleteVar] libcap-2.75/tests/uns_test.c:27:21: style: Variable 'fdsp' can be declared as pointer to const [constVariablePointer] libcap-2.75/tests/weaver.c:29:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PR_GET_KEEPCAPS [valueFlowBailoutIncompleteVar] libcap-2.75/tests/weaver.c:95:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PR_SET_KEEPCAPS [valueFlowBailoutIncompleteVar] diff: head libcap-2.75/libcap/_makenames.c:52:19: style: Condition 'pointers==NULL' is always false [knownConditionTrueFalse] head libcap-2.75/libcap/libcap.h:40:3: error: #error Kernel does not support library [preprocessorErrorDirective] DONE