2024-04-21 07:53 ftp://ftp.de.debian.org/debian/pool/main/p/procps/procps_4.0.4.orig.tar.xz cppcheck-options: --library=posix --library=gnu --showtime=top5 --check-library --inconclusive --enable=style,information --inline-suppr --disable=missingInclude --suppress=unmatchedSuppression --template=daca2 --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning -D__GNUC__ --platform=unix64 -j1 platform: Linux-6.6.15-amd64-x86_64-with-glibc2.37 python: 3.11.8 client-version: 1.3.49 compiler: g++ (Debian 13.2.0-13) 13.2.0 cppcheck: head 2.14.0 head-info: ebf4cc2 (2024-04-21 09:34:26 +0200) count: 526 526 elapsed-time: 7.1 7.4 head-timing-info: Tokenizer::simplifyTokens1::ValueFlow: 5.55911s (avg. 0.109002s - 51 result(s)) valueFlowAfterAssign(tokenlist, symboldatabase, errorLogger, settings, skippedFunctions): 2.08562s (avg. 0.0168195s - 124 result(s)) valueFlowCondition(SimpleConditionHandler{}, tokenlist, symboldatabase, errorLogger, settings, skippedFunctions): 1.34354s (avg. 0.010835s - 124 result(s)) valueFlowLifetime(tokenlist, errorLogger, settings): 0.989013s (avg. 0.0056515s - 175 result(s)) valueFlowUninit(tokenlist, errorLogger, settings): 0.327989s (avg. 0.00264507s - 124 result(s)) Overall time: 6.66139s old-timing-info: Tokenizer::simplifyTokens1::ValueFlow: 5.55047s (avg. 0.108833s - 51 result(s)) valueFlowAfterAssign(tokenlist, symboldatabase, errorLogger, settings, skippedFunctions): 2.05749s (avg. 0.0165927s - 124 result(s)) valueFlowCondition(SimpleConditionHandler{}, tokenlist, symboldatabase, errorLogger, settings, skippedFunctions): 1.34755s (avg. 0.0108673s - 124 result(s)) valueFlowLifetime(tokenlist, errorLogger, settings): 0.978177s (avg. 0.00558958s - 175 result(s)) valueFlowUninit(tokenlist, errorLogger, settings): 0.33361s (avg. 0.0026904s - 124 result(s)) Overall time: 6.69512s head results: procps-ng-4.0.4/library/devname.c:70:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/library/devname.c:345:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ABBREV_DEV [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/library/devname.c:132:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] procps-ng-4.0.4/library/devname.c:134:5: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] procps-ng-4.0.4/library/devname.c:226:7: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] procps-ng-4.0.4/library/devname.c:229:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] procps-ng-4.0.4/library/devname.c:231:14: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] procps-ng-4.0.4/library/devname.c:232:14: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] procps-ng-4.0.4/library/devname.c:233:14: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] procps-ng-4.0.4/library/devname.c:234:14: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] procps-ng-4.0.4/library/devname.c:235:14: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] procps-ng-4.0.4/library/devname.c:236:14: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] procps-ng-4.0.4/library/devname.c:237:14: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] procps-ng-4.0.4/library/devname.c:238:14: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] procps-ng-4.0.4/library/devname.c:239:14: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] procps-ng-4.0.4/library/devname.c:240:14: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] procps-ng-4.0.4/library/devname.c:241:14: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] procps-ng-4.0.4/library/devname.c:242:14: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] procps-ng-4.0.4/library/devname.c:243:14: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] procps-ng-4.0.4/library/devname.c:244:14: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] procps-ng-4.0.4/library/devname.c:245:14: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] procps-ng-4.0.4/library/devname.c:246:14: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] procps-ng-4.0.4/library/devname.c:251:22: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] procps-ng-4.0.4/library/devname.c:253:14: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] procps-ng-4.0.4/library/devname.c:254:14: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] procps-ng-4.0.4/library/devname.c:255:14: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] procps-ng-4.0.4/library/devname.c:256:14: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] procps-ng-4.0.4/library/devname.c:257:14: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] procps-ng-4.0.4/library/devname.c:258:14: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] procps-ng-4.0.4/library/devname.c:259:14: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] procps-ng-4.0.4/library/devname.c:260:14: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] procps-ng-4.0.4/library/devname.c:268:14: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] procps-ng-4.0.4/library/devname.c:269:14: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] procps-ng-4.0.4/library/devname.c:270:14: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] procps-ng-4.0.4/library/devname.c:271:14: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] procps-ng-4.0.4/library/devname.c:272:14: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] procps-ng-4.0.4/library/devname.c:273:14: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] procps-ng-4.0.4/library/diskstats.c:514:43: error: There is an unknown macro here somewhere. Configuration is required. If STRINGIFY is a macro then please configure it. [unknownMacro] procps-ng-4.0.4/library/escape.c:113:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CODESET [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/library/escape.c:134:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ESC_BRACKETS [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/library/escape.c:113:13: style: Variable 'enc' can be declared as pointer to const [constVariablePointer] procps-ng-4.0.4/library/meminfo.c:559:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Active [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/library/meminfo.c:650:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/library/meminfo.c:749:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable meminfo_stack [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/library/meminfo.c:814:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/library/meminfo.c:844:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/library/meminfo.c:855:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/library/meminfo.c:889:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/library/meminfo.c:926:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/library/meminfo.c:978:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/library/meminfo.c:1002:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable item [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/library/meminfo.c:470:31: style: Parameter 'stack' can be declared as pointer to const [constParameterPointer] procps-ng-4.0.4/library/meminfo.c:500:28: style: Parameter 'items' can be declared as pointer to const [constParameterPointer] procps-ng-4.0.4/library/meminfo.c:982:15: style: Variable 'str' can be declared as pointer to const [constVariablePointer] procps-ng-4.0.4/library/meminfo.c:999:11: style: Variable 'str' can be declared as pointer to const [constVariablePointer] procps-ng-4.0.4/library/meminfo.c:764:29: portability: '(void*)p_blob' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] procps-ng-4.0.4/library/meminfo.c:766:29: portability: '(void*)p_vect' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] procps-ng-4.0.4/library/meminfo.c:767:21: portability: 'v_head' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] procps-ng-4.0.4/library/meminfo.c:773:16: portability: 'v_list' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] procps-ng-4.0.4/library/meminfo.c:774:16: portability: 'v_head' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] procps-ng-4.0.4/library/namespace.c:56:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROCPS_NS_COUNT [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/library/namespace.c:77:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/library/namespace.c:104:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/library/pids.c:160:1: error: There is an unknown macro here somewhere. Configuration is required. If STRINGIFY is a macro then please configure it. [unknownMacro] procps-ng-4.0.4/library/pwcache.c:64:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P_G_SZ [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/library/pwcache.c:93:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P_G_SZ [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/library/pwcache.c:63:10: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] procps-ng-4.0.4/library/pwcache.c:92:10: portability: Non reentrant function 'getgrgid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrgid_r'. [prohibitedgetgrgidCalled] procps-ng-4.0.4/library/pwcache.c:52:20: style: Variable 'pw' can be declared as pointer to const [constVariablePointer] procps-ng-4.0.4/library/pwcache.c:81:19: style: Variable 'gr' can be declared as pointer to const [constVariablePointer] procps-ng-4.0.4/library/readproc.c:168:7: error: syntax error [syntaxError] procps-ng-4.0.4/library/slabinfo.c:418:24: error: There is an unknown macro here somewhere. Configuration is required. If STRINGIFY is a macro then please configure it. [unknownMacro] procps-ng-4.0.4/library/stat.c:663:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/library/stat.c:749:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/library/stat.c:921:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stat_stack [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/library/stat.c:1019:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stat_item [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/library/stat.c:1081:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/library/stat.c:1126:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/library/stat.c:1137:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/library/stat.c:1207:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/library/stat.c:1247:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/library/stat.c:1319:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/library/stat.c:1354:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/library/stat.c:1405:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/library/stat.c:1429:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable item [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/library/stat.c:265:1: style: Parameter 'P' can be declared as pointer to const. However it seems that 'sort_stat_s_int' is a callback function, if 'P' is declared with const you might also need to cast function pointer(s). [constParameterCallback] procps-ng-4.0.4/library/stat.c:384:34: note: You might need to cast the function pointer here procps-ng-4.0.4/library/stat.c:265:1: note: Parameter 'P' can be declared as pointer to const procps-ng-4.0.4/library/stat.c:271:1: style: Parameter 'P' can be declared as pointer to const. However it seems that 'sort_stat_sl_int' is a callback function, if 'P' is declared with const you might also need to cast function pointer(s). [constParameterCallback] procps-ng-4.0.4/library/stat.c:371:34: note: You might need to cast the function pointer here procps-ng-4.0.4/library/stat.c:271:1: note: Parameter 'P' can be declared as pointer to const procps-ng-4.0.4/library/stat.c:277:1: style: Parameter 'P' can be declared as pointer to const. However it seems that 'sort_stat_ul_int' is a callback function, if 'P' is declared with const you might also need to cast function pointer(s). [constParameterCallback] procps-ng-4.0.4/library/stat.c:378:34: note: You might need to cast the function pointer here procps-ng-4.0.4/library/stat.c:277:1: note: Parameter 'P' can be declared as pointer to const procps-ng-4.0.4/library/stat.c:285:1: style: Parameter 'P' can be declared as pointer to const. However it seems that 'sort_stat_ull_int' is a callback function, if 'P' is declared with const you might also need to cast function pointer(s). [constParameterCallback] procps-ng-4.0.4/library/stat.c:365:34: note: You might need to cast the function pointer here procps-ng-4.0.4/library/stat.c:285:1: note: Parameter 'P' can be declared as pointer to const procps-ng-4.0.4/library/stat.c:404:28: style: Parameter 'stack' can be declared as pointer to const [constParameterPointer] procps-ng-4.0.4/library/stat.c:603:25: style: Parameter 'items' can be declared as pointer to const [constParameterPointer] procps-ng-4.0.4/library/stat.c:710:16: style: Variable 'b' can be declared as pointer to const [constVariablePointer] procps-ng-4.0.4/library/stat.c:960:27: style: Variable 'ext' can be declared as pointer to const [constVariablePointer] procps-ng-4.0.4/library/stat.c:1344:27: style: Parameter 'info' can be declared as pointer to const [constParameterPointer] procps-ng-4.0.4/library/stat.c:1409:15: style: Variable 'str' can be declared as pointer to const [constVariablePointer] procps-ng-4.0.4/library/stat.c:1426:11: style: Variable 'str' can be declared as pointer to const [constVariablePointer] procps-ng-4.0.4/library/stat.c:936:29: portability: '(void*)p_blob' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] procps-ng-4.0.4/library/stat.c:938:29: portability: '(void*)p_vect' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] procps-ng-4.0.4/library/stat.c:939:21: portability: 'v_head' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] procps-ng-4.0.4/library/stat.c:945:16: portability: 'v_list' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] procps-ng-4.0.4/library/stat.c:946:16: portability: 'v_head' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] procps-ng-4.0.4/library/sysinfo.c:101:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/library/sysinfo.c:162:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _SC_NPROCESSORS_ONLN [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/library/sysinfo.c:67:10: style: Unused variable: hz [unusedVariable] procps-ng-4.0.4/library/tests/test_Itemtables.c:33:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable testname [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/library/tests/test_Itemtables.c:41:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable testname [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/library/tests/test_Itemtables.c:49:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable testname [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/library/tests/test_Itemtables.c:57:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable testname [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/library/tests/test_Itemtables.c:65:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable testname [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/library/tests/test_Itemtables.c:73:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable testname [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/library/tests/test_namespace.c:28:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable testname [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/library/tests/test_namespace.c:34:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable testname [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/library/tests/test_namespace.c:40:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable testname [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/library/tests/test_namespace.c:46:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable testname [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/library/tests/test_namespace.c:52:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable testname [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/library/tests/test_namespace.c:58:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable testname [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/library/tests/test_namespace.c:26:28: style: Parameter 'data' can be declared as pointer to const. However it seems that 'check_name_minus' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] procps-ng-4.0.4/library/tests/test_namespace.c:63:5: note: You might need to cast the function pointer here procps-ng-4.0.4/library/tests/test_namespace.c:26:28: note: Parameter 'data' can be declared as pointer to const procps-ng-4.0.4/library/tests/test_namespace.c:32:27: style: Parameter 'data' can be declared as pointer to const. However it seems that 'check_name_over' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] procps-ng-4.0.4/library/tests/test_namespace.c:64:5: note: You might need to cast the function pointer here procps-ng-4.0.4/library/tests/test_namespace.c:32:27: note: Parameter 'data' can be declared as pointer to const procps-ng-4.0.4/library/tests/test_namespace.c:50:28: style: Parameter 'data' can be declared as pointer to const. However it seems that 'check_id_unfound' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] procps-ng-4.0.4/library/tests/test_namespace.c:67:5: note: You might need to cast the function pointer here procps-ng-4.0.4/library/tests/test_namespace.c:50:28: note: Parameter 'data' can be declared as pointer to const procps-ng-4.0.4/library/tests/test_namespace.c:56:24: style: Parameter 'data' can be declared as pointer to const. However it seems that 'check_id_mnt' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] procps-ng-4.0.4/library/tests/test_namespace.c:68:5: note: You might need to cast the function pointer here procps-ng-4.0.4/library/tests/test_namespace.c:56:24: note: Parameter 'data' can be declared as pointer to const procps-ng-4.0.4/library/tests/test_pids.c:31:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable testname [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/library/tests/test_pids.c:38:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable testname [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/library/tests/test_pids.c:45:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable testname [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/library/tests/test_pids.c:55:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable testname [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/library/tests/test_sysinfo.c:28:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable testname [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/library/tests/test_sysinfo.c:37:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable testname [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/library/tests/test_sysinfo.c:46:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable testname [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/library/tests/test_sysinfo.c:25:23: style: Parameter 'data' can be declared as pointer to const. However it seems that 'check_hertz' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] procps-ng-4.0.4/library/tests/test_sysinfo.c:53:5: note: You might need to cast the function pointer here procps-ng-4.0.4/library/tests/test_sysinfo.c:25:23: note: Parameter 'data' can be declared as pointer to const procps-ng-4.0.4/library/tests/test_uptime.c:29:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable testname [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/library/tests/test_uptime.c:40:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable testname [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/library/tests/test_uptime.c:49:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable testname [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/library/tests/test_uptime.c:57:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable testname [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/library/tests/test_uptime.c:65:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable testname [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/library/tests/test_uptime.c:75:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable testname [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/library/tests/test_uptime.c:62:31: style: Parameter 'data' can be declared as pointer to const. However it seems that 'check_uptime_sprint' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] procps-ng-4.0.4/library/tests/test_uptime.c:87:5: note: You might need to cast the function pointer here procps-ng-4.0.4/library/tests/test_uptime.c:62:31: note: Parameter 'data' can be declared as pointer to const procps-ng-4.0.4/library/tests/test_uptime.c:64:11: style: Variable 'str' can be declared as pointer to const [constVariablePointer] procps-ng-4.0.4/library/tests/test_uptime.c:72:37: style: Parameter 'data' can be declared as pointer to const. However it seems that 'check_uptime_sprint_short' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] procps-ng-4.0.4/library/tests/test_uptime.c:88:5: note: You might need to cast the function pointer here procps-ng-4.0.4/library/tests/test_uptime.c:72:37: note: Parameter 'data' can be declared as pointer to const procps-ng-4.0.4/library/tests/test_uptime.c:74:11: style: Variable 'str' can be declared as pointer to const [constVariablePointer] procps-ng-4.0.4/library/tests/test_version.c:29:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable testname [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/library/tests/test_version.c:35:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable testname [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/library/tests/test_version.c:27:31: style: Parameter 'data' can be declared as pointer to const. However it seems that 'check_linux_version' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] procps-ng-4.0.4/library/tests/test_version.c:63:5: note: You might need to cast the function pointer here procps-ng-4.0.4/library/tests/test_version.c:27:31: note: Parameter 'data' can be declared as pointer to const procps-ng-4.0.4/library/uptime.c:63:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USER_PROCESS [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/library/uptime.c:91:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/library/uptime.c:261:19: style: Redundant condition: !upminutes. 'upminutes || (!upminutes && uptime_secs<60)' is equivalent to 'upminutes || uptime_secs<60' [redundantCondition] procps-ng-4.0.4/library/uptime.c:54:18: style: Variable 'ut' can be declared as pointer to const [constVariablePointer] procps-ng-4.0.4/library/uptime.c:157:9: style: Variable 'pos' is assigned a value that is never used. [unreadVariable] procps-ng-4.0.4/library/uptime.c:262:13: style: Variable 'pos' is assigned a value that is never used. [unreadVariable] procps-ng-4.0.4/library/uptime.c:265:15: style: Variable 'comma' is assigned a value that is never used. [unreadVariable] procps-ng-4.0.4/library/version.c:60:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/library/vmstat.c:997:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable allocstall_dma [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/library/vmstat.c:1175:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/library/vmstat.c:1246:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vmstat_stack [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/library/vmstat.c:1311:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/library/vmstat.c:1341:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/library/vmstat.c:1352:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/library/vmstat.c:1386:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/library/vmstat.c:1423:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/library/vmstat.c:1475:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/library/vmstat.c:1499:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable item [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/library/vmstat.c:911:30: style: Parameter 'stack' can be declared as pointer to const [constParameterPointer] procps-ng-4.0.4/library/vmstat.c:941:27: style: Parameter 'items' can be declared as pointer to const [constParameterPointer] procps-ng-4.0.4/library/vmstat.c:1479:15: style: Variable 'str' can be declared as pointer to const [constVariablePointer] procps-ng-4.0.4/library/vmstat.c:1496:11: style: Variable 'str' can be declared as pointer to const [constVariablePointer] procps-ng-4.0.4/library/vmstat.c:1261:29: portability: '(void*)p_blob' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] procps-ng-4.0.4/library/vmstat.c:1263:29: portability: '(void*)p_vect' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] procps-ng-4.0.4/library/vmstat.c:1264:21: portability: 'v_head' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] procps-ng-4.0.4/library/vmstat.c:1270:16: portability: 'v_list' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] procps-ng-4.0.4/library/vmstat.c:1271:16: portability: 'v_head' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] procps-ng-4.0.4/library/wchan.c:38:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/local/c.h:116:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/local/c.h:133:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/local/fileutils.c:26:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/local/fileutils.c:37:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/local/procio.c:66:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/local/procio.c:186:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/local/procio.c:238:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/local/signals.c:259:21: warning: Either the condition '!copy' is redundant or there is possible null pointer dereference: p. [nullPointerRedundantCheck] procps-ng-4.0.4/local/signals.c:257:9: note: Assuming that condition '!copy' is not redundant procps-ng-4.0.4/local/signals.c:259:14: note: Assignment 'p=copy', assigned value is 0 procps-ng-4.0.4/local/signals.c:259:21: note: Null pointer dereference procps-ng-4.0.4/local/strutils.c:38:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/local/strutils.c:56:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/local/strutils.c:109:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/free.c:72:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USAGE_HEADER [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/free.c:113:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/free.c:188:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/free.c:261:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/free.c:474:4: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] procps-ng-4.0.4/src/free.c:112:14: style: Variable 'up' can be declared as const array [constVariable] procps-ng-4.0.4/src/kill.c:38:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USAGE_HEADER [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/kill.c:84:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/kill.c:163:9: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] procps-ng-4.0.4/src/pgrep.c:152:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/pgrep.c:232:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_FETCH_TASKS_ONLY [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/pgrep.c:329:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOCK_SH [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/pgrep.c:337:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_RDLCK [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/pgrep.c:353:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/pgrep.c:487:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/pgrep.c:526:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROCPS_NS_COUNT [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/pgrep.c:606:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_EXTENDED [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/pgrep.c:629:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _SC_ARG_MAX [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/pgrep.c:652:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/pgrep.c:701:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_FETCH_TASKS_ONLY [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/pgrep.c:901:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable program_invocation_short_name [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/pgrep.c:1139:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/pgrep.c:386:11: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] procps-ng-4.0.4/src/pgrep.c:403:11: portability: Non reentrant function 'getgrnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrnam_r'. [prohibitedgetgrnamCalled] procps-ng-4.0.4/src/pgrep.c:585:9: warning: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'signed long'. [invalidPrintfArgType_uint] procps-ng-4.0.4/src/pgrep.c:381:20: style: Variable 'pwd' can be declared as pointer to const [constVariablePointer] procps-ng-4.0.4/src/pgrep.c:398:19: style: Variable 'grp' can be declared as pointer to const [constVariablePointer] procps-ng-4.0.4/src/pgrep.c:683:11: style: Variable 'task_cmdline' can be declared as pointer to const [constVariablePointer] procps-ng-4.0.4/src/pgrep.c:680:21: style: Variable 'cmdline' is allocated memory that is never used. [unusedAllocatedMemory] procps-ng-4.0.4/src/pidof.c:72:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/pidof.c:171:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_FETCH_TASKS_ONLY [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/pidof.c:328:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/pidof.c:272:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] procps-ng-4.0.4/src/pidof.c:296:14: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] procps-ng-4.0.4/src/pidof.c:172:10: style: Variable 'p_cmd' can be declared as pointer to const [constVariablePointer] procps-ng-4.0.4/src/pmap.c:66:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/pmap.c:118:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USAGE_HEADER [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/pmap.c:171:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPC_PRIVATE [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/pmap.c:510:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/pmap.c:1006:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable program_invocation_short_name [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/pmap.c:1047:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable close_stdout [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/pmap.c:876:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] procps-ng-4.0.4/src/pmap.c:879:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] procps-ng-4.0.4/src/pmap.c:899:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] procps-ng-4.0.4/src/pmap.c:902:13: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] procps-ng-4.0.4/src/pmap.c:339:8: style: Condition '!ret' is always false [knownConditionTrueFalse] procps-ng-4.0.4/src/pmap.c:732:4: warning: %ld in format string (no. 2) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] procps-ng-4.0.4/src/pmap.c:789:5: error: Memory pointed to by 'buf' is freed twice. [doubleFree] procps-ng-4.0.4/src/pmap.c:785:9: note: Memory pointed to by 'buf' is freed twice. procps-ng-4.0.4/src/pmap.c:789:5: note: Memory pointed to by 'buf' is freed twice. procps-ng-4.0.4/src/pmap.c:770:21: warning:inconclusive: Either the condition 'optarg' is redundant or there is possible null pointer dereference: optarg. [nullPointerRedundantCheck] procps-ng-4.0.4/src/pmap.c:772:16: note: Assuming that condition 'optarg' is not redundant procps-ng-4.0.4/src/pmap.c:770:21: note: Null pointer dereference procps-ng-4.0.4/src/pmap.c:319:8: style: Variable 'ret' can be declared as pointer to const [constVariablePointer] procps-ng-4.0.4/src/pmap.c:319:14: style: Variable 'map_basename' can be declared as pointer to const [constVariablePointer] procps-ng-4.0.4/src/pmap.c:806:31: style: Parameter 'rc_filename' can be declared as pointer to const [constParameterPointer] procps-ng-4.0.4/src/pmap.c:813:8: style: Variable 'tail' can be declared as pointer to const [constVariablePointer] procps-ng-4.0.4/src/pmap.c:813:15: style: Variable 'token' can be declared as pointer to const [constVariablePointer] procps-ng-4.0.4/src/ps/display.c:56:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_BLOCK [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/display.c:281:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ull_int [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/display.c:305:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_SELECT_PID [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/display.c:367:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_SORT_ASCEND [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/display.c:418:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s_int [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/display.c:456:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s_int [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/display.c:480:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_FETCH_TASKS_ONLY [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/display.c:522:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/display.c:566:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_CMD [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/display.c:621:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable close_stdout [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/display.c:376:12: style: Redundant initialization for 'tmp_list'. The initialized value is overwritten before it is read. [redundantInitialization] procps-ng-4.0.4/src/ps/display.c:360:23: note: tmp_list is initialized procps-ng-4.0.4/src/ps/display.c:376:12: note: tmp_list is overwritten procps-ng-4.0.4/src/ps/global.c:310:9: error: syntax error [syntaxError] procps-ng-4.0.4/src/ps/help.c:95:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:169:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MB_CUR_MAX [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:235:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CODESET [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:268:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_noop [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:411:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_CMDLINE [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:439:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_CMD [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:462:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_CGNAME [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:470:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_CGROUP [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:480:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_CMD [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:500:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_TIME_ELAPSED [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:519:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_TIME_ELAPSED [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:529:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_TICS_ALL [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:544:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_TICS_ALL [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:560:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_TICS_ALL [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:571:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_ID_PGRP [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:575:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_ID_PPID [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:584:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_TIME_ALL [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:601:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_TIME_ALL [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:615:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_VM_SIZE [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:666:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_PRIORITY [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:673:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_PRIORITY [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:680:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_PRIORITY [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:687:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_PRIORITY [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:694:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_PRIORITY [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:701:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_PRIORITY [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:708:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_PRIORITY [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:717:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_NICE [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:723:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_OOM_ADJ [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:728:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_OOM_SCORE [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:742:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_SCHED_CLASS [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:766:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_SCHED_CLASS [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:772:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_SCHED_CLASS [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:797:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_WCHAN_NAME [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:809:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_TTY_NUMBER [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:815:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_TTY_NAME [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:830:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_STATE [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:861:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_STATE [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:868:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_FLAGS [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:891:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_ADDR_STACK_START [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:896:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_ADDR_CURR_ESP [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:901:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_ADDR_CURR_EIP [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:908:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_TICS_ALL [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:918:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_TICS_BEGAN [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:930:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_VM_SIZE [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:952:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_VSIZE_BYTES [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:961:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_VSIZE_BYTES [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:970:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_VSIZE_BYTES [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:979:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_VSIZE_BYTES [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:986:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_VM_DATA [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:992:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_VSIZE_BYTES [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:997:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_FLT_MIN [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:1004:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_FLT_MAJ [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:1011:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_RSS_RLIM [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:1023:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_PROCESSOR [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:1028:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_SMAP_PSS [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:1033:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_PROCESSOR_NODE [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:1038:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_VM_RSS [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:1045:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_VM_RSS [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:1058:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_TICS_BEGAN [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:1086:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_TICS_BEGAN [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:1105:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_TICS_BEGAN [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:1139:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_SIGPENDING [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:1145:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_SIGNALS [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:1149:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_SIGBLOCKED [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:1153:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_SIGIGNORE [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:1157:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_SIGCATCH [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:1162:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_SMAP_PRV_TOTAL [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:1175:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_ID_EGID [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:1179:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_ID_RGID [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:1183:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_ID_SGID [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:1187:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_ID_FGID [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:1192:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_ID_EUID [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:1196:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_ID_RUID [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:1200:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_ID_SUID [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:1204:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_ID_FUID [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:1208:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_ID_LOGIN [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:1247:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_ID_RUSER [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:1251:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_ID_EUSER [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:1255:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_ID_FUSER [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:1259:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_ID_SUSER [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:1263:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_ID_EGROUP [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:1267:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_ID_RGROUP [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:1271:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_ID_FGROUP [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:1275:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_ID_SGROUP [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:1283:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_IO_READ_BYTES [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:1287:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_IO_READ_CHARS [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:1291:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_IO_READ_OPS [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:1295:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_IO_WRITE_BYTES [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:1299:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_IO_WRITE_CBYTES [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:1303:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_IO_WRITE_CHARS [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:1307:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_IO_WRITE_OPS [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:1315:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_ID_TGID [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:1320:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_ID_PID [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:1325:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_NLWP [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:1330:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_ID_SESSION [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:1336:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_SUPGIDS [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:1344:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_SUPGROUPS [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:1351:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_ID_TPGID [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:1357:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_STATE [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:1365:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_EXE [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:1374:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_UTILIZATION [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:1385:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_UTILIZATION_C [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:1395:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_SD_UNIT [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:1400:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_SD_SESS [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:1405:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_SD_OUID [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:1410:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_SD_MACH [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:1415:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_SD_UUNIT [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:1420:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_SD_SEAT [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:1425:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_SD_SLICE [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:1438:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_NS_CGROUP [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:1439:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_NS_IPC [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:1440:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_NS_MNT [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:1441:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_NS_NET [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:1442:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_NS_PID [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:1443:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_NS_TIME [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:1444:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_NS_USER [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:1445:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_NS_UTS [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:1450:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_LXCNAME [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:1470:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_ID_TGID [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:1529:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_AUTOGRP_ID [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:1533:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_AUTOGRP_NICE [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:2314:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:2353:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/output.c:353:6: style: Condition '!*p' is always false [knownConditionTrueFalse] procps-ng-4.0.4/src/ps/output.c:1064:13: style: Checking if unsigned expression 'len' is less than zero. [unsignedLessThanZero] procps-ng-4.0.4/src/ps/output.c:1098:10: style: Checking if unsigned expression 'len' is less than zero. [unsignedLessThanZero] procps-ng-4.0.4/src/ps/output.c:2227:22: style: Checking if unsigned expression 'max_rightward' is less than zero. [unsignedLessThanZero] procps-ng-4.0.4/src/ps/output.c:2231:21: style: Checking if unsigned expression 'max_leftward' is less than zero. [unsignedLessThanZero] procps-ng-4.0.4/src/ps/output.c:235:12: style: Variable 'enc' can be declared as pointer to const [constVariablePointer] procps-ng-4.0.4/src/ps/output.c:2100:18: error: Uninitialized variables: &key.head, &key.pr, &key.sr, &key.width, &key.vendor, &key.flags [uninitvar] procps-ng-4.0.4/src/ps/output.c:2108:18: error: Uninitialized variable: &key.head [uninitvar] procps-ng-4.0.4/src/ps/output.c:488:8: style: Variable 'endp' is assigned a value that is never used. [unreadVariable] procps-ng-4.0.4/src/ps/output.c:1467:14: style: Variable 'selinux_enabled' is not assigned a value. [unassignedVariable] procps-ng-4.0.4/src/ps/output.c:2179:16: style: Variable 'amount' is assigned a value that is never used. [unreadVariable] procps-ng-4.0.4/src/ps/output.c:2183:16: style: Variable 'legit' is assigned a value that is never used. [unreadVariable] procps-ng-4.0.4/src/ps/output.c:2185:16: style: Variable 'tmpspace' is assigned a value that is never used. [unreadVariable] procps-ng-4.0.4/src/ps/parser.c:805:11: error: syntax error [syntaxError] procps-ng-4.0.4/src/ps/select.c:80:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u_int [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/select.c:102:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable u_int [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/select.c:159:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s_ch [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/signames.c:78:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSIG [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/signames.c:135:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/signames.c:132:93: style:inconclusive: Function 'print_signame' argument 3 names different: declaration 'len' definition 'len_in'. [funcArgNamesDifferent] procps-ng-4.0.4/src/ps/common.h:499:93: note: Function 'print_signame' argument 3 names different: declaration 'len' definition 'len_in'. procps-ng-4.0.4/src/ps/signames.c:132:93: note: Function 'print_signame' argument 3 names different: declaration 'len' definition 'len_in'. procps-ng-4.0.4/src/ps/signames.c:136:17: style: Variable 'n' is assigned a value that is never used. [unreadVariable] procps-ng-4.0.4/src/ps/signames.c:140:20: style: Variable 'test_val' is assigned a value that is never used. [unreadVariable] procps-ng-4.0.4/src/ps/signames.c:166:17: style: Variable 'len' is assigned a value that is never used. [unreadVariable] procps-ng-4.0.4/src/ps/sortformat.c:325:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_SORT_ASCEND [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/sortformat.c:461:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_SORT_ASCEND [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/sortformat.c:116:23: warning: Either the condition '!fnode' is redundant or there is possible null pointer dereference: endp. [nullPointerRedundantCheck] procps-ng-4.0.4/src/ps/sortformat.c:115:6: note: Assuming that condition '!fnode' is not redundant procps-ng-4.0.4/src/ps/sortformat.c:116:10: note: Assignment 'endp=fnode', assigned value is 0 procps-ng-4.0.4/src/ps/sortformat.c:116:23: note: Null pointer dereference procps-ng-4.0.4/src/ps/sortformat.c:264:23: warning: Either the condition '!walk' is redundant or there is possible null pointer dereference: walk. [nullPointerRedundantCheck] procps-ng-4.0.4/src/ps/sortformat.c:263:8: note: Assuming that condition '!walk' is not redundant procps-ng-4.0.4/src/ps/sortformat.c:264:23: note: Null pointer dereference procps-ng-4.0.4/src/ps/sortformat.c:313:3: style:inconclusive: Statements following 'return' will never be executed. [unreachableCode] procps-ng-4.0.4/src/ps/stacktrace.c:108:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FD_SETSIZE [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/stacktrace.c:161:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/ps/stacktrace.c:80:16: warning: Return value of function dup() is not used. [ignoredReturnValue] procps-ng-4.0.4/src/ps/stacktrace.c:81:16: warning: Return value of function dup() is not used. [ignoredReturnValue] procps-ng-4.0.4/src/ps/stacktrace.c:82:16: warning: Return value of function dup() is not used. [ignoredReturnValue] procps-ng-4.0.4/src/ps/stacktrace.c:176:9: style: Condition 'x' is always true [knownConditionTrueFalse] procps-ng-4.0.4/src/ps/stacktrace.c:175:7: note: Assignment 'x=1', assigned value is 1 procps-ng-4.0.4/src/ps/stacktrace.c:176:9: note: Condition 'x' is always true procps-ng-4.0.4/src/pwdx.c:40:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USAGE_HEADER [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/pwdx.c:58:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/pwdx.c:76:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable no_argument [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/pwdx.c:109:9: style: Variable 's' can be declared as pointer to const [constVariablePointer] procps-ng-4.0.4/src/skill.c:119:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/skill.c:163:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROCPS_NS_COUNT [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/skill.c:181:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/skill.c:208:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/skill.c:238:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/skill.c:286:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PIDS_FETCH_TASKS_ONLY [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/skill.c:315:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USAGE_HEADER [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/skill.c:428:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/skill.c:572:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable program_invocation_short_name [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/skill.c:484:31: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] procps-ng-4.0.4/src/skill.c:290:19: warning: Either the condition '(reap=procps_pids_reap(Pids_info,PIDS_FETCH_TASKS_ONLY))==NULL' is redundant or there is possible null pointer dereference: reap. [nullPointerRedundantCheck] procps-ng-4.0.4/src/skill.c:286:69: note: Assuming that condition '(reap=procps_pids_reap(Pids_info,PIDS_FETCH_TASKS_ONLY))==NULL' is not redundant procps-ng-4.0.4/src/skill.c:290:19: note: Null pointer dereference procps-ng-4.0.4/src/skill.c:134:63: style: Parameter 'list' can be declared as pointer to const [constParameterPointer] procps-ng-4.0.4/src/skill.c:200:50: style: Parameter 'run_time' can be declared as pointer to const [constParameterPointer] procps-ng-4.0.4/src/skill.c:483:32: style: Variable 'passwd_data' can be declared as pointer to const [constVariablePointer] procps-ng-4.0.4/src/skill.c:124:9: warning:inconclusive: Division of result of sizeof() on pointer type. [divideSizeof] procps-ng-4.0.4/src/skill.c:445:13: warning:inconclusive: Division of result of sizeof() on pointer type. [divideSizeof] procps-ng-4.0.4/src/skill.c:535:13: warning:inconclusive: Division of result of sizeof() on pointer type. [divideSizeof] procps-ng-4.0.4/src/slabtop.c:89:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TIOCGWINSZ [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/slabtop.c:105:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USAGE_HEADER [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/slabtop.c:133:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SLAB_NUM_OBJS [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/slabtop.c:189:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/slabtop.c:305:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/sysctl.c:188:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable next [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/sysctl.c:230:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USAGE_HEADER [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/sysctl.c:357:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRUSR [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/sysctl.c:562:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IWUSR [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/sysctl.c:647:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/sysctl.c:729:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_EXTENDED [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/sysctl.c:753:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLOB_NOCHECK [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/sysctl.c:937:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/sysctl.c:495:3: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] procps-ng-4.0.4/src/sysctl.c:496:3: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] procps-ng-4.0.4/src/sysctl.c:497:16: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] procps-ng-4.0.4/src/sysctl.c:830:16: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] procps-ng-4.0.4/src/sysctl.c:468:32: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] procps-ng-4.0.4/src/sysctl.c:825:18: style: Variable 'de' can be declared as pointer to const [constVariablePointer] procps-ng-4.0.4/src/sysctl.c:1060:28: style: Variable 's' can be declared as pointer to const [constVariablePointer] procps-ng-4.0.4/src/tests/test_fileutils.c:7:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable close_stdout [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/tests/test_fileutils.c:5:26: style: Parameter 'argv' can be declared as const array [constParameter] procps-ng-4.0.4/src/tests/test_process.c:34:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/tests/test_process.c:88:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/tests/test_process.c:41:39: style: Parameter 'siginfo' can be declared as pointer to const. However it seems that 'signal_handler' is a callback function, if 'siginfo' is declared with const you might also need to cast function pointer(s). [constParameterCallback] procps-ng-4.0.4/src/tests/test_process.c:100:34: note: You might need to cast the function pointer here procps-ng-4.0.4/src/tests/test_process.c:41:39: note: Parameter 'siginfo' can be declared as pointer to const procps-ng-4.0.4/src/tests/test_shm.c:31:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/tests/test_shm.c:48:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/tests/test_shm.c:63:55: style: A pointer can not be negative so it is either pointless or an error to check if it is. [pointerLessThanZero] procps-ng-4.0.4/src/tests/test_shm.c:40:11: style: Variable 'shm_addr' can be declared as pointer to const [constVariablePointer] procps-ng-4.0.4/src/tests/test_shm.c:63:20: style: Variable 'shm_addr' is assigned a value that is never used. [unreadVariable] procps-ng-4.0.4/src/tests/test_strtod_nol.c:44:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/tests/test_strtod_nol.c:39:12: style: Unused variable: val [unusedVariable] procps-ng-4.0.4/src/tload.c:68:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TIOCGWINSZ [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/tload.c:94:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USAGE_HEADER [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/tload.c:126:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/top/top.c:910:0: error: failed to expand 'PUTT', it is invalid to use a preprocessor directive as macro parameter [preprocessorErrorDirective] procps-ng-4.0.4/src/top/top_nls.c:859:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/uptime.c:64:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USAGE_HEADER [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/uptime.c:92:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/uptime.c:55:18: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] procps-ng-4.0.4/src/uptime.c:125:20: warning: Either the condition '!uptime_str' is redundant or there is possible null pointer dereference: uptime_str. [nullPointerRedundantCheck] procps-ng-4.0.4/src/uptime.c:122:9: note: Assuming that condition '!uptime_str' is not redundant procps-ng-4.0.4/src/uptime.c:125:20: note: Null pointer dereference procps-ng-4.0.4/src/uptime.c:41:16: style: Variable 'up_since' can be declared as pointer to const [constVariablePointer] procps-ng-4.0.4/src/uptime.c:79:11: style: Variable 'uptime_str' can be declared as pointer to const [constVariablePointer] procps-ng-4.0.4/src/vmstat.c:218:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USAGE_HEADER [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/vmstat.c:358:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _SC_PAGESIZE [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/vmstat.c:586:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DISKSTATS_TYPE [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/vmstat.c:705:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DISKSTATS_TYPE_DISK [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/vmstat.c:818:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DISKSTATS_TYPE_DISK [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/vmstat.c:931:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TIOCGWINSZ [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/vmstat.c:964:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/vmstat.c:317:18: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] procps-ng-4.0.4/src/vmstat.c:396:22: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] procps-ng-4.0.4/src/vmstat.c:476:22: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] procps-ng-4.0.4/src/vmstat.c:659:18: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] procps-ng-4.0.4/src/vmstat.c:697:22: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] procps-ng-4.0.4/src/vmstat.c:245:16: style: Variable 'tm_ptr' can be declared as pointer to const [constVariablePointer] procps-ng-4.0.4/src/vmstat.c:360:16: style: Variable 'tm_ptr' can be declared as pointer to const [constVariablePointer] procps-ng-4.0.4/src/vmstat.c:579:30: style: Variable 'got' can be declared as pointer to const [constVariablePointer] procps-ng-4.0.4/src/vmstat.c:608:16: style: Variable 'tm_ptr' can be declared as pointer to const [constVariablePointer] procps-ng-4.0.4/src/vmstat.c:681:16: style: Variable 'tm_ptr' can be declared as pointer to const [constVariablePointer] procps-ng-4.0.4/src/vmstat.c:385:17: style: Variable 'pgpgin[tog]' is assigned a value that is never used. [unreadVariable] procps-ng-4.0.4/src/vmstat.c:386:18: style: Variable 'pgpgout[tog]' is assigned a value that is never used. [unreadVariable] procps-ng-4.0.4/src/vmstat.c:387:17: style: Variable 'pswpin[tog]' is assigned a value that is never used. [unreadVariable] procps-ng-4.0.4/src/vmstat.c:388:18: style: Variable 'pswpout[tog]' is assigned a value that is never used. [unreadVariable] procps-ng-4.0.4/src/vmstat.c:586:15: style: Variable 'got' is assigned a value that is never used. [unreadVariable] procps-ng-4.0.4/src/w.c:114:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/w.c:165:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/w.c:229:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INET6_ADDRSTRLEN [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/w.c:438:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UT_NAMESIZE [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/w.c:521:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UT_NAMESIZE [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/w.c:654:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USAGE_HEADER [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/w.c:711:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/w.c:343:10: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] procps-ng-4.0.4/src/w.c:346:10: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] procps-ng-4.0.4/src/w.c:442:28: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] procps-ng-4.0.4/src/w.c:459:19: warning: Either the condition '(reap=procps_pids_reap(info,PIDS_FETCH_TASKS_ONLY))==NULL' is redundant or there is possible null pointer dereference: reap. [nullPointerRedundantCheck] procps-ng-4.0.4/src/w.c:456:64: note: Assuming that condition '(reap=procps_pids_reap(info,PIDS_FETCH_TASKS_ONLY))==NULL' is not redundant procps-ng-4.0.4/src/w.c:459:19: note: Null pointer dereference procps-ng-4.0.4/src/w.c:601:29: warning: Either the condition 'u' is redundant or there is possible null pointer dereference: u. [nullPointerRedundantCheck] procps-ng-4.0.4/src/w.c:606:13: note: Assuming that condition 'u' is not redundant procps-ng-4.0.4/src/w.c:601:29: note: Null pointer dereference procps-ng-4.0.4/src/w.c:339:13: style: Variable 'logtm' can be declared as pointer to const [constVariablePointer] procps-ng-4.0.4/src/w.c:339:21: style: Variable 'curtm' can be declared as pointer to const [constVariablePointer] procps-ng-4.0.4/src/w.c:369:11: style: Variable 'dev_paths' can be declared as const array [constVariable] procps-ng-4.0.4/src/w.c:439:24: style: Variable 'passwd_data' can be declared as pointer to const [constVariablePointer] procps-ng-4.0.4/src/w.c:675:8: style: Variable 'user' can be declared as pointer to const [constVariablePointer] procps-ng-4.0.4/src/w.c:675:22: style: Variable 'p' can be declared as pointer to const [constVariablePointer] procps-ng-4.0.4/src/w.c:682:8: style: Variable 'env_var' can be declared as pointer to const [constVariablePointer] procps-ng-4.0.4/src/w.c:525:21: style: Variable 'pids_length' is assigned a value that is never used. [unreadVariable] procps-ng-4.0.4/src/watch.c:92:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USAGE_HEADER [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/watch.c:128:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable A_NORMAL [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/watch.c:141:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COLORS [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/watch.c:219:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable A_BOLD [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/watch.c:401:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TIOCGWINSZ [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/watch.c:475:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _SC_HOST_NAME_MAX [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/watch.c:578:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/watch.c:835:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable no_argument [valueFlowBailoutIncompleteVar] procps-ng-4.0.4/src/watch.c:1035:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] procps-ng-4.0.4/src/watch.c:1038:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] procps-ng-4.0.4/src/watch.c:334:17: style: Redundant initialization for 'endptr'. The initialized value is overwritten before it is read. [redundantInitialization] procps-ng-4.0.4/src/watch.c:297:26: note: endptr is initialized procps-ng-4.0.4/src/watch.c:334:17: note: endptr is overwritten procps-ng-4.0.4/src/watch.c:304:5: style: Variable 'c' is reassigned a value before the old one has been used. [redundantAssignment] procps-ng-4.0.4/src/watch.c:303:5: note: c is assigned procps-ng-4.0.4/src/watch.c:304:5: note: c is overwritten procps-ng-4.0.4/src/watch.c:472:8: style: Variable 'ts' can be declared as pointer to const [constVariablePointer] procps-ng-4.0.4/src/watch.c:561:39: style: Parameter 'command' can be declared as pointer to const [constParameterPointer] procps-ng-4.0.4/src/watch.c:834:23: style: Variable 'longopts' can be declared as const array [constVariable] procps-ng-4.0.4/src/watch.c:477:22: style: Variable 'command_columns' is assigned a value that is never used. [unreadVariable] procps-ng-4.0.4/testsuite/ps.test/test-schedbatch.c:38:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIO_PROCESS [valueFlowBailoutIncompleteVar] diff: DONE