2025-05-09 22:37 ftp://ftp.de.debian.org/debian/pool/main/c/coreutils/coreutils_9.7.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --library=openssl --library=bsd --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j1 platform: Linux-6.8.0-59-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04) 14.2.0 cppcheck: head 2.17.0 head-info: b3c7f00 (2025-05-09 17:59:20 +0200) count: 2495 2355 elapsed-time: 93.4 91.3 head-timing-info: old-timing-info: head results: coreutils-9.7/gl/lib/buffer-lcm.c:46:13: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] coreutils-9.7/gl/lib/cl-strtod.c:65:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/gl/lib/dtimespec-bound.h:25:0: error: #error "Please include config.h first." [preprocessorErrorDirective] coreutils-9.7/gl/lib/dtimespec-bound.h:25:4: error: #error "Please include config.h first." [preprocessorErrorDirective] coreutils-9.7/gl/lib/fd-reopen.c:41:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/gl/lib/heap.h:34:7: error: There is an unknown macro here somewhere. Configuration is required. If heap_remove_top is a macro then please configure it. [unknownMacro] coreutils-9.7/gl/lib/randint.h:42:25: error: There is an unknown macro here somewhere. Configuration is required. If randint_get_source is a macro then please configure it. [unknownMacro] coreutils-9.7/gl/lib/randread.c:107:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable exit_failure [valueFlowBailoutIncompleteVar] coreutils-9.7/gl/lib/randread.c:140:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE_MAX [valueFlowBailoutIncompleteVar] coreutils-9.7/gl/lib/randread.c:206:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/gl/lib/randread.c:248:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/gl/lib/randread.c:120:3: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] coreutils-9.7/gl/lib/randread.c:119:39: note: Assuming allocation function fails coreutils-9.7/gl/lib/randread.c:119:39: note: Assignment 's=xmalloc(sizeof(*s))', assigned value is 0 coreutils-9.7/gl/lib/randread.c:120:3: note: Null pointer dereference coreutils-9.7/gl/lib/randread.c:121:3: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] coreutils-9.7/gl/lib/randread.c:119:39: note: Assuming allocation function fails coreutils-9.7/gl/lib/randread.c:119:39: note: Assignment 's=xmalloc(sizeof(*s))', assigned value is 0 coreutils-9.7/gl/lib/randread.c:121:3: note: Null pointer dereference coreutils-9.7/gl/lib/randread.c:122:3: warning: If memory allocation fails, then there is a possible null pointer dereference: s [nullPointerOutOfMemory] coreutils-9.7/gl/lib/randread.c:119:39: note: Assuming allocation function fails coreutils-9.7/gl/lib/randread.c:119:39: note: Assignment 's=xmalloc(sizeof(*s))', assigned value is 0 coreutils-9.7/gl/lib/randread.c:122:3: note: Null pointer dereference coreutils-9.7/gl/lib/randread.c:132:24: style: Variable 'buflim' can be declared as pointer to const [constVariablePointer] coreutils-9.7/gl/lib/root-dev-ino.h:25:1: error: There is an unknown macro here somewhere. Configuration is required. If get_root_dev_ino is a macro then please configure it. [unknownMacro] coreutils-9.7/gl/lib/targetdir.c:64:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AT_FDCWD [valueFlowBailoutIncompleteVar] coreutils-9.7/gl/lib/targetdir.c:47:9: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] coreutils-9.7/gl/lib/xdectoint.c:52:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LONGINT_INVALID [valueFlowBailoutIncompleteVar] coreutils-9.7/gl/lib/xdectoint.c:79:31: style: Checking if unsigned expression 'tnum' is less than zero. [unsignedLessThanZero] coreutils-9.7/gl/lib/xfts.c:35:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FTS_CWDFD [valueFlowBailoutIncompleteVar] coreutils-9.7/gl/lib/xfts.c:61:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FTS_PHYSICAL [valueFlowBailoutIncompleteVar] coreutils-9.7/gl/tests/test-fadvise.c:36:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] coreutils-9.7/gl/tests/test-rand-isaac.c:567:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISAAC_WORDS [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/w32sock.h:47:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/accept.c:36:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_SOCKET [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/bench.h:38:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RUSAGE_SELF [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/bench.h:53:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RUSAGE_SELF [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/bench-crc.c:32:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/bench-crc.c:28:23: style: Parameter 'argv' can be declared as const array [constParameter] coreutils-9.7/gnulib-tests/bench-digest.h:27:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/bench-digest.h:23:23: style: Parameter 'argv' can be declared as const array [constParameter] coreutils-9.7/gnulib-tests/bind.c:36:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_SOCKET [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/str-two-way.h:136:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE_MAX [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/str-two-way.h:302:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE_MAX [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/str-two-way.h:434:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE_MAX [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/c-strcasestr.c:41:27: style:inconclusive: Function 'c_strcasestr' argument 1 names different: declaration 'haystack' definition 'haystack_start'. [funcArgNamesDifferent] coreutils-9.7/gnulib-tests/c-strcasestr.h:28:40: note: Function 'c_strcasestr' argument 1 names different: declaration 'haystack' definition 'haystack_start'. coreutils-9.7/gnulib-tests/c-strcasestr.c:41:27: note: Function 'c_strcasestr' argument 1 names different: declaration 'haystack' definition 'haystack_start'. coreutils-9.7/gnulib-tests/c-strcasestr.c:41:55: style:inconclusive: Function 'c_strcasestr' argument 2 names different: declaration 'needle' definition 'needle_start'. [funcArgNamesDifferent] coreutils-9.7/gnulib-tests/c-strcasestr.h:28:62: note: Function 'c_strcasestr' argument 2 names different: declaration 'needle' definition 'needle_start'. coreutils-9.7/gnulib-tests/c-strcasestr.c:41:55: note: Function 'c_strcasestr' argument 2 names different: declaration 'needle' definition 'needle_start'. coreutils-9.7/gnulib-tests/concat-filename.h:22:0: error: #error "Please include config.h first." [preprocessorErrorDirective] coreutils-9.7/gnulib-tests/concat-filename.h:22:3: error: #error "Please include config.h first." [preprocessorErrorDirective] coreutils-9.7/gnulib-tests/connect.c:36:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_SOCKET [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/from-glibc/tst-stdc_bit_width.c:84:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdc_bit_width [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/from-glibc/tst-stdc_leading_zeros.c:84:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdc_leading_zeros [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/from-glibc/tst-stdc_trailing_zeros.c:84:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdc_trailing_zeros [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/getlocalename_l-unsafe.c:661:0: error: #error "Please port gnulib getlocalename_l-unsafe.c to your platform! Report this to bug-gnulib." [preprocessorErrorDirective] coreutils-9.7/gnulib-tests/getlocalename_l-unsafe.c:661:3: error: #error "Please port gnulib getlocalename_l-unsafe.c to your platform! Report this to bug-gnulib." [preprocessorErrorDirective] coreutils-9.7/gnulib-tests/getrusage.c:45:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RUSAGE_SELF [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/ioctl.c:68:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_HANDLE_VALUE [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/ioctl.c:62:43: style: Parameter 'arg' can be declared as pointer to const [constParameterPointer] coreutils-9.7/gnulib-tests/listen.c:36:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_SOCKET [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/locale.c:54:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/localename.h:22:0: error: #error "Please include config.h first." [preprocessorErrorDirective] coreutils-9.7/gnulib-tests/localename.h:22:3: error: #error "Please include config.h first." [preprocessorErrorDirective] coreutils-9.7/gnulib-tests/perror.c:35:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STACKBUF_LEN [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/pthread-rwlock.c:564:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EDEADLK [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/pthread-rwlock.c:573:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EDEADLK [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/pthread-rwlock.c:608:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EPERM [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/pthread-rwlock.c:620:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EBUSY [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/pthread-rwlock.c:47:62: style: Parameter 'attr' can be declared as pointer to const [constParameterPointer] coreutils-9.7/gnulib-tests/pthread-rwlock.c:617:43: style: Parameter 'lock' can be declared as pointer to const [constParameterPointer] coreutils-9.7/gnulib-tests/random.c:232:1: error: There is an unknown macro here somewhere. Configuration is required. If weak_alias is a macro then please configure it. [unknownMacro] coreutils-9.7/gnulib-tests/random_r.c:165:18: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] coreutils-9.7/gnulib-tests/setsockopt.c:40:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_SOCKET [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/sleep.c:72:0: error: #error "Please port gnulib sleep.c to your platform, possibly using usleep() or select(), then report this to bug-gnulib." [preprocessorErrorDirective] coreutils-9.7/gnulib-tests/sleep.c:72:3: error: #error "Please port gnulib sleep.c to your platform, possibly using usleep() or select(), then report this to bug-gnulib." [preprocessorErrorDirective] coreutils-9.7/gnulib-tests/socket.c:40:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCKETS_1_1 [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/strerror_r.c:132:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERANGE [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/strerror_r.c:146:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERANGE [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/strerror_r.c:318:13: style: Variable 'errmsg' can be declared as pointer to const [constVariablePointer] coreutils-9.7/gnulib-tests/test-accept.c:36:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCKETS_1_1 [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-accept.c:44:5: error: Invalid accept() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] coreutils-9.7/gnulib-tests/test-access.h:65:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-alignalloc.c:39:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-alignasof.c:83:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-alignof.c:27:23: style: struct member 'struct1::a' is never used. [unusedStructMember] coreutils-9.7/gnulib-tests/test-alignof.c:28:23: style: struct member 'struct2::a' is never used. [unusedStructMember] coreutils-9.7/gnulib-tests/test-alignof.c:29:23: style: struct member 'struct3::a' is never used. [unusedStructMember] coreutils-9.7/gnulib-tests/test-alignof.c:30:23: style: struct member 'struct4::a' is never used. [unusedStructMember] coreutils-9.7/gnulib-tests/test-areadlink.h:31:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-areadlinkat-with-size.c:57:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-areadlinkat.c:57:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-argmatch.c:71:1: error: There is an unknown macro here somewhere. Configuration is required. If ARGMATCH_DEFINE_GROUP is a macro then please configure it. [unknownMacro] coreutils-9.7/gnulib-tests/test-argv-iter.c:35:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-argv-iter.c:72:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-argv-iter.c:85:21: style: Variable 's' can be declared as pointer to const [constVariablePointer] coreutils-9.7/gnulib-tests/array-mergesort.h:110:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/array-mergesort.h:202:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable x [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-array-mergesort.c:322:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-array-mergesort.c:315:7: warning: If memory allocation fails, then there is a possible null pointer dereference: dst [nullPointerOutOfMemory] coreutils-9.7/gnulib-tests/test-array-mergesort.c:314:35: note: Assuming allocation function fails coreutils-9.7/gnulib-tests/test-array-mergesort.c:314:13: note: Assignment 'dst=(struct foo*)malloc((n+1)*sizeof(struct foo))', assigned value is 0 coreutils-9.7/gnulib-tests/test-array-mergesort.c:315:7: note: Null pointer dereference coreutils-9.7/gnulib-tests/test-array-mergesort.c:317:7: warning: If memory allocation fails, then there is a possible null pointer dereference: tmp [nullPointerOutOfMemory] coreutils-9.7/gnulib-tests/test-array-mergesort.c:316:35: note: Assuming allocation function fails coreutils-9.7/gnulib-tests/test-array-mergesort.c:316:13: note: Assignment 'tmp=(struct foo*)malloc((n/2+1)*sizeof(struct foo))', assigned value is 0 coreutils-9.7/gnulib-tests/test-array-mergesort.c:317:7: note: Null pointer dereference coreutils-9.7/gnulib-tests/test-array-mergesort.c:322:7: warning: If memory allocation fails, then there is a possible null pointer dereference: dst [nullPointerOutOfMemory] coreutils-9.7/gnulib-tests/test-array-mergesort.c:314:35: note: Assuming allocation function fails coreutils-9.7/gnulib-tests/test-array-mergesort.c:314:13: note: Assignment 'dst=(struct foo*)malloc((n+1)*sizeof(struct foo))', assigned value is 0 coreutils-9.7/gnulib-tests/test-array-mergesort.c:322:7: note: Null pointer dereference coreutils-9.7/gnulib-tests/test-assert.c:30:8: error: Syntax Error: AST broken, 'assert' doesn't have two operands. [internalAstError] coreutils-9.7/gnulib-tests/test-base32.c:42:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-base64.c:41:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-binary-io.c:38:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-binary-io.c:33:34: style: Parameter 'argv' can be declared as const array [constParameter] coreutils-9.7/gnulib-tests/test-bind.c:35:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCKETS_1_1 [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-bind.c:46:7: error: Invalid bind() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] coreutils-9.7/gnulib-tests/test-bitrotate.c:28:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-btoc32.c:38:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-btoc32.c:33:23: style: Parameter 'argv' can be declared as const array [constParameter] coreutils-9.7/gnulib-tests/test-btowc.c:37:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-btowc.c:0:0: debug: ValueFlow maximum iterations exceeded [valueFlowMaxIterations] coreutils-9.7/gnulib-tests/test-btowc.c:32:23: style: Parameter 'argv' can be declared as const array [constParameter] coreutils-9.7/gnulib-tests/test-byteswap.c:30:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-byteswap.c:43:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-byteswap.c:61:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-c-ctype.c:39:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-c-ctype.c:67:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-c-ctype.c:222:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-c-ctype.c:65:16: style: Condition '0<=c' is always true [knownConditionTrueFalse] coreutils-9.7/gnulib-tests/test-c-strcasecmp.c:35:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-c-strcasestr.c:34:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-c-strncasecmp.c:35:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-c-strtod-mt.c:133:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-strtod.h:27:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-c-strtod.c:37:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable c_strtod [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-c-strtod1.c:33:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-c-strtold-mt.c:133:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-strtold.h:27:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-c-strtold.c:37:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable c_strtold [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-c-strtold1.c:33:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-c32_apply_type_test.c:34:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-c32_get_type_test.c:34:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-c32isalnum.c:42:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-c32isalnum.c:54:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-c32isalnum.c:48:23: style: Parameter 'argv' can be declared as const array [constParameter] coreutils-9.7/gnulib-tests/test-c32isalpha.c:42:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-c32isalpha.c:54:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-c32isalpha.c:48:23: style: Parameter 'argv' can be declared as const array [constParameter] coreutils-9.7/gnulib-tests/test-c32isblank.c:42:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-c32isblank.c:54:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-c32isblank.c:48:23: style: Parameter 'argv' can be declared as const array [constParameter] coreutils-9.7/gnulib-tests/test-c32iscntrl.c:42:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-c32iscntrl.c:54:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-c32iscntrl.c:48:23: style: Parameter 'argv' can be declared as const array [constParameter] coreutils-9.7/gnulib-tests/test-c32isdigit.c:42:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-c32isdigit.c:54:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-c32isdigit.c:48:23: style: Parameter 'argv' can be declared as const array [constParameter] coreutils-9.7/gnulib-tests/test-c32isgraph.c:42:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-c32isgraph.c:54:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-c32isgraph.c:48:23: style: Parameter 'argv' can be declared as const array [constParameter] coreutils-9.7/gnulib-tests/test-c32islower.c:42:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-c32islower.c:54:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-c32islower.c:48:23: style: Parameter 'argv' can be declared as const array [constParameter] coreutils-9.7/gnulib-tests/test-c32isprint.c:42:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-c32isprint.c:54:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-c32isprint.c:48:23: style: Parameter 'argv' can be declared as const array [constParameter] coreutils-9.7/gnulib-tests/test-c32ispunct.c:42:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-c32ispunct.c:54:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-c32ispunct.c:48:23: style: Parameter 'argv' can be declared as const array [constParameter] coreutils-9.7/gnulib-tests/test-c32isspace.c:42:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-c32isspace.c:54:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-c32isspace.c:48:23: style: Parameter 'argv' can be declared as const array [constParameter] coreutils-9.7/gnulib-tests/test-c32isupper.c:42:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-c32isupper.c:54:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-c32isupper.c:48:23: style: Parameter 'argv' can be declared as const array [constParameter] coreutils-9.7/gnulib-tests/test-c32isxdigit.c:42:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-c32isxdigit.c:54:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-c32isxdigit.c:48:23: style: Parameter 'argv' can be declared as const array [constParameter] coreutils-9.7/gnulib-tests/test-c32rtomb-w32.c:347:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-c32rtomb.c:45:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-c32rtomb.c:63:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-c32rtomb.c:47:28: error: Null pointer dereference [nullPointer] coreutils-9.7/gnulib-tests/test-c32rtomb.c:52:29: error: Null pointer dereference [nullPointer] coreutils-9.7/gnulib-tests/test-c32rtomb.c:69:29: error: Null pointer dereference [nullPointer] coreutils-9.7/gnulib-tests/test-c32rtomb.c:103:44: error: Null pointer dereference [nullPointer] coreutils-9.7/gnulib-tests/test-c32rtomb.c:112:33: error: Null pointer dereference [nullPointer] coreutils-9.7/gnulib-tests/test-c32rtomb.c:114:41: error: Null pointer dereference [nullPointer] coreutils-9.7/gnulib-tests/test-c32rtomb.c:57:23: style: Parameter 'argv' can be declared as const array [constParameter] coreutils-9.7/gnulib-tests/test-c32tolower.c:52:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-c32tolower.c:79:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-c32tolower.c:72:23: style: Parameter 'argv' can be declared as const array [constParameter] coreutils-9.7/gnulib-tests/test-c32width.c:47:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-calloc-gnu.c:39:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-calloc-gnu.c:48:15: style: Variable 'p' can be declared as pointer to const [constVariablePointer] coreutils-9.7/gnulib-tests/test-calloc-posix.c:44:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-calloc-posix.c:42:13: style: Variable 'p' can be declared as pointer to const [constVariablePointer] coreutils-9.7/gnulib-tests/test-canonicalize.c:55:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-canonicalize.c:67:11: style: Variable 'result0' can be declared as pointer to const [constVariablePointer] coreutils-9.7/gnulib-tests/test-canonicalize.c:70:15: style: Variable 'result' can be declared as pointer to const [constVariablePointer] coreutils-9.7/gnulib-tests/test-canonicalize.c:153:11: style: Variable 'result1' can be declared as pointer to const [constVariablePointer] coreutils-9.7/gnulib-tests/test-canonicalize.c:154:11: style: Variable 'result2' can be declared as pointer to const [constVariablePointer] coreutils-9.7/gnulib-tests/test-canonicalize.c:167:11: style: Variable 'result1' can be declared as pointer to const [constVariablePointer] coreutils-9.7/gnulib-tests/test-canonicalize.c:168:11: style: Variable 'result2' can be declared as pointer to const [constVariablePointer] coreutils-9.7/gnulib-tests/test-canonicalize.c:249:11: style: Variable 'result1' can be declared as pointer to const [constVariablePointer] coreutils-9.7/gnulib-tests/test-canonicalize.c:250:11: style: Variable 'result2' can be declared as pointer to const [constVariablePointer] coreutils-9.7/gnulib-tests/test-canonicalize.c:291:11: style: Variable 'result1' can be declared as pointer to const [constVariablePointer] coreutils-9.7/gnulib-tests/test-canonicalize.c:292:11: style: Variable 'result2' can be declared as pointer to const [constVariablePointer] coreutils-9.7/gnulib-tests/test-canonicalize.c:305:11: style: Variable 'result1' can be declared as pointer to const [constVariablePointer] coreutils-9.7/gnulib-tests/test-canonicalize.c:306:11: style: Variable 'result2' can be declared as pointer to const [constVariablePointer] coreutils-9.7/gnulib-tests/test-canonicalize.c:359:11: style: Variable 'result1' can be declared as pointer to const [constVariablePointer] coreutils-9.7/gnulib-tests/test-canonicalize.c:422:11: style: Variable 'result1' can be declared as pointer to const [constVariablePointer] coreutils-9.7/gnulib-tests/test-canonicalize.c:423:11: style: Variable 'result2' can be declared as pointer to const [constVariablePointer] coreutils-9.7/gnulib-tests/test-chdir.c:30:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-chmod.c:40:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-cloexec.c:57:0: error: #error Please port fcntl to your platform [preprocessorErrorDirective] coreutils-9.7/gnulib-tests/test-cloexec.c:57:4: error: #error Please port fcntl to your platform [preprocessorErrorDirective] coreutils-9.7/gnulib-tests/test-close.c:34:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-close.c:35:5: error: Invalid close() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] coreutils-9.7/gnulib-tests/test-closein.c:37:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable close_stdin [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-connect.c:35:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCKETS_1_1 [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-connect.c:46:7: error: Invalid connect() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] coreutils-9.7/gnulib-tests/test-copy-acl.c:42:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-copy-acl.c:33:23: style: Parameter 'argv' can be declared as const array [constParameter] coreutils-9.7/gnulib-tests/test-crc.c:109:4: portability: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] coreutils-9.7/gnulib-tests/test-crc.c:109:4: portability: %lu in format string (no. 2) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] coreutils-9.7/gnulib-tests/test-crc.c:122:4: portability: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] coreutils-9.7/gnulib-tests/test-crc.c:122:4: portability: %lu in format string (no. 2) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] coreutils-9.7/gnulib-tests/test-crc.c:137:6: portability: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] coreutils-9.7/gnulib-tests/test-crc.c:137:6: portability: %lu in format string (no. 2) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] coreutils-9.7/gnulib-tests/test-creat.c:42:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-creat.c:43:3: error: Return value of allocation function 'creat' is not stored. [leakReturnValNotUsed] coreutils-9.7/gnulib-tests/test-di-set.c:29:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-dirfd.c:43:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-dirfd.c:42:19: warning: If resource allocation fails, then there is a possible null pointer dereference: d [nullPointerOutOfResources] coreutils-9.7/gnulib-tests/test-dirfd.c:41:20: note: Assuming allocation function fails coreutils-9.7/gnulib-tests/test-dirfd.c:41:20: note: Assignment 'd=opendir(".")', assigned value is 0 coreutils-9.7/gnulib-tests/test-dirfd.c:42:19: note: Null pointer dereference coreutils-9.7/gnulib-tests/test-dirfd.c:41:8: style: Variable 'd' can be declared as pointer to const [constVariablePointer] coreutils-9.7/gnulib-tests/test-dirname.c:140:13: style: Variable 'last' can be declared as pointer to const [constVariablePointer] coreutils-9.7/gnulib-tests/test-dup-safer.c:73:0: error: #error Please port fcntl to your platform [preprocessorErrorDirective] coreutils-9.7/gnulib-tests/test-dup-safer.c:73:4: error: #error Please port fcntl to your platform [preprocessorErrorDirective] coreutils-9.7/gnulib-tests/test-dup.c:34:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-dup.c:35:5: error: Invalid dup() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] coreutils-9.7/gnulib-tests/test-dup2.c:70:0: error: #error Please port fcntl to your platform [preprocessorErrorDirective] coreutils-9.7/gnulib-tests/test-dup2.c:70:4: error: #error Please port fcntl to your platform [preprocessorErrorDirective] coreutils-9.7/gnulib-tests/test-dynarray.c:47:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-endian.c:56:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-endian.c:113:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-endian.c:185:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-environ.c:33:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable environ [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-errno-h.c:147:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-error.c:40:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-exclude.c:113:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable add_exclude [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/vma-iter.h:23:0: error: #error "Please include config.h first." [preprocessorErrorDirective] coreutils-9.7/gnulib-tests/vma-iter.h:23:3: error: #error "Please include config.h first." [preprocessorErrorDirective] coreutils-9.7/gnulib-tests/test-faccessat.c:36:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-fadvise.c:36:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-fchdir.c:42:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-fchmodat.c:38:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-fclose.c:45:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-fclose.c:92:25: error: Invalid fdopen() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] coreutils-9.7/gnulib-tests/test-fcntl-h.c:53:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-open.h:52:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-fcntl.c:73:0: error: #error Please port fcntl to your platform [preprocessorErrorDirective] coreutils-9.7/gnulib-tests/test-fcntl.c:73:4: error: #error Please port fcntl to your platform [preprocessorErrorDirective] coreutils-9.7/gnulib-tests/test-fdatasync.c:40:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-fdatasync.c:50:5: error: Invalid fdatasync() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] coreutils-9.7/gnulib-tests/test-fdopen.c:45:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-fdopen.c:46:13: error: Return value of allocation function 'fdopen' is not stored. [leakReturnValNotUsed] coreutils-9.7/gnulib-tests/test-fdopendir.c:39:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-fdopendir.c:50:5: error: Invalid fdopendir() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] coreutils-9.7/gnulib-tests/test-fdopendir.c:42:3: error: Return value of allocation function 'fdopendir' is not stored. [leakReturnValNotUsed] coreutils-9.7/gnulib-tests/test-fdopendir.c:50:5: error: Return value of allocation function 'fdopendir' is not stored. [leakReturnValNotUsed] coreutils-9.7/gnulib-tests/test-fdopendir.c:56:5: error: Return value of allocation function 'fdopendir' is not stored. [leakReturnValNotUsed] coreutils-9.7/gnulib-tests/test-fflush.c:45:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-fflush.c:167:25: error: Invalid fdopen() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] coreutils-9.7/gnulib-tests/test-fflush2.c:31:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_BINARY [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-fflush2.c:53:9: portability: fflush() called on input stream 'stdin' may result in undefined behaviour on non-linux systems. [fflushOnInputStream] coreutils-9.7/gnulib-tests/test-fflush2.c:88:9: portability: fflush() called on input stream 'stdin' may result in undefined behaviour on non-linux systems. [fflushOnInputStream] coreutils-9.7/gnulib-tests/test-fgetc.c:49:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-fgetc.c:73:25: error: Invalid fdopen() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] coreutils-9.7/gnulib-tests/test-file-has-acl.c:39:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-file-has-acl.c:34:23: style: Parameter 'argv' can be declared as const array [constParameter] coreutils-9.7/gnulib-tests/test-filemode.c:74:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-filenamecat.c:63:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-filevercmp.c:153:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-filevercmp.c:172:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-float-h.c:517:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-fnmatch-w32.c:409:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-fnmatch.c:40:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-fnmatch.c:716:22: style: Condition 'iswpunct(0x1D100)' is always false [knownConditionTrueFalse] coreutils-9.7/gnulib-tests/test-fnmatch.c:37:23: style: Parameter 'argv' can be declared as const array [constParameter] coreutils-9.7/gnulib-tests/test-fopen-gnu.c:49:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-fopen.h:41:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-fopen-safer.c:31:11: style: Condition 'result' is always false [knownConditionTrueFalse] coreutils-9.7/gnulib-tests/test-fopen-safer.c:30:27: note: Calling function 'test_fopen' returns 0 coreutils-9.7/gnulib-tests/test-fopen-safer.c:30:27: note: Assignment 'result=test_fopen()', assigned value is 0 coreutils-9.7/gnulib-tests/test-fopen-safer.c:31:11: note: Condition 'result' is always false coreutils-9.7/gnulib-tests/test-fopen.h:42:3: error: Return value of allocation function 'fopen' is not stored. [leakReturnValNotUsed] coreutils-9.7/gnulib-tests/test-fopen.h:52:3: error: Return value of allocation function 'fopen' is not stored. [leakReturnValNotUsed] coreutils-9.7/gnulib-tests/test-fopen.h:56:3: error: Return value of allocation function 'fopen' is not stored. [leakReturnValNotUsed] coreutils-9.7/gnulib-tests/test-fopen.h:61:3: error: Return value of allocation function 'fopen' is not stored. [leakReturnValNotUsed] coreutils-9.7/gnulib-tests/test-fopen.h:67:3: error: Return value of allocation function 'fopen' is not stored. [leakReturnValNotUsed] coreutils-9.7/gnulib-tests/test-fopen.h:71:3: error: Return value of allocation function 'fopen' is not stored. [leakReturnValNotUsed] coreutils-9.7/gnulib-tests/test-fopen.h:75:3: error: Return value of allocation function 'fopen' is not stored. [leakReturnValNotUsed] coreutils-9.7/gnulib-tests/test-fopen.h:79:3: error: Return value of allocation function 'fopen' is not stored. [leakReturnValNotUsed] coreutils-9.7/gnulib-tests/test-fopen.c:34:11: style: Condition 'result' is always false [knownConditionTrueFalse] coreutils-9.7/gnulib-tests/test-fopen.c:33:27: note: Calling function 'test_fopen' returns 0 coreutils-9.7/gnulib-tests/test-fopen.c:33:27: note: Assignment 'result=test_fopen()', assigned value is 0 coreutils-9.7/gnulib-tests/test-fopen.c:34:11: note: Condition 'result' is always false coreutils-9.7/gnulib-tests/test-fpending.c:32:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-fpurge.c:65:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-fputc.c:51:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-fputc.c:65:25: error: Invalid fdopen() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] coreutils-9.7/gnulib-tests/test-fread.c:49:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-fread.c:74:25: error: Invalid fdopen() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] coreutils-9.7/gnulib-tests/test-freadahead.c:35:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-freadahead.c:35:7: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] coreutils-9.7/gnulib-tests/test-freadahead.c:34:26: note: Assuming allocation function fails coreutils-9.7/gnulib-tests/test-freadahead.c:34:26: note: Assignment 'buf=malloc(nbytes)', assigned value is 0 coreutils-9.7/gnulib-tests/test-freadahead.c:35:7: note: Null pointer dereference coreutils-9.7/gnulib-tests/test-freading.c:39:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-freadptr.c:35:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-freadptr.c:35:5: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] coreutils-9.7/gnulib-tests/test-freadptr.c:34:24: note: Assuming allocation function fails coreutils-9.7/gnulib-tests/test-freadptr.c:34:24: note: Assignment 'buf=malloc(nbytes)', assigned value is 0 coreutils-9.7/gnulib-tests/test-freadptr.c:35:5: note: Null pointer dereference coreutils-9.7/gnulib-tests/test-freadptr2.c:45:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-freadptr2.c:45:7: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] coreutils-9.7/gnulib-tests/test-freadptr2.c:44:26: note: Assuming allocation function fails coreutils-9.7/gnulib-tests/test-freadptr2.c:44:26: note: Assignment 'buf=malloc(nbytes)', assigned value is 0 coreutils-9.7/gnulib-tests/test-freadptr2.c:45:7: note: Null pointer dereference coreutils-9.7/gnulib-tests/test-freadseek.c:49:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-freadseek.c:49:3: warning: If memory allocation fails, then there is a possible null pointer dereference: buf1 [nullPointerOutOfMemory] coreutils-9.7/gnulib-tests/test-freadseek.c:42:23: note: Assuming allocation function fails coreutils-9.7/gnulib-tests/test-freadseek.c:42:23: note: Assignment 'buf1=malloc(nbytes1)', assigned value is 0 coreutils-9.7/gnulib-tests/test-freadseek.c:49:3: note: Null pointer dereference coreutils-9.7/gnulib-tests/test-free.c:49:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-freopen-safer.c:60:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-freopen-safer.c:57:3: error: Return value of allocation function 'freopen' is not stored. [leakReturnValNotUsed] coreutils-9.7/gnulib-tests/test-freopen-safer.c:78:3: error: Return value of allocation function 'freopen' is not stored. [leakReturnValNotUsed] coreutils-9.7/gnulib-tests/test-freopen-safer.c:87:3: error: Return value of allocation function 'freopen' is not stored. [leakReturnValNotUsed] coreutils-9.7/gnulib-tests/test-freopen-safer.c:93:3: error: Return value of allocation function 'freopen' is not stored. [leakReturnValNotUsed] coreutils-9.7/gnulib-tests/test-freopen.c:37:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-frexp.h:38:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-frexp.h:52:11: style: Using NaN/Inf in a computation. [nanInArithmeticExpression] coreutils-9.7/gnulib-tests/test-frexpl.c:71:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DECL_LONG_DOUBLE_ROUNDING [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-fseek.c:41:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-fseeko.c:43:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-fseeko3.c:33:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-fseeko4.c:35:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-fseeko4.c:52:25: error: Invalid fdopen() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] coreutils-9.7/gnulib-tests/test-fseterr.c:30:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-fstat.c:36:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-fstat.c:37:5: error: Invalid fstat() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] coreutils-9.7/gnulib-tests/test-lstat.h:32:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-stat.h:32:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-fstatat.c:69:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AT_SYMLINK_NOFOLLOW [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-fstatat.c:85:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-fstatat.c:86:5: error: Invalid fstatat() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] coreutils-9.7/gnulib-tests/test-fsync.c:40:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-fsync.c:50:5: error: Invalid fsync() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] coreutils-9.7/gnulib-tests/test-ftell.c:43:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-ftell3.c:52:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-ftello.c:43:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-ftello3.c:52:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-ftello4.c:35:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-ftello4.c:49:25: error: Invalid fdopen() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] coreutils-9.7/gnulib-tests/test-ftruncate.c:36:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-ftruncate.c:30:34: style: Parameter 'argv' can be declared as const array [constParameter] coreutils-9.7/gnulib-tests/test-fwrite.c:52:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-fwrite.c:66:25: error: Invalid fdopen() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] coreutils-9.7/gnulib-tests/test-getaddrinfo.c:66:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-getaddrinfo.c:204:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCKETS_1_1 [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-getaddrinfo.c:109:7: error: Memory leak: ai0 [memleak] coreutils-9.7/gnulib-tests/test-getaddrinfo.c:69:20: style: Variable 'hints_p' can be declared as pointer to const [constVariablePointer] coreutils-9.7/gnulib-tests/test-getaddrinfo.c:151:27: style: Variable 'sock_addr' can be declared as pointer to const [constVariablePointer] coreutils-9.7/gnulib-tests/test-getcwd-lgpl.c:44:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-getcwd.c:77:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRWXU [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-getcwd.c:59:7: style: Condition '!bug_possible' is always true [knownConditionTrueFalse] coreutils-9.7/gnulib-tests/test-getcwd.c:57:22: note: Assignment 'bug_possible=0', assigned value is 0 coreutils-9.7/gnulib-tests/test-getcwd.c:59:7: note: Condition '!bug_possible' is always true coreutils-9.7/gnulib-tests/test-getcwd.c:265:47: style: Condition 'err2==77' is always false [knownConditionTrueFalse] coreutils-9.7/gnulib-tests/test-getcwd.c:264:29: note: Calling function 'test_long_name' returns 0 coreutils-9.7/gnulib-tests/test-getcwd.c:264:29: note: Assignment 'err2=test_long_name()', assigned value is 0 coreutils-9.7/gnulib-tests/test-getcwd.c:265:47: note: Condition 'err2==77' is always false coreutils-9.7/gnulib-tests/test-getcwd.c:265:57: style: Same value in both branches of ternary operator. [duplicateValueTernary] coreutils-9.7/gnulib-tests/test-getdelim.c:43:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-getdtablesize.c:36:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-getgroups.c:48:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-gethostname.c:40:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HOST_NAME_MAX [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-getline.c:43:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-getloadavg.c:63:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-getlogin.h:38:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOENT [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-getlogin.c:33:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-getlogin.h:106:11: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] coreutils-9.7/gnulib-tests/test-getlogin.c:32:15: portability: Non reentrant function 'getlogin' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getlogin_r'. [prohibitedgetloginCalled] coreutils-9.7/gnulib-tests/test-getlogin.c:46:9: portability: Non reentrant function 'getlogin' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getlogin_r'. [prohibitedgetloginCalled] coreutils-9.7/gnulib-tests/test-getlogin.c:32:9: style: Variable 'buf' can be declared as pointer to const [constVariablePointer] coreutils-9.7/gnulib-tests/test-getlogin.h:94:20: style: Variable 'pwd' can be declared as pointer to const [constVariablePointer] coreutils-9.7/gnulib-tests/test-getndelim2.c:41:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-getopt.h:40:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-getopt.h:115:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optind [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-getopt_long.h:55:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable opterr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-getopt_long.h:126:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optind [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-getopt_long.h:1845:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optind [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-getopt_long.h:1952:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optind [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-getopt-main.h:51:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-getopt_long.h:1586:9: warning: Opposite inner 'if' condition leads to a dead code block. [oppositeInnerCondition] coreutils-9.7/gnulib-tests/test-getopt_long.h:1583:29: note: outer condition: non_options_count==2 coreutils-9.7/gnulib-tests/test-getopt_long.h:1586:9: note: opposite inner condition: !(non_options_count==2) coreutils-9.7/gnulib-tests/test-getopt_long.h:108:56: warning: Possible null pointer dereference: longopts [nullPointer] coreutils-9.7/gnulib-tests/test-getopt_long.h:331:43: note: Calling function 'do_getopt_long', 4th argument 'NULL' value is 0 coreutils-9.7/gnulib-tests/test-getopt_long.h:108:56: note: Null pointer dereference coreutils-9.7/gnulib-tests/test-getopt.h:93:11: style: Redundant initialization for 'posixly'. The initialized value is overwritten before it is read. [redundantInitialization] coreutils-9.7/gnulib-tests/test-getopt.h:85:16: note: posixly is initialized coreutils-9.7/gnulib-tests/test-getopt.h:93:11: note: posixly is overwritten coreutils-9.7/gnulib-tests/test-getopt.h:99:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] coreutils-9.7/gnulib-tests/test-getopt_long.h:19:12: note: Shadowed declaration coreutils-9.7/gnulib-tests/test-getopt.h:99:11: note: Shadow variable coreutils-9.7/gnulib-tests/test-getopt.h:100:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] coreutils-9.7/gnulib-tests/test-getopt_long.h:20:12: note: Shadowed declaration coreutils-9.7/gnulib-tests/test-getopt.h:100:11: note: Shadow variable coreutils-9.7/gnulib-tests/test-getopt.h:131:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] coreutils-9.7/gnulib-tests/test-getopt_long.h:19:12: note: Shadowed declaration coreutils-9.7/gnulib-tests/test-getopt.h:131:11: note: Shadow variable coreutils-9.7/gnulib-tests/test-getopt.h:132:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] coreutils-9.7/gnulib-tests/test-getopt_long.h:20:12: note: Shadowed declaration coreutils-9.7/gnulib-tests/test-getopt.h:132:11: note: Shadow variable coreutils-9.7/gnulib-tests/test-getopt.h:164:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] coreutils-9.7/gnulib-tests/test-getopt_long.h:19:12: note: Shadowed declaration coreutils-9.7/gnulib-tests/test-getopt.h:164:11: note: Shadow variable coreutils-9.7/gnulib-tests/test-getopt.h:165:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] coreutils-9.7/gnulib-tests/test-getopt_long.h:20:12: note: Shadowed declaration coreutils-9.7/gnulib-tests/test-getopt.h:165:11: note: Shadow variable coreutils-9.7/gnulib-tests/test-getopt.h:196:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] coreutils-9.7/gnulib-tests/test-getopt_long.h:19:12: note: Shadowed declaration coreutils-9.7/gnulib-tests/test-getopt.h:196:11: note: Shadow variable coreutils-9.7/gnulib-tests/test-getopt.h:197:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] coreutils-9.7/gnulib-tests/test-getopt_long.h:20:12: note: Shadowed declaration coreutils-9.7/gnulib-tests/test-getopt.h:197:11: note: Shadow variable coreutils-9.7/gnulib-tests/test-getopt.h:231:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] coreutils-9.7/gnulib-tests/test-getopt_long.h:19:12: note: Shadowed declaration coreutils-9.7/gnulib-tests/test-getopt.h:231:11: note: Shadow variable coreutils-9.7/gnulib-tests/test-getopt.h:232:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] coreutils-9.7/gnulib-tests/test-getopt_long.h:20:12: note: Shadowed declaration coreutils-9.7/gnulib-tests/test-getopt.h:232:11: note: Shadow variable coreutils-9.7/gnulib-tests/test-getopt.h:262:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] coreutils-9.7/gnulib-tests/test-getopt_long.h:19:12: note: Shadowed declaration coreutils-9.7/gnulib-tests/test-getopt.h:262:11: note: Shadow variable coreutils-9.7/gnulib-tests/test-getopt.h:263:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] coreutils-9.7/gnulib-tests/test-getopt_long.h:20:12: note: Shadowed declaration coreutils-9.7/gnulib-tests/test-getopt.h:263:11: note: Shadow variable coreutils-9.7/gnulib-tests/test-getopt.h:294:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] coreutils-9.7/gnulib-tests/test-getopt_long.h:19:12: note: Shadowed declaration coreutils-9.7/gnulib-tests/test-getopt.h:294:11: note: Shadow variable coreutils-9.7/gnulib-tests/test-getopt.h:295:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] coreutils-9.7/gnulib-tests/test-getopt_long.h:20:12: note: Shadowed declaration coreutils-9.7/gnulib-tests/test-getopt.h:295:11: note: Shadow variable coreutils-9.7/gnulib-tests/test-getopt.h:430:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] coreutils-9.7/gnulib-tests/test-getopt_long.h:19:12: note: Shadowed declaration coreutils-9.7/gnulib-tests/test-getopt.h:430:11: note: Shadow variable coreutils-9.7/gnulib-tests/test-getopt.h:431:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] coreutils-9.7/gnulib-tests/test-getopt_long.h:20:12: note: Shadowed declaration coreutils-9.7/gnulib-tests/test-getopt.h:431:11: note: Shadow variable coreutils-9.7/gnulib-tests/test-getopt.h:464:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] coreutils-9.7/gnulib-tests/test-getopt_long.h:19:12: note: Shadowed declaration coreutils-9.7/gnulib-tests/test-getopt.h:464:11: note: Shadow variable coreutils-9.7/gnulib-tests/test-getopt.h:465:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] coreutils-9.7/gnulib-tests/test-getopt_long.h:20:12: note: Shadowed declaration coreutils-9.7/gnulib-tests/test-getopt.h:465:11: note: Shadow variable coreutils-9.7/gnulib-tests/test-getopt.h:498:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] coreutils-9.7/gnulib-tests/test-getopt_long.h:19:12: note: Shadowed declaration coreutils-9.7/gnulib-tests/test-getopt.h:498:11: note: Shadow variable coreutils-9.7/gnulib-tests/test-getopt.h:499:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] coreutils-9.7/gnulib-tests/test-getopt_long.h:20:12: note: Shadowed declaration coreutils-9.7/gnulib-tests/test-getopt.h:499:11: note: Shadow variable coreutils-9.7/gnulib-tests/test-getopt.h:532:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] coreutils-9.7/gnulib-tests/test-getopt_long.h:19:12: note: Shadowed declaration coreutils-9.7/gnulib-tests/test-getopt.h:532:11: note: Shadow variable coreutils-9.7/gnulib-tests/test-getopt.h:533:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] coreutils-9.7/gnulib-tests/test-getopt_long.h:20:12: note: Shadowed declaration coreutils-9.7/gnulib-tests/test-getopt.h:533:11: note: Shadow variable coreutils-9.7/gnulib-tests/test-getopt.h:566:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] coreutils-9.7/gnulib-tests/test-getopt_long.h:19:12: note: Shadowed declaration coreutils-9.7/gnulib-tests/test-getopt.h:566:11: note: Shadow variable coreutils-9.7/gnulib-tests/test-getopt.h:567:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] coreutils-9.7/gnulib-tests/test-getopt_long.h:20:12: note: Shadowed declaration coreutils-9.7/gnulib-tests/test-getopt.h:567:11: note: Shadow variable coreutils-9.7/gnulib-tests/test-getopt.h:600:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] coreutils-9.7/gnulib-tests/test-getopt_long.h:19:12: note: Shadowed declaration coreutils-9.7/gnulib-tests/test-getopt.h:600:11: note: Shadow variable coreutils-9.7/gnulib-tests/test-getopt.h:601:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] coreutils-9.7/gnulib-tests/test-getopt_long.h:20:12: note: Shadowed declaration coreutils-9.7/gnulib-tests/test-getopt.h:601:11: note: Shadow variable coreutils-9.7/gnulib-tests/test-getopt.h:636:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] coreutils-9.7/gnulib-tests/test-getopt_long.h:19:12: note: Shadowed declaration coreutils-9.7/gnulib-tests/test-getopt.h:636:11: note: Shadow variable coreutils-9.7/gnulib-tests/test-getopt.h:637:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] coreutils-9.7/gnulib-tests/test-getopt_long.h:20:12: note: Shadowed declaration coreutils-9.7/gnulib-tests/test-getopt.h:637:11: note: Shadow variable coreutils-9.7/gnulib-tests/test-getopt.h:666:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] coreutils-9.7/gnulib-tests/test-getopt_long.h:19:12: note: Shadowed declaration coreutils-9.7/gnulib-tests/test-getopt.h:666:11: note: Shadow variable coreutils-9.7/gnulib-tests/test-getopt.h:667:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] coreutils-9.7/gnulib-tests/test-getopt_long.h:20:12: note: Shadowed declaration coreutils-9.7/gnulib-tests/test-getopt.h:667:11: note: Shadow variable coreutils-9.7/gnulib-tests/test-getopt.h:696:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] coreutils-9.7/gnulib-tests/test-getopt_long.h:19:12: note: Shadowed declaration coreutils-9.7/gnulib-tests/test-getopt.h:696:11: note: Shadow variable coreutils-9.7/gnulib-tests/test-getopt.h:697:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] coreutils-9.7/gnulib-tests/test-getopt_long.h:20:12: note: Shadowed declaration coreutils-9.7/gnulib-tests/test-getopt.h:697:11: note: Shadow variable coreutils-9.7/gnulib-tests/test-getopt.h:728:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] coreutils-9.7/gnulib-tests/test-getopt_long.h:19:12: note: Shadowed declaration coreutils-9.7/gnulib-tests/test-getopt.h:728:11: note: Shadow variable coreutils-9.7/gnulib-tests/test-getopt.h:729:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] coreutils-9.7/gnulib-tests/test-getopt_long.h:20:12: note: Shadowed declaration coreutils-9.7/gnulib-tests/test-getopt.h:729:11: note: Shadow variable coreutils-9.7/gnulib-tests/test-getopt.h:795:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] coreutils-9.7/gnulib-tests/test-getopt_long.h:19:12: note: Shadowed declaration coreutils-9.7/gnulib-tests/test-getopt.h:795:11: note: Shadow variable coreutils-9.7/gnulib-tests/test-getopt.h:796:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] coreutils-9.7/gnulib-tests/test-getopt_long.h:20:12: note: Shadowed declaration coreutils-9.7/gnulib-tests/test-getopt.h:796:11: note: Shadow variable coreutils-9.7/gnulib-tests/test-getopt.h:1199:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] coreutils-9.7/gnulib-tests/test-getopt_long.h:19:12: note: Shadowed declaration coreutils-9.7/gnulib-tests/test-getopt.h:1199:11: note: Shadow variable coreutils-9.7/gnulib-tests/test-getopt.h:1200:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] coreutils-9.7/gnulib-tests/test-getopt_long.h:20:12: note: Shadowed declaration coreutils-9.7/gnulib-tests/test-getopt.h:1200:11: note: Shadow variable coreutils-9.7/gnulib-tests/test-getprogname.c:55:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXEEXT [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-getrandom.c:43:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-getrusage.c:39:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RUSAGE_SELF [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-gettime-res.c:32:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-gettimeofday.c:47:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-gettimeofday.c:60:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-gettimeofday.c:42:8: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] coreutils-9.7/gnulib-tests/test-gettimeofday.c:39:14: style: Variable 'lt' can be declared as pointer to const [constVariablePointer] coreutils-9.7/gnulib-tests/test-gmtime_r-mt.c:119:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-gmtime_r.c:35:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-gmtime_r.c:34:16: style: Variable 'result' can be declared as pointer to const [constVariablePointer] coreutils-9.7/gnulib-tests/test-hard-locale.c:34:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-hard-locale.c:97:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_CTYPE [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-hash.c:37:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-hash.c:51:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-hash.c:101:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-hash.c:50:9: style: Variable 'e' can be declared as pointer to const [constVariablePointer] coreutils-9.7/gnulib-tests/test-hash.c:57:9: style: Variable 'str' can be declared as pointer to const [constVariablePointer] coreutils-9.7/gnulib-tests/test-hash.c:116:15: style: Variable 'str2' can be declared as pointer to const [constVariablePointer] coreutils-9.7/gnulib-tests/test-hash.c:210:23: style: Variable 'p_dup' can be declared as pointer to const [constVariablePointer] coreutils-9.7/gnulib-tests/test-htonl.c:35:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-htonl.c:60:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-htonl.c:88:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-i-ring.c:32:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-ignore-value.c:28:16: style: struct member 's::i' is never used. [unusedStructMember] coreutils-9.7/gnulib-tests/test-ino-map.c:30:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-intprops.c:91:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-intprops.c:287:3: style: Comparing expression of type 'signed int' against value -9223372036854775808. Condition is always false. [compareValueOutOfTypeRangeError] coreutils-9.7/gnulib-tests/test-intprops.c:294:3: style: Comparing expression of type 'signed int' against value 9223372036854775807. Condition is always false. [compareValueOutOfTypeRangeError] coreutils-9.7/gnulib-tests/test-intprops.c:296:3: style: Comparing expression of type 'signed int' against value 4294967295. Condition is always false. [compareValueOutOfTypeRangeError] coreutils-9.7/gnulib-tests/test-intprops.c:304:3: style: Comparing expression of type 'signed int' against value 9223372036854775807. Condition is always false. [compareValueOutOfTypeRangeError] coreutils-9.7/gnulib-tests/test-intprops.c:315:5: style: Comparing expression of type 'signed int' against value 9223372036854775807. Condition is always false. [compareValueOutOfTypeRangeError] coreutils-9.7/gnulib-tests/test-intprops.c:316:5: style: Comparing expression of type 'signed int' against value -9223372036854775808. Condition is always false. [compareValueOutOfTypeRangeError] coreutils-9.7/gnulib-tests/test-intprops.c:330:3: style: Comparing expression of type 'signed int' against value 4294967295. Condition is always false. [compareValueOutOfTypeRangeError] coreutils-9.7/gnulib-tests/test-intprops.c:348:5: style: Comparing expression of type 'signed int' against value 9223372036854775807. Condition is always false. [compareValueOutOfTypeRangeError] coreutils-9.7/gnulib-tests/test-intprops.c:349:5: style: Comparing expression of type 'signed int' against value 9223372036854775807. Condition is always false. [compareValueOutOfTypeRangeError] coreutils-9.7/gnulib-tests/test-intprops.c:395:3: style: Comparing expression of type 'signed int' against value 4294967295. Condition is always false. [compareValueOutOfTypeRangeError] coreutils-9.7/gnulib-tests/test-intprops.c:412:5: style: Comparing expression of type 'signed int' against value 4294967298. Condition is always false. [compareValueOutOfTypeRangeError] coreutils-9.7/gnulib-tests/test-intprops.c:440:3: style: Comparing expression of type 'signed int' against value -9223372036854775808. Condition is always false. [compareValueOutOfTypeRangeError] coreutils-9.7/gnulib-tests/test-intprops.c:453:3: style: Comparing expression of type 'signed int' against value -9223372036854775808. Condition is always false. [compareValueOutOfTypeRangeError] coreutils-9.7/gnulib-tests/test-intprops.c:221:3: style: Same value in both branches of ternary operator. [duplicateValueTernary] coreutils-9.7/gnulib-tests/test-intprops.c:222:3: style: Same value in both branches of ternary operator. [duplicateValueTernary] coreutils-9.7/gnulib-tests/test-intprops.c:227:3: style: Same value in both branches of ternary operator. [duplicateValueTernary] coreutils-9.7/gnulib-tests/test-intprops.c:230:3: style: Same value in both branches of ternary operator. [duplicateValueTernary] coreutils-9.7/gnulib-tests/test-intprops.c:248:3: style: Same value in both branches of ternary operator. [duplicateValueTernary] coreutils-9.7/gnulib-tests/test-intprops.c:220:3: error: Signed integer overflow for expression '2147483647+1'. [integerOverflow] coreutils-9.7/gnulib-tests/test-intprops.c:223:3: error: Signed integer underflow for expression '(-2147483647-1)-1'. [integerOverflow] coreutils-9.7/gnulib-tests/test-intprops.c:228:3: error: Signed integer overflow for expression '2147483647+1'. [integerOverflow] coreutils-9.7/gnulib-tests/test-intprops.c:229:3: error: Signed integer underflow for expression '(-2147483647-1)-1'. [integerOverflow] coreutils-9.7/gnulib-tests/test-intprops.c:241:3: error: Signed integer overflow for expression '2147483647*2147483647'. [integerOverflow] coreutils-9.7/gnulib-tests/test-intprops.c:242:3: error: Signed integer underflow for expression '2147483647*(-2147483647-1)'. [integerOverflow] coreutils-9.7/gnulib-tests/test-intprops.c:243:3: error: Signed integer underflow for expression '(-2147483647-1)*2147483647'. [integerOverflow] coreutils-9.7/gnulib-tests/test-intprops.c:244:3: error: Signed integer overflow for expression '(-2147483647-1)*(-2147483647-1)'. [integerOverflow] coreutils-9.7/gnulib-tests/test-intprops.c:245:3: error: Signed integer overflow for expression '-1*(-2147483647-1)'. [integerOverflow] coreutils-9.7/gnulib-tests/test-intprops.c:297:3: error: Signed integer overflow for expression '-2147483647-1'. [integerOverflow] coreutils-9.7/gnulib-tests/test-intprops.c:339:3: error: Signed integer overflow for expression '0-(-2147483647-1)'. [integerOverflow] coreutils-9.7/gnulib-tests/test-intprops.c:345:3: error: Signed integer overflow for expression '-2147483647-1'. [integerOverflow] coreutils-9.7/gnulib-tests/test-intprops.c:373:3: error: Signed integer overflow for expression '-1*(-2147483647-1)'. [integerOverflow] coreutils-9.7/gnulib-tests/test-intprops.c:373:3: error: Signed integer overflow for expression '(-2147483647-1)*-1'. [integerOverflow] coreutils-9.7/gnulib-tests/test-intprops.c:406:3: warning: Expression '-1' has a negative value. That is converted to an unsigned value and used in an unsigned calculation. [signConversion] coreutils-9.7/gnulib-tests/test-intprops.c:407:3: warning: Expression '-1' has a negative value. That is converted to an unsigned value and used in an unsigned calculation. [signConversion] coreutils-9.7/gnulib-tests/test-intprops.c:459:3: warning: Expression '-2147483647-1' can have a negative value. That is converted to an unsigned value and used in an unsigned calculation. [signConversion] coreutils-9.7/gnulib-tests/test-inttostr.c:74:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-isatty.c:45:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-isatty.c:46:5: error: Invalid isatty() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] coreutils-9.7/gnulib-tests/test-isblank.c:46:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-isnand.h:31:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-isnand.h:41:3: style: Using NaN/Inf in a computation. [nanInArithmeticExpression] coreutils-9.7/gnulib-tests/test-isnanf.h:31:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-isnanl.h:32:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-iswblank.c:32:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-iswctype.c:34:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-iswdigit.c:55:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-iswdigit.c:49:23: style: Parameter 'argv' can be declared as const array [constParameter] coreutils-9.7/gnulib-tests/test-iswpunct.c:55:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-iswpunct.c:49:23: style: Parameter 'argv' can be declared as const array [constParameter] coreutils-9.7/gnulib-tests/test-iswxdigit.c:55:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-iswxdigit.c:49:23: style: Parameter 'argv' can be declared as const array [constParameter] coreutils-9.7/gnulib-tests/test-lchmod.c:40:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-libgmp-mpq.c:35:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-libgmp-mpz.c:43:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gmp_version [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-link.h:31:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-linkat.c:73:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-linkat.c:99:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-listen.c:38:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCKETS_1_1 [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-listen.c:43:5: error: Invalid listen() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] coreutils-9.7/gnulib-tests/test-localcharset-w32utf8.c:58:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-localcharset.c:35:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-locale-h.c:58:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_GLOBAL_LOCALE [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-localeconv.c:38:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-localeconv.c:36:19: style: Variable 'l' can be declared as pointer to const [constVariablePointer] coreutils-9.7/gnulib-tests/test-localtime_r-mt.c:156:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-localtime_r.c:62:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-localtime_r.c:49:25: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] coreutils-9.7/gnulib-tests/test-localtime_r.c:55:35: style: Same expression on both sides of '-'. [duplicateExpression] coreutils-9.7/gnulib-tests/test-localtime_r.c:49:16: style: Variable 'result' can be declared as pointer to const [constVariablePointer] coreutils-9.7/gnulib-tests/test-localtime_r.c:75:16: style: Variable 'result' can be declared as pointer to const [constVariablePointer] coreutils-9.7/gnulib-tests/test-localtime_r.c:99:16: style: Variable 'result' can be declared as pointer to const [constVariablePointer] coreutils-9.7/gnulib-tests/test-localtime_r.c:121:16: style: Variable 'result' can be declared as pointer to const [constVariablePointer] coreutils-9.7/gnulib-tests/test-localtime_r.c:145:16: style: Variable 'result' can be declared as pointer to const [constVariablePointer] coreutils-9.7/gnulib-tests/test-localtime_r.c:167:16: style: Variable 'result' can be declared as pointer to const [constVariablePointer] coreutils-9.7/gnulib-tests/test-lock.c:615:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-lseek.c:41:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-lseek.c:95:7: error: Invalid lseek() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] coreutils-9.7/gnulib-tests/test-malloc-gnu.c:38:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-malloc-posix.c:44:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-malloc-posix.c:42:13: style: Variable 'p' can be declared as pointer to const [constVariablePointer] coreutils-9.7/gnulib-tests/test-math-h.c:24:0: error: #error INFINITY should be defined, added in ISO C 99 [preprocessorErrorDirective] coreutils-9.7/gnulib-tests/test-math-h.c:24:3: error: #error INFINITY should be defined, added in ISO C 99 [preprocessorErrorDirective] coreutils-9.7/gnulib-tests/test-mbrlen-w32.c:563:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-mbrlen.c:40:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-mbrlen.c:34:23: style: Parameter 'argv' can be declared as const array [constParameter] coreutils-9.7/gnulib-tests/test-mbrtoc32-w32.c:748:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-mbrtoc32.c:43:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-mbrtoc32.c:36:23: style: Parameter 'argv' can be declared as const array [constParameter] coreutils-9.7/gnulib-tests/test-mbrtowc-w32.c:732:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-mbrtowc-w32utf8.c:163:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-mbrtowc.c:42:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-mbrtowc.c:35:23: style: Parameter 'argv' can be declared as const array [constParameter] coreutils-9.7/gnulib-tests/test-mbscasecmp.c:31:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-mbschr.c:31:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-mbsinit.c:35:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-mbslen.c:31:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-mbsrtoc32s.c:42:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-mbsrtowcs.c:41:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-mbsrtowcs.c:34:23: style: Parameter 'argv' can be declared as const array [constParameter] coreutils-9.7/gnulib-tests/test-mcel.c:40:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MB_LEN_MAX [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-mcel.c:50:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-mcel.c:47:23: style: Parameter 'argv' can be declared as const array [constParameter] coreutils-9.7/gnulib-tests/test-md5-buffer.c:38:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MD5_DIGEST_SIZE [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-digest.h:34:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-md5-stream.c:38:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable md5_stream [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-digest.h:78:58: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] coreutils-9.7/gnulib-tests/test-digest.h:78:40: note: Assuming allocation function fails coreutils-9.7/gnulib-tests/test-digest.h:78:58: note: Null pointer addition coreutils-9.7/gnulib-tests/test-memcasecmp.c:34:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-memcasecmp.c:33:7: style: Condition 'page_boundary1' is always false [knownConditionTrueFalse] coreutils-9.7/gnulib-tests/test-memcasecmp.c:31:39: note: Calling function 'zerosize_ptr' returns 0 coreutils-9.7/gnulib-tests/test-memcasecmp.c:31:39: note: Assignment 'page_boundary1=zerosize_ptr()', assigned value is 0 coreutils-9.7/gnulib-tests/test-memcasecmp.c:33:7: note: Condition 'page_boundary1' is always false coreutils-9.7/gnulib-tests/test-memchr.c:46:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-memchr.c:62:9: style: Condition 'page_boundary' is always false [knownConditionTrueFalse] coreutils-9.7/gnulib-tests/test-memchr.c:61:40: note: Calling function 'zerosize_ptr' returns 0 coreutils-9.7/gnulib-tests/test-memchr.c:61:40: note: Assignment 'page_boundary=zerosize_ptr()', assigned value is 0 coreutils-9.7/gnulib-tests/test-memchr.c:62:9: note: Condition 'page_boundary' is always false coreutils-9.7/gnulib-tests/test-memchr.c:113:23: style: Condition 'page_boundary!=NULL' is always false [knownConditionTrueFalse] coreutils-9.7/gnulib-tests/test-memchr.c:108:49: note: Calling function 'zerosize_ptr' returns 0 coreutils-9.7/gnulib-tests/test-memchr.c:108:27: note: Assignment 'page_boundary=(char*)zerosize_ptr()', assigned value is 0 coreutils-9.7/gnulib-tests/test-memchr.c:113:23: note: Condition 'page_boundary!=NULL' is always false coreutils-9.7/gnulib-tests/test-memchr2.c:33:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-memchr2.c:48:7: style: Condition 'page_boundary' is always false [knownConditionTrueFalse] coreutils-9.7/gnulib-tests/test-memchr2.c:47:38: note: Calling function 'zerosize_ptr' returns 0 coreutils-9.7/gnulib-tests/test-memchr2.c:47:38: note: Assignment 'page_boundary=zerosize_ptr()', assigned value is 0 coreutils-9.7/gnulib-tests/test-memchr2.c:48:7: note: Condition 'page_boundary' is always false coreutils-9.7/gnulib-tests/test-memcoll.c:30:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-memrchr.c:40:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-memrchr.c:54:7: style: Condition 'page_boundary' is always false [knownConditionTrueFalse] coreutils-9.7/gnulib-tests/test-memrchr.c:53:38: note: Calling function 'zerosize_ptr' returns 0 coreutils-9.7/gnulib-tests/test-memrchr.c:53:38: note: Assignment 'page_boundary=zerosize_ptr()', assigned value is 0 coreutils-9.7/gnulib-tests/test-memrchr.c:54:7: note: Condition 'page_boundary' is always false coreutils-9.7/gnulib-tests/test-memrchr.c:53:9: style: Variable 'page_boundary' can be declared as pointer to const [constVariablePointer] coreutils-9.7/gnulib-tests/test-mkdir.h:27:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-mkdirat.c:58:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-mkfifo.h:30:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-mkfifoat.c:79:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-mountlist.c:37:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-nanosleep.c:49:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-nl_langinfo-mt.c:249:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-nl_langinfo1.c:50:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-nl_langinfo1.c:61:3: style: Unsigned expression 'strlen(nl_langinfo(THOUSEP))' can't be negative so it is unnecessary to test it. [unsignedPositive] coreutils-9.7/gnulib-tests/test-nl_langinfo1.c:159:3: style: Unsigned expression 'strlen(nl_langinfo(ERA))' can't be negative so it is unnecessary to test it. [unsignedPositive] coreutils-9.7/gnulib-tests/test-nl_langinfo1.c:160:3: style: Unsigned expression 'strlen(nl_langinfo(ERA_D_FMT))' can't be negative so it is unnecessary to test it. [unsignedPositive] coreutils-9.7/gnulib-tests/test-nl_langinfo1.c:161:3: style: Unsigned expression 'strlen(nl_langinfo(ERA_D_T_FMT))' can't be negative so it is unnecessary to test it. [unsignedPositive] coreutils-9.7/gnulib-tests/test-nl_langinfo1.c:162:3: style: Unsigned expression 'strlen(nl_langinfo(ERA_T_FMT))' can't be negative so it is unnecessary to test it. [unsignedPositive] coreutils-9.7/gnulib-tests/test-nl_langinfo1.c:167:5: style: Unsigned expression 'strlen(currency)' can't be negative so it is unnecessary to test it. [unsignedPositive] coreutils-9.7/gnulib-tests/test-nl_langinfo1.c:41:23: style: Parameter 'argv' can be declared as const array [constParameter] coreutils-9.7/gnulib-tests/test-nl_langinfo2.c:145:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-nstrftime.h:34:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-nstrftime.h:72:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-nstrftime.h:217:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-nstrftime.h:287:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-nstrftime.h:316:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-nstrftime.h:406:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-nstrftime.c:47:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-nstrftime.h:69:23: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] coreutils-9.7/gnulib-tests/test-nstrftime.h:362:28: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] coreutils-9.7/gnulib-tests/test-nstrftime.h:400:19: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] coreutils-9.7/gnulib-tests/test-nstrftime.h:314:27: style: Comparing expression of type 'signed int' against value 9223372036854773907. Condition is always false. [compareValueOutOfTypeRangeError] coreutils-9.7/gnulib-tests/test-nstrftime.h:69:18: style: Variable 'tm' can be declared as pointer to const [constVariablePointer] coreutils-9.7/gnulib-tests/test-nstrftime.h:281:12: style: Variable 'fmt' can be declared as const array [constVariable] coreutils-9.7/gnulib-tests/test-nstrftime.h:362:22: style: Variable 'tmp' can be declared as pointer to const [constVariablePointer] coreutils-9.7/gnulib-tests/test-nstrftime.h:400:14: style: Variable 'tm' can be declared as pointer to const [constVariablePointer] coreutils-9.7/gnulib-tests/test-nullptr.c:48:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-once.c:32:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable a [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-once.c:40:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable a [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-openat-safer.c:55:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AT_FDCWD [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-openat-safer.c:81:11: error: Return value of allocation function 'openat' is not stored. [leakReturnValNotUsed] coreutils-9.7/gnulib-tests/test-openat-safer.c:84:11: error: Return value of allocation function 'openat' is not stored. [leakReturnValNotUsed] coreutils-9.7/gnulib-tests/test-openat-safer.c:87:11: error: Return value of allocation function 'openat' is not stored. [leakReturnValNotUsed] coreutils-9.7/gnulib-tests/test-openat-safer.c:92:11: error: Return value of allocation function 'openat' is not stored. [leakReturnValNotUsed] coreutils-9.7/gnulib-tests/test-openat-safer.c:97:11: error: Return value of allocation function 'openat' is not stored. [leakReturnValNotUsed] coreutils-9.7/gnulib-tests/test-openat-safer.c:108:11: error: Return value of allocation function 'openat' is not stored. [leakReturnValNotUsed] coreutils-9.7/gnulib-tests/test-openat.c:43:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-openat.c:66:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-openat.c:67:5: error: Return value of allocation function 'openat' is not stored. [leakReturnValNotUsed] coreutils-9.7/gnulib-tests/test-openat.c:73:5: error: Return value of allocation function 'openat' is not stored. [leakReturnValNotUsed] coreutils-9.7/gnulib-tests/test-openat.c:88:3: error: Return value of allocation function 'openat' is not stored. [leakReturnValNotUsed] coreutils-9.7/gnulib-tests/test-openat.c:94:5: error: Return value of allocation function 'openat' is not stored. [leakReturnValNotUsed] coreutils-9.7/gnulib-tests/test-parse-datetime.c:140:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-parse-datetime.c:102:25: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] coreutils-9.7/gnulib-tests/test-parse-datetime.c:103:25: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] coreutils-9.7/gnulib-tests/test-parse-datetime.c:409:19: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] coreutils-9.7/gnulib-tests/test-parse-datetime.c:409:14: style: Variable 'tm' can be declared as pointer to const [constVariablePointer] coreutils-9.7/gnulib-tests/test-perror.c:31:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-perror2.c:49:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-physmem.c:34:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-pipe.c:52:0: error: #error Please port fcntl to your platform [preprocessorErrorDirective] coreutils-9.7/gnulib-tests/test-pipe.c:52:4: error: #error Please port fcntl to your platform [preprocessorErrorDirective] coreutils-9.7/gnulib-tests/test-pipe2.c:55:0: error: #error Please port fcntl to your platform [preprocessorErrorDirective] coreutils-9.7/gnulib-tests/test-pipe2.c:55:4: error: #error Please port fcntl to your platform [preprocessorErrorDirective] coreutils-9.7/gnulib-tests/test-posix_memalign.c:108:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-posixtm.c:128:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-posixtm.c:132:8: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] coreutils-9.7/gnulib-tests/test-posixtm.c:121:14: style: Variable 'tm' can be declared as pointer to const [constVariablePointer] coreutils-9.7/gnulib-tests/test-printf-frexp.c:48:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBL_MAX_EXP [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-printf-frexpl.c:59:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DECL_LONG_DOUBLE_ROUNDING [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-priv-set.c:83:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-select.h:65:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-select.h:89:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-select.h:116:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-select.h:234:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-select.h:241:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-select.h:269:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-select.h:303:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FD_SETSIZE [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-select.h:340:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-select.h:366:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-select.h:402:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-select.h:424:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-select.h:440:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-select.h:68:7: style: Condition '!failures' is always true [knownConditionTrueFalse] coreutils-9.7/gnulib-tests/test-select.h:63:14: note: Assignment 'failures=0', assigned value is 0 coreutils-9.7/gnulib-tests/test-select.h:68:7: note: Condition '!failures' is always true coreutils-9.7/gnulib-tests/test-pselect.c:49:11: style: Condition 'result' is always false [knownConditionTrueFalse] coreutils-9.7/gnulib-tests/test-select.h:452:16: note: Assignment 'result=0', assigned value is 0 coreutils-9.7/gnulib-tests/test-select.h:459:3: note: Compound assignment '+=', assigned value is 0 coreutils-9.7/gnulib-tests/test-select.h:460:3: note: Compound assignment '+=', assigned value is 0 coreutils-9.7/gnulib-tests/test-select.h:461:3: note: Compound assignment '+=', assigned value is 0 coreutils-9.7/gnulib-tests/test-select.h:462:3: note: Compound assignment '+=', assigned value is 0 coreutils-9.7/gnulib-tests/test-select.h:463:3: note: Compound assignment '+=', assigned value is 0 coreutils-9.7/gnulib-tests/test-select.h:464:3: note: Compound assignment '+=', assigned value is 0 coreutils-9.7/gnulib-tests/test-pselect.c:48:30: note: Calling function 'test_function' returns 0 coreutils-9.7/gnulib-tests/test-pselect.c:48:30: note: Assignment 'result=test_function(my_select)', assigned value is 0 coreutils-9.7/gnulib-tests/test-pselect.c:49:11: note: Condition 'result' is always false coreutils-9.7/gnulib-tests/test-pselect.c:32:28: style: Parameter 'timeout' can be declared as pointer to const. However it seems that 'my_select' is a callback function, if 'timeout' is declared with const you might also need to cast function pointer(s). [constParameterCallback] coreutils-9.7/gnulib-tests/test-pselect.c:48:31: note: You might need to cast the function pointer here coreutils-9.7/gnulib-tests/test-pselect.c:32:28: note: Parameter 'timeout' can be declared as pointer to const coreutils-9.7/gnulib-tests/test-pselect.c:35:20: style: Variable 'pts' can be declared as pointer to const [constVariablePointer] coreutils-9.7/gnulib-tests/test-pthread-cond.c:297:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-pthread-mutex-type.c:35:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-pthread-mutex-type.c:58:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-pthread-mutex.c:361:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-pthread-once1.c:38:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-pthread-once2.c:279:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-pthread-rwlock.c:225:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-pthread-thread.c:54:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-pthread-thread.c:36:38: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'worker_thread_func' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] coreutils-9.7/gnulib-tests/test-pthread-thread.c:47:45: note: You might need to cast the function pointer here coreutils-9.7/gnulib-tests/test-pthread-thread.c:36:38: note: Parameter 'arg' can be declared as pointer to const coreutils-9.7/gnulib-tests/test-pthread_sigmask1.c:54:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-pthread_sigmask1.c:51:57: style: Condition 'num_cpus()>1' is always false [knownConditionTrueFalse] coreutils-9.7/gnulib-tests/test-pthread_sigmask1.c:51:54: note: Calling function 'num_cpus' returns 1 coreutils-9.7/gnulib-tests/test-pthread_sigmask1.c:51:57: note: Condition 'num_cpus()>1' is always false coreutils-9.7/gnulib-tests/test-pthread_sigmask2.c:112:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-putenv.c:38:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-putenv.c:34:9: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] coreutils-9.7/gnulib-tests/test-qsort_r.c:30:8: style: Variable 'arg' can be declared as pointer to const [constVariablePointer] coreutils-9.7/gnulib-tests/test-quotearg.h:60:25: debug: Function::addArguments found argument 'func' with varid 0. [varid0] coreutils-9.7/gnulib-tests/test-quotearg.h:54:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-quotearg.h:74:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE_MAX [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-quotearg.h:114:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-quotearg.h:121:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE_MAX [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-quotearg.h:129:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE_MAX [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-quotearg-simple.c:264:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE_MAX [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-quotearg-simple.c:274:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MB_CUR_MAX [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-quotearg-simple.c:349:9: style: Condition 'z' is always false [knownConditionTrueFalse] coreutils-9.7/gnulib-tests/test-quotearg-simple.c:347:28: note: Calling function 'zerosize_ptr' returns 0 coreutils-9.7/gnulib-tests/test-quotearg-simple.c:347:28: note: Assignment 'z=zerosize_ptr()', assigned value is 0 coreutils-9.7/gnulib-tests/test-quotearg-simple.c:349:9: note: Condition 'z' is always false coreutils-9.7/gnulib-tests/test-quotearg.h:64:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] coreutils-9.7/gnulib-tests/test-raise.c:42:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-raise.c:50:3: style:inconclusive: Statements following noreturn function 'raise()' will never be executed. [unreachableCode] coreutils-9.7/gnulib-tests/test-rand-isaac.c:567:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISAAC_WORDS [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-random-mt.c:165:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-random.c:42:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-random_r.c:50:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-rawmemchr.c:35:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-rawmemchr.c:76:9: style: Condition '!page_boundary' is always true [knownConditionTrueFalse] coreutils-9.7/gnulib-tests/test-rawmemchr.c:73:49: note: Calling function 'zerosize_ptr' returns 0 coreutils-9.7/gnulib-tests/test-rawmemchr.c:73:27: note: Assignment 'page_boundary=(char*)zerosize_ptr()', assigned value is 0 coreutils-9.7/gnulib-tests/test-rawmemchr.c:76:9: note: Condition '!page_boundary' is always true coreutils-9.7/gnulib-tests/test-rawmemchr.c:92:5: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] coreutils-9.7/gnulib-tests/test-rawmemchr.c:90:20: note: Assuming allocation function fails coreutils-9.7/gnulib-tests/test-rawmemchr.c:90:20: note: Assignment 'input=malloc(5)', assigned value is 0 coreutils-9.7/gnulib-tests/test-rawmemchr.c:92:5: note: Null pointer addition coreutils-9.7/gnulib-tests/test-read-file.c:62:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-read-file.c:118:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-read.c:37:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-read.c:58:5: error: Invalid read() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] coreutils-9.7/gnulib-tests/test-readlink.h:33:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-readlinkat.c:63:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-readlinkat.c:64:5: error: Invalid readlinkat() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] coreutils-9.7/gnulib-tests/test-readtokens.c:33:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-readtokens.c:61:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable close_stdout [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-readutmp.c:46:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UTMP_FILE [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-readutmp.c:118:28: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] coreutils-9.7/gnulib-tests/test-readutmp.c:110:17: style: Variable 'user' can be declared as pointer to const [constVariablePointer] coreutils-9.7/gnulib-tests/test-readutmp.c:118:22: style: Variable 'gmt' can be declared as pointer to const [constVariablePointer] coreutils-9.7/gnulib-tests/test-realloc-posix.c:40:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-realloc-posix.c:61:13: style: Variable 'r' can be declared as pointer to const [constVariablePointer] coreutils-9.7/gnulib-tests/test-realloc-posix.c:74:13: style: Variable 'r' can be declared as pointer to const [constVariablePointer] coreutils-9.7/gnulib-tests/test-reallocarray.c:45:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTRDIFF_MAX [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-regex.c:42:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-regex.c:152:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rm_so [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-regex.c:186:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-regex.c:263:45: style: Condition 'towupper(L'i')==0x0130' is always false [knownConditionTrueFalse] coreutils-9.7/gnulib-tests/test-remove.c:45:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-rename.h:31:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-rename.h:55:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-rename.h:77:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-rename.h:34:26: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] coreutils-9.7/gnulib-tests/test-rename.h:34:22: style: Variable 'd' can be declared as pointer to const [constVariablePointer] coreutils-9.7/gnulib-tests/test-renameat.c:65:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-renameat.c:66:5: error: Invalid renameat() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] coreutils-9.7/gnulib-tests/test-renameat.c:78:5: error: Invalid renameat() argument nr 3. The value is -1 but the valid values are '0:'. [invalidFunctionArg] coreutils-9.7/gnulib-tests/test-renameatu.c:68:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-rmdir.h:29:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-rwlock1.c:166:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-sameacls.c:46:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-scratch-buffer.c:49:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-select-fd.c:61:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-select-stdin.c:61:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-select.c:35:11: style: Condition 'result' is always false [knownConditionTrueFalse] coreutils-9.7/gnulib-tests/test-select.h:452:16: note: Assignment 'result=0', assigned value is 0 coreutils-9.7/gnulib-tests/test-select.h:459:3: note: Compound assignment '+=', assigned value is 0 coreutils-9.7/gnulib-tests/test-select.h:460:3: note: Compound assignment '+=', assigned value is 0 coreutils-9.7/gnulib-tests/test-select.h:461:3: note: Compound assignment '+=', assigned value is 0 coreutils-9.7/gnulib-tests/test-select.h:462:3: note: Compound assignment '+=', assigned value is 0 coreutils-9.7/gnulib-tests/test-select.h:463:3: note: Compound assignment '+=', assigned value is 0 coreutils-9.7/gnulib-tests/test-select.h:464:3: note: Compound assignment '+=', assigned value is 0 coreutils-9.7/gnulib-tests/test-select.c:34:30: note: Calling function 'test_function' returns 0 coreutils-9.7/gnulib-tests/test-select.c:34:30: note: Assignment 'result=test_function(select)', assigned value is 0 coreutils-9.7/gnulib-tests/test-select.c:35:11: note: Condition 'result' is always false coreutils-9.7/gnulib-tests/test-servent.c:45:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-servent.c:43:12: portability: Non reentrant function 'getservbyname' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getservbyname_r'. [prohibitedgetservbynameCalled] coreutils-9.7/gnulib-tests/test-servent.c:47:12: portability: Non reentrant function 'getservbyport' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getservbyport_r'. [prohibitedgetservbyportCalled] coreutils-9.7/gnulib-tests/test-servent.c:41:19: style: Variable 'result' can be declared as pointer to const [constVariablePointer] coreutils-9.7/gnulib-tests/test-set-mode-acl.c:33:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-set-mode-acl.c:28:23: style: Parameter 'argv' can be declared as const array [constParameter] coreutils-9.7/gnulib-tests/test-setenv.c:36:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-setlocale-w32.c:141:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-setlocale-w32utf8.c:66:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-setlocale1.c:38:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-setlocale1.c:45:5: error: Memory leak: name1 [memleak] coreutils-9.7/gnulib-tests/test-setlocale1.c:51:5: error: Memory leak: name1 [memleak] coreutils-9.7/gnulib-tests/test-setlocale2.c:30:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-setlocale_null-mt-all.c:148:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-setlocale_null-mt-one.c:148:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-setlocale_null-unlocked.c:34:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-setlocale_null.c:31:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-setsockopt.c:33:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCKETS_1_1 [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-sha1-buffer.c:31:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHA1_DIGEST_SIZE [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-sha1-stream.c:36:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sha1_stream [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-sha256-stream.c:35:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sha224_stream [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-sha512-stream.c:35:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sha384_stream [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-sig2str.c:35:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG2STR_MAX [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-sig2str.c:69:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-sigaction.c:67:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-sigaction.c:97:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-signbit.c:25:0: error: #error missing declaration [preprocessorErrorDirective] coreutils-9.7/gnulib-tests/test-signbit.c:25:3: error: #error missing declaration [preprocessorErrorDirective] coreutils-9.7/gnulib-tests/test-sigprocmask.c:54:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-sigprocmask.c:51:57: style: Condition 'num_cpus()>1' is always false [knownConditionTrueFalse] coreutils-9.7/gnulib-tests/test-sigprocmask.c:51:54: note: Calling function 'num_cpus' returns 1 coreutils-9.7/gnulib-tests/test-sigprocmask.c:51:57: note: Condition 'num_cpus()>1' is always false coreutils-9.7/gnulib-tests/test-sleep.c:42:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-sm3-buffer.c:28:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SM3_DIGEST_SIZE [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-snprintf.c:38:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-snprintf.c:53:20: style: The if condition is the same as the previous if condition [duplicateCondition] coreutils-9.7/gnulib-tests/test-snprintf.c:47:20: note: First condition coreutils-9.7/gnulib-tests/test-snprintf.c:53:20: note: Second condition coreutils-9.7/gnulib-tests/test-sockets.c:29:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCKETS_1_1 [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-intprops.c:220:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-stdint-h.c:372:1: error: syntax error: -) [syntaxError] coreutils-9.7/gnulib-tests/test-stdio-h.c:56:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _PRINTF_NAN_LEN_MAX [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-stdlib-h.c:55:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MB_CUR_MAX [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-str_endswith.c:27:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-str_startswith.c:27:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-strerror.c:35:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-strerror_r.c:36:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-strnlen.c:38:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-strnlen.c:35:7: style: Condition '!page_boundary' is always true [knownConditionTrueFalse] coreutils-9.7/gnulib-tests/test-strnlen.c:34:47: note: Calling function 'zerosize_ptr' returns 0 coreutils-9.7/gnulib-tests/test-strnlen.c:34:25: note: Assignment 'page_boundary=(char*)zerosize_ptr()', assigned value is 0 coreutils-9.7/gnulib-tests/test-strnlen.c:35:7: note: Condition '!page_boundary' is always true coreutils-9.7/gnulib-tests/test-strsignal.c:54:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-strtod1.c:33:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-strtoimax.c:38:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-strtold1.c:33:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-strtoll.c:38:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-strtoull.c:38:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-strtoumax.c:38:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-symlink.h:32:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-symlinkat.c:62:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-symlinkat.c:63:5: error: Invalid symlinkat() argument nr 2. The value is -1 but the valid values are '0:'. [invalidFunctionArg] coreutils-9.7/gnulib-tests/test-sys_select-h.c:46:0: error: #error "FD_SETSIZE not positive" [preprocessorErrorDirective] coreutils-9.7/gnulib-tests/test-sys_select-h.c:46:3: error: #error "FD_SETSIZE not positive" [preprocessorErrorDirective] coreutils-9.7/gnulib-tests/test-sys_socket-h.c:81:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOTSOCK [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-sys_wait-h.h:41:5: style: Variable 'i' is assigned a value that is never used. [unreadVariable] coreutils-9.7/gnulib-tests/glthread/thread.h:75:0: error: #error "Please include config.h first." [preprocessorErrorDirective] coreutils-9.7/gnulib-tests/glthread/thread.h:75:3: error: #error "Please include config.h first." [preprocessorErrorDirective] coreutils-9.7/gnulib-tests/test-time.c:39:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-timespec.c:61:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TIMESPEC_HZ [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-timespec.c:87:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TIMESPEC_HZ [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-timespec.c:113:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG10_TIMESPEC_HZ [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-tls.c:534:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-uname.c:43:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-unicodeio.c:48:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-unicodeio.c:57:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-unicodeio.c:54:23: style: Parameter 'argv' can be declared as const array [constParameter] coreutils-9.7/gnulib-tests/test-unistd-h.c:37:0: error: #error "O_CLOEXEC is not defined" [preprocessorErrorDirective] coreutils-9.7/gnulib-tests/test-unistd-h.c:37:3: error: #error "O_CLOEXEC is not defined" [preprocessorErrorDirective] coreutils-9.7/gnulib-tests/test-unlink.h:29:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-unlinkat.c:47:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AT_REMOVEDIR [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-unlinkat.c:69:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-unlinkat.c:70:5: error: Invalid unlinkat() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] coreutils-9.7/gnulib-tests/test-unsetenv.c:39:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-userspec.c:110:29: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] coreutils-9.7/gnulib-tests/test-userspec.c:113:43: portability: Non reentrant function 'getgrgid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrgid_r'. [prohibitedgetgrgidCalled] coreutils-9.7/gnulib-tests/test-userspec.c:109:23: style: Variable 'gr' can be declared as pointer to const [constVariablePointer] coreutils-9.7/gnulib-tests/test-userspec.c:110:24: style: Variable 'pw' can be declared as pointer to const [constVariablePointer] coreutils-9.7/gnulib-tests/test-usleep.c:34:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-usleep.c:34:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] coreutils-9.7/gnulib-tests/test-usleep.c:37:3: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] coreutils-9.7/gnulib-tests/test-usleep.c:34:3: error: Invalid usleep() argument nr 1. The value is 1000000 but the valid values are '0:999999'. [invalidFunctionArg] coreutils-9.7/gnulib-tests/test-vasnprintf.c:40:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-vasnprintf.c:165:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable asnprintf [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-vasnprintf.c:94:11: style: Variable 's' can be declared as pointer to const [constVariablePointer] coreutils-9.7/gnulib-tests/test-vasnprintf.c:100:11: style: Variable 's' can be declared as pointer to const [constVariablePointer] coreutils-9.7/gnulib-tests/test-vasnprintf.c:108:11: style: Variable 's' can be declared as pointer to const [constVariablePointer] coreutils-9.7/gnulib-tests/test-vasnprintf.c:117:11: style: Variable 's' can be declared as pointer to const [constVariablePointer] coreutils-9.7/gnulib-tests/test-vasnprintf.c:126:11: style: Variable 's' can be declared as pointer to const [constVariablePointer] coreutils-9.7/gnulib-tests/test-vasnprintf.c:135:11: style: Variable 's' can be declared as pointer to const [constVariablePointer] coreutils-9.7/gnulib-tests/test-vasprintf-posix.c:102:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-vasprintf-posix.c:213:40: style: Using NaN/Inf in a computation. [nanInArithmeticExpression] coreutils-9.7/gnulib-tests/test-vasprintf-posix.c:1107:40: style: Using NaN/Inf in a computation. [nanInArithmeticExpression] coreutils-9.7/gnulib-tests/test-vasprintf-posix.c:1233:43: style: Using NaN/Inf in a computation. [nanInArithmeticExpression] coreutils-9.7/gnulib-tests/test-vasprintf-posix.c:1767:40: style: Using NaN/Inf in a computation. [nanInArithmeticExpression] coreutils-9.7/gnulib-tests/test-vasprintf-posix.c:1813:43: style: Using NaN/Inf in a computation. [nanInArithmeticExpression] coreutils-9.7/gnulib-tests/test-vasprintf-posix.c:2171:40: style: Using NaN/Inf in a computation. [nanInArithmeticExpression] coreutils-9.7/gnulib-tests/test-vasprintf-posix.c:2317:43: style: Using NaN/Inf in a computation. [nanInArithmeticExpression] coreutils-9.7/gnulib-tests/test-vasprintf-posix.c:2991:40: style: Using NaN/Inf in a computation. [nanInArithmeticExpression] coreutils-9.7/gnulib-tests/test-vasprintf-posix.c:3128:43: style: Using NaN/Inf in a computation. [nanInArithmeticExpression] coreutils-9.7/gnulib-tests/test-vasprintf-posix.c:5192:23: style: Parameter 'argv' can be declared as const array [constParameter] coreutils-9.7/gnulib-tests/test-vasprintf.c:54:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-vasprintf.c:80:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-vasprintf.c:98:23: style: Parameter 'argv' can be declared as const array [constParameter] coreutils-9.7/gnulib-tests/test-verify.c:53:13: style: The comparison 'C == 2' is always true. [knownConditionTrueFalse] coreutils-9.7/gnulib-tests/test-verify.c:57:13: style: Same expression on both sides of '=='. [duplicateExpression] coreutils-9.7/gnulib-tests/test-verify.c:57:30: style: Same expression on both sides of '=='. [duplicateExpression] coreutils-9.7/gnulib-tests/test-verify.c:60:35: style: Same expression on both sides of '=='. [duplicateExpression] coreutils-9.7/gnulib-tests/test-verify.c:60:60: style: Same expression on both sides of '=='. [duplicateExpression] coreutils-9.7/gnulib-tests/test-verify.c:75:31: style: struct member 'state::context' is never used. [unusedStructMember] coreutils-9.7/gnulib-tests/test-verror.c:62:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EACCES [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-verror.c:82:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-version-etc.c:28:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-fprintf-posix.h:29:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-fprintf-posix.h:45:36: style: Using NaN/Inf in a computation. [nanInArithmeticExpression] coreutils-9.7/gnulib-tests/test-printf-posix.h:45:27: style: Using NaN/Inf in a computation. [nanInArithmeticExpression] coreutils-9.7/gnulib-tests/test-wcrtomb-w32.c:335:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-wcrtomb.c:43:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-wcrtomb.c:61:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-wcrtomb.c:55:23: style: Parameter 'argv' can be declared as const array [constParameter] coreutils-9.7/gnulib-tests/test-wctype-h.c:53:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-wctype.c:34:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-wcwidth.c:47:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-windows-mutex-type.c:74:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-windows-recmutex-type.c:74:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-windows-timedmutex-type.c:74:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-windows-timedrecmutex-type.c:74:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-wmemchr.c:42:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-write.c:37:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-write.c:64:5: error: Invalid write() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] coreutils-9.7/gnulib-tests/test-xfprintf-posix.c:35:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xfprintf [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-xprintf-posix.c:35:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xprintf [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-xstrtod.c:43:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-xstrtol.c:48:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable error_print_progname [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-xstrtold.c:43:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-xvasprintf.c:57:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-xvasprintf.c:96:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/test-xvasprintf.c:129:34: style: Parameter 'argv' can be declared as const array [constParameter] coreutils-9.7/gnulib-tests/test-yesno.c:40:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable close_stdin [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/timespec-add.c:33:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TIMESPEC_HZ [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/timespec-sub.c:50:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TIMESPEC_HZ [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/tmpfile.c:158:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/tmpfile.c:179:7: error: Resource handle 'fd' freed twice. [doubleFree] coreutils-9.7/gnulib-tests/tmpfile.c:176:13: note: Resource handle 'fd' freed twice. coreutils-9.7/gnulib-tests/tmpfile.c:179:7: note: Resource handle 'fd' freed twice. coreutils-9.7/gnulib-tests/unicase/test-mapping-part2.h:36:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable test_exit_status [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/unictype/test-predicate-part2.h:36:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable test_exit_status [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/unistr/test-chr.h:141:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable test_exit_status [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/unistr/test-cpy.h:43:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable test_exit_status [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/unistr/test-cpy.h:31:15: style: Variable 'ret' can be declared as pointer to const [constVariablePointer] coreutils-9.7/gnulib-tests/unistr/test-pcpy.h:43:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable test_exit_status [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/unistr/test-pcpy.h:31:15: style: Variable 'ret' can be declared as pointer to const [constVariablePointer] coreutils-9.7/gnulib-tests/unistr/test-set.h:43:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable test_exit_status [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/unistr/test-set.h:30:15: style: Variable 'ret' can be declared as pointer to const [constVariablePointer] coreutils-9.7/gnulib-tests/unistr/test-strcat.h:55:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable test_exit_status [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/unistr/test-strcat.h:36:17: style: Variable 'result' can be declared as pointer to const [constVariablePointer] coreutils-9.7/gnulib-tests/unistr/test-u32-strlen.c:56:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable test_exit_status [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/unistr/test-u8-mbtoucr.c:186:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable test_exit_status [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/unistr/test-u8-uctomb.c:156:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable test_exit_status [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/unistr/u-set.h:42:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/uniwidth/test-uc_width.c:55:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable test_exit_status [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/uniwidth/test-uc_width2.c:85:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable test_exit_status [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/uniwidth/test-uc_width2.c:72:13: style: Condition 'w1==1' is always false [knownConditionTrueFalse] coreutils-9.7/gnulib-tests/uniwidth/test-uc_width2.c:73:24: style: Condition 'w2==2' is always false [knownConditionTrueFalse] coreutils-9.7/gnulib-tests/usleep.c:64:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/usleep.c:62:56: style: The comparison 'micro/1000000 != seconds' is always false because 'micro/1000000' and 'seconds' represent the same value. [knownConditionTrueFalse] coreutils-9.7/gnulib-tests/usleep.c:61:32: note: 'seconds' is assigned value 'micro/1000000' here. coreutils-9.7/gnulib-tests/usleep.c:62:56: note: The comparison 'micro/1000000 != seconds' is always false because 'micro/1000000' and 'seconds' represent the same value. coreutils-9.7/gnulib-tests/wctob.c:31:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MB_CUR_MAX [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/windows-timedrwlock.c:73:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_HANDLE_VALUE [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/windows-timedrwlock.c:215:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INFINITE [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/windows-timedrwlock.c:275:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INFINITE [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/windows-timedrwlock.c:332:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EBUSY [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/windows-timedrwlock.c:365:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EBUSY [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/windows-timedrwlock.c:423:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INFINITE [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/windows-timedrwlock.c:543:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INFINITE [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/windows-timedrwlock.c:619:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/windows-timedrwlock.c:663:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] coreutils-9.7/gnulib-tests/xgetcwd.h:19:0: error: #error "Please include config.h first." [preprocessorErrorDirective] coreutils-9.7/gnulib-tests/xgetcwd.h:19:3: error: #error "Please include config.h first." [preprocessorErrorDirective] coreutils-9.7/lib/acl-internal.h:22:0: error: #error "Please include config.h first." [preprocessorErrorDirective] coreutils-9.7/lib/acl-internal.h:22:3: error: #error "Please include config.h first." [preprocessorErrorDirective] coreutils-9.7/lib/af_alg.h:99:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EAFNOSUPPORT [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/af_alg.h:106:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EAFNOSUPPORT [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/af_alg.h:97:21: style: Parameter 'resblock' can be declared as pointer to const [constParameterPointer] coreutils-9.7/lib/af_alg.h:103:21: style: Parameter 'stream' can be declared as pointer to const [constParameterPointer] coreutils-9.7/lib/af_alg.h:104:21: style: Parameter 'resblock' can be declared as pointer to const [constParameterPointer] coreutils-9.7/lib/alignalloc.h:26:0: error: #error "Please include config.h first." [preprocessorErrorDirective] coreutils-9.7/lib/alignalloc.h:26:3: error: #error "Please include config.h first." [preprocessorErrorDirective] coreutils-9.7/lib/inttostr.h:22:0: error: #error "Please include config.h first." [preprocessorErrorDirective] coreutils-9.7/lib/inttostr.h:22:3: error: #error "Please include config.h first." [preprocessorErrorDirective] coreutils-9.7/lib/areadlink-with-size.c:79:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/areadlink-with-size.c:56:39: style: Condition 'symlink_max_mp_size!=0' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] coreutils-9.7/lib/mini-gmp.c:2983:29: style:inconclusive: Boolean expression 't0->_mp_size!=0' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] coreutils-9.7/lib/mini-gmp.c:2988:15: style:inconclusive: Boolean expression 't0->_mp_size!=0' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] coreutils-9.7/lib/mini-gmp.c:2988:34: style:inconclusive: Boolean expression 's0->_mp_size!=0' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] coreutils-9.7/lib/mini-gmp.c:3493:11: style:inconclusive: Boolean expression 'n->_mp_size!=0' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] coreutils-9.7/lib/mini-gmp.c:3519:8: style:inconclusive: Boolean expression 'U->_mp_size!=0' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] coreutils-9.7/lib/mini-gmp.c:3551:11: style:inconclusive: Boolean expression 'n->_mp_size!=0' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] coreutils-9.7/lib/mini-gmp.c:3633:7: style:inconclusive: Boolean expression 'n->_mp_size!=0' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] coreutils-9.7/lib/mini-gmp.c:3669:24: style:inconclusive: Boolean expression 'j=0)', assigned value is less than 1 coreutils-9.7/lib/mini-gmp.c:4211:13: note: Condition 'ux' is always false coreutils-9.7/lib/mini-gmp.c:4216:10: style: Condition 'ux==0' is always true [knownConditionTrueFalse] coreutils-9.7/lib/mini-gmp.c:4204:8: note: Assignment 'ux=-(unsigned long)(us>=0)', assigned value is less than 1 coreutils-9.7/lib/mini-gmp.c:4210:9: note: Assuming condition is false coreutils-9.7/lib/mini-gmp.c:4216:10: note: Condition 'ux==0' is always true coreutils-9.7/lib/mini-gmp.c:4598:11: style: Condition '!k' is always true [knownConditionTrueFalse] coreutils-9.7/lib/mini-gmp.c:4597:26: note: Assignment 'k=(sizeof(unsigned long)*8)<=8', assigned value is 0 coreutils-9.7/lib/mini-gmp.c:4598:11: note: Condition '!k' is always true coreutils-9.7/lib/mini-gmp.c:1990:7: style: Variable 'b' is assigned an expression that holds the same value. [redundantAssignment] coreutils-9.7/lib/mini-gmp.c:1990:7: note: __mpz_srcptr_swap__tmp is assigned 'a' here. coreutils-9.7/lib/mini-gmp.c:1990:7: note: Variable 'b' is assigned an expression that holds the same value. coreutils-9.7/lib/mini-gmp.c:2887:7: style: Variable 'v' is assigned an expression that holds the same value. [redundantAssignment] coreutils-9.7/lib/mini-gmp.c:2887:7: note: __mpz_srcptr_swap__tmp is assigned 'u' here. coreutils-9.7/lib/mini-gmp.c:2887:7: note: Variable 'v' is assigned an expression that holds the same value. coreutils-9.7/lib/mini-gmp.c:3862:7: style: Variable 'v' is assigned an expression that holds the same value. [redundantAssignment] coreutils-9.7/lib/mini-gmp.c:3862:7: note: __mpz_srcptr_swap__tmp is assigned 'u' here. coreutils-9.7/lib/mini-gmp.c:3862:7: note: Variable 'v' is assigned an expression that holds the same value. coreutils-9.7/lib/mini-gmp.c:3934:7: style: Variable 'v' is assigned an expression that holds the same value. [redundantAssignment] coreutils-9.7/lib/mini-gmp.c:3934:7: note: __mpz_srcptr_swap__tmp is assigned 'u' here. coreutils-9.7/lib/mini-gmp.c:3934:7: note: Variable 'v' is assigned an expression that holds the same value. coreutils-9.7/lib/mini-gmp.c:4007:7: style: Variable 'v' is assigned an expression that holds the same value. [redundantAssignment] coreutils-9.7/lib/mini-gmp.c:4007:7: note: __mpz_srcptr_swap__tmp is assigned 'u' here. coreutils-9.7/lib/mini-gmp.c:4007:7: note: Variable 'v' is assigned an expression that holds the same value. coreutils-9.7/lib/mini-gmp.c:1577:44: style: Checking if unsigned expression 'up[ulongsize]' is less than zero. [unsignedLessThanZero] coreutils-9.7/lib/mini-gmp.c:1572:24: note: Assignment 'ulongrem=0', assigned value is 0 coreutils-9.7/lib/mini-gmp.c:1577:44: note: Unsigned less than zero coreutils-9.7/lib/mini-gmp.c:4607:23: warning:inconclusive: Expression 'un-1' can have a negative value. That is converted to an unsigned value and used in an unsigned calculation. [signConversionCond] coreutils-9.7/lib/mini-gmp.c:4591:12: note: Assuming that condition '(un)>=0' is not redundant coreutils-9.7/lib/mini-gmp.c:4591:12: note: Assignment 'un=(un)>=0?(un):-(un)', assigned value is 0 coreutils-9.7/lib/mini-gmp.c:4607:23: note: Negative value is converted to an unsigned value coreutils-9.7/lib/mini-mpq.c:64:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/mini-mpq.c:111:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _mp_size [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/mini-mpq.c:292:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _mp_d [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/mini-mpq.c:362:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _mp_d [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/mini-mpq.c:432:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _mp_size [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/savewd.h:25:0: error: #error "Please include config.h first." [preprocessorErrorDirective] coreutils-9.7/lib/savewd.h:25:3: error: #error "Please include config.h first." [preprocessorErrorDirective] coreutils-9.7/lib/mkfifo.c:32:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/mkfifoat.c:72:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/mknod.c:33:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/mknodat.c:78:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/mktime.c:582:1: error: There is an unknown macro here somewhere. Configuration is required. If weak_alias is a macro then please configure it. [unknownMacro] coreutils-9.7/lib/modechange.h:24:0: error: #error "Please include config.h first." [preprocessorErrorDirective] coreutils-9.7/lib/modechange.h:24:3: error: #error "Please include config.h first." [preprocessorErrorDirective] coreutils-9.7/lib/mountlist.h:24:0: error: #error "Please include config.h first." [preprocessorErrorDirective] coreutils-9.7/lib/mountlist.h:24:3: error: #error "Please include config.h first." [preprocessorErrorDirective] coreutils-9.7/lib/msvc-inval.h:57:0: error: #error "Please include config.h first." [preprocessorErrorDirective] coreutils-9.7/lib/msvc-inval.h:57:3: error: #error "Please include config.h first." [preprocessorErrorDirective] coreutils-9.7/lib/msvc-nothrow.h:30:0: error: #error "Please include config.h first." [preprocessorErrorDirective] coreutils-9.7/lib/msvc-nothrow.h:30:3: error: #error "Please include config.h first." [preprocessorErrorDirective] coreutils-9.7/lib/nl_langinfo.c:83:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SETLOCALE_NULL_MAX [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/nl_langinfo.c:406:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable decimal_point [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/nl_langinfo.c:480:5: style: Statements following 'return' will never be executed. [unreachableCode] coreutils-9.7/lib/nl_langinfo.c:531:5: style: Statements following 'return' will never be executed. [unreachableCode] coreutils-9.7/lib/obstack.c:117:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable obstack_alloc_failed_handler [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/obstack.c:181:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable obstack_alloc_failed_handler [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/obstack.c:322:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/obstack.c:220:39: style: Parameter 'h' can be declared as pointer to const [constParameterPointer] coreutils-9.7/lib/obstack.c:220:48: style: Parameter 'obj' can be declared as pointer to const [constParameterPointer] coreutils-9.7/lib/obstack.c:271:39: style: Parameter 'h' can be declared as pointer to const [constParameterPointer] coreutils-9.7/lib/open-safer.c:33:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/open.c:76:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/openat-proc.c:82:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_SEARCH [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/openat-safer.c:33:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/opendir.c:93:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PATH [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/opendirat.c:42:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] parse-datetime.y:117:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] parse-datetime.y:134:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] parse-datetime.y:342:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tv_sec [valueFlowBailoutIncompleteVar] parse-datetime.y:387:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIdMAX [valueFlowBailoutIncompleteVar] parse-datetime.y:451:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] parse-datetime.y:533:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] parse-datetime.y:553:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] parse-datetime.y:698:106: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tv_sec [valueFlowBailoutIncompleteVar] parse-datetime.y:1292:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIdMAX [valueFlowBailoutIncompleteVar] parse-datetime.y:1499:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tv_sec [valueFlowBailoutIncompleteVar] parse-datetime.y:1854:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tv_sec [valueFlowBailoutIncompleteVar] parse-datetime.c:1565:5: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] parse-datetime.y:2367:15: style: The if condition is the same as the previous if condition [duplicateCondition] parse-datetime.y:2364:15: note: First condition parse-datetime.y:2367:15: note: Second condition parse-datetime.y:442:7: style: Condition '!debugging(pc)' is always true [knownConditionTrueFalse] parse-datetime.y:442:18: note: Calling function 'debugging' returns 0 parse-datetime.y:442:7: note: Condition '!debugging(pc)' is always true parse-datetime.y:542:7: style: Condition '!debugging(pc)' is always true [knownConditionTrueFalse] parse-datetime.y:542:18: note: Calling function 'debugging' returns 0 parse-datetime.y:542:7: note: Condition '!debugging(pc)' is always true parse-datetime.y:1647:35: style: Condition '!pc->zones_seen' is always false [knownConditionTrueFalse] parse-datetime.y:1702:7: style: Condition '!debugging(pc)' is always true [knownConditionTrueFalse] parse-datetime.y:1702:18: note: Calling function 'debugging' returns 0 parse-datetime.y:1702:7: note: Condition '!debugging(pc)' is always true parse-datetime.c:1656:3: style: The comparison '0 <= yystate' is always true. [knownConditionTrueFalse] parse-datetime.c:1598:31: note: 'yystate' is assigned value '0' here. parse-datetime.c:1656:3: note: The comparison '0 <= yystate' is always true. parse-datetime.y:1444:17: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] parse-datetime.y:348:27: style: Parameter 'pc' can be declared as pointer to const [constParameterPointer] parse-datetime.c:1565:11: style: Variable 'yymsg' is assigned a value that is never used. [unreadVariable] coreutils-9.7/lib/pipe-safer.c:41:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/pipe.c:48:0: error: #error "This platform lacks a pipe function, and Gnulib doesn't provide a replacement. This is a bug in Gnulib." [preprocessorErrorDirective] coreutils-9.7/lib/pipe.c:48:3: error: #error "This platform lacks a pipe function, and Gnulib doesn't provide a replacement. This is a bug in Gnulib." [preprocessorErrorDirective] coreutils-9.7/lib/posix_memalign.c:33:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/printf-frexp.c:135:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBL_MIN_EXP [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/printf-frexp.c:135:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDBL_MIN_EXP [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/xsize.h:23:0: error: #error "Please include config.h first." [preprocessorErrorDirective] coreutils-9.7/lib/xsize.h:23:3: error: #error "Please include config.h first." [preprocessorErrorDirective] coreutils-9.7/lib/priv-set.h:23:0: error: #error "Please include config.h first." [preprocessorErrorDirective] coreutils-9.7/lib/priv-set.h:23:3: error: #error "Please include config.h first." [preprocessorErrorDirective] coreutils-9.7/lib/progname.c:55:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/pselect.c:48:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FD_SETSIZE [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/pthread-cond.c:169:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETIMEDOUT [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/pthread-cond.c:43:58: style: Parameter 'attr' can be declared as pointer to const [constParameterPointer] coreutils-9.7/lib/pthread-cond.c:103:47: style: Parameter 'cond' can be declared as pointer to const [constParameterPointer] coreutils-9.7/lib/pthread-cond.c:179:49: style: Parameter 'cond' can be declared as pointer to const [constParameterPointer] coreutils-9.7/lib/pthread-cond.c:186:52: style: Parameter 'cond' can be declared as pointer to const [constParameterPointer] coreutils-9.7/lib/pthread-cond.c:193:50: style: Parameter 'cond' can be declared as pointer to const [constParameterPointer] coreutils-9.7/lib/pthread-mutex.c:36:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTHREAD_MUTEX_STALLED [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/pthread-mutex.c:43:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTHREAD_MUTEX_DEFAULT [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/pthread-mutex.c:51:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTHREAD_MUTEX_DEFAULT [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/pthread-mutex.c:65:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTHREAD_MUTEX_STALLED [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/pthread-mutex.c:72:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTHREAD_MUTEX_STALLED [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/pthread-mutex.c:80:60: style: Parameter 'attr' can be declared as pointer to const [constParameterPointer] coreutils-9.7/lib/pthread-mutex.c:210:49: style: Parameter 'mutex' can be declared as pointer to const [constParameterPointer] coreutils-9.7/lib/pthread-mutex.c:218:49: style: Parameter 'mutex' can be declared as pointer to const [constParameterPointer] coreutils-9.7/lib/pthread-mutex.c:226:52: style: Parameter 'mutex' can be declared as pointer to const [constParameterPointer] coreutils-9.7/lib/pthread-mutex.c:234:54: style: Parameter 'mutex' can be declared as pointer to const [constParameterPointer] coreutils-9.7/lib/pthread-mutex.c:243:51: style: Parameter 'mutex' can be declared as pointer to const [constParameterPointer] coreutils-9.7/lib/pthread-mutex.c:252:52: style: Parameter 'mutex' can be declared as pointer to const [constParameterPointer] coreutils-9.7/lib/pthread-thread.c:37:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTHREAD_CREATE_JOINABLE [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/pthread-thread.c:44:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTHREAD_CREATE_JOINABLE [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/pthread-thread.c:51:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTHREAD_CREATE_JOINABLE [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/pthread-thread.c:142:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EAGAIN [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/pthread-thread.c:161:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/pthread-thread.c:168:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/pthread-thread.c:60:50: style: Parameter 'attr' can be declared as pointer to const [constParameterPointer] coreutils-9.7/lib/pthread-thread.c:138:28: style: Parameter 'threadp' can be declared as pointer to const [constParameterPointer] coreutils-9.7/lib/pthread-thread.c:139:57: style: Parameter 'arg' can be declared as pointer to const [constParameterPointer] coreutils-9.7/lib/pthread-thread.c:172:21: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] coreutils-9.7/lib/pthread_mutex_timedlock.c:48:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EBUSY [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/putenv.c:128:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable environ [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/qsort.c:217:11: style: Variable 'thresh' can be declared as pointer to const [constVariablePointer] coreutils-9.7/lib/rawmemchr.c:47:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UINTPTR_WIDTH [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/rawmemchr.c:120:16: style: Variable 's' is reassigned a value before the old one has been used. [redundantAssignment] coreutils-9.7/lib/rawmemchr.c:61:36: note: s is assigned coreutils-9.7/lib/rawmemchr.c:120:16: note: s is overwritten coreutils-9.7/lib/rawmemchr.c:120:16: style: Variable 's' is assigned a value that is never used. [unreadVariable] coreutils-9.7/lib/read-file.h:23:0: error: #error "Please include config.h first." [preprocessorErrorDirective] coreutils-9.7/lib/read-file.h:23:3: error: #error "Please include config.h first." [preprocessorErrorDirective] coreutils-9.7/lib/readdir.c:68:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/readlink.c:41:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/readtokens0.c:72:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/readutmp.h:27:0: error: #error "Please include config.h first." [preprocessorErrorDirective] coreutils-9.7/lib/readutmp.h:27:3: error: #error "Please include config.h first." [preprocessorErrorDirective] coreutils-9.7/lib/realloc.c:90:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/reallocarray.c:32:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/regcomp.c:125:5: error: There is an unknown macro here somewhere. Configuration is required. If gettext_noop is a macro then please configure it. [unknownMacro] coreutils-9.7/lib/regex_internal.c:60:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/regex_internal.c:79:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable re_string_t [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/regex_internal.c:141:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Idx [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/regex_internal.c:261:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WEOF [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/regex_internal.c:337:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WEOF [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/regex_internal.c:494:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WEOF [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/regex_internal.c:586:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOTBOL [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/regex_internal.c:902:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOTEOL [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/regex_internal.c:939:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Idx [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/regex_internal.c:951:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Idx [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/regex_internal.c:966:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Idx [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/regex_internal.c:999:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Idx [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/regex_internal.c:1023:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/regex_internal.c:1116:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Idx [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/regex_internal.c:1166:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/regex_internal.c:1254:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/regex_internal.c:1311:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Idx [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/regex_internal.c:1387:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable re_token_t [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/regex_internal.c:1460:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/regex_internal.c:1508:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/regex_internal.c:1545:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/regex_internal.c:1598:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable re_dfastate_t [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/regex_internal.c:1646:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable re_dfastate_t [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/regex_internal.c:1611:19: style: Variable 'node' can be declared as pointer to const [constVariablePointer] coreutils-9.7/lib/regex_internal.c:1661:19: style: Variable 'node' can be declared as pointer to const [constVariablePointer] coreutils-9.7/lib/regexec.c:194:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOTBOL [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/regexec.c:413:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable regmatch_t [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/regexec.c:457:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REGS_REALLOCATE [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/regexec.c:537:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REGS_REALLOCATE [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/regexec.c:609:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOMATCH [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/regexec.c:909:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_ESPACE [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/regexec.c:1042:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/regexec.c:1164:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/regexec.c:1205:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/regexec.c:1315:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable re_fail_stack_ent_t [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/regexec.c:1342:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable idx [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/regexec.c:1381:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable re_fail_stack_ent_t [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/regexec.c:1465:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable eps_via_nodes [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/regexec.c:1477:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/regexec.c:1557:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/regexec.c:1605:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable non_eps_nodes [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/regexec.c:1668:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/regexec.c:1695:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nodes [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/regexec.c:1714:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/regexec.c:1760:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/regexec.c:1798:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/regexec.c:1846:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable idx [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/regexec.c:1880:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/regexec.c:1994:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable idx [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/regexec.c:2076:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/regexec.c:2172:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nodes [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/regexec.c:2203:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/regexec.c:2279:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/regexec.c:2371:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/regexec.c:2442:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable accept_mb [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/regexec.c:2511:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_BACK_REF [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/regexec.c:2620:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/regexec.c:2768:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_OPEN_SUBEXP [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/regexec.c:2815:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/regexec.c:2982:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/regexec.c:3059:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/regexec.c:3110:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/regexec.c:3156:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/regexec.c:3244:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SBC_MAX [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/regexec.c:3444:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CHARACTER [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/regexec.c:3619:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_UTF8_PERIOD [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/regexec.c:3918:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ASCII_CHARS [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/regexec.c:3956:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_ESPACE [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/regexec.c:4018:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable re_backref_cache_entry [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/regexec.c:4094:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable re_backref_cache_entry [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/regexec.c:4143:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable str_idx [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/regexec.c:4170:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_ESPACE [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/regexec.c:4201:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable re_sub_match_last_t [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/regexec.c:1950:27: style:inconclusive: Function 'check_dst_limits_calc_pos' argument 4 names different: declaration 'node' definition 'from_node'. [funcArgNamesDifferent] coreutils-9.7/lib/regexec.c:94:15: note: Function 'check_dst_limits_calc_pos' argument 4 names different: declaration 'node' definition 'from_node'. coreutils-9.7/lib/regexec.c:1950:27: note: Function 'check_dst_limits_calc_pos' argument 4 names different: declaration 'node' definition 'from_node'. coreutils-9.7/lib/regexec.c:3425:21: style:inconclusive: Function 'group_nodes_into_DFAstates' argument 3 names different: declaration 'states_node' definition 'dests_node'. [funcArgNamesDifferent] coreutils-9.7/lib/regexec.c:163:25: note: Function 'group_nodes_into_DFAstates' argument 3 names different: declaration 'states_node' definition 'dests_node'. coreutils-9.7/lib/regexec.c:3425:21: note: Function 'group_nodes_into_DFAstates' argument 3 names different: declaration 'states_node' definition 'dests_node'. coreutils-9.7/lib/regexec.c:3425:43: style:inconclusive: Function 'group_nodes_into_DFAstates' argument 4 names different: declaration 'states_ch' definition 'dests_ch'. [funcArgNamesDifferent] coreutils-9.7/lib/regexec.c:164:22: note: Function 'group_nodes_into_DFAstates' argument 4 names different: declaration 'states_ch' definition 'dests_ch'. coreutils-9.7/lib/regexec.c:3425:43: note: Function 'group_nodes_into_DFAstates' argument 4 names different: declaration 'states_ch' definition 'dests_ch'. coreutils-9.7/lib/regexec.c:3613:35: style:inconclusive: Function 'check_node_accept_bytes' argument 4 names different: declaration 'idx' definition 'str_idx'. [funcArgNamesDifferent] coreutils-9.7/lib/regexec.c:156:39: note: Function 'check_node_accept_bytes' argument 4 names different: declaration 'idx' definition 'str_idx'. coreutils-9.7/lib/regexec.c:3613:35: note: Function 'check_node_accept_bytes' argument 4 names different: declaration 'idx' definition 'str_idx'. coreutils-9.7/lib/regexec.c:4010:37: style:inconclusive: Function 'match_ctx_init' argument 1 names different: declaration 'cache' definition 'mctx'. [funcArgNamesDifferent] coreutils-9.7/lib/regexec.c:20:58: note: Function 'match_ctx_init' argument 1 names different: declaration 'cache' definition 'mctx'. coreutils-9.7/lib/regexec.c:4010:37: note: Function 'match_ctx_init' argument 1 names different: declaration 'cache' definition 'mctx'. coreutils-9.7/lib/regexec.c:4073:37: style:inconclusive: Function 'match_ctx_free' argument 1 names different: declaration 'cache' definition 'mctx'. [funcArgNamesDifferent] coreutils-9.7/lib/regexec.c:23:49: note: Function 'match_ctx_free' argument 1 names different: declaration 'cache' definition 'mctx'. coreutils-9.7/lib/regexec.c:4073:37: note: Function 'match_ctx_free' argument 1 names different: declaration 'cache' definition 'mctx'. coreutils-9.7/lib/regexec.c:4088:42: style:inconclusive: Function 'match_ctx_add_entry' argument 1 names different: declaration 'cache' definition 'mctx'. [funcArgNamesDifferent] coreutils-9.7/lib/regexec.c:24:63: note: Function 'match_ctx_add_entry' argument 1 names different: declaration 'cache' definition 'mctx'. coreutils-9.7/lib/regexec.c:4088:42: note: Function 'match_ctx_add_entry' argument 1 names different: declaration 'cache' definition 'mctx'. coreutils-9.7/lib/regexec.c:798:20: style: Variable 'pstate' can be declared as pointer to const [constVariablePointer] coreutils-9.7/lib/regexec.c:1307:27: style: Parameter 'regs' can be declared as pointer to const [constParameterPointer] coreutils-9.7/lib/regexec.c:1307:45: style: Parameter 'prevregs' can be declared as pointer to const [constParameterPointer] coreutils-9.7/lib/regexec.c:1844:38: style: Variable 'ent' can be declared as pointer to const [constVariablePointer] coreutils-9.7/lib/regexec.c:1953:34: style: Variable 'lim' can be declared as pointer to const [constVariablePointer] coreutils-9.7/lib/regexec.c:1988:38: style: Variable 'ent' can be declared as pointer to const [constVariablePointer] coreutils-9.7/lib/regexec.c:2084:38: style: Variable 'entry' can be declared as pointer to const [constVariablePointer] coreutils-9.7/lib/regexec.c:2536:35: style: Variable 'bkref_ent' can be declared as pointer to const [constVariablePointer] coreutils-9.7/lib/remove.c:40:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/renameatu.c:35:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/renameatu.c:55:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/renameatu.c:107:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/renameatu.c:117:7: style: Condition '!(ret_val<0&&(err==EINVAL||err==ENOSYS||err==ENOTSUP))' is always false [knownConditionTrueFalse] coreutils-9.7/lib/renameatu.c:106:18: note: Assignment 'ret_val=-1', assigned value is -1 coreutils-9.7/lib/renameatu.c:117:7: note: Condition '!(ret_val<0&&(err==EINVAL||err==ENOSYS||err==ENOTSUP))' is always false coreutils-9.7/lib/renameatu.c:117:18: style: Condition 'ret_val<0' is always true [knownConditionTrueFalse] coreutils-9.7/lib/renameatu.c:106:18: note: Assignment 'ret_val=-1', assigned value is -1 coreutils-9.7/lib/renameatu.c:117:18: note: Condition 'ret_val<0' is always true coreutils-9.7/lib/renameatu.c:117:30: style: The comparison 'err == EINVAL' is always true because 'err' and 'EINVAL' represent the same value. [knownConditionTrueFalse] coreutils-9.7/lib/renameatu.c:107:13: note: 'err' is assigned value 'EINVAL' here. coreutils-9.7/lib/renameatu.c:117:30: note: The comparison 'err == EINVAL' is always true because 'err' and 'EINVAL' represent the same value. coreutils-9.7/lib/rewinddir.c:40:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_HANDLE_VALUE [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/rmdir.c:46:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/safe-read.c:66:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/savedir.h:26:0: error: #error "Please include config.h first." [preprocessorErrorDirective] coreutils-9.7/lib/savedir.h:26:3: error: #error "Please include config.h first." [preprocessorErrorDirective] coreutils-9.7/lib/select.c:576:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FD_SETSIZE [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/setlocale_null-unlocked.c:125:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/setlocale_null.c:205:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] coreutils-9.7/lib/sha1.h:24:0: error: #error "Please include config.h first." [preprocessorErrorDirective] coreutils-9.7/lib/sha1.h:24:4: error: #error "Please include config.h first." [preprocessorErrorDirective] coreutils-9.7/lib/sha256.h:23:0: error: #error "Please include config.h first." [preprocessorErrorDirective] coreutils-9.7/lib/sha256.h:23:4: error: #error "Please include config.h first." [preprocessorErrorDirective] coreutils-9.7/lib/sha512.h:23:0: error: #error "Please include config.h first." [preprocessorErrorDirective] coreutils-9.7/lib/sha512.h:23:4: error: #error "Please include config.h first." [preprocessorErrorDirective] coreutils-9.7/lib/sig-handler.h:23:0: error: #error "Please include config.h first." [preprocessorErrorDirective] coreutils-9.7/lib/sig-handler.h:23:3: error: #error "Please include config.h first." [preprocessorErrorDirective] coreutils-9.7/lib/sig2str.c:347:28: warning: Logical conjunction always evaluates to false: rtmin <= signum && signum <= rtmax. [incorrectLogicOperator] coreutils-9.7/lib/sig2str.c:299:15: style: Condition '0nbytes [uninitdata] coreutils-9.7/src/head.c:541:25: error: Uninitialized struct member: last.nbytes [uninitStructMember] coreutils-9.7/src/hostid.c:37:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable program_name [valueFlowBailoutIncompleteVar] coreutils-9.7/src/hostid.c:59:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] coreutils-9.7/src/hostname.c:45:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/src/hostname.c:55:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable program_name [valueFlowBailoutIncompleteVar] coreutils-9.7/src/hostname.c:79:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] coreutils-9.7/src/hostname.c:99:45: style: Condition 'sethostname(name,strlen(name))!=0' is always true [knownConditionTrueFalse] coreutils-9.7/src/hostname.c:99:23: note: Calling function 'sethostname' returns -1 coreutils-9.7/src/hostname.c:99:45: note: Condition 'sethostname(name,strlen(name))!=0' is always true coreutils-9.7/src/hostname.c:75:9: style: Variable 'hostname' can be declared as pointer to const [constVariablePointer] coreutils-9.7/src/id.c:91:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable program_name [valueFlowBailoutIncompleteVar] coreutils-9.7/src/id.c:131:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] coreutils-9.7/src/id.c:385:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] coreutils-9.7/src/id.c:423:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] coreutils-9.7/src/id.c:244:33: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] coreutils-9.7/src/id.c:244:54: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] coreutils-9.7/src/id.c:315:13: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] coreutils-9.7/src/id.c:338:9: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] coreutils-9.7/src/id.c:343:9: portability: Non reentrant function 'getgrgid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrgid_r'. [prohibitedgetgrgidCalled] coreutils-9.7/src/id.c:350:13: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] coreutils-9.7/src/id.c:358:13: portability: Non reentrant function 'getgrgid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrgid_r'. [prohibitedgetgrgidCalled] coreutils-9.7/src/id.c:391:15: portability: Non reentrant function 'getgrgid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrgid_r'. [prohibitedgetgrgidCalled] coreutils-9.7/src/id.c:236:26: style: Variable 'pwd' can be declared as pointer to const [constVariablePointer] coreutils-9.7/src/id.c:311:18: style: Variable 'pwd' can be declared as pointer to const [constVariablePointer] coreutils-9.7/src/id.c:335:17: style: Variable 'grp' can be declared as pointer to const [constVariablePointer] coreutils-9.7/src/iopoll.c:100:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FD_SETSIZE [valueFlowBailoutIncompleteVar] coreutils-9.7/src/iopoll.c:182:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/src/join.c:193:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable program_name [valueFlowBailoutIncompleteVar] coreutils-9.7/src/join.c:562:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] coreutils-9.7/src/join.c:580:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] coreutils-9.7/src/join.c:629:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] coreutils-9.7/src/join.c:669:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FADVISE_SEQUENTIAL [valueFlowBailoutIncompleteVar] coreutils-9.7/src/join.c:851:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LONGINT_OVERFLOW [valueFlowBailoutIncompleteVar] coreutils-9.7/src/join.c:971:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable shell_escape_always_quoting_style [valueFlowBailoutIncompleteVar] coreutils-9.7/src/join.c:1017:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] coreutils-9.7/src/join.c:830:3: warning: If memory allocation fails, then there is a possible null pointer dereference: o [nullPointerOutOfMemory] coreutils-9.7/src/join.c:829:15: note: Assuming allocation function fails coreutils-9.7/src/join.c:829:15: note: Assignment 'o=xmalloc(sizeof(*o))', assigned value is 0 coreutils-9.7/src/join.c:830:3: note: Null pointer dereference coreutils-9.7/src/join.c:831:3: warning: If memory allocation fails, then there is a possible null pointer dereference: o [nullPointerOutOfMemory] coreutils-9.7/src/join.c:829:15: note: Assuming allocation function fails coreutils-9.7/src/join.c:829:15: note: Assignment 'o=xmalloc(sizeof(*o))', assigned value is 0 coreutils-9.7/src/join.c:831:3: note: Null pointer dereference coreutils-9.7/src/join.c:832:3: warning: If memory allocation fails, then there is a possible null pointer dereference: o [nullPointerOutOfMemory] coreutils-9.7/src/join.c:829:15: note: Assuming allocation function fails coreutils-9.7/src/join.c:829:15: note: Assignment 'o=xmalloc(sizeof(*o))', assigned value is 0 coreutils-9.7/src/join.c:832:3: note: Null pointer dereference coreutils-9.7/src/join.c:960:21: style: Parameter 'prev_optc_status' can be declared as pointer to const [constParameterPointer] coreutils-9.7/src/kill.c:56:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable program_name [valueFlowBailoutIncompleteVar] coreutils-9.7/src/kill.c:112:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG2STR_MAX [valueFlowBailoutIncompleteVar] coreutils-9.7/src/kill.c:189:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/src/kill.c:222:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] coreutils-9.7/src/test.c:585:10: error: syntax error: ||() [syntaxError] coreutils-9.7/src/libstdbuf.c:114:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE_MAX [valueFlowBailoutIncompleteVar] coreutils-9.7/src/libstdbuf.c:144:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/src/libstdbuf.c:140:9: style: Variable 'e_mode' can be declared as pointer to const [constVariablePointer] coreutils-9.7/src/libstdbuf.c:141:9: style: Variable 'i_mode' can be declared as pointer to const [constVariablePointer] coreutils-9.7/src/libstdbuf.c:142:9: style: Variable 'o_mode' can be declared as pointer to const [constVariablePointer] coreutils-9.7/src/link.c:40:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable program_name [valueFlowBailoutIncompleteVar] coreutils-9.7/src/link.c:61:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] coreutils-9.7/src/ln.c:130:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAN_MISSING [valueFlowBailoutIncompleteVar] coreutils-9.7/src/ln.c:166:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AT_FDCWD [valueFlowBailoutIncompleteVar] coreutils-9.7/src/ln.c:185:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AT_SYMLINK_NOFOLLOW [valueFlowBailoutIncompleteVar] coreutils-9.7/src/ln.c:405:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable program_name [valueFlowBailoutIncompleteVar] coreutils-9.7/src/ln.c:482:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] coreutils-9.7/src/ln.c:358:36: warning: If memory allocation fails, then there is a possible null pointer dereference: alloc [nullPointerOutOfMemory] coreutils-9.7/src/ln.c:357:35: note: Assuming allocation function fails coreutils-9.7/src/ln.c:357:35: note: Assignment 'alloc=xmalloc(destdirlen+strlen(backup_base)+1)', assigned value is 0 coreutils-9.7/src/ln.c:358:36: note: Null pointer dereference coreutils-9.7/src/logname.c:34:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable program_name [valueFlowBailoutIncompleteVar] coreutils-9.7/src/logname.c:56:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] coreutils-9.7/src/logname.c:74:8: portability: Non reentrant function 'getlogin' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getlogin_r'. [prohibitedgetloginCalled] coreutils-9.7/src/logname.c:78:9: warning: Either the condition '!cp' is redundant or there is possible null pointer dereference: cp. [nullPointerRedundantCheck] coreutils-9.7/src/logname.c:75:7: note: Assuming that condition '!cp' is not redundant coreutils-9.7/src/logname.c:78:9: note: Null pointer dereference coreutils-9.7/src/logname.c:52:9: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] coreutils-9.7/src/ls.c:1027:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] coreutils-9.7/src/ls.c:1100:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAYBE_UNUSED [valueFlowBailoutIncompleteVar] coreutils-9.7/src/ls.c:1120:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] coreutils-9.7/src/ls.c:1533:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] coreutils-9.7/src/ls.c:1566:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] coreutils-9.7/src/ls.c:1658:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] coreutils-9.7/src/ls.c:1702:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] coreutils-9.7/src/ls.c:1985:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable escape_quoting_style [valueFlowBailoutIncompleteVar] coreutils-9.7/src/ls.c:2579:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALLTHROUGH [valueFlowBailoutIncompleteVar] coreutils-9.7/src/ls.c:2919:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE_MAX [valueFlowBailoutIncompleteVar] coreutils-9.7/src/ls.c:2968:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable quoting_style_vals [valueFlowBailoutIncompleteVar] coreutils-9.7/src/ls.c:2990:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/src/ls.c:3028:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/src/ls.c:3206:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FNM_PERIOD [valueFlowBailoutIncompleteVar] coreutils-9.7/src/ls.c:3261:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/src/ls.c:3324:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/src/ls.c:3356:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/src/ls.c:3461:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAN_MISSING [valueFlowBailoutIncompleteVar] coreutils-9.7/src/ls.c:3805:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/src/ls.c:4310:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LONGEST_HUMAN_READABLE [valueFlowBailoutIncompleteVar] coreutils-9.7/src/ls.c:4535:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable shell_quoting_style [valueFlowBailoutIncompleteVar] coreutils-9.7/src/ls.c:4722:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] coreutils-9.7/src/ls.c:4766:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] coreutils-9.7/src/ls.c:4882:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LONGEST_HUMAN_READABLE [valueFlowBailoutIncompleteVar] coreutils-9.7/src/ls.c:4916:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IXUGO [valueFlowBailoutIncompleteVar] coreutils-9.7/src/ls.c:5013:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_ISUID [valueFlowBailoutIncompleteVar] coreutils-9.7/src/ls.c:5114:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] coreutils-9.7/src/ls.c:5121:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LONGEST_HUMAN_READABLE [valueFlowBailoutIncompleteVar] coreutils-9.7/src/ls.c:5241:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE_MAX [valueFlowBailoutIncompleteVar] coreutils-9.7/src/ls.c:5405:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable program_name [valueFlowBailoutIncompleteVar] coreutils-9.7/src/ls.c:1506:24: style:inconclusive: Boolean expression 's[0]!='0'' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] coreutils-9.7/src/ls.c:1769:49: style:inconclusive: Boolean expression 'sort_type==sort_time' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] coreutils-9.7/src/ls.c:1771:61: style:inconclusive: Boolean expression 'print_scontext' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] coreutils-9.7/src/ls.c:1773:24: style:inconclusive: Boolean expression '!format_needs_stat' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] coreutils-9.7/src/ls.c:1773:37: style:inconclusive: Boolean expression 'recursive' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] coreutils-9.7/src/ls.c:2417:9: style:inconclusive: Boolean expression 'dired' is used in bitwise operation. [bitwiseOnBoolean] coreutils-9.7/src/ls.c:2417:36: style:inconclusive: Boolean expression 'format==long_format' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] coreutils-9.7/src/ls.c:3442:18: style:inconclusive: Boolean expression 'check_stat' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] coreutils-9.7/src/ls.c:3442:35: style:inconclusive: Boolean expression 'format_needs_capability' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] coreutils-9.7/src/ls.c:3532:47: style:inconclusive: Boolean expression 'format==long_format' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] coreutils-9.7/src/ls.c:3533:51: style:inconclusive: Boolean expression 'format_needs_capability' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] coreutils-9.7/src/ls.c:3535:20: style:inconclusive: Boolean expression 'get_scontext' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] coreutils-9.7/src/ls.c:3589:7: style:inconclusive: Boolean expression 'type==symbolic_link' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] coreutils-9.7/src/ls.c:3589:34: style:inconclusive: Boolean expression 'format==long_format' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] coreutils-9.7/src/ls.c:3660:29: style:inconclusive: Boolean expression 'type==chardev' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] coreutils-9.7/src/ls.c:3099:14: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] coreutils-9.7/src/ls.c:3445:17: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] coreutils-9.7/src/ls.c:2417:36: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] coreutils-9.7/src/ls.c:1402:7: style: Condition '!abmon_init(abmon)' is always true [knownConditionTrueFalse] coreutils-9.7/src/ls.c:1402:20: note: Calling function 'abmon_init' returns 0 coreutils-9.7/src/ls.c:1402:7: note: Condition '!abmon_init(abmon)' is always true coreutils-9.7/src/ls.c:3361:21: style: Condition '!b' is always true [knownConditionTrueFalse] coreutils-9.7/src/ls.c:3360:27: note: Calling function 'has_capability' returns 0 coreutils-9.7/src/ls.c:3360:27: note: Assignment 'b=has_capability(file)', assigned value is 0 coreutils-9.7/src/ls.c:3361:21: note: Condition '!b' is always true coreutils-9.7/src/ls.c:3558:25: style: Condition 'have_scontext' is always true [knownConditionTrueFalse] coreutils-9.7/src/ls.c:3556:22: note: Assuming that condition '!have_scontext' is not redundant coreutils-9.7/src/ls.c:3558:25: note: Condition 'have_scontext' is always true coreutils-9.7/src/ls.c:3558:42: style: Condition '!have_acl' is always false [knownConditionTrueFalse] coreutils-9.7/src/ls.c:3556:40: note: Assuming that condition '!have_acl' is not redundant coreutils-9.7/src/ls.c:3558:42: note: Condition '!have_acl' is always false coreutils-9.7/src/ls.c:1465:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ent [nullPointerOutOfMemory] coreutils-9.7/src/ls.c:1464:17: note: Assuming allocation function fails coreutils-9.7/src/ls.c:1464:17: note: Assignment 'ent=xmalloc(sizeof(*ent))', assigned value is 0 coreutils-9.7/src/ls.c:1465:3: note: Null pointer dereference coreutils-9.7/src/ls.c:1466:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ent [nullPointerOutOfMemory] coreutils-9.7/src/ls.c:1464:17: note: Assuming allocation function fails coreutils-9.7/src/ls.c:1464:17: note: Assignment 'ent=xmalloc(sizeof(*ent))', assigned value is 0 coreutils-9.7/src/ls.c:1466:3: note: Null pointer dereference coreutils-9.7/src/ls.c:2179:13: warning: If memory allocation fails, then there is a possible null pointer dereference: hide [nullPointerOutOfMemory] coreutils-9.7/src/ls.c:2178:51: note: Assuming allocation function fails coreutils-9.7/src/ls.c:2178:51: note: Assignment 'hide=xmalloc(sizeof(*hide))', assigned value is 0 coreutils-9.7/src/ls.c:2179:13: note: Null pointer dereference coreutils-9.7/src/ls.c:2180:13: warning: If memory allocation fails, then there is a possible null pointer dereference: hide [nullPointerOutOfMemory] coreutils-9.7/src/ls.c:2178:51: note: Assuming allocation function fails coreutils-9.7/src/ls.c:2178:51: note: Assignment 'hide=xmalloc(sizeof(*hide))', assigned value is 0 coreutils-9.7/src/ls.c:2180:13: note: Null pointer dereference coreutils-9.7/src/ls.c:2811:15: warning: If memory allocation fails, then there is a possible null pointer dereference: ext [nullPointerOutOfMemory] coreutils-9.7/src/ls.c:2810:29: note: Assuming allocation function fails coreutils-9.7/src/ls.c:2810:29: note: Assignment 'ext=xmalloc(sizeof(*ext))', assigned value is 0 coreutils-9.7/src/ls.c:2811:15: note: Null pointer dereference coreutils-9.7/src/ls.c:2813:15: warning: If memory allocation fails, then there is a possible null pointer dereference: ext [nullPointerOutOfMemory] coreutils-9.7/src/ls.c:2810:29: note: Assuming allocation function fails coreutils-9.7/src/ls.c:2810:29: note: Assignment 'ext=xmalloc(sizeof(*ext))', assigned value is 0 coreutils-9.7/src/ls.c:2813:15: note: Null pointer dereference coreutils-9.7/src/ls.c:2816:15: warning: If memory allocation fails, then there is a possible null pointer dereference: ext [nullPointerOutOfMemory] coreutils-9.7/src/ls.c:2810:29: note: Assuming allocation function fails coreutils-9.7/src/ls.c:2810:29: note: Assignment 'ext=xmalloc(sizeof(*ext))', assigned value is 0 coreutils-9.7/src/ls.c:2816:15: note: Null pointer dereference coreutils-9.7/src/ls.c:3008:3: warning: If memory allocation fails, then there is a possible null pointer dereference: new [nullPointerOutOfMemory] coreutils-9.7/src/ls.c:3007:33: note: Assuming allocation function fails coreutils-9.7/src/ls.c:3007:33: note: Assignment 'new=xmalloc(sizeof(*new))', assigned value is 0 coreutils-9.7/src/ls.c:3008:3: note: Null pointer dereference coreutils-9.7/src/ls.c:3009:3: warning: If memory allocation fails, then there is a possible null pointer dereference: new [nullPointerOutOfMemory] coreutils-9.7/src/ls.c:3007:33: note: Assuming allocation function fails coreutils-9.7/src/ls.c:3007:33: note: Assignment 'new=xmalloc(sizeof(*new))', assigned value is 0 coreutils-9.7/src/ls.c:3009:3: note: Null pointer dereference coreutils-9.7/src/ls.c:3010:3: warning: If memory allocation fails, then there is a possible null pointer dereference: new [nullPointerOutOfMemory] coreutils-9.7/src/ls.c:3007:33: note: Assuming allocation function fails coreutils-9.7/src/ls.c:3007:33: note: Assignment 'new=xmalloc(sizeof(*new))', assigned value is 0 coreutils-9.7/src/ls.c:3010:3: note: Null pointer dereference coreutils-9.7/src/ls.c:3011:3: warning: If memory allocation fails, then there is a possible null pointer dereference: new [nullPointerOutOfMemory] coreutils-9.7/src/ls.c:3007:33: note: Assuming allocation function fails coreutils-9.7/src/ls.c:3007:33: note: Assignment 'new=xmalloc(sizeof(*new))', assigned value is 0 coreutils-9.7/src/ls.c:3011:3: note: Null pointer dereference coreutils-9.7/src/ls.c:3193:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ignore [nullPointerOutOfMemory] coreutils-9.7/src/ls.c:3192:20: note: Assuming allocation function fails coreutils-9.7/src/ls.c:3192:20: note: Assignment 'ignore=xmalloc(sizeof(*ignore))', assigned value is 0 coreutils-9.7/src/ls.c:3193:3: note: Null pointer dereference coreutils-9.7/src/ls.c:3195:3: warning: If memory allocation fails, then there is a possible null pointer dereference: ignore [nullPointerOutOfMemory] coreutils-9.7/src/ls.c:3192:20: note: Assuming allocation function fails coreutils-9.7/src/ls.c:3192:20: note: Assignment 'ignore=xmalloc(sizeof(*ignore))', assigned value is 0 coreutils-9.7/src/ls.c:3195:3: note: Null pointer dereference coreutils-9.7/src/ls.c:4548:27: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] coreutils-9.7/src/ls.c:4544:25: note: Assuming allocation function fails coreutils-9.7/src/ls.c:4544:25: note: Assignment 'buf=xmalloc(len+1)', assigned value is 0 coreutils-9.7/src/ls.c:4548:27: note: Null pointer dereference coreutils-9.7/src/ls.c:4555:15: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] coreutils-9.7/src/ls.c:4554:23: note: Assuming allocation function fails coreutils-9.7/src/ls.c:4554:23: note: Assignment 'buf=xmalloc(len+1)', assigned value is 0 coreutils-9.7/src/ls.c:4555:15: note: Null pointer dereference coreutils-9.7/src/ls.c:4384:9: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] coreutils-9.7/src/ls.c:4445:9: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] coreutils-9.7/src/ls.c:1088:19: style: Variable 'di' can be declared as pointer to const [constVariablePointer] coreutils-9.7/src/ls.c:1119:14: style: Variable 'pos' can be declared as pointer to const [constVariablePointer] coreutils-9.7/src/ls.c:1345:18: style: Parameter 'abmon' can be declared as const array [constParameter] coreutils-9.7/src/ls.c:1461:19: style: Variable 'ent_from_table' can be declared as pointer to const [constVariablePointer] coreutils-9.7/src/ls.c:3024:18: style: Variable 'next' can be declared as pointer to const [constVariablePointer] coreutils-9.7/src/ls.c:1562:16: style: Unused variable: oldset [unusedVariable] coreutils-9.7/src/make-prime-list.c:177:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/src/make-prime-list.c:194:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/src/prog-fprintf.h:23:3: error: There is an unknown macro here somewhere. Configuration is required. If _GL_ATTRIBUTE_FORMAT is a macro then please configure it. [unknownMacro] coreutils-9.7/src/selinux.h:29:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOTSUP [valueFlowBailoutIncompleteVar] coreutils-9.7/src/selinux.h:46:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/src/selinux.h:51:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/src/mkfifo.c:49:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable program_name [valueFlowBailoutIncompleteVar] coreutils-9.7/src/mkfifo.c:86:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] coreutils-9.7/src/selinux.h:44:36: style: Parameter 'selabel_handle' can be declared as pointer to const [constParameterPointer] coreutils-9.7/src/selinux.h:49:36: style: Parameter 'selabel_handle' can be declared as pointer to const [constParameterPointer] coreutils-9.7/src/mknod.c:50:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable program_name [valueFlowBailoutIncompleteVar] coreutils-9.7/src/mknod.c:103:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] coreutils-9.7/src/mktemp.c:62:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable program_name [valueFlowBailoutIncompleteVar] coreutils-9.7/src/mktemp.c:116:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GT_FILE [valueFlowBailoutIncompleteVar] coreutils-9.7/src/mktemp.c:123:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GT_DIR [valueFlowBailoutIncompleteVar] coreutils-9.7/src/mktemp.c:139:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/src/mktemp.c:163:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] coreutils-9.7/src/mktemp.c:241:25: warning: If memory allocation fails, then there is a possible null pointer dereference: template [nullPointerOutOfMemory] coreutils-9.7/src/mktemp.c:240:26: note: Assuming allocation function fails coreutils-9.7/src/mktemp.c:240:26: note: Assignment 'template=xstrdup(template)', assigned value is 0 coreutils-9.7/src/mktemp.c:241:25: note: Null pointer dereference coreutils-9.7/src/mktemp.c:334:13: warning: If memory allocation fails, then there is a possible null pointer dereference: dest_name [nullPointerOutOfMemory] coreutils-9.7/src/mktemp.c:307:23: note: Assuming allocation function fails coreutils-9.7/src/mktemp.c:307:23: note: Assignment 'dest_name=xstrdup(template)', assigned value is 0 coreutils-9.7/src/mktemp.c:334:13: note: Null pointer dereference coreutils-9.7/src/nice.c:69:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable program_name [valueFlowBailoutIncompleteVar] coreutils-9.7/src/nice.c:97:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EACCES [valueFlowBailoutIncompleteVar] coreutils-9.7/src/nice.c:111:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] coreutils-9.7/src/nl.c:174:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable program_name [valueFlowBailoutIncompleteVar] coreutils-9.7/src/nl.c:250:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] coreutils-9.7/src/nl.c:351:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] coreutils-9.7/src/nl.c:442:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] coreutils-9.7/src/nl.c:483:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] coreutils-9.7/src/nl.c:451:11: error: Resource leak: stream [resourceLeak] coreutils-9.7/src/nl.c:460:16: warning:inconclusive: If resource allocation fails, then there is a possible null pointer dereference: stream [nullPointerOutOfResources] coreutils-9.7/src/nl.c:447:22: note: Assuming allocation function fails coreutils-9.7/src/nl.c:447:22: note: Assignment 'stream=fopen(file,"r")', assigned value is 0 coreutils-9.7/src/nl.c:448:18: note: Assuming condition is false coreutils-9.7/src/nl.c:460:16: note: Null pointer dereference coreutils-9.7/src/nl.c:587:27: warning: If memory allocation fails, then there is a possible null pointer dereference: header_del [nullPointerOutOfMemory] coreutils-9.7/src/nl.c:586:24: note: Assuming allocation function fails coreutils-9.7/src/nl.c:586:24: note: Assignment 'header_del=xmalloc(header_del_len+1)', assigned value is 0 coreutils-9.7/src/nl.c:587:27: note: Null pointer dereference coreutils-9.7/src/nl.c:601:11: warning: If memory allocation fails, then there is a possible null pointer dereference: print_no_line_fmt [nullPointerOutOfMemory] coreutils-9.7/src/nl.c:600:31: note: Assuming allocation function fails coreutils-9.7/src/nl.c:600:31: note: Assignment 'print_no_line_fmt=xmalloc(lineno_width+len+1)', assigned value is 0 coreutils-9.7/src/nl.c:601:11: note: Null pointer dereference coreutils-9.7/src/nl.c:602:3: warning: If memory allocation fails, then there is a possible null pointer dereference: print_no_line_fmt [nullPointerOutOfMemory] coreutils-9.7/src/nl.c:600:31: note: Assuming allocation function fails coreutils-9.7/src/nl.c:600:31: note: Assignment 'print_no_line_fmt=xmalloc(lineno_width+len+1)', assigned value is 0 coreutils-9.7/src/nl.c:602:3: note: Null pointer dereference coreutils-9.7/src/nl.c:590:25: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] coreutils-9.7/src/nl.c:586:24: note: Assuming allocation function fails coreutils-9.7/src/nl.c:586:24: note: Assignment 'header_del=xmalloc(header_del_len+1)', assigned value is 0 coreutils-9.7/src/nl.c:590:25: note: Null pointer addition coreutils-9.7/src/nohup.c:46:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable program_name [valueFlowBailoutIncompleteVar] coreutils-9.7/src/nohup.c:94:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] coreutils-9.7/src/nproc.c:53:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable program_name [valueFlowBailoutIncompleteVar] coreutils-9.7/src/nproc.c:80:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] coreutils-9.7/src/numfmt.c:356:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDBL_MAX [valueFlowBailoutIncompleteVar] coreutils-9.7/src/numfmt.c:417:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INTMAX_MAX [valueFlowBailoutIncompleteVar] coreutils-9.7/src/numfmt.c:629:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/src/numfmt.c:752:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/src/numfmt.c:856:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LONGINT_OK [valueFlowBailoutIncompleteVar] coreutils-9.7/src/numfmt.c:871:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable program_name [valueFlowBailoutIncompleteVar] coreutils-9.7/src/numfmt.c:1099:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/src/numfmt.c:1227:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/src/numfmt.c:1258:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] coreutils-9.7/src/numfmt.c:1286:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] coreutils-9.7/src/numfmt.c:1360:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UINTMAX_MAX [valueFlowBailoutIncompleteVar] coreutils-9.7/src/numfmt.c:1390:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] coreutils-9.7/src/numfmt.c:1420:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] coreutils-9.7/src/numfmt.c:1447:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] coreutils-9.7/src/numfmt.c:862:3: error: Memory pointed to by 't_string' is freed twice. [doubleFree] coreutils-9.7/src/numfmt.c:858:7: note: Memory pointed to by 't_string' is freed twice. coreutils-9.7/src/numfmt.c:862:3: note: Memory pointed to by 't_string' is freed twice. coreutils-9.7/src/numfmt.c:840:15: warning: If memory allocation fails, then there is a possible null pointer dereference: t_string [nullPointerOutOfMemory] coreutils-9.7/src/numfmt.c:838:26: note: Assuming allocation function fails coreutils-9.7/src/numfmt.c:838:26: note: Assignment 't_string=xmalloc(n_len+2)', assigned value is 0 coreutils-9.7/src/numfmt.c:840:15: note: Null pointer dereference coreutils-9.7/src/numfmt.c:839:22: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] coreutils-9.7/src/numfmt.c:838:26: note: Assuming allocation function fails coreutils-9.7/src/numfmt.c:838:26: note: Assignment 't_string=xmalloc(n_len+2)', assigned value is 0 coreutils-9.7/src/numfmt.c:839:22: note: Null pointer addition coreutils-9.7/src/numfmt.c:1356:28: style: Variable 'p' can be declared as pointer to const [constVariablePointer] coreutils-9.7/src/od.c:1033:13: error: There is an unknown macro here somewhere. Configuration is required. If ATTRIBUTE_NONNULL is a macro then please configure it. [unknownMacro] coreutils-9.7/src/operand2sig.c:54:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/src/operand2sig.c:72:26: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] coreutils-9.7/src/operand2sig.c:70:31: note: Assuming allocation function fails coreutils-9.7/src/operand2sig.c:70:31: note: Assignment 'upcased=xstrdup(operand)', assigned value is 0 coreutils-9.7/src/operand2sig.c:72:16: note: Assignment 'p=upcased', assigned value is 0 coreutils-9.7/src/operand2sig.c:72:26: note: Null pointer dereference coreutils-9.7/src/operand2sig.c:56:56: style: The comparison 'i != l' is always false because 'i' and 'l' represent the same value. [knownConditionTrueFalse] coreutils-9.7/src/operand2sig.c:55:15: note: 'i' is assigned value 'l' here. coreutils-9.7/src/operand2sig.c:56:56: note: The comparison 'i != l' is always false because 'i' and 'l' represent the same value. coreutils-9.7/src/paste.c:197:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] coreutils-9.7/src/paste.c:350:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] coreutils-9.7/src/paste.c:420:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable program_name [valueFlowBailoutIncompleteVar] coreutils-9.7/src/paste.c:458:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] coreutils-9.7/src/paste.c:366:23: warning:inconclusive: If resource allocation fails, then there is a possible null pointer dereference: fileptr [nullPointerOutOfResources] coreutils-9.7/src/paste.c:354:27: note: Assuming allocation function fails coreutils-9.7/src/paste.c:354:27: note: Assignment 'fileptr=fopen(*fnamptr,"r")', assigned value is 0 coreutils-9.7/src/paste.c:355:23: note: Assuming condition is false coreutils-9.7/src/paste.c:366:23: note: Null pointer dereference coreutils-9.7/src/paste.c:264:23: error: Uninitialized variable: err [legacyUninitvar] coreutils-9.7/src/pathchk.c:84:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable program_name [valueFlowBailoutIncompleteVar] coreutils-9.7/src/pathchk.c:112:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] coreutils-9.7/src/pathchk.c:169:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable shell_escape_always_quoting_style [valueFlowBailoutIncompleteVar] coreutils-9.7/src/pathchk.c:195:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable locale_quoting_style [valueFlowBailoutIncompleteVar] coreutils-9.7/src/pathchk.c:291:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/src/pathchk.c:311:20: style: Condition 'size<0' is always false [knownConditionTrueFalse] coreutils-9.7/src/pathchk.c:310:18: note: Assignment 'size=1==0?14:256', assigned value is 256 coreutils-9.7/src/pathchk.c:311:20: note: Condition 'size<0' is always false coreutils-9.7/src/pathchk.c:377:21: style: Condition '0<=len' is always true [knownConditionTrueFalse] coreutils-9.7/src/pathchk.c:375:21: note: Assignment 'len=0==0?14:256', assigned value is 14 coreutils-9.7/src/pathchk.c:377:21: note: Condition '0<=len' is always true coreutils-9.7/src/pathchk.c:376:22: style: Variable '*start' is reassigned a value before the old one has been used. [redundantAssignment] coreutils-9.7/src/pathchk.c:374:22: note: *start is assigned coreutils-9.7/src/pathchk.c:376:22: note: *start is overwritten coreutils-9.7/src/pathchk.c:223:5: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] coreutils-9.7/src/pinky.c:212:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AT_FDCWD [valueFlowBailoutIncompleteVar] coreutils-9.7/src/pinky.c:374:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] coreutils-9.7/src/pinky.c:434:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_TIME [valueFlowBailoutIncompleteVar] coreutils-9.7/src/pinky.c:476:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable READ_UTMP_USER_PROCESS [valueFlowBailoutIncompleteVar] coreutils-9.7/src/pinky.c:494:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable program_name [valueFlowBailoutIncompleteVar] coreutils-9.7/src/pinky.c:536:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] coreutils-9.7/src/pinky.c:185:20: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] coreutils-9.7/src/pinky.c:244:27: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] coreutils-9.7/src/pinky.c:321:8: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] coreutils-9.7/src/pinky.c:364:23: warning: If memory allocation fails, then there is a possible null pointer dereference: project [nullPointerOutOfMemory] coreutils-9.7/src/pinky.c:363:17: note: Assuming allocation function fails coreutils-9.7/src/pinky.c:363:17: note: Assignment 'project=xmalloc(strlen(pw->pw_dir)+strlen(baseproject)+1)', assigned value is 0 coreutils-9.7/src/pinky.c:364:23: note: Null pointer dereference coreutils-9.7/src/pinky.c:366:23: warning: If memory allocation fails, then there is a possible null pointer dereference: project [nullPointerOutOfMemory] coreutils-9.7/src/pinky.c:363:17: note: Assuming allocation function fails coreutils-9.7/src/pinky.c:363:17: note: Assignment 'project=xmalloc(strlen(pw->pw_dir)+strlen(baseproject)+1)', assigned value is 0 coreutils-9.7/src/pinky.c:366:23: note: Null pointer dereference coreutils-9.7/src/pinky.c:388:23: warning: If memory allocation fails, then there is a possible null pointer dereference: plan [nullPointerOutOfMemory] coreutils-9.7/src/pinky.c:387:17: note: Assuming allocation function fails coreutils-9.7/src/pinky.c:387:17: note: Assignment 'plan=xmalloc(strlen(pw->pw_dir)+strlen(baseplan)+1)', assigned value is 0 coreutils-9.7/src/pinky.c:388:23: note: Null pointer dereference coreutils-9.7/src/pinky.c:390:23: warning: If memory allocation fails, then there is a possible null pointer dereference: plan [nullPointerOutOfMemory] coreutils-9.7/src/pinky.c:387:17: note: Assuming allocation function fails coreutils-9.7/src/pinky.c:387:17: note: Assignment 'plan=xmalloc(strlen(pw->pw_dir)+strlen(baseplan)+1)', assigned value is 0 coreutils-9.7/src/pinky.c:390:23: note: Null pointer dereference coreutils-9.7/src/pinky.c:185:14: style: Variable 'tmp' can be declared as pointer to const [constVariablePointer] coreutils-9.7/src/pinky.c:236:9: style: Variable 'ut_user' can be declared as pointer to const [constVariablePointer] coreutils-9.7/src/pinky.c:432:49: style: Parameter 'argv_names' can be declared as const array [constParameter] coreutils-9.7/src/pr.c:793:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OPEN [valueFlowBailoutIncompleteVar] coreutils-9.7/src/pr.c:808:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UINTMAX_MAX [valueFlowBailoutIncompleteVar] coreutils-9.7/src/pr.c:873:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] coreutils-9.7/src/pr.c:1161:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XTOINT_MIN_RANGE [valueFlowBailoutIncompleteVar] coreutils-9.7/src/pr.c:1185:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LONGINT_OK [valueFlowBailoutIncompleteVar] coreutils-9.7/src/pr.c:1366:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] coreutils-9.7/src/pr.c:1489:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] coreutils-9.7/src/pr.c:1522:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLOSED [valueFlowBailoutIncompleteVar] coreutils-9.7/src/pr.c:1571:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FF_FOUND [valueFlowBailoutIncompleteVar] coreutils-9.7/src/pr.c:1592:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ON_HOLD [valueFlowBailoutIncompleteVar] coreutils-9.7/src/pr.c:1725:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OPEN [valueFlowBailoutIncompleteVar] coreutils-9.7/src/pr.c:1819:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FF_FOUND [valueFlowBailoutIncompleteVar] coreutils-9.7/src/pr.c:1972:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OPEN [valueFlowBailoutIncompleteVar] coreutils-9.7/src/pr.c:2130:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] coreutils-9.7/src/pr.c:2195:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] coreutils-9.7/src/pr.c:2339:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OPEN [valueFlowBailoutIncompleteVar] coreutils-9.7/src/pr.c:2591:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FF_FOUND [valueFlowBailoutIncompleteVar] coreutils-9.7/src/pr.c:2755:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable program_name [valueFlowBailoutIncompleteVar] coreutils-9.7/src/pr.c:1158:52: style:inconclusive: Function 'getoptnum' argument 3 names different: declaration 'errfmt' definition 'err'. [funcArgNamesDifferent] coreutils-9.7/src/pr.c:429:63: note: Function 'getoptnum' argument 3 names different: declaration 'errfmt' definition 'err'. coreutils-9.7/src/pr.c:1158:52: note: Function 'getoptnum' argument 3 names different: declaration 'errfmt' definition 'err'. coreutils-9.7/src/pr.c:1194:42: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] coreutils-9.7/src/pr.c:2572:9: style: Variable 'first' can be declared as pointer to const [constVariablePointer] coreutils-9.7/src/pr.c:2584:9: style: Variable 'last' can be declared as pointer to const [constVariablePointer] coreutils-9.7/src/printenv.c:59:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable program_name [valueFlowBailoutIncompleteVar] coreutils-9.7/src/printenv.c:92:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] coreutils-9.7/src/printenv.c:84:9: style: Variable 'ep' can be declared as pointer to const [constVariablePointer] coreutils-9.7/src/printenv.c:84:14: style: Variable 'ap' can be declared as pointer to const [constVariablePointer] coreutils-9.7/src/printf.c:50:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable program_name [valueFlowBailoutIncompleteVar] coreutils-9.7/src/printf.c:112:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/src/printf.c:167:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MB_CUR_MAX [valueFlowBailoutIncompleteVar] coreutils-9.7/src/printf.c:168:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MB_CUR_MAX [valueFlowBailoutIncompleteVar] coreutils-9.7/src/printf.c:169:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MB_CUR_MAX [valueFlowBailoutIncompleteVar] coreutils-9.7/src/printf.c:269:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] coreutils-9.7/src/printf.c:558:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable shell_escape_quoting_style [valueFlowBailoutIncompleteVar] coreutils-9.7/src/printf.c:697:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] coreutils-9.7/src/printf.c:338:18: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] coreutils-9.7/src/printf.c:337:17: note: Assuming allocation function fails coreutils-9.7/src/printf.c:337:17: note: Assignment 'p=xmalloc(length+length_modifier_len+2)', assigned value is 0 coreutils-9.7/src/printf.c:338:18: note: Null pointer dereference coreutils-9.7/src/printf.c:692:9: style: Variable 'format' can be declared as pointer to const [constVariablePointer] coreutils-9.7/src/ptx.c:510:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] coreutils-9.7/src/ptx.c:1056:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] coreutils-9.7/src/ptx.c:1434:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] coreutils-9.7/src/ptx.c:1487:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] coreutils-9.7/src/ptx.c:1552:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] coreutils-9.7/src/ptx.c:1680:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable program_name [valueFlowBailoutIncompleteVar] coreutils-9.7/src/ptx.c:1778:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] coreutils-9.7/src/ptx.c:1908:7: warning: If memory allocation fails, then there is a possible null pointer dereference: input_file_name [nullPointerOutOfMemory] coreutils-9.7/src/ptx.c:1904:33: note: Assuming allocation function fails coreutils-9.7/src/ptx.c:1904:33: note: Assignment 'input_file_name=xmalloc(sizeof(*input_file_name))', assigned value is 0 coreutils-9.7/src/ptx.c:1908:7: note: Null pointer dereference coreutils-9.7/src/ptx.c:589:21: style: Parameter 'word' can be declared as pointer to const [constParameterPointer] coreutils-9.7/src/ptx.c:589:39: style: Parameter 'table' can be declared as pointer to const [constParameterPointer] coreutils-9.7/src/ptx.c:737:9: style: Variable 'context_end' can be declared as pointer to const [constVariablePointer] coreutils-9.7/src/ptx.c:739:9: style: Variable 'word_end' can be declared as pointer to const [constVariablePointer] coreutils-9.7/src/ptx.c:1223:9: style: Variable 'left_context_start' can be declared as pointer to const [constVariablePointer] coreutils-9.7/src/ptx.c:1224:9: style: Variable 'right_context_end' can be declared as pointer to const [constVariablePointer] coreutils-9.7/src/pwd.c:52:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable program_name [valueFlowBailoutIncompleteVar] coreutils-9.7/src/pwd.c:185:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/src/pwd.c:275:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable shell_escape_always_quoting_style [valueFlowBailoutIncompleteVar] coreutils-9.7/src/pwd.c:335:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] coreutils-9.7/src/pwd.c:203:15: style: Condition 'ino==NOT_AN_INODE_NUMBER' is always true [knownConditionTrueFalse] coreutils-9.7/src/pwd.c:201:13: note: Assignment 'ino=NOT_AN_INODE_NUMBER', assigned value is 0 coreutils-9.7/src/pwd.c:203:15: note: Condition 'ino==NOT_AN_INODE_NUMBER' is always true coreutils-9.7/src/pwd.c:92:3: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] coreutils-9.7/src/pwd.c:87:33: note: Assuming allocation function fails coreutils-9.7/src/pwd.c:87:33: note: Assignment 'p=xmalloc(sizeof(*p))', assigned value is 0 coreutils-9.7/src/pwd.c:92:3: note: Null pointer dereference coreutils-9.7/src/pwd.c:94:3: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] coreutils-9.7/src/pwd.c:87:33: note: Assuming allocation function fails coreutils-9.7/src/pwd.c:87:33: note: Assignment 'p=xmalloc(sizeof(*p))', assigned value is 0 coreutils-9.7/src/pwd.c:94:3: note: Null pointer dereference coreutils-9.7/src/pwd.c:95:3: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] coreutils-9.7/src/pwd.c:87:33: note: Assuming allocation function fails coreutils-9.7/src/pwd.c:87:33: note: Assignment 'p=xmalloc(sizeof(*p))', assigned value is 0 coreutils-9.7/src/pwd.c:95:3: note: Null pointer dereference coreutils-9.7/src/pwd.c:95:14: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] coreutils-9.7/src/pwd.c:87:33: note: Assuming allocation function fails coreutils-9.7/src/pwd.c:87:33: note: Assignment 'p=xmalloc(sizeof(*p))', assigned value is 0 coreutils-9.7/src/pwd.c:95:14: note: Null pointer dereference coreutils-9.7/src/pwd.c:96:3: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] coreutils-9.7/src/pwd.c:87:33: note: Assuming allocation function fails coreutils-9.7/src/pwd.c:87:33: note: Assignment 'p=xmalloc(sizeof(*p))', assigned value is 0 coreutils-9.7/src/pwd.c:96:3: note: Null pointer dereference coreutils-9.7/src/pwd.c:165:15: warning: If resource allocation fails, then there is a possible null pointer dereference: dirp [nullPointerOutOfResources] coreutils-9.7/src/pwd.c:160:18: note: Assuming allocation function fails coreutils-9.7/src/pwd.c:160:18: note: Assignment 'dirp=opendir("..")', assigned value is 0 coreutils-9.7/src/pwd.c:165:15: note: Null pointer dereference coreutils-9.7/src/pwd.c:95:21: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] coreutils-9.7/src/pwd.c:94:20: note: Assuming allocation function fails coreutils-9.7/src/pwd.c:94:20: note: Assignment 'p->buf=xmalloc(init_alloc)', assigned value is 0 coreutils-9.7/src/pwd.c:95:21: note: Null pointer addition coreutils-9.7/src/readlink.c:58:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable program_name [valueFlowBailoutIncompleteVar] coreutils-9.7/src/readlink.c:103:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] coreutils-9.7/src/realpath.c:66:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable program_name [valueFlowBailoutIncompleteVar] coreutils-9.7/src/realpath.c:102:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAN_NOLINKS [valueFlowBailoutIncompleteVar] coreutils-9.7/src/realpath.c:144:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable shell_escape_always_quoting_style [valueFlowBailoutIncompleteVar] coreutils-9.7/src/realpath.c:155:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/src/realpath.c:175:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAN_ALL_BUT_LAST [valueFlowBailoutIncompleteVar] coreutils-9.7/src/relpath.c:79:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] coreutils-9.7/src/relpath.c:130:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENAMETOOLONG [valueFlowBailoutIncompleteVar] coreutils-9.7/src/remove.c:102:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AT_SYMLINK_NOFOLLOW [valueFlowBailoutIncompleteVar] coreutils-9.7/src/remove.c:218:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/src/remove.c:367:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FTS_SKIP [valueFlowBailoutIncompleteVar] coreutils-9.7/src/remove.c:379:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FTS_ROOTLEVEL [valueFlowBailoutIncompleteVar] coreutils-9.7/src/remove.c:400:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable shell_escape_always_quoting_style [valueFlowBailoutIncompleteVar] coreutils-9.7/src/remove.c:457:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EISDIR [valueFlowBailoutIncompleteVar] coreutils-9.7/src/remove.c:610:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FTS_CWDFD [valueFlowBailoutIncompleteVar] coreutils-9.7/src/remove.c:376:29: style: Parameter 'ent' can be declared as pointer to const [constParameterPointer] coreutils-9.7/src/remove.c:391:14: style: Parameter 'fts' can be declared as pointer to const [constParameterPointer] coreutils-9.7/src/remove.c:88:10: warning: Uninitialized variable: st [uninitvar] coreutils-9.7/src/remove.c:197:23: note: Assignment 'sbuf=&st', assigned value is coreutils-9.7/src/remove.c:198:20: note: Calling function 'cache_stat_init', 1st argument 'sbuf' value is coreutils-9.7/src/remove.c:88:10: note: Uninitialized variable: st coreutils-9.7/src/rm.c:117:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable shell_escape_quoting_style [valueFlowBailoutIncompleteVar] coreutils-9.7/src/rm.c:128:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable program_name [valueFlowBailoutIncompleteVar] coreutils-9.7/src/rm.c:221:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] coreutils-9.7/src/runcon.c:73:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable program_name [valueFlowBailoutIncompleteVar] coreutils-9.7/src/runcon.c:120:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] coreutils-9.7/src/seq.c:78:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable program_name [valueFlowBailoutIncompleteVar] coreutils-9.7/src/seq.c:154:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cl_strtold [valueFlowBailoutIncompleteVar] coreutils-9.7/src/seq.c:333:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_NUMERIC [valueFlowBailoutIncompleteVar] coreutils-9.7/src/seq.c:485:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] coreutils-9.7/src/seq.c:560:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] coreutils-9.7/src/seq.c:281:17: warning: If memory allocation fails, then there is a possible null pointer dereference: ldfmt [nullPointerOutOfMemory] coreutils-9.7/src/seq.c:280:31: note: Assuming allocation function fails coreutils-9.7/src/seq.c:280:31: note: Assignment 'ldfmt=xmalloc(format_size+1)', assigned value is 0 coreutils-9.7/src/seq.c:281:17: note: Null pointer dereference coreutils-9.7/src/seq.c:282:9: warning: If memory allocation fails, then there is a possible null pointer dereference: ldfmt [nullPointerOutOfMemory] coreutils-9.7/src/seq.c:280:31: note: Assuming allocation function fails coreutils-9.7/src/seq.c:280:31: note: Assignment 'ldfmt=xmalloc(format_size+1)', assigned value is 0 coreutils-9.7/src/seq.c:282:9: note: Null pointer dereference coreutils-9.7/src/seq.c:283:23: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] coreutils-9.7/src/seq.c:280:31: note: Assuming allocation function fails coreutils-9.7/src/seq.c:280:31: note: Assignment 'ldfmt=xmalloc(format_size+1)', assigned value is 0 coreutils-9.7/src/seq.c:283:23: note: Null pointer addition coreutils-9.7/src/seq.c:479:19: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] coreutils-9.7/src/seq.c:478:22: note: Assuming allocation function fails coreutils-9.7/src/seq.c:478:22: note: Assignment 'p0=xmalloc(inc_size)', assigned value is 0 coreutils-9.7/src/seq.c:479:19: note: Null pointer addition coreutils-9.7/src/seq.c:486:9: style: Variable 'buf_end' can be declared as pointer to const [constVariablePointer] coreutils-9.7/src/set-fields.c:91:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UINTMAX_MAX [valueFlowBailoutIncompleteVar] coreutils-9.7/src/set-fields.c:203:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UINTMAX_MAX [valueFlowBailoutIncompleteVar] coreutils-9.7/src/show-date.c:26:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] coreutils-9.7/src/shred.c:166:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable program_name [valueFlowBailoutIncompleteVar] coreutils-9.7/src/shred.c:286:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] coreutils-9.7/src/shred.c:305:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/src/shred.c:332:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_DIRECT [valueFlowBailoutIncompleteVar] coreutils-9.7/src/shred.c:370:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/src/shred.c:420:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LONGEST_HUMAN_READABLE [valueFlowBailoutIncompleteVar] coreutils-9.7/src/shred.c:959:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] coreutils-9.7/src/shred.c:1041:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable shell_escape_quoting_style [valueFlowBailoutIncompleteVar] coreutils-9.7/src/shred.c:1124:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] coreutils-9.7/src/shred.c:1173:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] coreutils-9.7/src/shred.c:1062:11: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] coreutils-9.7/src/shred.c:416:8: style: Local variable 'write_error' shadows outer function [shadowFunction] coreutils-9.7/src/system.h:750:1: note: Shadowed declaration coreutils-9.7/src/shred.c:416:8: note: Shadow variable coreutils-9.7/src/shuf.c:53:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable program_name [valueFlowBailoutIncompleteVar] coreutils-9.7/src/shuf.c:237:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] coreutils-9.7/src/shuf.c:302:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] coreutils-9.7/src/shuf.c:355:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] coreutils-9.7/src/shuf.c:367:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE_MAX [valueFlowBailoutIncompleteVar] coreutils-9.7/src/shuf.c:415:28: style: Condition 'lo_input!=u' is always false [knownConditionTrueFalse] coreutils-9.7/src/shuf.c:414:24: note: lo_input is assigned 'u' here. coreutils-9.7/src/shuf.c:415:28: note: Condition 'lo_input!=u' is always false coreutils-9.7/src/shuf.c:425:36: style: Condition 'hi_input!=u' is always false [knownConditionTrueFalse] coreutils-9.7/src/shuf.c:424:32: note: hi_input is assigned 'u' here. coreutils-9.7/src/shuf.c:425:36: note: Condition 'hi_input!=u' is always false coreutils-9.7/src/shuf.c:433:71: style: Condition 'n_lines==0' is always false [knownConditionTrueFalse] coreutils-9.7/src/shuf.c:431:41: note: Assignment 'n_lines=hi_input-lo_input+1', assigned value is greater than 0 coreutils-9.7/src/shuf.c:433:71: note: Condition 'n_lines==0' is always false coreutils-9.7/src/shuf.c:135:18: style: Parameter 'line' can be declared as pointer to const [constParameterPointer] coreutils-9.7/src/shuf.c:256:9: style: Variable 'lim' can be declared as pointer to const [constVariablePointer] coreutils-9.7/src/sleep.c:39:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable program_name [valueFlowBailoutIncompleteVar] coreutils-9.7/src/sleep.c:101:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] coreutils-9.7/src/sort.c:407:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable shell_escape_quoting_style [valueFlowBailoutIncompleteVar] coreutils-9.7/src/sort.c:414:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable program_name [valueFlowBailoutIncompleteVar] coreutils-9.7/src/sort.c:640:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_BLOCK [valueFlowBailoutIncompleteVar] coreutils-9.7/src/sort.c:651:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_SETMASK [valueFlowBailoutIncompleteVar] coreutils-9.7/src/sort.c:717:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WNOHANG [valueFlowBailoutIncompleteVar] coreutils-9.7/src/sort.c:867:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CLOEXEC [valueFlowBailoutIncompleteVar] coreutils-9.7/src/sort.c:898:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/src/sort.c:960:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] coreutils-9.7/src/sort.c:1152:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/src/sort.c:1187:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] coreutils-9.7/src/sort.c:1265:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/src/sort.c:1347:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LONGINT_OK [valueFlowBailoutIncompleteVar] coreutils-9.7/src/sort.c:1392:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LONGINT_OK [valueFlowBailoutIncompleteVar] coreutils-9.7/src/sort.c:1450:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LONGINT_OVERFLOW [valueFlowBailoutIncompleteVar] coreutils-9.7/src/sort.c:1469:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE_MAX [valueFlowBailoutIncompleteVar] coreutils-9.7/src/sort.c:1832:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE_MAX [valueFlowBailoutIncompleteVar] coreutils-9.7/src/sort.c:2153:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MD5_DIGEST_SIZE [valueFlowBailoutIncompleteVar] coreutils-9.7/src/sort.c:2170:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/src/sort.c:2203:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MD5_DIGEST_SIZE [valueFlowBailoutIncompleteVar] coreutils-9.7/src/sort.c:2372:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE_MAX [valueFlowBailoutIncompleteVar] coreutils-9.7/src/sort.c:2517:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE_MAX [valueFlowBailoutIncompleteVar] coreutils-9.7/src/sort.c:2848:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE_MAX [valueFlowBailoutIncompleteVar] coreutils-9.7/src/sort.c:2940:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] coreutils-9.7/src/sort.c:2994:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable program_name [valueFlowBailoutIncompleteVar] coreutils-9.7/src/sort.c:3921:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] coreutils-9.7/src/sort.c:4014:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/src/sort.c:4233:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALLTHROUGH [valueFlowBailoutIncompleteVar] coreutils-9.7/src/sort.c:4255:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] coreutils-9.7/src/sort.c:4328:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE_MAX [valueFlowBailoutIncompleteVar] coreutils-9.7/src/sort.c:4358:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] coreutils-9.7/src/sort.c:4203:43: style:inconclusive: Boolean expression 'key->version' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] coreutils-9.7/src/sort.c:1032:27: warning: Either the condition 'outfd<0' is redundant or dup2() argument nr 1 can have invalid value. The value is -1 but the valid values are '0:'. [invalidFunctionArg] coreutils-9.7/src/sort.c:3923:17: note: Assuming that condition 'outfd<0' is not redundant coreutils-9.7/src/sort.c:3925:16: note: Calling function 'move_fd', 1st argument 'outfd' value is -1 coreutils-9.7/src/sort.c:1032:27: note: Invalid argument coreutils-9.7/src/sort.c:1033:28: warning: Either the condition 'outfd<0' is redundant or close() argument nr 1 can have invalid value. The value is -1 but the valid values are '0:'. [invalidFunctionArg] coreutils-9.7/src/sort.c:3923:17: note: Assuming that condition 'outfd<0' is not redundant coreutils-9.7/src/sort.c:3925:16: note: Calling function 'move_fd', 1st argument 'outfd' value is -1 coreutils-9.7/src/sort.c:1033:28: note: Invalid argument coreutils-9.7/src/sort.c:4203:57: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] coreutils-9.7/src/sort.c:1134:13: style: Condition '0pid' is always false [knownConditionTrueFalse] coreutils-9.7/src/sort.c:1133:29: note: Calling function 'pipe_fork' returns -1 coreutils-9.7/src/sort.c:1133:29: note: Assignment 'node->pid=pipe_fork(pipefds,MAX_FORK_TRIES_COMPRESS)', assigned value is -1 coreutils-9.7/src/sort.c:1134:13: note: Condition '0pid' is always false coreutils-9.7/src/sort.c:1142:26: style: Condition 'node->pid==0' is always false [knownConditionTrueFalse] coreutils-9.7/src/sort.c:1133:29: note: Calling function 'pipe_fork' returns -1 coreutils-9.7/src/sort.c:1133:29: note: Assignment 'node->pid=pipe_fork(pipefds,MAX_FORK_TRIES_COMPRESS)', assigned value is -1 coreutils-9.7/src/sort.c:1142:26: note: Condition 'node->pid==0' is always false coreutils-9.7/src/sort.c:2555:15: style: Condition '!sword' is always false [knownConditionTrueFalse] coreutils-9.7/src/sort.c:2553:37: note: Assignment 'sword=key->sword+1', assigned value is greater than 0 coreutils-9.7/src/sort.c:2555:15: note: Condition '!sword' is always false coreutils-9.7/src/sort.c:2557:15: style: Condition '!eword' is always false [knownConditionTrueFalse] coreutils-9.7/src/sort.c:2554:37: note: Assignment 'eword=key->eword+1', assigned value is greater than 0 coreutils-9.7/src/sort.c:2557:15: note: Condition '!eword' is always false coreutils-9.7/src/sort.c:4231:16: style: Condition '*val==n' is always true [knownConditionTrueFalse] coreutils-9.7/src/sort.c:4230:12: note: *val is assigned 'n' here. coreutils-9.7/src/sort.c:4231:16: note: Condition '*val==n' is always true coreutils-9.7/src/sort.c:856:16: warning: If memory allocation fails, then there is a possible null pointer dereference: node [nullPointerOutOfMemory] coreutils-9.7/src/sort.c:855:13: note: Assuming allocation function fails coreutils-9.7/src/sort.c:855:13: note: Assignment 'node=xmalloc(FLEXSIZEOF(struct tempnode,name,len+sizeof(slashbase)))', assigned value is 0 coreutils-9.7/src/sort.c:856:16: note: Null pointer dereference coreutils-9.7/src/sort.c:861:3: warning: If memory allocation fails, then there is a possible null pointer dereference: node [nullPointerOutOfMemory] coreutils-9.7/src/sort.c:855:13: note: Assuming allocation function fails coreutils-9.7/src/sort.c:855:13: note: Assignment 'node=xmalloc(FLEXSIZEOF(struct tempnode,name,len+sizeof(slashbase)))', assigned value is 0 coreutils-9.7/src/sort.c:861:3: note: Null pointer dereference coreutils-9.7/src/sort.c:3403:3: warning: If memory allocation fails, then there is a possible null pointer dereference: root [nullPointerOutOfMemory] coreutils-9.7/src/sort.c:3400:43: note: Assuming allocation function fails coreutils-9.7/src/sort.c:3400:43: note: Assignment 'merge_tree=xmalloc(2*sizeof(*merge_tree)*nthreads)', assigned value is 0 coreutils-9.7/src/sort.c:3402:27: note: root is assigned 'merge_tree' here. coreutils-9.7/src/sort.c:3403:3: note: Null pointer dereference coreutils-9.7/src/sort.c:3403:14: warning: If memory allocation fails, then there is a possible null pointer dereference: root [nullPointerOutOfMemory] coreutils-9.7/src/sort.c:3400:43: note: Assuming allocation function fails coreutils-9.7/src/sort.c:3400:43: note: Assignment 'merge_tree=xmalloc(2*sizeof(*merge_tree)*nthreads)', assigned value is 0 coreutils-9.7/src/sort.c:3402:27: note: root is assigned 'merge_tree' here. coreutils-9.7/src/sort.c:3403:14: note: Null pointer dereference coreutils-9.7/src/sort.c:3403:25: warning: If memory allocation fails, then there is a possible null pointer dereference: root [nullPointerOutOfMemory] coreutils-9.7/src/sort.c:3400:43: note: Assuming allocation function fails coreutils-9.7/src/sort.c:3400:43: note: Assignment 'merge_tree=xmalloc(2*sizeof(*merge_tree)*nthreads)', assigned value is 0 coreutils-9.7/src/sort.c:3402:27: note: root is assigned 'merge_tree' here. coreutils-9.7/src/sort.c:3403:25: note: Null pointer dereference coreutils-9.7/src/sort.c:3403:40: warning: If memory allocation fails, then there is a possible null pointer dereference: root [nullPointerOutOfMemory] coreutils-9.7/src/sort.c:3400:43: note: Assuming allocation function fails coreutils-9.7/src/sort.c:3400:43: note: Assignment 'merge_tree=xmalloc(2*sizeof(*merge_tree)*nthreads)', assigned value is 0 coreutils-9.7/src/sort.c:3402:27: note: root is assigned 'merge_tree' here. coreutils-9.7/src/sort.c:3403:40: note: Null pointer dereference coreutils-9.7/src/sort.c:3404:3: warning: If memory allocation fails, then there is a possible null pointer dereference: root [nullPointerOutOfMemory] coreutils-9.7/src/sort.c:3400:43: note: Assuming allocation function fails coreutils-9.7/src/sort.c:3400:43: note: Assignment 'merge_tree=xmalloc(2*sizeof(*merge_tree)*nthreads)', assigned value is 0 coreutils-9.7/src/sort.c:3402:27: note: root is assigned 'merge_tree' here. coreutils-9.7/src/sort.c:3404:3: note: Null pointer dereference coreutils-9.7/src/sort.c:3405:3: warning: If memory allocation fails, then there is a possible null pointer dereference: root [nullPointerOutOfMemory] coreutils-9.7/src/sort.c:3400:43: note: Assuming allocation function fails coreutils-9.7/src/sort.c:3400:43: note: Assignment 'merge_tree=xmalloc(2*sizeof(*merge_tree)*nthreads)', assigned value is 0 coreutils-9.7/src/sort.c:3402:27: note: root is assigned 'merge_tree' here. coreutils-9.7/src/sort.c:3405:3: note: Null pointer dereference coreutils-9.7/src/sort.c:3405:15: warning: If memory allocation fails, then there is a possible null pointer dereference: root [nullPointerOutOfMemory] coreutils-9.7/src/sort.c:3400:43: note: Assuming allocation function fails coreutils-9.7/src/sort.c:3400:43: note: Assignment 'merge_tree=xmalloc(2*sizeof(*merge_tree)*nthreads)', assigned value is 0 coreutils-9.7/src/sort.c:3402:27: note: root is assigned 'merge_tree' here. coreutils-9.7/src/sort.c:3405:15: note: Null pointer dereference coreutils-9.7/src/sort.c:3406:3: warning: If memory allocation fails, then there is a possible null pointer dereference: root [nullPointerOutOfMemory] coreutils-9.7/src/sort.c:3400:43: note: Assuming allocation function fails coreutils-9.7/src/sort.c:3400:43: note: Assignment 'merge_tree=xmalloc(2*sizeof(*merge_tree)*nthreads)', assigned value is 0 coreutils-9.7/src/sort.c:3402:27: note: root is assigned 'merge_tree' here. coreutils-9.7/src/sort.c:3406:3: note: Null pointer dereference coreutils-9.7/src/sort.c:3407:3: warning: If memory allocation fails, then there is a possible null pointer dereference: root [nullPointerOutOfMemory] coreutils-9.7/src/sort.c:3400:43: note: Assuming allocation function fails coreutils-9.7/src/sort.c:3400:43: note: Assignment 'merge_tree=xmalloc(2*sizeof(*merge_tree)*nthreads)', assigned value is 0 coreutils-9.7/src/sort.c:3402:27: note: root is assigned 'merge_tree' here. coreutils-9.7/src/sort.c:3407:3: note: Null pointer dereference coreutils-9.7/src/sort.c:3408:3: warning: If memory allocation fails, then there is a possible null pointer dereference: root [nullPointerOutOfMemory] coreutils-9.7/src/sort.c:3400:43: note: Assuming allocation function fails coreutils-9.7/src/sort.c:3400:43: note: Assignment 'merge_tree=xmalloc(2*sizeof(*merge_tree)*nthreads)', assigned value is 0 coreutils-9.7/src/sort.c:3402:27: note: root is assigned 'merge_tree' here. coreutils-9.7/src/sort.c:3408:3: note: Null pointer dereference coreutils-9.7/src/sort.c:4849:8: warning: If memory allocation fails, then there is a possible null pointer dereference: files [nullPointerOutOfMemory] coreutils-9.7/src/sort.c:4848:23: note: Assuming allocation function fails coreutils-9.7/src/sort.c:4848:23: note: Assignment 'files=xmalloc(sizeof(*files))', assigned value is 0 coreutils-9.7/src/sort.c:4849:8: note: Null pointer dereference coreutils-9.7/src/sort.c:4886:9: warning: If memory allocation fails, then there is a possible null pointer dereference: sortfiles [nullPointerOutOfMemory] coreutils-9.7/src/sort.c:4883:44: note: Assuming allocation function fails coreutils-9.7/src/sort.c:4883:44: note: Assignment 'sortfiles=xcalloc(nfiles,sizeof(*sortfiles))', assigned value is 0 coreutils-9.7/src/sort.c:4886:9: note: Null pointer dereference coreutils-9.7/src/sort.c:2734:23: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] coreutils-9.7/src/sort.c:2733:42: note: Assuming allocation function fails coreutils-9.7/src/sort.c:2733:32: note: Assignment 'ta=allocated=xmalloc(size)', assigned value is 0 coreutils-9.7/src/sort.c:2734:23: note: Null pointer addition coreutils-9.7/src/sort.c:3411:25: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] coreutils-9.7/src/sort.c:3400:43: note: Assuming allocation function fails coreutils-9.7/src/sort.c:3400:43: note: Assignment 'merge_tree=xmalloc(2*sizeof(*merge_tree)*nthreads)', assigned value is 0 coreutils-9.7/src/sort.c:3402:27: note: root is assigned 'merge_tree' here. coreutils-9.7/src/sort.c:3411:25: note: Null pointer addition coreutils-9.7/src/sort.c:788:5: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] coreutils-9.7/src/sort.c:1256:5: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] coreutils-9.7/src/sort.c:4172:5: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] coreutils-9.7/src/sort.c:4708:17: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] coreutils-9.7/src/sort.c:390:13: style: Variable 'p' can be declared as pointer to const [constVariablePointer] coreutils-9.7/src/sort.c:1043:16: style: Parameter 'pipefds' can be declared as const array [constParameter] coreutils-9.7/src/sort.c:3298:16: style: Variable 'hi' can be declared as pointer to const [constVariablePointer] coreutils-9.7/src/sort.c:3441:25: style: Parameter 'dest' can be declared as pointer to const [constParameterPointer] coreutils-9.7/src/sort.c:3593:16: style: Variable 'lo_orig' can be declared as pointer to const [constVariablePointer] coreutils-9.7/src/sort.c:3594:16: style: Variable 'hi_orig' can be declared as pointer to const [constVariablePointer] coreutils-9.7/src/sort.c:4343:9: style: Variable 'random_source' can be declared as pointer to const [constVariablePointer] coreutils-9.7/src/sort.c:4144:13: warning: Uninitialized variable: buf.buf [uninitvar] coreutils-9.7/src/sort.c:4060:10: note: Assuming condition is false coreutils-9.7/src/sort.c:4144:13: note: Uninitialized variable: buf.buf coreutils-9.7/src/sort.c:856:16: error: Memory is allocated but not initialized: node [uninitdata] coreutils-9.7/src/split.c:160:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EPIPE [valueFlowBailoutIncompleteVar] coreutils-9.7/src/split.c:193:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INTMAX_MAX [valueFlowBailoutIncompleteVar] coreutils-9.7/src/split.c:222:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable program_name [valueFlowBailoutIncompleteVar] coreutils-9.7/src/split.c:294:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/src/split.c:344:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/src/split.c:477:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable shell_escape_always_quoting_style [valueFlowBailoutIncompleteVar] coreutils-9.7/src/split.c:561:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/src/split.c:627:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/src/split.c:677:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/src/split.c:735:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/src/split.c:784:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/src/split.c:903:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/src/split.c:1023:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/src/split.c:1104:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] coreutils-9.7/src/split.c:1164:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IDX_MAX [valueFlowBailoutIncompleteVar] coreutils-9.7/src/split.c:1298:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/src/split.c:1315:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LONGINT_OVERFLOW [valueFlowBailoutIncompleteVar] coreutils-9.7/src/split.c:1336:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LONGINT_OVERFLOW [valueFlowBailoutIncompleteVar] coreutils-9.7/src/split.c:1357:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] coreutils-9.7/src/split.c:727:14: style: Variable 'bp_out' can be declared as pointer to const [constVariablePointer] coreutils-9.7/src/split.c:790:17: style: Variable 'eoc' can be declared as pointer to const [constVariablePointer] coreutils-9.7/src/split.c:791:17: style: Variable 'eol' can be declared as pointer to const [constVariablePointer] coreutils-9.7/src/split.c:939:17: style: Variable 'bp_out' can be declared as pointer to const [constVariablePointer] coreutils-9.7/src/split.c:1276:24: style: Variable 'file_limit' is assigned a value that is never used. [unreadVariable] coreutils-9.7/src/stat.c:845:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable shell_escape_always_quoting_style [valueFlowBailoutIncompleteVar] coreutils-9.7/src/stat.c:878:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable statfs [valueFlowBailoutIncompleteVar] coreutils-9.7/src/stat.c:958:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/src/stat.c:1004:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable shell_escape_always_quoting_style [valueFlowBailoutIncompleteVar] coreutils-9.7/src/stat.c:1165:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALLTHROUGH [valueFlowBailoutIncompleteVar] coreutils-9.7/src/stat.c:1266:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable shell_escape_always_quoting_style [valueFlowBailoutIncompleteVar] coreutils-9.7/src/stat.c:1463:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tv_sec [valueFlowBailoutIncompleteVar] coreutils-9.7/src/stat.c:1526:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable shell_escape_always_quoting_style [valueFlowBailoutIncompleteVar] coreutils-9.7/src/stat.c:1753:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable program_name [valueFlowBailoutIncompleteVar] coreutils-9.7/src/stat.c:1890:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] coreutils-9.7/src/stat.c:1567:16: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] coreutils-9.7/src/stat.c:1575:16: portability: Non reentrant function 'getgrgid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrgid_r'. [prohibitedgetgrgidCalled] coreutils-9.7/src/stat.c:926:13: style: Condition '!frsize' is always true [knownConditionTrueFalse] coreutils-9.7/src/stat.c:925:28: note: Assignment 'frsize=0', assigned value is 0 coreutils-9.7/src/stat.c:926:13: note: Condition '!frsize' is always true coreutils-9.7/src/stat.c:1509:18: style: Variable 'pw_ent' can be declared as pointer to const [constVariablePointer] coreutils-9.7/src/stat.c:1510:17: style: Variable 'gw_ent' can be declared as pointer to const [constVariablePointer] coreutils-9.7/src/stat.c:1885:9: style: Variable 'format2' can be declared as pointer to const [constVariablePointer] coreutils-9.7/src/stdbuf.c:69:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LONGINT_OK [valueFlowBailoutIncompleteVar] coreutils-9.7/src/stdbuf.c:87:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable program_name [valueFlowBailoutIncompleteVar] coreutils-9.7/src/stdbuf.c:315:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] coreutils-9.7/src/stdbuf.c:151:22: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] coreutils-9.7/src/stdbuf.c:152:22: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] coreutils-9.7/src/stdbuf.c:230:13: warning: Either the condition '!*path' is redundant or there is possible null pointer dereference: *path. [nullPointerRedundantCheck] coreutils-9.7/src/stdbuf.c:243:12: note: Assuming that condition '!*path' is not redundant coreutils-9.7/src/stdbuf.c:230:13: note: Null pointer dereference coreutils-9.7/src/stdbuf.c:198:9: style: Variable 'old_libs' can be declared as pointer to const [constVariablePointer] coreutils-9.7/src/stty.c:981:3: error: syntax error [syntaxError] coreutils-9.7/src/sum.c:79:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/src/sum.c:155:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/src/sum.c:196:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] coreutils-9.7/src/sum.c:221:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] coreutils-9.7/src/sync.c:58:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable program_name [valueFlowBailoutIncompleteVar] coreutils-9.7/src/sync.c:91:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] coreutils-9.7/src/sync.c:178:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] coreutils-9.7/src/tac-pipe.c:72:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/src/tac-pipe.c:255:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] coreutils-9.7/src/tac-pipe.c:177:9: style: Variable 'last_bol_ptr' can be declared as pointer to const [constVariablePointer] coreutils-9.7/src/tac-pipe.c:223:13: style: Variable 'a' can be declared as pointer to const [constVariablePointer] coreutils-9.7/src/tac-pipe.c:224:13: style: Variable 'b' can be declared as pointer to const [constVariablePointer] coreutils-9.7/src/tac.c:116:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable program_name [valueFlowBailoutIncompleteVar] coreutils-9.7/src/tac.c:155:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] coreutils-9.7/src/tac.c:210:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable shell_escape_quoting_style [valueFlowBailoutIncompleteVar] coreutils-9.7/src/tac.c:393:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable shell_escape_quoting_style [valueFlowBailoutIncompleteVar] coreutils-9.7/src/tac.c:453:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_BINARY [valueFlowBailoutIncompleteVar] coreutils-9.7/src/tac.c:495:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] coreutils-9.7/src/tail.c:265:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable program_name [valueFlowBailoutIncompleteVar] coreutils-9.7/src/tail.c:404:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable shell_escape_always_quoting_style [valueFlowBailoutIncompleteVar] coreutils-9.7/src/tail.c:423:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] coreutils-9.7/src/tail.c:446:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] coreutils-9.7/src/tail.c:493:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable shell_escape_quoting_style [valueFlowBailoutIncompleteVar] coreutils-9.7/src/tail.c:524:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] coreutils-9.7/src/tail.c:651:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] coreutils-9.7/src/tail.c:790:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] coreutils-9.7/src/tail.c:870:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] coreutils-9.7/src/tail.c:910:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] coreutils-9.7/src/tail.c:982:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] coreutils-9.7/src/tail.c:1152:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/src/tail.c:1205:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] coreutils-9.7/src/tail.c:1854:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable shell_escape_always_quoting_style [valueFlowBailoutIncompleteVar] coreutils-9.7/src/tail.c:1930:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable shell_escape_always_quoting_style [valueFlowBailoutIncompleteVar] coreutils-9.7/src/tail.c:2020:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_BINARY [valueFlowBailoutIncompleteVar] coreutils-9.7/src/tail.c:2170:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALLTHROUGH [valueFlowBailoutIncompleteVar] coreutils-9.7/src/tail.c:2222:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] coreutils-9.7/src/tail.c:2351:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HAVE_FIFO_PIPES [valueFlowBailoutIncompleteVar] coreutils-9.7/src/tail.c:2385:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] coreutils-9.7/src/tail.c:2424:11: warning: The address of variable 'dummy_stdin' might be accessed at non-zero index. [objectIndex] coreutils-9.7/src/tail.c:2417:14: note: Address of variable taken here. coreutils-9.7/src/tail.c:2424:11: note: The address of variable 'dummy_stdin' might be accessed at non-zero index. coreutils-9.7/src/tail.c:494:7: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] coreutils-9.7/src/tail.c:1037:23: style: Condition 'f->remote=fremote(fd,pretty_name(f))' is always true [knownConditionTrueFalse] coreutils-9.7/src/tail.c:944:17: note: Assignment 'remote=true', assigned value is 1 coreutils-9.7/src/tail.c:1037:33: note: Calling function 'fremote' returns 1 coreutils-9.7/src/tail.c:1037:23: note: Condition 'f->remote=fremote(fd,pretty_name(f))' is always true coreutils-9.7/src/tail.c:644:3: warning: If memory allocation fails, then there is a possible null pointer dereference: first [nullPointerOutOfMemory] coreutils-9.7/src/tail.c:643:26: note: Assuming allocation function fails coreutils-9.7/src/tail.c:643:16: note: Assignment 'first=last=xmalloc(sizeof(struct linebuffer))', assigned value is 0 coreutils-9.7/src/tail.c:644:3: note: Null pointer dereference coreutils-9.7/src/tail.c:644:19: warning: If memory allocation fails, then there is a possible null pointer dereference: first [nullPointerOutOfMemory] coreutils-9.7/src/tail.c:643:26: note: Assuming allocation function fails coreutils-9.7/src/tail.c:643:16: note: Assignment 'first=last=xmalloc(sizeof(struct linebuffer))', assigned value is 0 coreutils-9.7/src/tail.c:644:19: note: Null pointer dereference coreutils-9.7/src/tail.c:645:3: warning: If memory allocation fails, then there is a possible null pointer dereference: first [nullPointerOutOfMemory] coreutils-9.7/src/tail.c:643:26: note: Assuming allocation function fails coreutils-9.7/src/tail.c:643:16: note: Assignment 'first=last=xmalloc(sizeof(struct linebuffer))', assigned value is 0 coreutils-9.7/src/tail.c:645:3: note: Null pointer dereference coreutils-9.7/src/tail.c:651:31: warning: If memory allocation fails, then there is a possible null pointer dereference: tmp [nullPointerOutOfMemory] coreutils-9.7/src/tail.c:646:17: note: Assuming allocation function fails coreutils-9.7/src/tail.c:646:17: note: Assignment 'tmp=xmalloc(sizeof(struct linebuffer))', assigned value is 0 coreutils-9.7/src/tail.c:651:31: note: Null pointer dereference coreutils-9.7/src/tail.c:654:7: warning: If memory allocation fails, then there is a possible null pointer dereference: tmp [nullPointerOutOfMemory] coreutils-9.7/src/tail.c:646:17: note: Assuming allocation function fails coreutils-9.7/src/tail.c:646:17: note: Assignment 'tmp=xmalloc(sizeof(struct linebuffer))', assigned value is 0 coreutils-9.7/src/tail.c:652:18: note: Assuming condition is false coreutils-9.7/src/tail.c:654:7: note: Null pointer dereference coreutils-9.7/src/tail.c:656:7: warning: If memory allocation fails, then there is a possible null pointer dereference: tmp [nullPointerOutOfMemory] coreutils-9.7/src/tail.c:646:17: note: Assuming allocation function fails coreutils-9.7/src/tail.c:646:17: note: Assignment 'tmp=xmalloc(sizeof(struct linebuffer))', assigned value is 0 coreutils-9.7/src/tail.c:652:18: note: Assuming condition is false coreutils-9.7/src/tail.c:656:7: note: Null pointer dereference coreutils-9.7/src/tail.c:657:7: warning: If memory allocation fails, then there is a possible null pointer dereference: tmp [nullPointerOutOfMemory] coreutils-9.7/src/tail.c:646:17: note: Assuming allocation function fails coreutils-9.7/src/tail.c:646:17: note: Assignment 'tmp=xmalloc(sizeof(struct linebuffer))', assigned value is 0 coreutils-9.7/src/tail.c:652:18: note: Assuming condition is false coreutils-9.7/src/tail.c:657:7: note: Null pointer dereference coreutils-9.7/src/tail.c:661:34: warning: If memory allocation fails, then there is a possible null pointer dereference: tmp [nullPointerOutOfMemory] coreutils-9.7/src/tail.c:646:17: note: Assuming allocation function fails coreutils-9.7/src/tail.c:646:17: note: Assignment 'tmp=xmalloc(sizeof(struct linebuffer))', assigned value is 0 coreutils-9.7/src/tail.c:652:18: note: Assuming condition is false coreutils-9.7/src/tail.c:661:34: note: Null pointer dereference coreutils-9.7/src/tail.c:662:25: warning: If memory allocation fails, then there is a possible null pointer dereference: tmp [nullPointerOutOfMemory] coreutils-9.7/src/tail.c:646:17: note: Assuming allocation function fails coreutils-9.7/src/tail.c:646:17: note: Assignment 'tmp=xmalloc(sizeof(struct linebuffer))', assigned value is 0 coreutils-9.7/src/tail.c:652:18: note: Assuming condition is false coreutils-9.7/src/tail.c:662:25: note: Null pointer dereference coreutils-9.7/src/tail.c:783:3: warning: If memory allocation fails, then there is a possible null pointer dereference: first [nullPointerOutOfMemory] coreutils-9.7/src/tail.c:782:26: note: Assuming allocation function fails coreutils-9.7/src/tail.c:782:16: note: Assignment 'first=last=xmalloc(sizeof(struct charbuffer))', assigned value is 0 coreutils-9.7/src/tail.c:783:3: note: Null pointer dereference coreutils-9.7/src/tail.c:784:3: warning: If memory allocation fails, then there is a possible null pointer dereference: first [nullPointerOutOfMemory] coreutils-9.7/src/tail.c:782:26: note: Assuming allocation function fails coreutils-9.7/src/tail.c:782:16: note: Assignment 'first=last=xmalloc(sizeof(struct charbuffer))', assigned value is 0 coreutils-9.7/src/tail.c:784:3: note: Null pointer dereference coreutils-9.7/src/tail.c:790:31: warning: If memory allocation fails, then there is a possible null pointer dereference: tmp [nullPointerOutOfMemory] coreutils-9.7/src/tail.c:785:17: note: Assuming allocation function fails coreutils-9.7/src/tail.c:785:17: note: Assignment 'tmp=xmalloc(sizeof(struct charbuffer))', assigned value is 0 coreutils-9.7/src/tail.c:790:31: note: Null pointer dereference coreutils-9.7/src/tail.c:794:7: warning: If memory allocation fails, then there is a possible null pointer dereference: tmp [nullPointerOutOfMemory] coreutils-9.7/src/tail.c:785:17: note: Assuming allocation function fails coreutils-9.7/src/tail.c:785:17: note: Assignment 'tmp=xmalloc(sizeof(struct charbuffer))', assigned value is 0 coreutils-9.7/src/tail.c:791:18: note: Assuming condition is false coreutils-9.7/src/tail.c:794:7: note: Null pointer dereference coreutils-9.7/src/tail.c:795:7: warning: If memory allocation fails, then there is a possible null pointer dereference: tmp [nullPointerOutOfMemory] coreutils-9.7/src/tail.c:785:17: note: Assuming allocation function fails coreutils-9.7/src/tail.c:785:17: note: Assignment 'tmp=xmalloc(sizeof(struct charbuffer))', assigned value is 0 coreutils-9.7/src/tail.c:791:18: note: Assuming condition is false coreutils-9.7/src/tail.c:795:7: note: Null pointer dereference coreutils-9.7/src/tail.c:797:22: warning: If memory allocation fails, then there is a possible null pointer dereference: tmp [nullPointerOutOfMemory] coreutils-9.7/src/tail.c:785:17: note: Assuming allocation function fails coreutils-9.7/src/tail.c:785:17: note: Assignment 'tmp=xmalloc(sizeof(struct charbuffer))', assigned value is 0 coreutils-9.7/src/tail.c:791:18: note: Assuming condition is false coreutils-9.7/src/tail.c:797:22: note: Null pointer dereference coreutils-9.7/src/tail.c:801:11: warning: If memory allocation fails, then there is a possible null pointer dereference: tmp [nullPointerOutOfMemory] coreutils-9.7/src/tail.c:785:17: note: Assuming allocation function fails coreutils-9.7/src/tail.c:785:17: note: Assignment 'tmp=xmalloc(sizeof(struct charbuffer))', assigned value is 0 coreutils-9.7/src/tail.c:791:18: note: Assuming condition is false coreutils-9.7/src/tail.c:801:11: note: Null pointer dereference coreutils-9.7/src/tail.c:350:3: style: Statements following noreturn function 'raise()' will never be executed. [unreachableCode] coreutils-9.7/src/tail.c:920:13: style: Variable 'buffer_end' can be declared as pointer to const [constVariablePointer] coreutils-9.7/src/tail.c:674:29: error: Memory is allocated but not initialized: last->nbytes [uninitdata] coreutils-9.7/src/tail.c:674:25: error: Uninitialized struct member: last.nbytes [uninitStructMember] coreutils-9.7/src/tail.c:801:29: error: Memory is allocated but not initialized: last->nbytes [uninitdata] coreutils-9.7/src/tail.c:801:25: error: Uninitialized struct member: last.nbytes [uninitStructMember] coreutils-9.7/src/tee.c:84:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable program_name [valueFlowBailoutIncompleteVar] coreutils-9.7/src/tee.c:123:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] coreutils-9.7/src/tee.c:204:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/src/tee.c:231:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] coreutils-9.7/src/temp-stream.c:104:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/src/temp-stream.c:95:18: error: Common realloc mistake: 'tempbuf' nulled but not freed upon failure [memleakOnRealloc] coreutils-9.7/src/temp-stream.c:69:63: style: Parameter 'fp' can be declared as pointer to const [constParameterPointer] coreutils-9.7/src/timeout.c:183:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] coreutils-9.7/src/timeout.c:207:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/src/timeout.c:253:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable program_name [valueFlowBailoutIncompleteVar] coreutils-9.7/src/timeout.c:360:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/src/timeout.c:385:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_UNBLOCK [valueFlowBailoutIncompleteVar] coreutils-9.7/src/timeout.c:442:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_BLOCK [valueFlowBailoutIncompleteVar] coreutils-9.7/src/timeout.c:477:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] coreutils-9.7/src/timeout.c:465:3: style:inconclusive: Statements following 'return' will never be executed. [unreachableCode] coreutils-9.7/src/touch.c:133:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] coreutils-9.7/src/touch.c:212:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable program_name [valueFlowBailoutIncompleteVar] coreutils-9.7/src/touch.c:267:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] coreutils-9.7/src/touch.c:401:33: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] coreutils-9.7/src/tr.c:284:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable program_name [valueFlowBailoutIncompleteVar] coreutils-9.7/src/tr.c:803:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LONGINT_OK [valueFlowBailoutIncompleteVar] coreutils-9.7/src/tr.c:995:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UINTMAX_MAX [valueFlowBailoutIncompleteVar] coreutils-9.7/src/tr.c:1022:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UINTMAX_MAX [valueFlowBailoutIncompleteVar] coreutils-9.7/src/tr.c:1143:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UINTMAX_MAX [valueFlowBailoutIncompleteVar] coreutils-9.7/src/tr.c:1168:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAYBE_UNUSED [valueFlowBailoutIncompleteVar] coreutils-9.7/src/tr.c:1303:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UINTMAX_MAX [valueFlowBailoutIncompleteVar] coreutils-9.7/src/tr.c:1417:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UINTMAX_MAX [valueFlowBailoutIncompleteVar] coreutils-9.7/src/tr.c:1573:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] coreutils-9.7/src/tr.c:1668:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UINTMAX_MAX [valueFlowBailoutIncompleteVar] coreutils-9.7/src/tr.c:1689:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] coreutils-9.7/src/tr.c:883:36: style: Condition 'opnd_str_len==0' is always false [knownConditionTrueFalse] coreutils-9.7/src/tr.c:880:73: note: Assignment 'opnd_str_len=closing_delim_idx-1-(i+2)+1', assigned value is greater than 0 coreutils-9.7/src/tr.c:883:36: note: Condition 'opnd_str_len==0' is always false coreutils-9.7/src/tr.c:646:3: warning: If memory allocation fails, then there is a possible null pointer dereference: new [nullPointerOutOfMemory] coreutils-9.7/src/tr.c:645:38: note: Assuming allocation function fails coreutils-9.7/src/tr.c:645:38: note: Assignment 'new=xmalloc(sizeof(*new))', assigned value is 0 coreutils-9.7/src/tr.c:646:3: note: Null pointer dereference coreutils-9.7/src/tr.c:647:3: warning: If memory allocation fails, then there is a possible null pointer dereference: new [nullPointerOutOfMemory] coreutils-9.7/src/tr.c:645:38: note: Assuming allocation function fails coreutils-9.7/src/tr.c:645:38: note: Assignment 'new=xmalloc(sizeof(*new))', assigned value is 0 coreutils-9.7/src/tr.c:647:3: note: Null pointer dereference coreutils-9.7/src/tr.c:648:3: warning: If memory allocation fails, then there is a possible null pointer dereference: new [nullPointerOutOfMemory] coreutils-9.7/src/tr.c:645:38: note: Assuming allocation function fails coreutils-9.7/src/tr.c:645:38: note: Assignment 'new=xmalloc(sizeof(*new))', assigned value is 0 coreutils-9.7/src/tr.c:648:3: note: Null pointer dereference coreutils-9.7/src/tr.c:674:3: warning: If memory allocation fails, then there is a possible null pointer dereference: new [nullPointerOutOfMemory] coreutils-9.7/src/tr.c:673:38: note: Assuming allocation function fails coreutils-9.7/src/tr.c:673:38: note: Assignment 'new=xmalloc(sizeof(*new))', assigned value is 0 coreutils-9.7/src/tr.c:674:3: note: Null pointer dereference coreutils-9.7/src/tr.c:675:3: warning: If memory allocation fails, then there is a possible null pointer dereference: new [nullPointerOutOfMemory] coreutils-9.7/src/tr.c:673:38: note: Assuming allocation function fails coreutils-9.7/src/tr.c:673:38: note: Assignment 'new=xmalloc(sizeof(*new))', assigned value is 0 coreutils-9.7/src/tr.c:675:3: note: Null pointer dereference coreutils-9.7/src/tr.c:676:3: warning: If memory allocation fails, then there is a possible null pointer dereference: new [nullPointerOutOfMemory] coreutils-9.7/src/tr.c:673:38: note: Assuming allocation function fails coreutils-9.7/src/tr.c:673:38: note: Assignment 'new=xmalloc(sizeof(*new))', assigned value is 0 coreutils-9.7/src/tr.c:676:3: note: Null pointer dereference coreutils-9.7/src/tr.c:677:3: warning: If memory allocation fails, then there is a possible null pointer dereference: new [nullPointerOutOfMemory] coreutils-9.7/src/tr.c:673:38: note: Assuming allocation function fails coreutils-9.7/src/tr.c:673:38: note: Assignment 'new=xmalloc(sizeof(*new))', assigned value is 0 coreutils-9.7/src/tr.c:677:3: note: Null pointer dereference coreutils-9.7/src/tr.c:696:3: warning: If memory allocation fails, then there is a possible null pointer dereference: new [nullPointerOutOfMemory] coreutils-9.7/src/tr.c:695:38: note: Assuming allocation function fails coreutils-9.7/src/tr.c:695:38: note: Assignment 'new=xmalloc(sizeof(*new))', assigned value is 0 coreutils-9.7/src/tr.c:696:3: note: Null pointer dereference coreutils-9.7/src/tr.c:697:3: warning: If memory allocation fails, then there is a possible null pointer dereference: new [nullPointerOutOfMemory] coreutils-9.7/src/tr.c:695:38: note: Assuming allocation function fails coreutils-9.7/src/tr.c:695:38: note: Assignment 'new=xmalloc(sizeof(*new))', assigned value is 0 coreutils-9.7/src/tr.c:697:3: note: Null pointer dereference coreutils-9.7/src/tr.c:698:3: warning: If memory allocation fails, then there is a possible null pointer dereference: new [nullPointerOutOfMemory] coreutils-9.7/src/tr.c:695:38: note: Assuming allocation function fails coreutils-9.7/src/tr.c:695:38: note: Assignment 'new=xmalloc(sizeof(*new))', assigned value is 0 coreutils-9.7/src/tr.c:698:3: note: Null pointer dereference coreutils-9.7/src/tr.c:714:3: warning: If memory allocation fails, then there is a possible null pointer dereference: new [nullPointerOutOfMemory] coreutils-9.7/src/tr.c:713:38: note: Assuming allocation function fails coreutils-9.7/src/tr.c:713:38: note: Assignment 'new=xmalloc(sizeof(*new))', assigned value is 0 coreutils-9.7/src/tr.c:714:3: note: Null pointer dereference coreutils-9.7/src/tr.c:715:3: warning: If memory allocation fails, then there is a possible null pointer dereference: new [nullPointerOutOfMemory] coreutils-9.7/src/tr.c:713:38: note: Assuming allocation function fails coreutils-9.7/src/tr.c:713:38: note: Assignment 'new=xmalloc(sizeof(*new))', assigned value is 0 coreutils-9.7/src/tr.c:715:3: note: Null pointer dereference coreutils-9.7/src/tr.c:716:3: warning: If memory allocation fails, then there is a possible null pointer dereference: new [nullPointerOutOfMemory] coreutils-9.7/src/tr.c:713:38: note: Assuming allocation function fails coreutils-9.7/src/tr.c:713:38: note: Assignment 'new=xmalloc(sizeof(*new))', assigned value is 0 coreutils-9.7/src/tr.c:716:3: note: Null pointer dereference coreutils-9.7/src/tr.c:717:3: warning: If memory allocation fails, then there is a possible null pointer dereference: new [nullPointerOutOfMemory] coreutils-9.7/src/tr.c:713:38: note: Assuming allocation function fails coreutils-9.7/src/tr.c:713:38: note: Assignment 'new=xmalloc(sizeof(*new))', assigned value is 0 coreutils-9.7/src/tr.c:717:3: note: Null pointer dereference coreutils-9.7/src/tr.c:736:3: warning: If memory allocation fails, then there is a possible null pointer dereference: new [nullPointerOutOfMemory] coreutils-9.7/src/tr.c:735:38: note: Assuming allocation function fails coreutils-9.7/src/tr.c:735:38: note: Assignment 'new=xmalloc(sizeof(*new))', assigned value is 0 coreutils-9.7/src/tr.c:736:3: note: Null pointer dereference coreutils-9.7/src/tr.c:737:3: warning: If memory allocation fails, then there is a possible null pointer dereference: new [nullPointerOutOfMemory] coreutils-9.7/src/tr.c:735:38: note: Assuming allocation function fails coreutils-9.7/src/tr.c:735:38: note: Assignment 'new=xmalloc(sizeof(*new))', assigned value is 0 coreutils-9.7/src/tr.c:737:3: note: Null pointer dereference coreutils-9.7/src/tr.c:738:3: warning: If memory allocation fails, then there is a possible null pointer dereference: new [nullPointerOutOfMemory] coreutils-9.7/src/tr.c:735:38: note: Assuming allocation function fails coreutils-9.7/src/tr.c:735:38: note: Assignment 'new=xmalloc(sizeof(*new))', assigned value is 0 coreutils-9.7/src/tr.c:738:3: note: Null pointer dereference coreutils-9.7/src/tr.c:1336:12: warning: If memory allocation fails, then there is a possible null pointer dereference: spec_list->head [nullPointerOutOfMemory] coreutils-9.7/src/tr.c:1334:38: note: Assuming allocation function fails coreutils-9.7/src/tr.c:1334:38: note: Assignment 'new=xmalloc(sizeof(*new))', assigned value is 0 coreutils-9.7/src/tr.c:1335:37: note: Assignment 'spec_list->head=spec_list->tail=new', assigned value is 0 coreutils-9.7/src/tr.c:1336:12: note: Null pointer dereference coreutils-9.7/src/tr.c:1546:13: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] coreutils-9.7/src/tr.c:1583:13: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] coreutils-9.7/src/tr.c:1630:9: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] coreutils-9.7/src/truncate.c:66:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable program_name [valueFlowBailoutIncompleteVar] coreutils-9.7/src/truncate.c:113:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable shell_escape_always_quoting_style [valueFlowBailoutIncompleteVar] coreutils-9.7/src/truncate.c:209:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] coreutils-9.7/src/tsort.c:78:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable program_name [valueFlowBailoutIncompleteVar] coreutils-9.7/src/tsort.c:440:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] coreutils-9.7/src/tsort.c:535:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] coreutils-9.7/src/tsort.c:272:7: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] coreutils-9.7/src/tsort.c:271:19: note: Assuming allocation function fails coreutils-9.7/src/tsort.c:271:19: note: Assignment 'p=xmalloc(sizeof(*p))', assigned value is 0 coreutils-9.7/src/tsort.c:272:7: note: Null pointer dereference coreutils-9.7/src/tsort.c:273:7: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] coreutils-9.7/src/tsort.c:271:19: note: Assuming allocation function fails coreutils-9.7/src/tsort.c:271:19: note: Assignment 'p=xmalloc(sizeof(*p))', assigned value is 0 coreutils-9.7/src/tsort.c:273:7: note: Null pointer dereference coreutils-9.7/src/tsort.c:279:40: style: Parameter 'unused' can be declared as pointer to const. However it seems that 'count_items' is a callback function, if 'unused' is declared with const you might also need to cast function pointer(s). [constParameterCallback] coreutils-9.7/src/tsort.c:476:20: note: You might need to cast the function pointer here coreutils-9.7/src/tsort.c:279:40: note: Parameter 'unused' can be declared as pointer to const coreutils-9.7/src/tty.c:61:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable program_name [valueFlowBailoutIncompleteVar] coreutils-9.7/src/tty.c:84:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] coreutils-9.7/src/tty.c:122:21: portability: Non reentrant function 'ttyname' called. For threadsafe applications it is recommended to use the reentrant replacement function 'ttyname_r'. [prohibitedttynameCalled] coreutils-9.7/src/uname.c:111:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable program_name [valueFlowBailoutIncompleteVar] coreutils-9.7/src/uname.c:160:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] coreutils-9.7/src/uname.c:201:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] coreutils-9.7/src/uname.c:282:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] coreutils-9.7/src/uname.c:344:45: style: The comparison 'element == unknown' is always true because 'element' and 'unknown' represent the same value. [knownConditionTrueFalse] coreutils-9.7/src/uname.c:316:29: note: 'element' is assigned value 'unknown' here. coreutils-9.7/src/uname.c:344:45: note: The comparison 'element == unknown' is always true because 'element' and 'unknown' represent the same value. coreutils-9.7/src/uname.c:369:45: style: The comparison 'element == unknown' is always true because 'element' and 'unknown' represent the same value. [knownConditionTrueFalse] coreutils-9.7/src/uname.c:350:29: note: 'element' is assigned value 'unknown' here. coreutils-9.7/src/uname.c:369:45: note: The comparison 'element == unknown' is always true because 'element' and 'unknown' represent the same value. coreutils-9.7/src/unexpand.c:73:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable program_name [valueFlowBailoutIncompleteVar] coreutils-9.7/src/unexpand.c:228:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] coreutils-9.7/src/unexpand.c:264:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] coreutils-9.7/src/unexpand.c:160:13: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] coreutils-9.7/src/uniq.c:155:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable program_name [valueFlowBailoutIncompleteVar] coreutils-9.7/src/uniq.c:230:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LONGINT_OVERFLOW [valueFlowBailoutIncompleteVar] coreutils-9.7/src/uniq.c:265:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MB_CUR_MAX [valueFlowBailoutIncompleteVar] coreutils-9.7/src/uniq.c:311:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] coreutils-9.7/src/uniq.c:325:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] coreutils-9.7/src/uniq.c:480:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] coreutils-9.7/src/unlink.c:40:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable program_name [valueFlowBailoutIncompleteVar] coreutils-9.7/src/unlink.c:60:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] coreutils-9.7/src/uptime.c:133:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/src/uptime.c:146:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable program_name [valueFlowBailoutIncompleteVar] coreutils-9.7/src/uptime.c:181:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] coreutils-9.7/src/uptime.c:64:56: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] coreutils-9.7/src/users.c:70:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] coreutils-9.7/src/users.c:87:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable READ_UTMP_USER_PROCESS [valueFlowBailoutIncompleteVar] coreutils-9.7/src/users.c:100:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable program_name [valueFlowBailoutIncompleteVar] coreutils-9.7/src/users.c:122:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] coreutils-9.7/src/wc.c:152:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable program_name [valueFlowBailoutIncompleteVar] coreutils-9.7/src/wc.c:242:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable shell_escape_quoting_style [valueFlowBailoutIncompleteVar] coreutils-9.7/src/wc.c:266:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] coreutils-9.7/src/wc.c:314:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MB_CUR_MAX [valueFlowBailoutIncompleteVar] coreutils-9.7/src/wc.c:631:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_BINARY [valueFlowBailoutIncompleteVar] coreutils-9.7/src/wc.c:701:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable st_mode [valueFlowBailoutIncompleteVar] coreutils-9.7/src/wc.c:733:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] coreutils-9.7/src/wc.c:536:37: style:inconclusive: Boolean expression '!in_word' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] coreutils-9.7/src/wc.c:595:37: style:inconclusive: Boolean expression '!in_word' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] coreutils-9.7/src/wc.c:536:37: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] coreutils-9.7/src/wc.c:595:37: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] coreutils-9.7/src/wc.c:833:26: warning: If resource allocation fails, then there is a possible null pointer dereference: stream [nullPointerOutOfResources] coreutils-9.7/src/wc.c:824:26: note: Assuming allocation function fails coreutils-9.7/src/wc.c:824:26: note: Assignment 'stream=fopen(files_from,"r")', assigned value is 0 coreutils-9.7/src/wc.c:833:26: note: Null pointer dereference coreutils-9.7/src/wc_avx2.c:36:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __m256i [valueFlowBailoutIncompleteVar] coreutils-9.7/src/wc_avx2.c:55:13: style: Variable 'end' can be declared as pointer to const [constVariablePointer] coreutils-9.7/src/who.c:309:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IWGRP [valueFlowBailoutIncompleteVar] coreutils-9.7/src/who.c:334:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AT_FDCWD [valueFlowBailoutIncompleteVar] coreutils-9.7/src/who.c:616:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable READ_UTMP_USER_PROCESS [valueFlowBailoutIncompleteVar] coreutils-9.7/src/who.c:632:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable program_name [valueFlowBailoutIncompleteVar] coreutils-9.7/src/who.c:686:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] coreutils-9.7/src/who.c:211:20: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] coreutils-9.7/src/who.c:570:19: portability: Non reentrant function 'ttyname' called. For threadsafe applications it is recommended to use the reentrant replacement function 'ttyname_r'. [prohibitedttynameCalled] coreutils-9.7/src/who.c:278:19: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: x_exitstr [nullPointerOutOfMemory] coreutils-9.7/src/who.c:250:23: note: Assuming allocation function fails coreutils-9.7/src/who.c:250:23: note: Assignment 'x_exitstr=xmalloc(include_exit?1+MAX(12,strlen(exitstr))+1:1)', assigned value is 0 coreutils-9.7/src/who.c:278:19: note: Null pointer dereference coreutils-9.7/src/who.c:443:22: warning: If memory allocation fails, then there is a possible null pointer dereference: comment [nullPointerOutOfMemory] coreutils-9.7/src/who.c:442:27: note: Assuming allocation function fails coreutils-9.7/src/who.c:442:27: note: Assignment 'comment=xmalloc(prefixlen+idlen+1)', assigned value is 0 coreutils-9.7/src/who.c:443:22: note: Null pointer dereference coreutils-9.7/src/who.c:211:14: style: Variable 'tmp' can be declared as pointer to const [constVariablePointer] coreutils-9.7/src/who.c:322:16: style: Variable 'hoststr' can be declared as pointer to const [constVariablePointer] coreutils-9.7/src/whoami.c:39:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable program_name [valueFlowBailoutIncompleteVar] coreutils-9.7/src/whoami.c:64:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] coreutils-9.7/src/whoami.c:82:43: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] coreutils-9.7/src/whoami.c:86:9: warning: Either the condition '!pw' is redundant or there is possible null pointer dereference: pw. [nullPointerRedundantCheck] coreutils-9.7/src/whoami.c:83:7: note: Assuming that condition '!pw' is not redundant coreutils-9.7/src/whoami.c:86:9: note: Null pointer dereference coreutils-9.7/src/whoami.c:58:18: style: Variable 'pw' can be declared as pointer to const [constVariablePointer] coreutils-9.7/src/yes.c:37:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable program_name [valueFlowBailoutIncompleteVar] coreutils-9.7/src/yes.c:62:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] coreutils-9.7/src/yes.c:131:5: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] coreutils-9.7/gnulib-tests/test-getopt_long.h:108:56: error: Null pointer dereference: longopts [ctunullpointer] coreutils-9.7/gnulib-tests/test-getopt_long.h:331:24: note: Calling function do_getopt_long, 4th argument is null coreutils-9.7/gnulib-tests/test-getopt_long.h:108:56: note: Dereferencing argument longopts that is null coreutils-9.7/src/csplit.c:281:3: warning: If memory allocation fails, then there is a possible null pointer dereference: p [ctunullpointerOutOfMemory] coreutils-9.7/src/csplit.c:291:28: note: Assuming allocation function fails coreutils-9.7/src/csplit.c:291:28: note: Assignment 'p=xmalloc(sizeof(*p))', assigned value is 0 coreutils-9.7/src/csplit.c:294:22: note: Calling function clear_line_control, 1st argument is null coreutils-9.7/src/csplit.c:281:3: note: Dereferencing argument p that is null coreutils-9.7/src/df.c:926:24: warning: If memory allocation fails, then there is a possible null pointer dereference: s [ctunullpointerOutOfMemory] coreutils-9.7/src/df.c:1093:28: note: Assuming allocation function fails coreutils-9.7/src/df.c:1093:28: note: Assignment 'dev_name=xstrdup(device)', assigned value is 0 coreutils-9.7/src/df.c:1103:26: note: Calling function has_uuid_suffix, 1st argument is null coreutils-9.7/src/df.c:926:24: note: Dereferencing argument s that is null diff: head coreutils-9.7/gl/lib/dtimespec-bound.h:25:4: error: #error "Please include config.h first." [preprocessorErrorDirective] head coreutils-9.7/gnulib-tests/concat-filename.h:22:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head coreutils-9.7/gnulib-tests/getlocalename_l-unsafe.c:661:3: error: #error "Please port gnulib getlocalename_l-unsafe.c to your platform! Report this to bug-gnulib." [preprocessorErrorDirective] head coreutils-9.7/gnulib-tests/glthread/thread.h:75:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head coreutils-9.7/gnulib-tests/localename.h:22:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head coreutils-9.7/gnulib-tests/sleep.c:72:3: error: #error "Please port gnulib sleep.c to your platform, possibly using usleep() or select(), then report this to bug-gnulib." [preprocessorErrorDirective] head coreutils-9.7/gnulib-tests/test-cloexec.c:57:4: error: #error Please port fcntl to your platform [preprocessorErrorDirective] 2.17.0 coreutils-9.7/gnulib-tests/test-digest.h:78:58: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] coreutils-9.7/gnulib-tests/test-digest.h:78:40: note: Assuming allocation function fails coreutils-9.7/gnulib-tests/test-digest.h:78:58: note: Null pointer addition head coreutils-9.7/gnulib-tests/test-digest.h:78:58: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] coreutils-9.7/gnulib-tests/test-digest.h:78:40: note: Assuming allocation function fails coreutils-9.7/gnulib-tests/test-digest.h:78:58: note: Null pointer addition head coreutils-9.7/gnulib-tests/test-dup-safer.c:73:4: error: #error Please port fcntl to your platform [preprocessorErrorDirective] head coreutils-9.7/gnulib-tests/test-dup2.c:70:4: error: #error Please port fcntl to your platform [preprocessorErrorDirective] head coreutils-9.7/gnulib-tests/test-fcntl.c:73:4: error: #error Please port fcntl to your platform [preprocessorErrorDirective] head coreutils-9.7/gnulib-tests/test-math-h.c:24:3: error: #error INFINITY should be defined, added in ISO C 99 [preprocessorErrorDirective] head coreutils-9.7/gnulib-tests/test-pipe.c:52:4: error: #error Please port fcntl to your platform [preprocessorErrorDirective] head coreutils-9.7/gnulib-tests/test-pipe2.c:55:4: error: #error Please port fcntl to your platform [preprocessorErrorDirective] 2.17.0 coreutils-9.7/gnulib-tests/test-rawmemchr.c:92:5: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] coreutils-9.7/gnulib-tests/test-rawmemchr.c:90:20: note: Assuming allocation function fails coreutils-9.7/gnulib-tests/test-rawmemchr.c:90:20: note: Assignment 'input=malloc(5)', assigned value is 0 coreutils-9.7/gnulib-tests/test-rawmemchr.c:92:5: note: Null pointer addition head coreutils-9.7/gnulib-tests/test-rawmemchr.c:92:5: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] coreutils-9.7/gnulib-tests/test-rawmemchr.c:90:20: note: Assuming allocation function fails coreutils-9.7/gnulib-tests/test-rawmemchr.c:90:20: note: Assignment 'input=malloc(5)', assigned value is 0 coreutils-9.7/gnulib-tests/test-rawmemchr.c:92:5: note: Null pointer addition head coreutils-9.7/gnulib-tests/test-signbit.c:25:3: error: #error missing declaration [preprocessorErrorDirective] head coreutils-9.7/gnulib-tests/test-sys_select-h.c:46:3: error: #error "FD_SETSIZE not positive" [preprocessorErrorDirective] head coreutils-9.7/gnulib-tests/test-unistd-h.c:37:3: error: #error "O_CLOEXEC is not defined" [preprocessorErrorDirective] head coreutils-9.7/gnulib-tests/test-verify.c:57:30: style: Same expression on both sides of '=='. [duplicateExpression] head coreutils-9.7/gnulib-tests/test-verify.c:60:60: style: Same expression on both sides of '=='. [duplicateExpression] head coreutils-9.7/gnulib-tests/vma-iter.h:23:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head coreutils-9.7/gnulib-tests/xgetcwd.h:19:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head coreutils-9.7/lib/acl-internal.h:22:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head coreutils-9.7/lib/acl.h:25:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head coreutils-9.7/lib/alignalloc.h:26:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head coreutils-9.7/lib/argmatch.h:27:4: error: #error "Please include config.h first." [preprocessorErrorDirective] head coreutils-9.7/lib/argv-iter.h:19:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head coreutils-9.7/lib/attribute.h:93:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head coreutils-9.7/lib/backupfile.h:24:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head coreutils-9.7/lib/base32.h:23:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head coreutils-9.7/lib/base64.h:23:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head coreutils-9.7/lib/basename-lgpl.h:24:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head coreutils-9.7/lib/binary-io.h:22:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head coreutils-9.7/lib/bitrotate.h:24:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head coreutils-9.7/lib/c-ctype.h:28:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head coreutils-9.7/lib/c-strcase.h:23:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head coreutils-9.7/lib/canon-host.h:25:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head coreutils-9.7/lib/canonicalize.h:22:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head coreutils-9.7/lib/careadlinkat.h:25:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head coreutils-9.7/lib/di-set.h:25:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head coreutils-9.7/lib/dirname.h:25:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head coreutils-9.7/lib/dtimespec-bound.h:25:4: error: #error "Please include config.h first." [preprocessorErrorDirective] head coreutils-9.7/lib/error.c:155:5: error: #error Please port fcntl to your platform [preprocessorErrorDirective] head coreutils-9.7/lib/exclude.h:28:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head coreutils-9.7/lib/file-type.h:26:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head coreutils-9.7/lib/filemode.h:24:4: error: #error "Please include config.h first." [preprocessorErrorDirective] head coreutils-9.7/lib/filenamecat.h:23:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head coreutils-9.7/lib/filevercmp.h:25:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head coreutils-9.7/lib/flexmember.h:25:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head coreutils-9.7/lib/fpending.h:24:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head coreutils-9.7/lib/fpurge.c:146:4: error: #error "Please port gnulib fpurge.c to your platform! Look at the definitions of fflush, setvbuf and ungetc on your system, then report this to bug-gnulib." [preprocessorErrorDirective] head coreutils-9.7/lib/freadahead.h:19:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head coreutils-9.7/lib/freading.h:19:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head coreutils-9.7/lib/freadptr.h:19:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head coreutils-9.7/lib/fseeko.c:114:4: error: #error "Please port gnulib fseeko.c to your platform! Look at the code in fseeko.c, then report this to bug-gnulib." [preprocessorErrorDirective] head coreutils-9.7/lib/fseterr.h:22:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head coreutils-9.7/lib/fsync.c:85:3: error: #error "This platform lacks fsync function, and Gnulib doesn't provide a replacement. This is a bug in Gnulib." [preprocessorErrorDirective] head coreutils-9.7/lib/fts_.h:54:4: error: #error "Please include config.h first." [preprocessorErrorDirective] head coreutils-9.7/lib/gethrxtime.h:26:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head coreutils-9.7/lib/getlocalename_l-unsafe.c:661:3: error: #error "Please port gnulib getlocalename_l-unsafe.c to your platform! Report this to bug-gnulib." [preprocessorErrorDirective] head coreutils-9.7/lib/getopt.c:265:18: style: Condition 'ambig_set!=&ambig_fallback' is always true [knownConditionTrueFalse] coreutils-9.7/lib/getopt.c:252:16: note: Assuming that condition '!ambig_set' is not redundant coreutils-9.7/lib/getopt.c:265:18: note: Condition 'ambig_set!=&ambig_fallback' is always true head coreutils-9.7/lib/getopt.c:267:16: error: Null pointer dereference [nullPointer] head coreutils-9.7/lib/getopt.c:267:16: warning: Either the condition '!ambig_set' is redundant or there is possible null pointer dereference: ambig_set. [nullPointerRedundantCheck] coreutils-9.7/lib/getopt.c:252:16: note: Assuming that condition '!ambig_set' is not redundant coreutils-9.7/lib/getopt.c:267:16: note: Null pointer dereference head coreutils-9.7/lib/getopt.c:268:8: warning: Either the condition '!ambig_set' is redundant or there is possible null pointer dereference: ambig_set. [nullPointerRedundantCheck] coreutils-9.7/lib/getopt.c:252:16: note: Assuming that condition '!ambig_set' is not redundant coreutils-9.7/lib/getopt.c:268:8: note: Null pointer dereference head coreutils-9.7/lib/gettimeofday.c:142:5: error: #error "Only 1-second nominal clock resolution found. Is that intended?" \ [preprocessorErrorDirective] head coreutils-9.7/lib/glthread/once.h:39:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head coreutils-9.7/lib/hash-pjw.h:19:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head coreutils-9.7/lib/hash-triple.h:24:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head coreutils-9.7/lib/hash.h:31:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head coreutils-9.7/lib/i-ring.h:20:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head coreutils-9.7/lib/ialloc.h:24:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head coreutils-9.7/lib/ino-map.h:25:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head coreutils-9.7/lib/inttostr.h:22:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head coreutils-9.7/lib/isapipe.h:20:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head coreutils-9.7/lib/isnand-nolibm.h:19:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head coreutils-9.7/lib/isnanf-nolibm.h:19:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head coreutils-9.7/lib/isnanl-nolibm.h:19:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head coreutils-9.7/lib/link.c:174:4: error: #error "This platform lacks a link function, and Gnulib doesn't provide a replacement. This is a bug in Gnulib." [preprocessorErrorDirective] head coreutils-9.7/lib/localename.h:22:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head coreutils-9.7/lib/malloc/dynarray-skeleton.c:95:3: error: #error "DYNARRAY_STRUCT must be defined" [preprocessorErrorDirective] head coreutils-9.7/lib/malloca.h:24:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head coreutils-9.7/lib/mbswidth.h:19:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head coreutils-9.7/lib/mcel.h:92:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head coreutils-9.7/lib/md5.h:25:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head coreutils-9.7/lib/memcasecmp.h:22:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head coreutils-9.7/lib/memchr2.h:19:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head coreutils-9.7/lib/memcmp2.h:22:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head coreutils-9.7/lib/minmax.h:28:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head coreutils-9.7/lib/modechange.h:24:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head coreutils-9.7/lib/mountlist.h:24:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head coreutils-9.7/lib/msvc-inval.h:57:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head coreutils-9.7/lib/msvc-nothrow.h:30:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head coreutils-9.7/lib/openat.h:25:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head coreutils-9.7/lib/pathmax.h:44:4: error: #error "Please include config.h first." [preprocessorErrorDirective] head coreutils-9.7/lib/pipe.c:48:3: error: #error "This platform lacks a pipe function, and Gnulib doesn't provide a replacement. This is a bug in Gnulib." [preprocessorErrorDirective] head coreutils-9.7/lib/priv-set.h:23:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head coreutils-9.7/lib/quotearg.h:26:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head coreutils-9.7/lib/read-file.h:23:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head coreutils-9.7/lib/readutmp.h:27:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head coreutils-9.7/lib/same-inode.h:23:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head coreutils-9.7/lib/savedir.h:26:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head coreutils-9.7/lib/savewd.h:25:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head coreutils-9.7/lib/sha1.h:24:4: error: #error "Please include config.h first." [preprocessorErrorDirective] head coreutils-9.7/lib/sha256.h:23:4: error: #error "Please include config.h first." [preprocessorErrorDirective] head coreutils-9.7/lib/sha512.h:23:4: error: #error "Please include config.h first." [preprocessorErrorDirective] head coreutils-9.7/lib/sig-handler.h:23:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head coreutils-9.7/lib/sigaction.c:55:3: error: #error "Revisit the assumptions made in the sigaction module" [preprocessorErrorDirective] head coreutils-9.7/lib/sm3.h:32:4: error: #error "Please include config.h first." [preprocessorErrorDirective] head coreutils-9.7/lib/sockets.h:25:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head coreutils-9.7/lib/stat-time.h:26:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head coreutils-9.7/lib/stdio-safer.h:22:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head coreutils-9.7/lib/strerror-override.h:23:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head coreutils-9.7/lib/strnlen1.h:22:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head coreutils-9.7/lib/timespec.h:25:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head coreutils-9.7/lib/u64.h:22:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head coreutils-9.7/lib/utimens.h:22:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head coreutils-9.7/lib/vasnprintf.h:22:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head coreutils-9.7/lib/version-etc.h:24:4: error: #error "Please include config.h first." [preprocessorErrorDirective] head coreutils-9.7/lib/windows-thread.h:25:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head coreutils-9.7/lib/xalloc.h:25:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head coreutils-9.7/lib/xbinary-io.h:22:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head coreutils-9.7/lib/xgetcwd.h:19:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head coreutils-9.7/lib/xgethostname.h:20:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head coreutils-9.7/lib/xprintf.h:22:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head coreutils-9.7/lib/xreadlink.h:23:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head coreutils-9.7/lib/xsize.h:23:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head coreutils-9.7/lib/xstrtol-error.h:24:4: error: #error "Please include config.h first." [preprocessorErrorDirective] head coreutils-9.7/lib/xtime.h:25:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head coreutils-9.7/lib/xvasprintf.h:23:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head coreutils-9.7/src/basenc.c:54:3: error: #error missing/invalid BASE_TYPE definition [preprocessorErrorDirective] head coreutils-9.7/src/chroot.c:105:47: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] head coreutils-9.7/src/csplit.c:281:3: warning: If memory allocation fails, then there is a possible null pointer dereference: p [ctunullpointerOutOfMemory] coreutils-9.7/src/csplit.c:291:28: note: Assuming allocation function fails coreutils-9.7/src/csplit.c:291:28: note: Assignment 'p=xmalloc(sizeof(*p))', assigned value is 0 coreutils-9.7/src/csplit.c:294:22: note: Calling function clear_line_control, 1st argument is null coreutils-9.7/src/csplit.c:281:3: note: Dereferencing argument p that is null head coreutils-9.7/src/df.c:926:24: warning: If memory allocation fails, then there is a possible null pointer dereference: s [ctunullpointerOutOfMemory] coreutils-9.7/src/df.c:1093:28: note: Assuming allocation function fails coreutils-9.7/src/df.c:1093:28: note: Assignment 'dev_name=xstrdup(device)', assigned value is 0 coreutils-9.7/src/df.c:1103:26: note: Calling function has_uuid_suffix, 1st argument is null coreutils-9.7/src/df.c:926:24: note: Dereferencing argument s that is null 2.17.0 coreutils-9.7/src/df.c:928:24: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] coreutils-9.7/src/df.c:1093:28: note: Assuming allocation function fails coreutils-9.7/src/df.c:1093:28: note: Assignment 'dev_name=xstrdup(device)', assigned value is 0 coreutils-9.7/src/df.c:1103:27: note: Calling function 'has_uuid_suffix', 1st argument 'dev_name' value is 0 coreutils-9.7/src/df.c:928:24: note: Null pointer addition head coreutils-9.7/src/df.c:928:24: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] coreutils-9.7/src/df.c:1093:28: note: Assuming allocation function fails coreutils-9.7/src/df.c:1093:28: note: Assignment 'dev_name=xstrdup(device)', assigned value is 0 coreutils-9.7/src/df.c:1103:27: note: Calling function 'has_uuid_suffix', 1st argument 'dev_name' value is 0 coreutils-9.7/src/df.c:928:24: note: Null pointer addition head coreutils-9.7/src/digest.c:131:3: error: #error "Can't decide which hash algorithm to compile." [preprocessorErrorDirective] head coreutils-9.7/src/factor.c:238:3: error: #error "platform does not support 64-bit integers" [preprocessorErrorDirective] head coreutils-9.7/src/head.c:501:19: warning: If memory allocation fails, then there is a possible null pointer dereference: first [nullPointerOutOfMemory] coreutils-9.7/src/head.c:500:26: note: Assuming allocation function fails coreutils-9.7/src/head.c:500:16: note: Assignment 'first=last=xmalloc(sizeof(struct linebuffer))', assigned value is 0 coreutils-9.7/src/head.c:501:19: note: Null pointer dereference 2.17.0 coreutils-9.7/src/nl.c:590:25: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] coreutils-9.7/src/nl.c:586:24: note: Assuming allocation function fails coreutils-9.7/src/nl.c:586:24: note: Assignment 'header_del=xmalloc(header_del_len+1)', assigned value is 0 coreutils-9.7/src/nl.c:590:25: note: Null pointer addition head coreutils-9.7/src/nl.c:590:25: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] coreutils-9.7/src/nl.c:586:24: note: Assuming allocation function fails coreutils-9.7/src/nl.c:586:24: note: Assignment 'header_del=xmalloc(header_del_len+1)', assigned value is 0 coreutils-9.7/src/nl.c:590:25: note: Null pointer addition 2.17.0 coreutils-9.7/src/numfmt.c:839:22: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] coreutils-9.7/src/numfmt.c:838:26: note: Assuming allocation function fails coreutils-9.7/src/numfmt.c:838:26: note: Assignment 't_string=xmalloc(n_len+2)', assigned value is 0 coreutils-9.7/src/numfmt.c:839:22: note: Null pointer addition head coreutils-9.7/src/numfmt.c:839:22: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] coreutils-9.7/src/numfmt.c:838:26: note: Assuming allocation function fails coreutils-9.7/src/numfmt.c:838:26: note: Assignment 't_string=xmalloc(n_len+2)', assigned value is 0 coreutils-9.7/src/numfmt.c:839:22: note: Null pointer addition head coreutils-9.7/src/pwd.c:95:14: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] coreutils-9.7/src/pwd.c:87:33: note: Assuming allocation function fails coreutils-9.7/src/pwd.c:87:33: note: Assignment 'p=xmalloc(sizeof(*p))', assigned value is 0 coreutils-9.7/src/pwd.c:95:14: note: Null pointer dereference 2.17.0 coreutils-9.7/src/pwd.c:95:21: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] coreutils-9.7/src/pwd.c:94:20: note: Assuming allocation function fails coreutils-9.7/src/pwd.c:94:20: note: Assignment 'p->buf=xmalloc(init_alloc)', assigned value is 0 coreutils-9.7/src/pwd.c:95:21: note: Null pointer addition head coreutils-9.7/src/pwd.c:95:21: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] coreutils-9.7/src/pwd.c:94:20: note: Assuming allocation function fails coreutils-9.7/src/pwd.c:94:20: note: Assignment 'p->buf=xmalloc(init_alloc)', assigned value is 0 coreutils-9.7/src/pwd.c:95:21: note: Null pointer addition 2.17.0 coreutils-9.7/src/seq.c:283:23: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] coreutils-9.7/src/seq.c:280:31: note: Assuming allocation function fails coreutils-9.7/src/seq.c:280:31: note: Assignment 'ldfmt=xmalloc(format_size+1)', assigned value is 0 coreutils-9.7/src/seq.c:283:23: note: Null pointer addition head coreutils-9.7/src/seq.c:283:23: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] coreutils-9.7/src/seq.c:280:31: note: Assuming allocation function fails coreutils-9.7/src/seq.c:280:31: note: Assignment 'ldfmt=xmalloc(format_size+1)', assigned value is 0 coreutils-9.7/src/seq.c:283:23: note: Null pointer addition 2.17.0 coreutils-9.7/src/seq.c:479:19: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] coreutils-9.7/src/seq.c:478:22: note: Assuming allocation function fails coreutils-9.7/src/seq.c:478:22: note: Assignment 'p0=xmalloc(inc_size)', assigned value is 0 coreutils-9.7/src/seq.c:479:19: note: Null pointer addition head coreutils-9.7/src/seq.c:479:19: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] coreutils-9.7/src/seq.c:478:22: note: Assuming allocation function fails coreutils-9.7/src/seq.c:478:22: note: Assignment 'p0=xmalloc(inc_size)', assigned value is 0 coreutils-9.7/src/seq.c:479:19: note: Null pointer addition 2.17.0 coreutils-9.7/src/sort.c:2734:23: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] coreutils-9.7/src/sort.c:2733:42: note: Assuming allocation function fails coreutils-9.7/src/sort.c:2733:32: note: Assignment 'ta=allocated=xmalloc(size)', assigned value is 0 coreutils-9.7/src/sort.c:2734:23: note: Null pointer addition head coreutils-9.7/src/sort.c:2734:23: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] coreutils-9.7/src/sort.c:2733:42: note: Assuming allocation function fails coreutils-9.7/src/sort.c:2733:32: note: Assignment 'ta=allocated=xmalloc(size)', assigned value is 0 coreutils-9.7/src/sort.c:2734:23: note: Null pointer addition head coreutils-9.7/src/sort.c:3403:14: warning: If memory allocation fails, then there is a possible null pointer dereference: root [nullPointerOutOfMemory] coreutils-9.7/src/sort.c:3400:43: note: Assuming allocation function fails coreutils-9.7/src/sort.c:3400:43: note: Assignment 'merge_tree=xmalloc(2*sizeof(*merge_tree)*nthreads)', assigned value is 0 coreutils-9.7/src/sort.c:3402:27: note: root is assigned 'merge_tree' here. coreutils-9.7/src/sort.c:3403:14: note: Null pointer dereference head coreutils-9.7/src/sort.c:3403:25: warning: If memory allocation fails, then there is a possible null pointer dereference: root [nullPointerOutOfMemory] coreutils-9.7/src/sort.c:3400:43: note: Assuming allocation function fails coreutils-9.7/src/sort.c:3400:43: note: Assignment 'merge_tree=xmalloc(2*sizeof(*merge_tree)*nthreads)', assigned value is 0 coreutils-9.7/src/sort.c:3402:27: note: root is assigned 'merge_tree' here. coreutils-9.7/src/sort.c:3403:25: note: Null pointer dereference head coreutils-9.7/src/sort.c:3403:40: warning: If memory allocation fails, then there is a possible null pointer dereference: root [nullPointerOutOfMemory] coreutils-9.7/src/sort.c:3400:43: note: Assuming allocation function fails coreutils-9.7/src/sort.c:3400:43: note: Assignment 'merge_tree=xmalloc(2*sizeof(*merge_tree)*nthreads)', assigned value is 0 coreutils-9.7/src/sort.c:3402:27: note: root is assigned 'merge_tree' here. coreutils-9.7/src/sort.c:3403:40: note: Null pointer dereference head coreutils-9.7/src/sort.c:3405:15: warning: If memory allocation fails, then there is a possible null pointer dereference: root [nullPointerOutOfMemory] coreutils-9.7/src/sort.c:3400:43: note: Assuming allocation function fails coreutils-9.7/src/sort.c:3400:43: note: Assignment 'merge_tree=xmalloc(2*sizeof(*merge_tree)*nthreads)', assigned value is 0 coreutils-9.7/src/sort.c:3402:27: note: root is assigned 'merge_tree' here. coreutils-9.7/src/sort.c:3405:15: note: Null pointer dereference 2.17.0 coreutils-9.7/src/sort.c:3411:25: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] coreutils-9.7/src/sort.c:3400:43: note: Assuming allocation function fails coreutils-9.7/src/sort.c:3400:43: note: Assignment 'merge_tree=xmalloc(2*sizeof(*merge_tree)*nthreads)', assigned value is 0 coreutils-9.7/src/sort.c:3402:27: note: root is assigned 'merge_tree' here. coreutils-9.7/src/sort.c:3411:25: note: Null pointer addition head coreutils-9.7/src/sort.c:3411:25: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] coreutils-9.7/src/sort.c:3400:43: note: Assuming allocation function fails coreutils-9.7/src/sort.c:3400:43: note: Assignment 'merge_tree=xmalloc(2*sizeof(*merge_tree)*nthreads)', assigned value is 0 coreutils-9.7/src/sort.c:3402:27: note: root is assigned 'merge_tree' here. coreutils-9.7/src/sort.c:3411:25: note: Null pointer addition 2.17.0 coreutils-9.7/src/tac-pipe.c:243:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable one_past_end [valueFlowBailoutIncompleteVar] head coreutils-9.7/src/tac-pipe.c:255:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] head coreutils-9.7/src/tail.c:644:19: warning: If memory allocation fails, then there is a possible null pointer dereference: first [nullPointerOutOfMemory] coreutils-9.7/src/tail.c:643:26: note: Assuming allocation function fails coreutils-9.7/src/tail.c:643:16: note: Assignment 'first=last=xmalloc(sizeof(struct linebuffer))', assigned value is 0 coreutils-9.7/src/tail.c:644:19: note: Null pointer dereference DONE