2025-10-29 12:02 ftp://ftp.de.debian.org/debian/pool/main/d/diffutils/diffutils_3.12.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --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-86-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.69 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04) 14.2.0 cppcheck: head 2.18.0 head-info: 4ad9b8a (2025-10-29 12:35:59 +0100) count: 1099 1143 elapsed-time: 37.1 41.2 head-timing-info: old-timing-info: head results: diffutils-3.12/gnulib-tests/w32sock.h:47:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/accept.c:36:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_SOCKET [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/inttostr.h:22:0: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.12/gnulib-tests/inttostr.h:22:3: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.12/gnulib-tests/vasnprintf.h:22:0: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.12/gnulib-tests/vasnprintf.h:22:3: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.12/gnulib-tests/at-func.c:74:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AT_FDCWD [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/bind.c:36:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_SOCKET [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/c-strcase.h:23:0: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.12/gnulib-tests/c-strcase.h:23:3: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.12/gnulib-tests/concat-filename.h:22:0: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.12/gnulib-tests/concat-filename.h:22:3: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.12/gnulib-tests/connect.c:36:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_SOCKET [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/dtotimespec.c:35:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TIMESPEC_HZ [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/fdopen.c:59:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/from-glibc/tst-stdc_bit_width.c:84:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdc_bit_width [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/from-glibc/tst-stdc_leading_zeros.c:84:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdc_leading_zeros [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/hash-pjw.h:19:0: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.12/gnulib-tests/hash-pjw.h:19:3: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.12/gnulib-tests/inet_pton.c:95:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/inet_pton.c:152:16: error: Uninitialized variable: tmp [uninitvar] diffutils-3.12/gnulib-tests/inet_pton.c:150:14: note: Assuming condition is false diffutils-3.12/gnulib-tests/inet_pton.c:152:16: note: Uninitialized variable: tmp diffutils-3.12/gnulib-tests/ioctl.c:68:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_HANDLE_VALUE [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/ioctl.c:62:43: style: Parameter 'arg' can be declared as pointer to const [constParameterPointer] diffutils-3.12/gnulib-tests/isnan.c:80:24: style: union member 'memory_double::value' is never used. [unusedStructMember] diffutils-3.12/gnulib-tests/isnan.c:80:44: style: union member 'memory_double::word' is never used. [unusedStructMember] diffutils-3.12/gnulib-tests/listen.c:36:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_SOCKET [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/locale.c:54:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/perror.c:35:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STACKBUF_LEN [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/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] diffutils-3.12/gnulib-tests/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] diffutils-3.12/gnulib-tests/xsize.h:23:0: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.12/gnulib-tests/xsize.h:23:3: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.12/gnulib-tests/priv-set.h:23:0: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.12/gnulib-tests/priv-set.h:23:3: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.12/gnulib-tests/pselect.c:48:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FD_SETSIZE [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/pthread-cond.c:169:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETIMEDOUT [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/pthread-cond.c:43:58: style: Parameter 'attr' can be declared as pointer to const [constParameterPointer] diffutils-3.12/gnulib-tests/pthread-cond.c:103:47: style: Parameter 'cond' can be declared as pointer to const [constParameterPointer] diffutils-3.12/gnulib-tests/pthread-cond.c:179:49: style: Parameter 'cond' can be declared as pointer to const [constParameterPointer] diffutils-3.12/gnulib-tests/pthread-cond.c:186:52: style: Parameter 'cond' can be declared as pointer to const [constParameterPointer] diffutils-3.12/gnulib-tests/pthread-cond.c:193:50: style: Parameter 'cond' can be declared as pointer to const [constParameterPointer] diffutils-3.12/gnulib-tests/pthread-mutex.c:36:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTHREAD_MUTEX_STALLED [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/pthread-mutex.c:43:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTHREAD_MUTEX_DEFAULT [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/pthread-mutex.c:51:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTHREAD_MUTEX_DEFAULT [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/pthread-mutex.c:65:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTHREAD_MUTEX_STALLED [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/pthread-mutex.c:72:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTHREAD_MUTEX_STALLED [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/pthread-mutex.c:80:60: style: Parameter 'attr' can be declared as pointer to const [constParameterPointer] diffutils-3.12/gnulib-tests/pthread-mutex.c:210:49: style: Parameter 'mutex' can be declared as pointer to const [constParameterPointer] diffutils-3.12/gnulib-tests/pthread-mutex.c:218:49: style: Parameter 'mutex' can be declared as pointer to const [constParameterPointer] diffutils-3.12/gnulib-tests/pthread-mutex.c:226:52: style: Parameter 'mutex' can be declared as pointer to const [constParameterPointer] diffutils-3.12/gnulib-tests/pthread-mutex.c:234:54: style: Parameter 'mutex' can be declared as pointer to const [constParameterPointer] diffutils-3.12/gnulib-tests/pthread-mutex.c:243:51: style: Parameter 'mutex' can be declared as pointer to const [constParameterPointer] diffutils-3.12/gnulib-tests/pthread-mutex.c:252:52: style: Parameter 'mutex' can be declared as pointer to const [constParameterPointer] diffutils-3.12/gnulib-tests/pthread-rwlock.c:564:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EDEADLK [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/pthread-rwlock.c:573:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EDEADLK [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/pthread-rwlock.c:608:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EPERM [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/pthread-rwlock.c:620:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EBUSY [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/pthread-rwlock.c:47:62: style: Parameter 'attr' can be declared as pointer to const [constParameterPointer] diffutils-3.12/gnulib-tests/pthread-rwlock.c:617:43: style: Parameter 'lock' can be declared as pointer to const [constParameterPointer] diffutils-3.12/gnulib-tests/pthread-thread.c:37:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTHREAD_CREATE_JOINABLE [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/pthread-thread.c:44:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTHREAD_CREATE_JOINABLE [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/pthread-thread.c:51:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTHREAD_CREATE_JOINABLE [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/pthread-thread.c:142:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EAGAIN [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/pthread-thread.c:161:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/pthread-thread.c:168:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/pthread-thread.c:60:50: style: Parameter 'attr' can be declared as pointer to const [constParameterPointer] diffutils-3.12/gnulib-tests/pthread-thread.c:138:28: style: Parameter 'threadp' can be declared as pointer to const [constParameterPointer] diffutils-3.12/gnulib-tests/pthread-thread.c:139:57: style: Parameter 'arg' can be declared as pointer to const [constParameterPointer] diffutils-3.12/gnulib-tests/pthread-thread.c:172:21: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] diffutils-3.12/gnulib-tests/pthread_mutex_timedlock.c:48:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EBUSY [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/putenv.c:128:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable environ [valueFlowBailoutIncompleteVar] diffutils-3.12/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] diffutils-3.12/gnulib-tests/random_r.c:165:18: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] diffutils-3.12/gnulib-tests/rmdir.c:46:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/select.c:576:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FD_SETSIZE [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/setsockopt.c:40:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_SOCKET [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/isnand-nolibm.h:19:0: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.12/gnulib-tests/isnand-nolibm.h:19:3: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.12/gnulib-tests/isnanf-nolibm.h:19:0: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.12/gnulib-tests/isnanf-nolibm.h:19:3: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.12/gnulib-tests/isnanl-nolibm.h:19:0: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.12/gnulib-tests/isnanl-nolibm.h:19:3: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.12/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] diffutils-3.12/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] diffutils-3.12/gnulib-tests/sockets.h:25:0: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.12/gnulib-tests/sockets.h:25:3: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.12/gnulib-tests/strerror_r.c:450:0: error: failed to evaluate #if condition, undefined function-like macro invocation: _GL_GNUC_PREREQ( ... ) [preprocessorErrorDirective] diffutils-3.12/gnulib-tests/strerror_r.c:450:2: error: failed to evaluate #if condition, undefined function-like macro invocation: _GL_GNUC_PREREQ( ... ) [preprocessorErrorDirective] diffutils-3.12/gnulib-tests/symlink.c:53:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/symlinkat.c:58:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-alignasof.c:83:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-argmatch.c:25:0: error: failed to evaluate #if condition, undefined function-like macro invocation: _GL_GNUC_PREREQ( ... ) [preprocessorErrorDirective] diffutils-3.12/gnulib-tests/test-argmatch.c:25:2: error: failed to evaluate #if condition, undefined function-like macro invocation: _GL_GNUC_PREREQ( ... ) [preprocessorErrorDirective] diffutils-3.12/gnulib-tests/test-assert.c:30:8: error: Syntax Error: AST broken, 'assert' doesn't have two operands. [internalAstError] diffutils-3.12/gnulib-tests/test-binary-io.c:38:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-binary-io.c:33:34: style: Parameter 'argv' can be declared as const array [constParameter] diffutils-3.12/gnulib-tests/test-bitrotate.c:28:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-btoc32.c:38:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-btoc32.c:33:23: style: Parameter 'argv' can be declared as const array [constParameter] diffutils-3.12/gnulib-tests/test-btowc.c:37:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-btowc.c:0:0: debug: ValueFlow maximum iterations exceeded [valueFlowMaxIterations] diffutils-3.12/gnulib-tests/test-btowc.c:32:23: style: Parameter 'argv' can be declared as const array [constParameter] diffutils-3.12/gnulib-tests/test-c-ctype.c:39:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-c-ctype.c:67:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-c-ctype.c:222:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-c-ctype.c:65:16: style: Condition '0<=c' is always true [knownConditionTrueFalse] diffutils-3.12/gnulib-tests/test-c-stack.c:80:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable exit_failure [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-c-strcasestr.c:34:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-c32_apply_type_test.c:34:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-c32_get_type_test.c:34:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-c32isalnum.c:42:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-c32isalnum.c:54:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-c32isalnum.c:48:23: style: Parameter 'argv' can be declared as const array [constParameter] diffutils-3.12/gnulib-tests/test-c32isalpha.c:42:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-c32isalpha.c:54:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-c32isalpha.c:48:23: style: Parameter 'argv' can be declared as const array [constParameter] diffutils-3.12/gnulib-tests/test-c32isblank.c:42:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-c32isblank.c:54:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-c32isblank.c:48:23: style: Parameter 'argv' can be declared as const array [constParameter] diffutils-3.12/gnulib-tests/test-c32iscntrl.c:42:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-c32iscntrl.c:54:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-c32iscntrl.c:48:23: style: Parameter 'argv' can be declared as const array [constParameter] diffutils-3.12/gnulib-tests/test-c32isdigit.c:42:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-c32isdigit.c:54:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-c32isdigit.c:48:23: style: Parameter 'argv' can be declared as const array [constParameter] diffutils-3.12/gnulib-tests/test-c32isgraph.c:42:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-c32isgraph.c:54:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-c32isgraph.c:48:23: style: Parameter 'argv' can be declared as const array [constParameter] diffutils-3.12/gnulib-tests/test-c32islower.c:42:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-c32islower.c:54:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-c32islower.c:48:23: style: Parameter 'argv' can be declared as const array [constParameter] diffutils-3.12/gnulib-tests/test-c32isprint.c:42:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-c32isprint.c:54:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-c32isprint.c:48:23: style: Parameter 'argv' can be declared as const array [constParameter] diffutils-3.12/gnulib-tests/test-c32ispunct.c:42:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-c32ispunct.c:54:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-c32ispunct.c:48:23: style: Parameter 'argv' can be declared as const array [constParameter] diffutils-3.12/gnulib-tests/test-c32isspace.c:42:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-c32isspace.c:54:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-c32isspace.c:48:23: style: Parameter 'argv' can be declared as const array [constParameter] diffutils-3.12/gnulib-tests/test-c32isupper.c:42:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-c32isupper.c:54:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-c32isupper.c:48:23: style: Parameter 'argv' can be declared as const array [constParameter] diffutils-3.12/gnulib-tests/test-c32isxdigit.c:42:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-c32isxdigit.c:54:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-c32isxdigit.c:48:23: style: Parameter 'argv' can be declared as const array [constParameter] diffutils-3.12/gnulib-tests/test-c32rtomb-w32.c:347:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-c32rtomb.c:45:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-c32rtomb.c:63:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-c32rtomb.c:47:28: error: Null pointer dereference [nullPointer] diffutils-3.12/gnulib-tests/test-c32rtomb.c:52:29: error: Null pointer dereference [nullPointer] diffutils-3.12/gnulib-tests/test-c32rtomb.c:69:29: error: Null pointer dereference [nullPointer] diffutils-3.12/gnulib-tests/test-c32rtomb.c:103:44: error: Null pointer dereference [nullPointer] diffutils-3.12/gnulib-tests/test-c32rtomb.c:112:33: error: Null pointer dereference [nullPointer] diffutils-3.12/gnulib-tests/test-c32rtomb.c:114:41: error: Null pointer dereference [nullPointer] diffutils-3.12/gnulib-tests/test-c32rtomb.c:57:23: style: Parameter 'argv' can be declared as const array [constParameter] diffutils-3.12/gnulib-tests/test-c32tolower.c:52:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-c32tolower.c:79:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-c32tolower.c:72:23: style: Parameter 'argv' can be declared as const array [constParameter] diffutils-3.12/gnulib-tests/test-c32width.c:47:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-calloc-gnu.c:39:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-calloc-gnu.c:48:15: style: Variable 'p' can be declared as pointer to const [constVariablePointer] diffutils-3.12/gnulib-tests/test-calloc-posix.c:44:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-calloc-posix.c:42:13: style: Variable 'p' can be declared as pointer to const [constVariablePointer] diffutils-3.12/gnulib-tests/test-chdir.c:30:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-cloexec.c:57:0: error: #error Please port fcntl to your platform [preprocessorErrorDirective] diffutils-3.12/gnulib-tests/test-cloexec.c:57:4: error: #error Please port fcntl to your platform [preprocessorErrorDirective] diffutils-3.12/gnulib-tests/test-close.c:34:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-close.c:35:5: error: Invalid close() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] diffutils-3.12/gnulib-tests/test-dirfd.c:43:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-dirfd.c:42:19: warning: If resource allocation fails, then there is a possible null pointer dereference: d [nullPointerOutOfResources] diffutils-3.12/gnulib-tests/test-dirfd.c:41:20: note: Assuming allocation function fails diffutils-3.12/gnulib-tests/test-dirfd.c:41:20: note: Assignment 'd=opendir(".")', assigned value is 0 diffutils-3.12/gnulib-tests/test-dirfd.c:42:19: note: Null pointer dereference diffutils-3.12/gnulib-tests/test-dirfd.c:41:8: style: Variable 'd' can be declared as pointer to const [constVariablePointer] diffutils-3.12/gnulib-tests/test-dirname.c:56:0: error: failed to evaluate #if condition, undefined function-like macro invocation: ISSLASH( ... ) [preprocessorErrorDirective] diffutils-3.12/gnulib-tests/test-dirname.c:56:2: error: failed to evaluate #if condition, undefined function-like macro invocation: ISSLASH( ... ) [preprocessorErrorDirective] diffutils-3.12/gnulib-tests/test-dup.c:34:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-dup.c:35:5: error: Invalid dup() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] diffutils-3.12/gnulib-tests/test-dup2.c:54:0: error: failed to evaluate #if condition, undefined function-like macro invocation: _GL_GNUC_PREREQ( ... ) [preprocessorErrorDirective] diffutils-3.12/gnulib-tests/test-dup2.c:54:2: error: failed to evaluate #if condition, undefined function-like macro invocation: _GL_GNUC_PREREQ( ... ) [preprocessorErrorDirective] diffutils-3.12/gnulib-tests/test-dynarray.c:47:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-environ.c:33:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable environ [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-errno-h.c:147:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-error.c:40:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-exclude.c:113:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable add_exclude [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-fchdir.c:42:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-fcntl-h.c:53:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-fcntl.c:48:0: error: failed to evaluate #if condition, undefined function-like macro invocation: _GL_GNUC_PREREQ( ... ) [preprocessorErrorDirective] diffutils-3.12/gnulib-tests/test-fcntl.c:48:2: error: failed to evaluate #if condition, undefined function-like macro invocation: _GL_GNUC_PREREQ( ... ) [preprocessorErrorDirective] diffutils-3.12/gnulib-tests/test-fdopen.c:45:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-fdopen.c:46:13: error: Return value of allocation function 'fdopen' is not stored. [leakReturnValNotUsed] diffutils-3.12/gnulib-tests/test-fdopendir.c:39:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-fdopendir.c:50:5: error: Invalid fdopendir() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] diffutils-3.12/gnulib-tests/test-fdopendir.c:42:3: error: Return value of allocation function 'fdopendir' is not stored. [leakReturnValNotUsed] diffutils-3.12/gnulib-tests/test-fdopendir.c:50:5: error: Return value of allocation function 'fdopendir' is not stored. [leakReturnValNotUsed] diffutils-3.12/gnulib-tests/test-fdopendir.c:56:5: error: Return value of allocation function 'fdopendir' is not stored. [leakReturnValNotUsed] diffutils-3.12/gnulib-tests/test-fgetc.c:49:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-fgetc.c:73:25: error: Invalid fdopen() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] diffutils-3.12/gnulib-tests/test-filenamecat.c:63:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-fnmatch-w32.c:409:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-fnmatch.c:40:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-fnmatch.c:716:22: style: Condition 'iswpunct(0x1D100)' is always false [knownConditionTrueFalse] diffutils-3.12/gnulib-tests/test-fnmatch.c:37:23: style: Parameter 'argv' can be declared as const array [constParameter] diffutils-3.12/gnulib-tests/test-fopen-gnu.c:49:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-fopen.h:27:0: error: failed to evaluate #if condition, undefined function-like macro invocation: _GL_GNUC_PREREQ( ... ) [preprocessorErrorDirective] diffutils-3.12/gnulib-tests/test-fopen.h:27:2: error: failed to evaluate #if condition, undefined function-like macro invocation: _GL_GNUC_PREREQ( ... ) [preprocessorErrorDirective] diffutils-3.12/gnulib-tests/test-fputc.c:51:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-fputc.c:65:25: error: Invalid fdopen() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] diffutils-3.12/gnulib-tests/test-fread.c:49:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-fread.c:74:25: error: Invalid fdopen() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] diffutils-3.12/gnulib-tests/test-free.c:49:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-freopen.c:37:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-fstat.c:36:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-fstat.c:37:5: error: Invalid fstat() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] diffutils-3.12/gnulib-tests/test-fstatat.c:38:0: error: failed to evaluate #if condition, undefined function-like macro invocation: _GL_GNUC_PREREQ( ... ) [preprocessorErrorDirective] diffutils-3.12/gnulib-tests/test-fstatat.c:38:2: error: failed to evaluate #if condition, undefined function-like macro invocation: _GL_GNUC_PREREQ( ... ) [preprocessorErrorDirective] diffutils-3.12/gnulib-tests/test-ftruncate.c:36:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-ftruncate.c:30:34: style: Parameter 'argv' can be declared as const array [constParameter] diffutils-3.12/gnulib-tests/test-fwrite.c:52:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-fwrite.c:66:25: error: Invalid fdopen() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] diffutils-3.12/gnulib-tests/test-getcwd-lgpl.c:44:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-getdtablesize.c:29:0: error: failed to evaluate #if condition, undefined function-like macro invocation: _GL_GNUC_PREREQ( ... ) [preprocessorErrorDirective] diffutils-3.12/gnulib-tests/test-getdtablesize.c:29:2: error: failed to evaluate #if condition, undefined function-like macro invocation: _GL_GNUC_PREREQ( ... ) [preprocessorErrorDirective] diffutils-3.12/gnulib-tests/test-getopt.h:40:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-getopt.h:115:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optind [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-getopt_long.h:55:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable opterr [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-getopt_long.h:126:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optind [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-getopt_long.h:1845:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optind [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-getopt_long.h:1952:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optind [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-getopt-main.h:51:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-getopt_long.h:1586:9: warning: Opposite inner 'if' condition leads to a dead code block. [oppositeInnerCondition] diffutils-3.12/gnulib-tests/test-getopt_long.h:1583:29: note: outer condition: non_options_count==2 diffutils-3.12/gnulib-tests/test-getopt_long.h:1586:9: note: opposite inner condition: !(non_options_count==2) diffutils-3.12/gnulib-tests/test-getopt_long.h:108:56: warning: Possible null pointer dereference: longopts [nullPointer] diffutils-3.12/gnulib-tests/test-getopt_long.h:331:43: note: Calling function 'do_getopt_long', 4th argument 'NULL' value is 0 diffutils-3.12/gnulib-tests/test-getopt_long.h:108:56: note: Null pointer dereference diffutils-3.12/gnulib-tests/test-getopt.h:93:11: style: Redundant initialization for 'posixly'. The initialized value is overwritten before it is read. [redundantInitialization] diffutils-3.12/gnulib-tests/test-getopt.h:85:16: note: posixly is initialized diffutils-3.12/gnulib-tests/test-getopt.h:93:11: note: posixly is overwritten diffutils-3.12/gnulib-tests/test-getopt.h:99:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] diffutils-3.12/gnulib-tests/test-getopt_long.h:19:12: note: Shadowed declaration diffutils-3.12/gnulib-tests/test-getopt.h:99:11: note: Shadow variable diffutils-3.12/gnulib-tests/test-getopt.h:100:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] diffutils-3.12/gnulib-tests/test-getopt_long.h:20:12: note: Shadowed declaration diffutils-3.12/gnulib-tests/test-getopt.h:100:11: note: Shadow variable diffutils-3.12/gnulib-tests/test-getopt.h:131:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] diffutils-3.12/gnulib-tests/test-getopt_long.h:19:12: note: Shadowed declaration diffutils-3.12/gnulib-tests/test-getopt.h:131:11: note: Shadow variable diffutils-3.12/gnulib-tests/test-getopt.h:132:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] diffutils-3.12/gnulib-tests/test-getopt_long.h:20:12: note: Shadowed declaration diffutils-3.12/gnulib-tests/test-getopt.h:132:11: note: Shadow variable diffutils-3.12/gnulib-tests/test-getopt.h:164:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] diffutils-3.12/gnulib-tests/test-getopt_long.h:19:12: note: Shadowed declaration diffutils-3.12/gnulib-tests/test-getopt.h:164:11: note: Shadow variable diffutils-3.12/gnulib-tests/test-getopt.h:165:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] diffutils-3.12/gnulib-tests/test-getopt_long.h:20:12: note: Shadowed declaration diffutils-3.12/gnulib-tests/test-getopt.h:165:11: note: Shadow variable diffutils-3.12/gnulib-tests/test-getopt.h:196:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] diffutils-3.12/gnulib-tests/test-getopt_long.h:19:12: note: Shadowed declaration diffutils-3.12/gnulib-tests/test-getopt.h:196:11: note: Shadow variable diffutils-3.12/gnulib-tests/test-getopt.h:197:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] diffutils-3.12/gnulib-tests/test-getopt_long.h:20:12: note: Shadowed declaration diffutils-3.12/gnulib-tests/test-getopt.h:197:11: note: Shadow variable diffutils-3.12/gnulib-tests/test-getopt.h:231:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] diffutils-3.12/gnulib-tests/test-getopt_long.h:19:12: note: Shadowed declaration diffutils-3.12/gnulib-tests/test-getopt.h:231:11: note: Shadow variable diffutils-3.12/gnulib-tests/test-getopt.h:232:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] diffutils-3.12/gnulib-tests/test-getopt_long.h:20:12: note: Shadowed declaration diffutils-3.12/gnulib-tests/test-getopt.h:232:11: note: Shadow variable diffutils-3.12/gnulib-tests/test-getopt.h:262:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] diffutils-3.12/gnulib-tests/test-getopt_long.h:19:12: note: Shadowed declaration diffutils-3.12/gnulib-tests/test-getopt.h:262:11: note: Shadow variable diffutils-3.12/gnulib-tests/test-getopt.h:263:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] diffutils-3.12/gnulib-tests/test-getopt_long.h:20:12: note: Shadowed declaration diffutils-3.12/gnulib-tests/test-getopt.h:263:11: note: Shadow variable diffutils-3.12/gnulib-tests/test-getopt.h:294:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] diffutils-3.12/gnulib-tests/test-getopt_long.h:19:12: note: Shadowed declaration diffutils-3.12/gnulib-tests/test-getopt.h:294:11: note: Shadow variable diffutils-3.12/gnulib-tests/test-getopt.h:295:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] diffutils-3.12/gnulib-tests/test-getopt_long.h:20:12: note: Shadowed declaration diffutils-3.12/gnulib-tests/test-getopt.h:295:11: note: Shadow variable diffutils-3.12/gnulib-tests/test-getopt.h:430:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] diffutils-3.12/gnulib-tests/test-getopt_long.h:19:12: note: Shadowed declaration diffutils-3.12/gnulib-tests/test-getopt.h:430:11: note: Shadow variable diffutils-3.12/gnulib-tests/test-getopt.h:431:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] diffutils-3.12/gnulib-tests/test-getopt_long.h:20:12: note: Shadowed declaration diffutils-3.12/gnulib-tests/test-getopt.h:431:11: note: Shadow variable diffutils-3.12/gnulib-tests/test-getopt.h:464:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] diffutils-3.12/gnulib-tests/test-getopt_long.h:19:12: note: Shadowed declaration diffutils-3.12/gnulib-tests/test-getopt.h:464:11: note: Shadow variable diffutils-3.12/gnulib-tests/test-getopt.h:465:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] diffutils-3.12/gnulib-tests/test-getopt_long.h:20:12: note: Shadowed declaration diffutils-3.12/gnulib-tests/test-getopt.h:465:11: note: Shadow variable diffutils-3.12/gnulib-tests/test-getopt.h:498:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] diffutils-3.12/gnulib-tests/test-getopt_long.h:19:12: note: Shadowed declaration diffutils-3.12/gnulib-tests/test-getopt.h:498:11: note: Shadow variable diffutils-3.12/gnulib-tests/test-getopt.h:499:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] diffutils-3.12/gnulib-tests/test-getopt_long.h:20:12: note: Shadowed declaration diffutils-3.12/gnulib-tests/test-getopt.h:499:11: note: Shadow variable diffutils-3.12/gnulib-tests/test-getopt.h:532:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] diffutils-3.12/gnulib-tests/test-getopt_long.h:19:12: note: Shadowed declaration diffutils-3.12/gnulib-tests/test-getopt.h:532:11: note: Shadow variable diffutils-3.12/gnulib-tests/test-getopt.h:533:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] diffutils-3.12/gnulib-tests/test-getopt_long.h:20:12: note: Shadowed declaration diffutils-3.12/gnulib-tests/test-getopt.h:533:11: note: Shadow variable diffutils-3.12/gnulib-tests/test-getopt.h:566:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] diffutils-3.12/gnulib-tests/test-getopt_long.h:19:12: note: Shadowed declaration diffutils-3.12/gnulib-tests/test-getopt.h:566:11: note: Shadow variable diffutils-3.12/gnulib-tests/test-getopt.h:567:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] diffutils-3.12/gnulib-tests/test-getopt_long.h:20:12: note: Shadowed declaration diffutils-3.12/gnulib-tests/test-getopt.h:567:11: note: Shadow variable diffutils-3.12/gnulib-tests/test-getopt.h:600:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] diffutils-3.12/gnulib-tests/test-getopt_long.h:19:12: note: Shadowed declaration diffutils-3.12/gnulib-tests/test-getopt.h:600:11: note: Shadow variable diffutils-3.12/gnulib-tests/test-getopt.h:601:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] diffutils-3.12/gnulib-tests/test-getopt_long.h:20:12: note: Shadowed declaration diffutils-3.12/gnulib-tests/test-getopt.h:601:11: note: Shadow variable diffutils-3.12/gnulib-tests/test-getopt.h:636:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] diffutils-3.12/gnulib-tests/test-getopt_long.h:19:12: note: Shadowed declaration diffutils-3.12/gnulib-tests/test-getopt.h:636:11: note: Shadow variable diffutils-3.12/gnulib-tests/test-getopt.h:637:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] diffutils-3.12/gnulib-tests/test-getopt_long.h:20:12: note: Shadowed declaration diffutils-3.12/gnulib-tests/test-getopt.h:637:11: note: Shadow variable diffutils-3.12/gnulib-tests/test-getopt.h:666:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] diffutils-3.12/gnulib-tests/test-getopt_long.h:19:12: note: Shadowed declaration diffutils-3.12/gnulib-tests/test-getopt.h:666:11: note: Shadow variable diffutils-3.12/gnulib-tests/test-getopt.h:667:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] diffutils-3.12/gnulib-tests/test-getopt_long.h:20:12: note: Shadowed declaration diffutils-3.12/gnulib-tests/test-getopt.h:667:11: note: Shadow variable diffutils-3.12/gnulib-tests/test-getopt.h:696:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] diffutils-3.12/gnulib-tests/test-getopt_long.h:19:12: note: Shadowed declaration diffutils-3.12/gnulib-tests/test-getopt.h:696:11: note: Shadow variable diffutils-3.12/gnulib-tests/test-getopt.h:697:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] diffutils-3.12/gnulib-tests/test-getopt_long.h:20:12: note: Shadowed declaration diffutils-3.12/gnulib-tests/test-getopt.h:697:11: note: Shadow variable diffutils-3.12/gnulib-tests/test-getopt.h:728:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] diffutils-3.12/gnulib-tests/test-getopt_long.h:19:12: note: Shadowed declaration diffutils-3.12/gnulib-tests/test-getopt.h:728:11: note: Shadow variable diffutils-3.12/gnulib-tests/test-getopt.h:729:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] diffutils-3.12/gnulib-tests/test-getopt_long.h:20:12: note: Shadowed declaration diffutils-3.12/gnulib-tests/test-getopt.h:729:11: note: Shadow variable diffutils-3.12/gnulib-tests/test-getopt.h:795:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] diffutils-3.12/gnulib-tests/test-getopt_long.h:19:12: note: Shadowed declaration diffutils-3.12/gnulib-tests/test-getopt.h:795:11: note: Shadow variable diffutils-3.12/gnulib-tests/test-getopt.h:796:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] diffutils-3.12/gnulib-tests/test-getopt_long.h:20:12: note: Shadowed declaration diffutils-3.12/gnulib-tests/test-getopt.h:796:11: note: Shadow variable diffutils-3.12/gnulib-tests/test-getopt.h:1199:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] diffutils-3.12/gnulib-tests/test-getopt_long.h:19:12: note: Shadowed declaration diffutils-3.12/gnulib-tests/test-getopt.h:1199:11: note: Shadow variable diffutils-3.12/gnulib-tests/test-getopt.h:1200:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] diffutils-3.12/gnulib-tests/test-getopt_long.h:20:12: note: Shadowed declaration diffutils-3.12/gnulib-tests/test-getopt.h:1200:11: note: Shadow variable diffutils-3.12/gnulib-tests/test-getprogname.c:55:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXEEXT [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-getrandom.c:43:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-gettimeofday.c:47:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-gettimeofday.c:60:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.12/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] diffutils-3.12/gnulib-tests/test-gettimeofday.c:39:14: style: Variable 'lt' can be declared as pointer to const [constVariablePointer] diffutils-3.12/gnulib-tests/test-gmtime_r-mt.c:22:0: error: failed to evaluate #if condition, undefined function-like macro invocation: _GL_GNUC_PREREQ( ... ) [preprocessorErrorDirective] diffutils-3.12/gnulib-tests/test-gmtime_r-mt.c:22:2: error: failed to evaluate #if condition, undefined function-like macro invocation: _GL_GNUC_PREREQ( ... ) [preprocessorErrorDirective] diffutils-3.12/gnulib-tests/test-gmtime_r.c:35:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-gmtime_r.c:34:16: style: Variable 'result' can be declared as pointer to const [constVariablePointer] diffutils-3.12/gnulib-tests/test-hard-locale.c:34:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-hard-locale.c:97:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_CTYPE [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-ignore-value.c:28:16: style: struct member 's::i' is never used. [unusedStructMember] diffutils-3.12/gnulib-tests/test-intprops.c:21:0: error: failed to evaluate #if condition, undefined function-like macro invocation: _GL_GNUC_PREREQ( ... ) [preprocessorErrorDirective] diffutils-3.12/gnulib-tests/test-intprops.c:21:2: error: failed to evaluate #if condition, undefined function-like macro invocation: _GL_GNUC_PREREQ( ... ) [preprocessorErrorDirective] diffutils-3.12/gnulib-tests/test-isblank.c:46:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-iswblank.c:32:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-iswctype.c:34:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-iswdigit.c:55:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-iswdigit.c:49:23: style: Parameter 'argv' can be declared as const array [constParameter] diffutils-3.12/gnulib-tests/test-iswpunct.c:55:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-iswpunct.c:49:23: style: Parameter 'argv' can be declared as const array [constParameter] diffutils-3.12/gnulib-tests/test-iswxdigit.c:55:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-iswxdigit.c:49:23: style: Parameter 'argv' can be declared as const array [constParameter] diffutils-3.12/gnulib-tests/test-limits-h.c:23:0: error: failed to evaluate #if condition, undefined function-like macro invocation: _GL_GNUC_PREREQ( ... ) [preprocessorErrorDirective] diffutils-3.12/gnulib-tests/test-limits-h.c:23:2: error: failed to evaluate #if condition, undefined function-like macro invocation: _GL_GNUC_PREREQ( ... ) [preprocessorErrorDirective] diffutils-3.12/gnulib-tests/test-localcharset-w32utf8.c:58:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-localcharset.c:35:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-locale-h.c:58:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_GLOBAL_LOCALE [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-localeconv.c:38:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-localeconv.c:36:19: style: Variable 'l' can be declared as pointer to const [constVariablePointer] diffutils-3.12/gnulib-tests/test-localtime_r-mt.c:22:0: error: failed to evaluate #if condition, undefined function-like macro invocation: _GL_GNUC_PREREQ( ... ) [preprocessorErrorDirective] diffutils-3.12/gnulib-tests/test-localtime_r-mt.c:22:2: error: failed to evaluate #if condition, undefined function-like macro invocation: _GL_GNUC_PREREQ( ... ) [preprocessorErrorDirective] diffutils-3.12/gnulib-tests/test-localtime_r.c:62:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.12/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] diffutils-3.12/gnulib-tests/test-localtime_r.c:55:35: style: Same expression on both sides of '-'. [duplicateExpression] diffutils-3.12/gnulib-tests/test-localtime_r.c:49:16: style: Variable 'result' can be declared as pointer to const [constVariablePointer] diffutils-3.12/gnulib-tests/test-localtime_r.c:75:16: style: Variable 'result' can be declared as pointer to const [constVariablePointer] diffutils-3.12/gnulib-tests/test-localtime_r.c:99:16: style: Variable 'result' can be declared as pointer to const [constVariablePointer] diffutils-3.12/gnulib-tests/test-localtime_r.c:121:16: style: Variable 'result' can be declared as pointer to const [constVariablePointer] diffutils-3.12/gnulib-tests/test-localtime_r.c:145:16: style: Variable 'result' can be declared as pointer to const [constVariablePointer] diffutils-3.12/gnulib-tests/test-localtime_r.c:167:16: style: Variable 'result' can be declared as pointer to const [constVariablePointer] diffutils-3.12/gnulib-tests/test-lstat.h:32:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-malloc-gnu.c:38:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-malloc-posix.c:44:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-malloc-posix.c:42:13: style: Variable 'p' can be declared as pointer to const [constVariablePointer] diffutils-3.12/gnulib-tests/test-math-h.c:24:0: error: #error INFINITY should be defined, added in ISO C 99 [preprocessorErrorDirective] diffutils-3.12/gnulib-tests/test-math-h.c:24:3: error: #error INFINITY should be defined, added in ISO C 99 [preprocessorErrorDirective] diffutils-3.12/gnulib-tests/test-mbrtoc32-w32.c:748:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-mbrtoc32.c:43:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-mbrtoc32.c:36:23: style: Parameter 'argv' can be declared as const array [constParameter] diffutils-3.12/gnulib-tests/test-mbrtowc-w32.c:732:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-mbrtowc-w32utf8.c:163:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-mbrtowc.c:42:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-mbrtowc.c:35:23: style: Parameter 'argv' can be declared as const array [constParameter] diffutils-3.12/gnulib-tests/test-mbscasecmp.c:31:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-mbsinit.c:35:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-mbsrtoc32s.c:42:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-mbsrtowcs.c:41:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-mbsrtowcs.c:34:23: style: Parameter 'argv' can be declared as const array [constParameter] diffutils-3.12/gnulib-tests/test-mcel.c:40:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MB_LEN_MAX [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-mcel.c:50:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-mcel.c:47:23: style: Parameter 'argv' can be declared as const array [constParameter] diffutils-3.12/gnulib-tests/test-memchr.c:46:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-memchr.c:62:9: style: Condition 'page_boundary' is always false [knownConditionTrueFalse] diffutils-3.12/gnulib-tests/test-memchr.c:61:40: note: Calling function 'zerosize_ptr' returns 0 diffutils-3.12/gnulib-tests/test-memchr.c:61:40: note: Assignment 'page_boundary=zerosize_ptr()', assigned value is 0 diffutils-3.12/gnulib-tests/test-memchr.c:62:9: note: Condition 'page_boundary' is always false diffutils-3.12/gnulib-tests/test-memchr.c:113:23: style: Condition 'page_boundary!=NULL' is always false [knownConditionTrueFalse] diffutils-3.12/gnulib-tests/test-memchr.c:108:49: note: Calling function 'zerosize_ptr' returns 0 diffutils-3.12/gnulib-tests/test-memchr.c:108:27: note: Assignment 'page_boundary=(char*)zerosize_ptr()', assigned value is 0 diffutils-3.12/gnulib-tests/test-memchr.c:113:23: note: Condition 'page_boundary!=NULL' is always false diffutils-3.12/gnulib-tests/test-memrchr.c:31:0: error: failed to evaluate #if condition, undefined function-like macro invocation: _GL_GNUC_PREREQ( ... ) [preprocessorErrorDirective] diffutils-3.12/gnulib-tests/test-memrchr.c:31:2: error: failed to evaluate #if condition, undefined function-like macro invocation: _GL_GNUC_PREREQ( ... ) [preprocessorErrorDirective] diffutils-3.12/gnulib-tests/test-mkdir.h:27:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-nanosleep.c:49:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-nl_langinfo-mt.c:22:0: error: failed to evaluate #if condition, undefined function-like macro invocation: _GL_GNUC_PREREQ( ... ) [preprocessorErrorDirective] diffutils-3.12/gnulib-tests/test-nl_langinfo-mt.c:22:2: error: failed to evaluate #if condition, undefined function-like macro invocation: _GL_GNUC_PREREQ( ... ) [preprocessorErrorDirective] diffutils-3.12/gnulib-tests/test-nstrftime.h:34:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-nstrftime.h:72:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-nstrftime.h:217:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-nstrftime.h:287:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-nstrftime.h:316:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-nstrftime.h:406:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-nstrftime.c:47:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] diffutils-3.12/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] diffutils-3.12/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] diffutils-3.12/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] diffutils-3.12/gnulib-tests/test-nstrftime.h:314:27: style: Comparing expression of type 'signed int' against value 9223372036854773907. Condition is always false. [compareValueOutOfTypeRangeError] diffutils-3.12/gnulib-tests/test-nstrftime.h:69:18: style: Variable 'tm' can be declared as pointer to const [constVariablePointer] diffutils-3.12/gnulib-tests/test-nstrftime.h:281:12: style: Variable 'fmt' can be declared as const array [constVariable] diffutils-3.12/gnulib-tests/test-nstrftime.h:362:22: style: Variable 'tmp' can be declared as pointer to const [constVariablePointer] diffutils-3.12/gnulib-tests/test-nstrftime.h:400:14: style: Variable 'tm' can be declared as pointer to const [constVariablePointer] diffutils-3.12/gnulib-tests/test-nullptr.c:48:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-once.c:32:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable a [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-once.c:40:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable a [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-open.h:20:0: error: failed to evaluate #if condition, undefined function-like macro invocation: _GL_GNUC_PREREQ( ... ) [preprocessorErrorDirective] diffutils-3.12/gnulib-tests/test-open.h:20:2: error: failed to evaluate #if condition, undefined function-like macro invocation: _GL_GNUC_PREREQ( ... ) [preprocessorErrorDirective] diffutils-3.12/gnulib-tests/test-perror.c:31:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-perror2.c:26:0: error: failed to evaluate #if condition, undefined function-like macro invocation: _GL_GNUC_PREREQ( ... ) [preprocessorErrorDirective] diffutils-3.12/gnulib-tests/test-perror2.c:26:2: error: failed to evaluate #if condition, undefined function-like macro invocation: _GL_GNUC_PREREQ( ... ) [preprocessorErrorDirective] diffutils-3.12/gnulib-tests/test-pipe.c:52:0: error: #error Please port fcntl to your platform [preprocessorErrorDirective] diffutils-3.12/gnulib-tests/test-pipe.c:52:4: error: #error Please port fcntl to your platform [preprocessorErrorDirective] diffutils-3.12/gnulib-tests/test-popen.h:40:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-select.h:41:0: error: failed to evaluate #if condition, undefined function-like macro invocation: _GL_GNUC_PREREQ( ... ) [preprocessorErrorDirective] diffutils-3.12/gnulib-tests/test-select.h:41:2: error: failed to evaluate #if condition, undefined function-like macro invocation: _GL_GNUC_PREREQ( ... ) [preprocessorErrorDirective] diffutils-3.12/gnulib-tests/test-pthread-cond.c:297:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-pthread-mutex-type.c:35:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-pthread-mutex-type.c:58:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-pthread-mutex.c:361:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-pthread-once1.c:38:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-pthread-once2.c:279:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-pthread-rwlock.c:225:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-pthread-thread.c:54:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-pthread-thread.c:39:10: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] diffutils-3.12/gnulib-tests/test-pthread-thread.c:61:7: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] diffutils-3.12/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] diffutils-3.12/gnulib-tests/test-pthread-thread.c:47:45: note: You might need to cast the function pointer here diffutils-3.12/gnulib-tests/test-pthread-thread.c:36:38: note: Parameter 'arg' can be declared as pointer to const diffutils-3.12/gnulib-tests/test-pthread_sigmask1.c:54:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-pthread_sigmask1.c:51:57: style: Condition 'num_cpus()>1' is always false [knownConditionTrueFalse] diffutils-3.12/gnulib-tests/test-pthread_sigmask1.c:51:54: note: Calling function 'num_cpus' returns 1 diffutils-3.12/gnulib-tests/test-pthread_sigmask1.c:51:57: note: Condition 'num_cpus()>1' is always false diffutils-3.12/gnulib-tests/test-pthread_sigmask2.c:112:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-putenv.c:38:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-putenv.c:34:9: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] diffutils-3.12/gnulib-tests/test-quotearg.h:60:25: debug: Function::addArguments found argument 'func' with varid 0. [varid0] diffutils-3.12/gnulib-tests/test-quotearg.h:54:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-quotearg.h:74:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE_MAX [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-quotearg.h:114:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-quotearg.h:121:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE_MAX [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-quotearg.h:129:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE_MAX [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-quotearg-simple.c:264:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE_MAX [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-quotearg-simple.c:274:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MB_CUR_MAX [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-quotearg-simple.c:349:9: style: Condition 'z' is always false [knownConditionTrueFalse] diffutils-3.12/gnulib-tests/test-quotearg-simple.c:347:28: note: Calling function 'zerosize_ptr' returns 0 diffutils-3.12/gnulib-tests/test-quotearg-simple.c:347:28: note: Assignment 'z=zerosize_ptr()', assigned value is 0 diffutils-3.12/gnulib-tests/test-quotearg-simple.c:349:9: note: Condition 'z' is always false diffutils-3.12/gnulib-tests/test-quotearg.h:64:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] diffutils-3.12/gnulib-tests/test-raise.c:42:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-raise.c:50:3: style:inconclusive: Statements following noreturn function 'raise()' will never be executed. [unreachableCode] diffutils-3.12/gnulib-tests/test-random-mt.c:165:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-random.c:42:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-random_r.c:50:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-rawmemchr.c:35:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-rawmemchr.c:76:9: style: Condition '!page_boundary' is always true [knownConditionTrueFalse] diffutils-3.12/gnulib-tests/test-rawmemchr.c:73:49: note: Calling function 'zerosize_ptr' returns 0 diffutils-3.12/gnulib-tests/test-rawmemchr.c:73:27: note: Assignment 'page_boundary=(char*)zerosize_ptr()', assigned value is 0 diffutils-3.12/gnulib-tests/test-rawmemchr.c:76:9: note: Condition '!page_boundary' is always true diffutils-3.12/gnulib-tests/test-rawmemchr.c:92:5: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] diffutils-3.12/gnulib-tests/test-rawmemchr.c:90:20: note: Assuming allocation function fails diffutils-3.12/gnulib-tests/test-rawmemchr.c:90:20: note: Assignment 'input=malloc(5)', assigned value is 0 diffutils-3.12/gnulib-tests/test-rawmemchr.c:92:5: note: Null pointer addition diffutils-3.12/gnulib-tests/test-readlink.h:33:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-readlinkat.c:63:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-readlinkat.c:64:5: error: Invalid readlinkat() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] diffutils-3.12/gnulib-tests/test-realloc-posix.c:40:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-realloc-posix.c:61:13: style: Variable 'r' can be declared as pointer to const [constVariablePointer] diffutils-3.12/gnulib-tests/test-realloc-posix.c:74:13: style: Variable 'r' can be declared as pointer to const [constVariablePointer] diffutils-3.12/gnulib-tests/test-reallocarray.c:45:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTRDIFF_MAX [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-regex.c:42:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-regex.c:152:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rm_so [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-regex.c:186:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-regex.c:263:45: style: Condition 'towupper(L'i')==0x0130' is always false [knownConditionTrueFalse] diffutils-3.12/gnulib-tests/test-regex.c:249:15: error: Memory pointed to by 'start' is freed twice. [doubleFree] diffutils-3.12/gnulib-tests/test-regex.c:212:13: note: Memory pointed to by 'start' is freed twice. diffutils-3.12/gnulib-tests/test-regex.c:249:15: note: Memory pointed to by 'start' is freed twice. diffutils-3.12/gnulib-tests/test-regex.c:250:15: error: Memory pointed to by 'end' is freed twice. [doubleFree] diffutils-3.12/gnulib-tests/test-regex.c:213:13: note: Memory pointed to by 'end' is freed twice. diffutils-3.12/gnulib-tests/test-regex.c:250:15: note: Memory pointed to by 'end' is freed twice. diffutils-3.12/gnulib-tests/test-regex.c:315:7: error: Memory pointed to by 'start' is freed twice. [doubleFree] diffutils-3.12/gnulib-tests/test-regex.c:212:13: note: Memory pointed to by 'start' is freed twice. diffutils-3.12/gnulib-tests/test-regex.c:315:7: note: Memory pointed to by 'start' is freed twice. diffutils-3.12/gnulib-tests/test-regex.c:316:7: error: Memory pointed to by 'end' is freed twice. [doubleFree] diffutils-3.12/gnulib-tests/test-regex.c:213:13: note: Memory pointed to by 'end' is freed twice. diffutils-3.12/gnulib-tests/test-regex.c:316:7: note: Memory pointed to by 'end' is freed twice. diffutils-3.12/gnulib-tests/test-rmdir.h:29:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-select-fd.c:61:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-select-stdin.c:61:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-setenv.c:36:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-setlocale_null-mt-all.c:22:0: error: failed to evaluate #if condition, undefined function-like macro invocation: _GL_GNUC_PREREQ( ... ) [preprocessorErrorDirective] diffutils-3.12/gnulib-tests/test-setlocale_null-mt-all.c:22:2: error: failed to evaluate #if condition, undefined function-like macro invocation: _GL_GNUC_PREREQ( ... ) [preprocessorErrorDirective] diffutils-3.12/gnulib-tests/test-setlocale_null-mt-one.c:22:0: error: failed to evaluate #if condition, undefined function-like macro invocation: _GL_GNUC_PREREQ( ... ) [preprocessorErrorDirective] diffutils-3.12/gnulib-tests/test-setlocale_null-mt-one.c:22:2: error: failed to evaluate #if condition, undefined function-like macro invocation: _GL_GNUC_PREREQ( ... ) [preprocessorErrorDirective] diffutils-3.12/gnulib-tests/test-setlocale_null-unlocked.c:34:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-setlocale_null.c:31:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-sh-quote.c:40:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-sh-quote.c:179:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-sh-quote.c:35:9: style: Variable 'bufend' can be declared as pointer to const [constVariablePointer] diffutils-3.12/gnulib-tests/test-sigaction.c:67:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-sigaction.c:97:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-signbit.c:25:0: error: #error missing declaration [preprocessorErrorDirective] diffutils-3.12/gnulib-tests/test-signbit.c:25:3: error: #error missing declaration [preprocessorErrorDirective] diffutils-3.12/gnulib-tests/test-sigprocmask.c:54:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-sigprocmask.c:51:57: style: Condition 'num_cpus()>1' is always false [knownConditionTrueFalse] diffutils-3.12/gnulib-tests/test-sigprocmask.c:51:54: note: Calling function 'num_cpus' returns 1 diffutils-3.12/gnulib-tests/test-sigprocmask.c:51:57: note: Condition 'num_cpus()>1' is always false diffutils-3.12/gnulib-tests/test-sleep.c:42:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-snprintf.c:38:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-snprintf.c:53:20: style: The if condition is the same as the previous if condition [duplicateCondition] diffutils-3.12/gnulib-tests/test-snprintf.c:47:20: note: First condition diffutils-3.12/gnulib-tests/test-snprintf.c:53:20: note: Second condition diffutils-3.12/gnulib-tests/test-stat.h:32:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-stdint-h.c:372:1: error: syntax error: -) [syntaxError] diffutils-3.12/gnulib-tests/test-stdio-h.c:56:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _PRINTF_NAN_LEN_MAX [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-stdlib-h.c:55:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MB_CUR_MAX [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-str_startswith.c:27:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-strcasecmp.c:33:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-strcasecmp.c:30:23: style: Parameter 'argv' can be declared as const array [constParameter] diffutils-3.12/gnulib-tests/test-strcasecmp.c:36:3: warning: Unnecessary comparison of static strings. [staticStringCompare] diffutils-3.12/gnulib-tests/test-strcasecmp.c:38:3: warning: Unnecessary comparison of static strings. [staticStringCompare] diffutils-3.12/gnulib-tests/test-strcasecmp.c:40:3: warning: Unnecessary comparison of static strings. [staticStringCompare] diffutils-3.12/gnulib-tests/test-strcasecmp.c:41:3: warning: Unnecessary comparison of static strings. [staticStringCompare] diffutils-3.12/gnulib-tests/test-strcasecmp.c:43:3: warning: Unnecessary comparison of static strings. [staticStringCompare] diffutils-3.12/gnulib-tests/test-strcasecmp.c:44:3: warning: Unnecessary comparison of static strings. [staticStringCompare] diffutils-3.12/gnulib-tests/test-strcasecmp.c:58:9: warning: Unnecessary comparison of static strings. [staticStringCompare] diffutils-3.12/gnulib-tests/test-strcasecmp.c:59:9: warning: Unnecessary comparison of static strings. [staticStringCompare] diffutils-3.12/gnulib-tests/test-strcasecmp.c:60:9: warning: Unnecessary comparison of static strings. [staticStringCompare] diffutils-3.12/gnulib-tests/test-strcasecmp.c:61:9: warning: Unnecessary comparison of static strings. [staticStringCompare] diffutils-3.12/gnulib-tests/test-strcasecmp.c:64:9: warning: Unnecessary comparison of static strings. [staticStringCompare] diffutils-3.12/gnulib-tests/test-strcasecmp.c:65:9: warning: Unnecessary comparison of static strings. [staticStringCompare] diffutils-3.12/gnulib-tests/test-strcasecmp.c:66:9: warning: Unnecessary comparison of static strings. [staticStringCompare] diffutils-3.12/gnulib-tests/test-strcasecmp.c:67:9: warning: Unnecessary comparison of static strings. [staticStringCompare] diffutils-3.12/gnulib-tests/test-strerror.c:35:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-strerror_r.c:36:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-strncasecmp.c:33:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-strncasecmp.c:30:23: style: Parameter 'argv' can be declared as const array [constParameter] diffutils-3.12/gnulib-tests/test-strncasecmp.c:36:3: warning: Unnecessary comparison of static strings. [staticStringCompare] diffutils-3.12/gnulib-tests/test-strncasecmp.c:38:3: warning: Unnecessary comparison of static strings. [staticStringCompare] diffutils-3.12/gnulib-tests/test-strncasecmp.c:40:3: warning: Unnecessary comparison of static strings. [staticStringCompare] diffutils-3.12/gnulib-tests/test-strncasecmp.c:41:3: warning: Unnecessary comparison of static strings. [staticStringCompare] diffutils-3.12/gnulib-tests/test-strncasecmp.c:43:3: warning: Unnecessary comparison of static strings. [staticStringCompare] diffutils-3.12/gnulib-tests/test-strncasecmp.c:44:3: warning: Unnecessary comparison of static strings. [staticStringCompare] diffutils-3.12/gnulib-tests/test-strncasecmp.c:58:9: warning: Unnecessary comparison of static strings. [staticStringCompare] diffutils-3.12/gnulib-tests/test-strncasecmp.c:59:9: warning: Unnecessary comparison of static strings. [staticStringCompare] diffutils-3.12/gnulib-tests/test-strncasecmp.c:60:9: warning: Unnecessary comparison of static strings. [staticStringCompare] diffutils-3.12/gnulib-tests/test-strncasecmp.c:61:9: warning: Unnecessary comparison of static strings. [staticStringCompare] diffutils-3.12/gnulib-tests/test-strncasecmp.c:64:9: warning: Unnecessary comparison of static strings. [staticStringCompare] diffutils-3.12/gnulib-tests/test-strncasecmp.c:65:9: warning: Unnecessary comparison of static strings. [staticStringCompare] diffutils-3.12/gnulib-tests/test-strncasecmp.c:66:9: warning: Unnecessary comparison of static strings. [staticStringCompare] diffutils-3.12/gnulib-tests/test-strncasecmp.c:67:9: warning: Unnecessary comparison of static strings. [staticStringCompare] diffutils-3.12/gnulib-tests/test-strnlen.c:38:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-strnlen.c:35:7: style: Condition '!page_boundary' is always true [knownConditionTrueFalse] diffutils-3.12/gnulib-tests/test-strnlen.c:34:47: note: Calling function 'zerosize_ptr' returns 0 diffutils-3.12/gnulib-tests/test-strnlen.c:34:25: note: Assignment 'page_boundary=(char*)zerosize_ptr()', assigned value is 0 diffutils-3.12/gnulib-tests/test-strnlen.c:35:7: note: Condition '!page_boundary' is always true diffutils-3.12/gnulib-tests/test-strtoimax.c:38:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-strtoll.c:38:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-symlink.h:32:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-symlinkat.c:62:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-symlinkat.c:63:5: error: Invalid symlinkat() argument nr 2. The value is -1 but the valid values are '0:'. [invalidFunctionArg] diffutils-3.12/gnulib-tests/test-sys_select-h.c:46:0: error: #error "FD_SETSIZE not positive" [preprocessorErrorDirective] diffutils-3.12/gnulib-tests/test-sys_select-h.c:46:3: error: #error "FD_SETSIZE not positive" [preprocessorErrorDirective] diffutils-3.12/gnulib-tests/test-sys_socket-h.c:81:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOTSOCK [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-sys_wait-h.h:41:5: style: Variable 'i' is assigned a value that is never used. [unreadVariable] diffutils-3.12/gnulib-tests/glthread/thread.h:75:0: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.12/gnulib-tests/glthread/thread.h:75:3: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.12/gnulib-tests/test-time.c:39:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-timespec.c:61:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TIMESPEC_HZ [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-timespec.c:87:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TIMESPEC_HZ [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-timespec.c:113:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG10_TIMESPEC_HZ [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-timespec_get.c:36:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TIME_UTC [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-unistd-h.c:37:0: error: #error "O_CLOEXEC is not defined" [preprocessorErrorDirective] diffutils-3.12/gnulib-tests/test-unistd-h.c:37:3: error: #error "O_CLOEXEC is not defined" [preprocessorErrorDirective] diffutils-3.12/gnulib-tests/test-unlink.h:29:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-unlinkat.c:47:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AT_REMOVEDIR [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-unlinkat.c:69:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-unlinkat.c:70:5: error: Invalid unlinkat() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] diffutils-3.12/gnulib-tests/test-unsetenv.c:39:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-verify.c:53:13: style: The comparison 'C == 2' is always true. [knownConditionTrueFalse] diffutils-3.12/gnulib-tests/test-verify.c:57:13: style: Same expression on both sides of '=='. [duplicateExpression] diffutils-3.12/gnulib-tests/test-verify.c:57:30: style: Same expression on both sides of '=='. [duplicateExpression] diffutils-3.12/gnulib-tests/test-verify.c:60:35: style: Same expression on both sides of '=='. [duplicateExpression] diffutils-3.12/gnulib-tests/test-verify.c:60:60: style: Same expression on both sides of '=='. [duplicateExpression] diffutils-3.12/gnulib-tests/test-verify.c:75:31: style: struct member 'state::context' is never used. [unusedStructMember] diffutils-3.12/gnulib-tests/test-version-etc.c:28:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-wcrtomb-w32.c:335:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-wcrtomb.c:43:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-wcrtomb.c:61:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-wcrtomb.c:55:23: style: Parameter 'argv' can be declared as const array [constParameter] diffutils-3.12/gnulib-tests/test-wctype-h.c:53:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-wctype.c:34:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-wcwidth.c:47:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-windows-mutex-type.c:74:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-windows-recmutex-type.c:74:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-windows-timedmutex-type.c:74:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-windows-timedrecmutex-type.c:74:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-wmemchr.c:42:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-xstdopen.c:29:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/test-xstdopen.c:29:3: error: Return value of allocation function 'open' is not stored. [leakReturnValNotUsed] diffutils-3.12/gnulib-tests/xstrtol-error.h:24:0: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.12/gnulib-tests/xstrtol-error.h:24:4: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.12/gnulib-tests/timespec-add.c:33:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TIMESPEC_HZ [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/timespec-sub.c:50:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TIMESPEC_HZ [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/unicase/test-mapping-part2.h:36:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable test_exit_status [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/unictype/test-predicate-part2.h:36:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable test_exit_status [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/unistr/test-chr.h:141:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable test_exit_status [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/unistr/test-cpy.h:43:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable test_exit_status [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/unistr/test-cpy.h:31:15: style: Variable 'ret' can be declared as pointer to const [constVariablePointer] diffutils-3.12/gnulib-tests/unistr/test-pcpy.h:43:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable test_exit_status [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/unistr/test-pcpy.h:31:15: style: Variable 'ret' can be declared as pointer to const [constVariablePointer] diffutils-3.12/gnulib-tests/unistr/test-set.h:43:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable test_exit_status [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/unistr/test-set.h:30:15: style: Variable 'ret' can be declared as pointer to const [constVariablePointer] diffutils-3.12/gnulib-tests/unistr/test-strcat.h:55:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable test_exit_status [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/unistr/test-strcat.h:36:17: style: Variable 'result' can be declared as pointer to const [constVariablePointer] diffutils-3.12/gnulib-tests/unistr/test-u32-strlen.c:56:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable test_exit_status [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/unistr/u-set.h:42:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/uniwidth/test-uc_width.c:55:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable test_exit_status [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/uniwidth/test-uc_width2.c:85:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable test_exit_status [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/uniwidth/test-uc_width2.c:72:13: style: Condition 'w1==1' is always false [knownConditionTrueFalse] diffutils-3.12/gnulib-tests/uniwidth/test-uc_width2.c:73:24: style: Condition 'w2==2' is always false [knownConditionTrueFalse] diffutils-3.12/gnulib-tests/unlink.c:66:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/at-func.c:72:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AT_REMOVEDIR [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/vasnprintf.c:67:0: error: failed to evaluate #if condition, undefined function-like macro invocation: _GL_GNUC_PREREQ( ... ) [preprocessorErrorDirective] diffutils-3.12/gnulib-tests/vasnprintf.c:67:2: error: failed to evaluate #if condition, undefined function-like macro invocation: _GL_GNUC_PREREQ( ... ) [preprocessorErrorDirective] diffutils-3.12/gnulib-tests/wctob.c:31:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MB_CUR_MAX [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/windows-cond.c:73:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_HANDLE_VALUE [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/windows-cond.c:204:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EAGAIN [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/windows-cond.c:273:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETIMEDOUT [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/windows-cond.c:388:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/windows-cond.c:405:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/windows-cond.c:422:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/windows-thread.h:25:0: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.12/gnulib-tests/windows-thread.h:25:3: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.12/gnulib-tests/windows-timedmutex.c:40:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_HANDLE_VALUE [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/windows-timedmutex.c:109:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EBUSY [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/windows-timedmutex.c:188:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INFINITE [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/windows-timedmutex.c:244:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/windows-timedmutex.c:258:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/windows-timedrecmutex.c:42:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_HANDLE_VALUE [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/windows-timedrecmutex.c:87:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EAGAIN [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/windows-timedrecmutex.c:116:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EBUSY [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/windows-timedrecmutex.c:196:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INFINITE [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/windows-timedrecmutex.c:245:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EPERM [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/windows-timedrecmutex.c:264:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EBUSY [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/windows-timedrwlock.c:73:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_HANDLE_VALUE [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/windows-timedrwlock.c:215:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INFINITE [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/windows-timedrwlock.c:275:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INFINITE [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/windows-timedrwlock.c:332:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EBUSY [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/windows-timedrwlock.c:365:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EBUSY [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/windows-timedrwlock.c:423:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INFINITE [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/windows-timedrwlock.c:543:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INFINITE [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/windows-timedrwlock.c:619:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/windows-timedrwlock.c:663:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/windows-tls.c:40:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/windows-tls.c:88:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/windows-tls.c:220:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/windows-tls.c:337:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] diffutils-3.12/gnulib-tests/xgetcwd.h:19:0: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.12/gnulib-tests/xgetcwd.h:19:3: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.12/lib/argmatch.h:27:0: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.12/lib/argmatch.h:27:4: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.12/lib/openat.h:25:0: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.12/lib/openat.h:25:3: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.12/lib/basename-lgpl.h:24:0: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.12/lib/basename-lgpl.h:24:3: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.12/lib/dirname.h:25:0: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.12/lib/dirname.h:25:3: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.12/lib/binary-io.h:22:0: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.12/lib/binary-io.h:22:3: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.12/lib/bitrotate.h:24:0: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.12/lib/bitrotate.h:24:3: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.12/lib/btowc.c:30:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/c-ctype.h:28:0: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.12/lib/c-ctype.h:28:3: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.12/lib/file-type.h:26:0: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.12/lib/file-type.h:26:3: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.12/lib/c-stack.h:20:0: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.12/lib/c-stack.h:20:3: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.12/lib/c-strcase.h:23:0: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.12/lib/c-strcase.h:23:3: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.12/lib/c32_get_type_test.c:47:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable c32isalnum [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/calloc.c:45:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/careadlinkat.h:25:0: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.12/lib/careadlinkat.h:25:3: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.12/lib/pathmax.h:44:0: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.12/lib/pathmax.h:44:4: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.12/lib/cloexec.c:62:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/cloexec.c:82:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_DUPFD_CLOEXEC [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/closedir.c:60:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_HANDLE_VALUE [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/minmax.h:28:0: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.12/lib/minmax.h:28:3: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.12/lib/quotearg.h:26:0: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.12/lib/quotearg.h:26:3: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.12/lib/dirfd.c:40:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/dup2.c:182:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/error.c:155:0: error: #error Please port fcntl to your platform [preprocessorErrorDirective] diffutils-3.12/lib/error.c:155:5: error: #error Please port fcntl to your platform [preprocessorErrorDirective] diffutils-3.12/lib/exclude.h:28:0: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.12/lib/exclude.h:28:3: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.12/lib/filenamecat.h:23:0: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.12/lib/filenamecat.h:23:3: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.12/lib/fcntl.c:437:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/fcntl.c:492:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CLOEXEC [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/attribute.h:93:0: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.12/lib/attribute.h:93:3: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.12/lib/fnmatch_loop.c:63:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FNM_EXTMATCH [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/fnmatch_loop.c:945:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable posixly_correct [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/fnmatch_loop.c:1007:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable posixly_correct [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/fnmatch_loop.c:925:38: style: Condition 'n!=string_end' is always true [knownConditionTrueFalse] diffutils-3.12/lib/fnmatch_loop.c:1109:36: style: Condition 'rs==string' is always false [knownConditionTrueFalse] diffutils-3.12/lib/fnmatch_loop.c:934:18: style:inconclusive: Function 'END' argument 1 names different: declaration 'patternp' definition 'pattern'. [funcArgNamesDifferent] diffutils-3.12/lib/fnmatch_loop.c:37:37: note: Function 'END' argument 1 names different: declaration 'patternp' definition 'pattern'. diffutils-3.12/lib/fnmatch_loop.c:934:18: note: Function 'END' argument 1 names different: declaration 'patternp' definition 'pattern'. diffutils-3.12/lib/fnmatch_loop.c:1096:44: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] diffutils-3.12/lib/fnmatch_loop.c:1105:26: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] diffutils-3.12/lib/fnmatch_loop.c:1113:33: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] diffutils-3.12/lib/fnmatch_loop.c:1137:40: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] diffutils-3.12/lib/fnmatch_loop.c:1154:44: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] diffutils-3.12/lib/fnmatch_loop.c:1164:46: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] diffutils-3.12/lib/fnmatch_loop.c:1150:31: style: Variable 'runp' can be declared as pointer to const [constVariablePointer] diffutils-3.12/lib/fopen.c:84:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/free.c:41:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/freopen.c:80:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/stat-time.h:26:0: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.12/lib/stat-time.h:26:3: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.12/lib/getcwd-lgpl.c:56:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/getcwd-lgpl.c:82:11: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] diffutils-3.12/lib/getdtablesize.c:114:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RLIMIT_NOFILE [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/getlocalename_l-unsafe.c:661:0: error: #error "Please port gnulib getlocalename_l-unsafe.c to your platform! Report this to bug-gnulib." [preprocessorErrorDirective] diffutils-3.12/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] diffutils-3.12/lib/getopt.c:282:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/getopt.c:624:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/gettext.h:254:16: error: Returning pointer to local variable 'msg_ctxt_id' that will be invalid when returning. [returnDanglingLifetime] diffutils-3.12/lib/gettext.h:246:15: note: Array decayed to pointer here. diffutils-3.12/lib/gettext.h:233:8: note: Variable created here. diffutils-3.12/lib/gettext.h:254:16: note: Returning pointer to local variable 'msg_ctxt_id' that will be invalid when returning. diffutils-3.12/lib/getopt.c:272:18: warning: The address of variable 'ambig_fallback' might be accessed at non-zero index. [objectIndex] diffutils-3.12/lib/getopt.c:251:21: note: Address of variable taken here. diffutils-3.12/lib/getopt.c:272:18: note: The address of variable 'ambig_fallback' might be accessed at non-zero index. diffutils-3.12/lib/getopt.c:265:18: style: Condition 'ambig_set!=&ambig_fallback' is always true [knownConditionTrueFalse] diffutils-3.12/lib/getopt.c:252:16: note: Assuming that condition '!ambig_set' is not redundant diffutils-3.12/lib/getopt.c:265:18: note: Condition 'ambig_set!=&ambig_fallback' is always true diffutils-3.12/lib/getopt.c:267:16: warning: Either the condition '!ambig_set' is redundant or there is possible null pointer dereference: ambig_set. [nullPointerRedundantCheck] diffutils-3.12/lib/getopt.c:252:16: note: Assuming that condition '!ambig_set' is not redundant diffutils-3.12/lib/getopt.c:267:16: note: Null pointer dereference diffutils-3.12/lib/getopt.c:268:8: warning: Either the condition '!ambig_set' is redundant or there is possible null pointer dereference: ambig_set. [nullPointerRedundantCheck] diffutils-3.12/lib/getopt.c:252:16: note: Assuming that condition '!ambig_set' is not redundant diffutils-3.12/lib/getopt.c:268:8: note: Null pointer dereference diffutils-3.12/lib/getopt.c:267:16: error: Null pointer dereference [nullPointer] diffutils-3.12/lib/getopt.c:474:25: style:inconclusive: Function '_getopt_internal_r' argument 1 names different: declaration '___argc' definition 'argc'. [funcArgNamesDifferent] diffutils-3.12/lib/getopt_int.h:101:36: note: Function '_getopt_internal_r' argument 1 names different: declaration '___argc' definition 'argc'. diffutils-3.12/lib/getopt.c:474:25: note: Function '_getopt_internal_r' argument 1 names different: declaration '___argc' definition 'argc'. diffutils-3.12/lib/getopt.c:474:38: style:inconclusive: Function '_getopt_internal_r' argument 2 names different: declaration '___argv' definition 'argv'. [funcArgNamesDifferent] diffutils-3.12/lib/getopt_int.h:101:52: note: Function '_getopt_internal_r' argument 2 names different: declaration '___argv' definition 'argv'. diffutils-3.12/lib/getopt.c:474:38: note: Function '_getopt_internal_r' argument 2 names different: declaration '___argv' definition 'argv'. diffutils-3.12/lib/getopt.c:474:56: style:inconclusive: Function '_getopt_internal_r' argument 3 names different: declaration '__shortopts' definition 'optstring'. [funcArgNamesDifferent] diffutils-3.12/lib/getopt_int.h:102:23: note: Function '_getopt_internal_r' argument 3 names different: declaration '__shortopts' definition 'optstring'. diffutils-3.12/lib/getopt.c:474:56: note: Function '_getopt_internal_r' argument 3 names different: declaration '__shortopts' definition 'optstring'. diffutils-3.12/lib/getopt.c:475:28: style:inconclusive: Function '_getopt_internal_r' argument 4 names different: declaration '__longopts' definition 'longopts'. [funcArgNamesDifferent] diffutils-3.12/lib/getopt_int.h:103:32: note: Function '_getopt_internal_r' argument 4 names different: declaration '__longopts' definition 'longopts'. diffutils-3.12/lib/getopt.c:475:28: note: Function '_getopt_internal_r' argument 4 names different: declaration '__longopts' definition 'longopts'. diffutils-3.12/lib/getopt.c:475:43: style:inconclusive: Function '_getopt_internal_r' argument 5 names different: declaration '__longind' definition 'longind'. [funcArgNamesDifferent] diffutils-3.12/lib/getopt_int.h:103:49: note: Function '_getopt_internal_r' argument 5 names different: declaration '__longind' definition 'longind'. diffutils-3.12/lib/getopt.c:475:43: note: Function '_getopt_internal_r' argument 5 names different: declaration '__longind' definition 'longind'. diffutils-3.12/lib/getopt.c:476:11: style:inconclusive: Function '_getopt_internal_r' argument 6 names different: declaration '__long_only' definition 'long_only'. [funcArgNamesDifferent] diffutils-3.12/lib/getopt_int.h:104:15: note: Function '_getopt_internal_r' argument 6 names different: declaration '__long_only' definition 'long_only'. diffutils-3.12/lib/getopt.c:476:11: note: Function '_getopt_internal_r' argument 6 names different: declaration '__long_only' definition 'long_only'. diffutils-3.12/lib/getopt.c:476:43: style:inconclusive: Function '_getopt_internal_r' argument 7 names different: declaration '__data' definition 'd'. [funcArgNamesDifferent] diffutils-3.12/lib/getopt_int.h:104:49: note: Function '_getopt_internal_r' argument 7 names different: declaration '__data' definition 'd'. diffutils-3.12/lib/getopt.c:476:43: note: Function '_getopt_internal_r' argument 7 names different: declaration '__data' definition 'd'. diffutils-3.12/lib/getopt.c:476:50: style:inconclusive: Function '_getopt_internal_r' argument 8 names different: declaration '__posixly_correct' definition 'posixly_correct'. [funcArgNamesDifferent] diffutils-3.12/lib/getopt_int.h:105:15: note: Function '_getopt_internal_r' argument 8 names different: declaration '__posixly_correct' definition 'posixly_correct'. diffutils-3.12/lib/getopt.c:476:50: note: Function '_getopt_internal_r' argument 8 names different: declaration '__posixly_correct' definition 'posixly_correct'. diffutils-3.12/lib/getopt.c:706:23: style:inconclusive: Function '_getopt_internal' argument 1 names different: declaration '___argc' definition 'argc'. [funcArgNamesDifferent] diffutils-3.12/lib/getopt_int.h:25:34: note: Function '_getopt_internal' argument 1 names different: declaration '___argc' definition 'argc'. diffutils-3.12/lib/getopt.c:706:23: note: Function '_getopt_internal' argument 1 names different: declaration '___argc' definition 'argc'. diffutils-3.12/lib/getopt.c:706:36: style:inconclusive: Function '_getopt_internal' argument 2 names different: declaration '___argv' definition 'argv'. [funcArgNamesDifferent] diffutils-3.12/lib/getopt_int.h:25:50: note: Function '_getopt_internal' argument 2 names different: declaration '___argv' definition 'argv'. diffutils-3.12/lib/getopt.c:706:36: note: Function '_getopt_internal' argument 2 names different: declaration '___argv' definition 'argv'. diffutils-3.12/lib/getopt.c:706:54: style:inconclusive: Function '_getopt_internal' argument 3 names different: declaration '__shortopts' definition 'optstring'. [funcArgNamesDifferent] diffutils-3.12/lib/getopt_int.h:26:21: note: Function '_getopt_internal' argument 3 names different: declaration '__shortopts' definition 'optstring'. diffutils-3.12/lib/getopt.c:706:54: note: Function '_getopt_internal' argument 3 names different: declaration '__shortopts' definition 'optstring'. diffutils-3.12/lib/getopt.c:707:26: style:inconclusive: Function '_getopt_internal' argument 4 names different: declaration '__longopts' definition 'longopts'. [funcArgNamesDifferent] diffutils-3.12/lib/getopt_int.h:27:30: note: Function '_getopt_internal' argument 4 names different: declaration '__longopts' definition 'longopts'. diffutils-3.12/lib/getopt.c:707:26: note: Function '_getopt_internal' argument 4 names different: declaration '__longopts' definition 'longopts'. diffutils-3.12/lib/getopt.c:707:41: style:inconclusive: Function '_getopt_internal' argument 5 names different: declaration '__longind' definition 'longind'. [funcArgNamesDifferent] diffutils-3.12/lib/getopt_int.h:27:47: note: Function '_getopt_internal' argument 5 names different: declaration '__longind' definition 'longind'. diffutils-3.12/lib/getopt.c:707:41: note: Function '_getopt_internal' argument 5 names different: declaration '__longind' definition 'longind'. diffutils-3.12/lib/getopt.c:707:54: style:inconclusive: Function '_getopt_internal' argument 6 names different: declaration '__long_only' definition 'long_only'. [funcArgNamesDifferent] diffutils-3.12/lib/getopt_int.h:28:13: note: Function '_getopt_internal' argument 6 names different: declaration '__long_only' definition 'long_only'. diffutils-3.12/lib/getopt.c:707:54: note: Function '_getopt_internal' argument 6 names different: declaration '__long_only' definition 'long_only'. diffutils-3.12/lib/getopt.c:708:9: style:inconclusive: Function '_getopt_internal' argument 7 names different: declaration '__posixly_correct' definition 'posixly_correct'. [funcArgNamesDifferent] diffutils-3.12/lib/getopt_int.h:28:30: note: Function '_getopt_internal' argument 7 names different: declaration '__posixly_correct' definition 'posixly_correct'. diffutils-3.12/lib/getopt.c:708:9: note: Function '_getopt_internal' argument 7 names different: declaration '__posixly_correct' definition 'posixly_correct'. diffutils-3.12/lib/getopt1.c:36:21: style:inconclusive: Function '_getopt_long_r' argument 1 names different: declaration '___argc' definition 'argc'. [funcArgNamesDifferent] diffutils-3.12/lib/getopt_int.h:107:32: note: Function '_getopt_long_r' argument 1 names different: declaration '___argc' definition 'argc'. diffutils-3.12/lib/getopt1.c:36:21: note: Function '_getopt_long_r' argument 1 names different: declaration '___argc' definition 'argc'. diffutils-3.12/lib/getopt1.c:36:34: style:inconclusive: Function '_getopt_long_r' argument 2 names different: declaration '___argv' definition 'argv'. [funcArgNamesDifferent] diffutils-3.12/lib/getopt_int.h:107:48: note: Function '_getopt_long_r' argument 2 names different: declaration '___argv' definition 'argv'. diffutils-3.12/lib/getopt1.c:36:34: note: Function '_getopt_long_r' argument 2 names different: declaration '___argv' definition 'argv'. diffutils-3.12/lib/getopt1.c:36:52: style:inconclusive: Function '_getopt_long_r' argument 3 names different: declaration '__shortopts' definition 'options'. [funcArgNamesDifferent] diffutils-3.12/lib/getopt_int.h:108:19: note: Function '_getopt_long_r' argument 3 names different: declaration '__shortopts' definition 'options'. diffutils-3.12/lib/getopt1.c:36:52: note: Function '_getopt_long_r' argument 3 names different: declaration '__shortopts' definition 'options'. diffutils-3.12/lib/getopt1.c:37:24: style:inconclusive: Function '_getopt_long_r' argument 4 names different: declaration '__longopts' definition 'long_options'. [funcArgNamesDifferent] diffutils-3.12/lib/getopt_int.h:109:28: note: Function '_getopt_long_r' argument 4 names different: declaration '__longopts' definition 'long_options'. diffutils-3.12/lib/getopt1.c:37:24: note: Function '_getopt_long_r' argument 4 names different: declaration '__longopts' definition 'long_options'. diffutils-3.12/lib/getopt1.c:37:43: style:inconclusive: Function '_getopt_long_r' argument 5 names different: declaration '__longind' definition 'opt_index'. [funcArgNamesDifferent] diffutils-3.12/lib/getopt_int.h:109:45: note: Function '_getopt_long_r' argument 5 names different: declaration '__longind' definition 'opt_index'. diffutils-3.12/lib/getopt1.c:37:43: note: Function '_getopt_long_r' argument 5 names different: declaration '__longind' definition 'opt_index'. diffutils-3.12/lib/getopt1.c:38:24: style:inconclusive: Function '_getopt_long_r' argument 6 names different: declaration '__data' definition 'd'. [funcArgNamesDifferent] diffutils-3.12/lib/getopt_int.h:110:28: note: Function '_getopt_long_r' argument 6 names different: declaration '__data' definition 'd'. diffutils-3.12/lib/getopt1.c:38:24: note: Function '_getopt_long_r' argument 6 names different: declaration '__data' definition 'd'. diffutils-3.12/lib/getopt1.c:59:26: style:inconclusive: Function '_getopt_long_only_r' argument 1 names different: declaration '___argc' definition 'argc'. [funcArgNamesDifferent] diffutils-3.12/lib/getopt_int.h:112:37: note: Function '_getopt_long_only_r' argument 1 names different: declaration '___argc' definition 'argc'. diffutils-3.12/lib/getopt1.c:59:26: note: Function '_getopt_long_only_r' argument 1 names different: declaration '___argc' definition 'argc'. diffutils-3.12/lib/getopt1.c:59:39: style:inconclusive: Function '_getopt_long_only_r' argument 2 names different: declaration '___argv' definition 'argv'. [funcArgNamesDifferent] diffutils-3.12/lib/getopt_int.h:112:53: note: Function '_getopt_long_only_r' argument 2 names different: declaration '___argv' definition 'argv'. diffutils-3.12/lib/getopt1.c:59:39: note: Function '_getopt_long_only_r' argument 2 names different: declaration '___argv' definition 'argv'. diffutils-3.12/lib/getopt1.c:59:57: style:inconclusive: Function '_getopt_long_only_r' argument 3 names different: declaration '__shortopts' definition 'options'. [funcArgNamesDifferent] diffutils-3.12/lib/getopt_int.h:113:17: note: Function '_getopt_long_only_r' argument 3 names different: declaration '__shortopts' definition 'options'. diffutils-3.12/lib/getopt1.c:59:57: note: Function '_getopt_long_only_r' argument 3 names different: declaration '__shortopts' definition 'options'. diffutils-3.12/lib/getopt1.c:60:29: style:inconclusive: Function '_getopt_long_only_r' argument 4 names different: declaration '__longopts' definition 'long_options'. [funcArgNamesDifferent] diffutils-3.12/lib/getopt_int.h:114:26: note: Function '_getopt_long_only_r' argument 4 names different: declaration '__longopts' definition 'long_options'. diffutils-3.12/lib/getopt1.c:60:29: note: Function '_getopt_long_only_r' argument 4 names different: declaration '__longopts' definition 'long_options'. diffutils-3.12/lib/getopt1.c:60:48: style:inconclusive: Function '_getopt_long_only_r' argument 5 names different: declaration '__longind' definition 'opt_index'. [funcArgNamesDifferent] diffutils-3.12/lib/getopt_int.h:115:10: note: Function '_getopt_long_only_r' argument 5 names different: declaration '__longind' definition 'opt_index'. diffutils-3.12/lib/getopt1.c:60:48: note: Function '_getopt_long_only_r' argument 5 names different: declaration '__longind' definition 'opt_index'. diffutils-3.12/lib/getopt1.c:61:29: style:inconclusive: Function '_getopt_long_only_r' argument 6 names different: declaration '__data' definition 'd'. [funcArgNamesDifferent] diffutils-3.12/lib/getopt_int.h:116:26: note: Function '_getopt_long_only_r' argument 6 names different: declaration '__data' definition 'd'. diffutils-3.12/lib/getopt1.c:61:29: note: Function '_getopt_long_only_r' argument 6 names different: declaration '__data' definition 'd'. diffutils-3.12/lib/timespec.h:25:0: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.12/lib/timespec.h:25:3: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.12/lib/gettimeofday.c:142:0: error: #error "Only 1-second nominal clock resolution found. Is that intended?" \ [preprocessorErrorDirective] diffutils-3.12/lib/gettimeofday.c:142:5: error: #error "Only 1-second nominal clock resolution found. Is that intended?" \ [preprocessorErrorDirective] diffutils-3.12/lib/hard-locale.c:30:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SETLOCALE_NULL_MAX [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/hash.h:31:0: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.12/lib/hash.h:31:3: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.12/lib/ialloc.h:24:0: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.12/lib/ialloc.h:24:3: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.12/lib/localcharset.c:1090:14: style: Condition 'locale==NULL' is always true [knownConditionTrueFalse] diffutils-3.12/lib/localcharset.c:1081:24: note: Assignment 'locale=NULL', assigned value is 0 diffutils-3.12/lib/localcharset.c:1090:14: note: Condition 'locale==NULL' is always true diffutils-3.12/lib/localcharset.c:579:14: style: struct member 'table_entry::locale' is never used. [unusedStructMember] diffutils-3.12/lib/localcharset.c:580:14: style: struct member 'table_entry::canonical' is never used. [unusedStructMember] diffutils-3.12/lib/localcharset.c:1099:22: style: Variable 'locale' is assigned a value that is never used. [unreadVariable] diffutils-3.12/lib/localename.h:22:0: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.12/lib/localename.h:22:3: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.12/lib/malloc.c:43:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/malloc/dynarray-skeleton.c:95:0: error: #error "DYNARRAY_STRUCT must be defined" [preprocessorErrorDirective] diffutils-3.12/lib/malloc/dynarray-skeleton.c:95:3: error: #error "DYNARRAY_STRUCT must be defined" [preprocessorErrorDirective] diffutils-3.12/lib/malloc/dynarray_emplace_enlarge.c:53:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/malloc/dynarray_emplace_enlarge.c:31:40: style: Parameter 'scratch' can be declared as pointer to const. However it seems that '__libc_dynarray_emplace_enlarge' is a callback function, if 'scratch' is declared with const you might also need to cast function pointer(s). [constParameterCallback] diffutils-3.12/lib/malloc/dynarray_emplace_enlarge.c:77:18: note: You might need to cast the function pointer here diffutils-3.12/lib/malloc/dynarray_emplace_enlarge.c:31:40: note: Parameter 'scratch' can be declared as pointer to const diffutils-3.12/lib/malloc/dynarray_finalize.c:59:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable array [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/malloc/dynarray_finalize.c:29:33: style: Parameter 'scratch' can be declared as pointer to const. However it seems that '__libc_dynarray_finalize' is a callback function, if 'scratch' is declared with const you might also need to cast function pointer(s). [constParameterCallback] diffutils-3.12/lib/malloc/dynarray_finalize.c:66:18: note: You might need to cast the function pointer here diffutils-3.12/lib/malloc/dynarray_finalize.c:29:33: note: Parameter 'scratch' can be declared as pointer to const diffutils-3.12/lib/malloc/dynarray_resize.c:48:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/malloc/dynarray_resize.c:31:31: style: Parameter 'scratch' can be declared as pointer to const. However it seems that '__libc_dynarray_resize' is a callback function, if 'scratch' is declared with const you might also need to cast function pointer(s). [constParameterCallback] diffutils-3.12/lib/malloc/dynarray_resize.c:68:18: note: You might need to cast the function pointer here diffutils-3.12/lib/malloc/dynarray_resize.c:31:31: note: Parameter 'scratch' can be declared as pointer to const diffutils-3.12/lib/malloca.h:24:0: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.12/lib/malloca.h:24:3: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.12/lib/mbscasecmp.c:52:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MB_CUR_MAX [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/mbscasecmp.c:111:17: style:inconclusive: Boolean expression '!c1' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] diffutils-3.12/lib/mbscasecmp.c:111:17: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] diffutils-3.12/lib/strnlen1.h:22:0: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.12/lib/strnlen1.h:22:3: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.12/lib/mbtowc-impl.h:37:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/mcel.h:92:0: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.12/lib/mcel.h:92:3: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.12/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] diffutils-3.12/lib/msvc-inval.h:57:0: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.12/lib/msvc-inval.h:57:3: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.12/lib/msvc-nothrow.h:30:0: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.12/lib/msvc-nothrow.h:30:3: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.12/lib/nl_langinfo.c:83:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SETLOCALE_NULL_MAX [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/nl_langinfo.c:406:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable decimal_point [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/nl_langinfo.c:480:5: style: Statements following 'return' will never be executed. [unreachableCode] diffutils-3.12/lib/nl_langinfo.c:531:5: style: Statements following 'return' will never be executed. [unreachableCode] diffutils-3.12/lib/open.c:76:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/openat-proc.c:82:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_SEARCH [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/opendir.c:93:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PATH [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/popen.c:65:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFD [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/progname.c:55:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/quotearg.c:25:0: error: failed to evaluate #if condition, undefined function-like macro invocation: _GL_GNUC_PREREQ( ... ) [preprocessorErrorDirective] diffutils-3.12/lib/quotearg.c:25:2: error: failed to evaluate #if condition, undefined function-like macro invocation: _GL_GNUC_PREREQ( ... ) [preprocessorErrorDirective] diffutils-3.12/lib/rawmemchr.c:47:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UINTPTR_WIDTH [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/rawmemchr.c:120:16: style: Variable 's' is reassigned a value before the old one has been used. [redundantAssignment] diffutils-3.12/lib/rawmemchr.c:61:36: note: s is assigned diffutils-3.12/lib/rawmemchr.c:120:16: note: s is overwritten diffutils-3.12/lib/rawmemchr.c:120:16: style: Variable 's' is assigned a value that is never used. [unreadVariable] diffutils-3.12/lib/readdir.c:68:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/readlink.c:41:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/realloc.c:90:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/reallocarray.c:32:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] diffutils-3.12/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] diffutils-3.12/lib/regex.c:25:0: error: failed to evaluate #if condition, undefined function-like macro invocation: __GNUC_PREREQ( ... ) [preprocessorErrorDirective] diffutils-3.12/lib/regex.c:25:3: error: failed to evaluate #if condition, undefined function-like macro invocation: __GNUC_PREREQ( ... ) [preprocessorErrorDirective] diffutils-3.12/lib/regex_internal.c:60:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/regex_internal.c:79:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable re_string_t [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/regex_internal.c:141:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Idx [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/regex_internal.c:261:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WEOF [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/regex_internal.c:337:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WEOF [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/regex_internal.c:494:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WEOF [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/regex_internal.c:586:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOTBOL [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/regex_internal.c:902:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOTEOL [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/regex_internal.c:939:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Idx [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/regex_internal.c:951:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Idx [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/regex_internal.c:966:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Idx [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/regex_internal.c:999:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Idx [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/regex_internal.c:1023:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/regex_internal.c:1116:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Idx [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/regex_internal.c:1166:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/regex_internal.c:1254:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/regex_internal.c:1311:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Idx [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/regex_internal.c:1387:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable re_token_t [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/regex_internal.c:1460:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/regex_internal.c:1508:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/regex_internal.c:1545:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/regex_internal.c:1598:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable re_dfastate_t [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/regex_internal.c:1646:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable re_dfastate_t [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/regex_internal.c:1611:19: style: Variable 'node' can be declared as pointer to const [constVariablePointer] diffutils-3.12/lib/regex_internal.c:1661:19: style: Variable 'node' can be declared as pointer to const [constVariablePointer] diffutils-3.12/lib/regexec.c:194:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOTBOL [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/regexec.c:413:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable regmatch_t [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/regexec.c:457:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REGS_REALLOCATE [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/regexec.c:537:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REGS_REALLOCATE [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/regexec.c:609:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOMATCH [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/regexec.c:909:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_ESPACE [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/regexec.c:1042:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/regexec.c:1164:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/regexec.c:1205:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/regexec.c:1315:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable re_fail_stack_ent_t [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/regexec.c:1342:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable idx [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/regexec.c:1381:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable re_fail_stack_ent_t [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/regexec.c:1465:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable eps_via_nodes [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/regexec.c:1477:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/regexec.c:1557:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/regexec.c:1605:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable non_eps_nodes [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/regexec.c:1668:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/regexec.c:1695:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nodes [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/regexec.c:1714:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/regexec.c:1760:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/regexec.c:1798:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/regexec.c:1846:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable idx [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/regexec.c:1880:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/regexec.c:1994:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable idx [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/regexec.c:2076:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/regexec.c:2172:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nodes [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/regexec.c:2203:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/regexec.c:2279:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/regexec.c:2371:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/regexec.c:2442:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable accept_mb [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/regexec.c:2511:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_BACK_REF [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/regexec.c:2620:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/regexec.c:2768:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_OPEN_SUBEXP [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/regexec.c:2815:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/regexec.c:2982:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/regexec.c:3059:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/regexec.c:3110:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/regexec.c:3156:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/regexec.c:3244:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SBC_MAX [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/regexec.c:3444:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CHARACTER [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/regexec.c:3619:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_UTF8_PERIOD [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/regexec.c:3918:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ASCII_CHARS [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/regexec.c:3956:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_ESPACE [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/regexec.c:4018:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable re_backref_cache_entry [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/regexec.c:4094:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable re_backref_cache_entry [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/regexec.c:4143:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable str_idx [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/regexec.c:4170:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_ESPACE [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/regexec.c:4201:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable re_sub_match_last_t [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/regexec.c:1950:27: style:inconclusive: Function 'check_dst_limits_calc_pos' argument 4 names different: declaration 'node' definition 'from_node'. [funcArgNamesDifferent] diffutils-3.12/lib/regexec.c:94:15: note: Function 'check_dst_limits_calc_pos' argument 4 names different: declaration 'node' definition 'from_node'. diffutils-3.12/lib/regexec.c:1950:27: note: Function 'check_dst_limits_calc_pos' argument 4 names different: declaration 'node' definition 'from_node'. diffutils-3.12/lib/regexec.c:3425:21: style:inconclusive: Function 'group_nodes_into_DFAstates' argument 3 names different: declaration 'states_node' definition 'dests_node'. [funcArgNamesDifferent] diffutils-3.12/lib/regexec.c:163:25: note: Function 'group_nodes_into_DFAstates' argument 3 names different: declaration 'states_node' definition 'dests_node'. diffutils-3.12/lib/regexec.c:3425:21: note: Function 'group_nodes_into_DFAstates' argument 3 names different: declaration 'states_node' definition 'dests_node'. diffutils-3.12/lib/regexec.c:3425:43: style:inconclusive: Function 'group_nodes_into_DFAstates' argument 4 names different: declaration 'states_ch' definition 'dests_ch'. [funcArgNamesDifferent] diffutils-3.12/lib/regexec.c:164:22: note: Function 'group_nodes_into_DFAstates' argument 4 names different: declaration 'states_ch' definition 'dests_ch'. diffutils-3.12/lib/regexec.c:3425:43: note: Function 'group_nodes_into_DFAstates' argument 4 names different: declaration 'states_ch' definition 'dests_ch'. diffutils-3.12/lib/regexec.c:3613:35: style:inconclusive: Function 'check_node_accept_bytes' argument 4 names different: declaration 'idx' definition 'str_idx'. [funcArgNamesDifferent] diffutils-3.12/lib/regexec.c:156:39: note: Function 'check_node_accept_bytes' argument 4 names different: declaration 'idx' definition 'str_idx'. diffutils-3.12/lib/regexec.c:3613:35: note: Function 'check_node_accept_bytes' argument 4 names different: declaration 'idx' definition 'str_idx'. diffutils-3.12/lib/regexec.c:4010:37: style:inconclusive: Function 'match_ctx_init' argument 1 names different: declaration 'cache' definition 'mctx'. [funcArgNamesDifferent] diffutils-3.12/lib/regexec.c:20:58: note: Function 'match_ctx_init' argument 1 names different: declaration 'cache' definition 'mctx'. diffutils-3.12/lib/regexec.c:4010:37: note: Function 'match_ctx_init' argument 1 names different: declaration 'cache' definition 'mctx'. diffutils-3.12/lib/regexec.c:4073:37: style:inconclusive: Function 'match_ctx_free' argument 1 names different: declaration 'cache' definition 'mctx'. [funcArgNamesDifferent] diffutils-3.12/lib/regexec.c:23:49: note: Function 'match_ctx_free' argument 1 names different: declaration 'cache' definition 'mctx'. diffutils-3.12/lib/regexec.c:4073:37: note: Function 'match_ctx_free' argument 1 names different: declaration 'cache' definition 'mctx'. diffutils-3.12/lib/regexec.c:4088:42: style:inconclusive: Function 'match_ctx_add_entry' argument 1 names different: declaration 'cache' definition 'mctx'. [funcArgNamesDifferent] diffutils-3.12/lib/regexec.c:24:63: note: Function 'match_ctx_add_entry' argument 1 names different: declaration 'cache' definition 'mctx'. diffutils-3.12/lib/regexec.c:4088:42: note: Function 'match_ctx_add_entry' argument 1 names different: declaration 'cache' definition 'mctx'. diffutils-3.12/lib/regexec.c:798:20: style: Variable 'pstate' can be declared as pointer to const [constVariablePointer] diffutils-3.12/lib/regexec.c:1307:27: style: Parameter 'regs' can be declared as pointer to const [constParameterPointer] diffutils-3.12/lib/regexec.c:1307:45: style: Parameter 'prevregs' can be declared as pointer to const [constParameterPointer] diffutils-3.12/lib/regexec.c:1844:38: style: Variable 'ent' can be declared as pointer to const [constVariablePointer] diffutils-3.12/lib/regexec.c:1953:34: style: Variable 'lim' can be declared as pointer to const [constVariablePointer] diffutils-3.12/lib/regexec.c:1988:38: style: Variable 'ent' can be declared as pointer to const [constVariablePointer] diffutils-3.12/lib/regexec.c:2084:38: style: Variable 'entry' can be declared as pointer to const [constVariablePointer] diffutils-3.12/lib/regexec.c:2536:35: style: Variable 'bkref_ent' can be declared as pointer to const [constVariablePointer] diffutils-3.12/lib/same-inode.h:23:0: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.12/lib/same-inode.h:23:3: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.12/lib/setlocale_null-unlocked.c:125:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/setlocale_null.c:205:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/sh-quote.h:27:0: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.12/lib/sh-quote.h:27:3: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.12/lib/sig-handler.h:23:0: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.12/lib/sig-handler.h:23:3: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.12/lib/sigaction.c:55:0: error: #error "Revisit the assumptions made in the sigaction module" [preprocessorErrorDirective] diffutils-3.12/lib/sigaction.c:55:3: error: #error "Revisit the assumptions made in the sigaction module" [preprocessorErrorDirective] diffutils-3.12/lib/sigprocmask.c:116:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSIG [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/sigprocmask.c:139:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSIG [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/sigprocmask.c:159:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSIG [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/sigprocmask.c:180:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSIG [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/sigprocmask.c:200:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSIG [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/sigprocmask.c:210:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSIG [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/sigprocmask.c:245:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/sigprocmask.c:300:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_ERR [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/sigsegv.c:1418:38: style: Parameter 'extra_stack' can be declared as pointer to const [constParameterPointer] diffutils-3.12/lib/stackvma.c:2375:56: style: Parameter 'vma' can be declared as pointer to const [constParameterPointer] diffutils-3.12/lib/stdopen.c:42:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFD [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/strerror-override.h:23:0: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.12/lib/strerror-override.h:23:3: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.12/lib/strnlen.c:32:5: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] diffutils-3.12/lib/strptime.c:687:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _GL_UNUSED [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/strptime.c:416:11: style: Checking if unsigned expression 'val' is less than zero. [unsignedLessThanZero] diffutils-3.12/lib/strptime.c:465:11: style: Checking if unsigned expression 'val' is less than zero. [unsignedLessThanZero] diffutils-3.12/lib/strptime.c:492:11: style: Checking if unsigned expression 'val' is less than zero. [unsignedLessThanZero] diffutils-3.12/lib/strptime.c:592:11: style: Checking if unsigned expression 'val' is less than zero. [unsignedLessThanZero] diffutils-3.12/lib/strptime.c:626:11: style: Checking if unsigned expression 'val' is less than zero. [unsignedLessThanZero] diffutils-3.12/lib/strptime.c:639:11: style: Checking if unsigned expression 'val' is less than zero. [unsignedLessThanZero] diffutils-3.12/lib/strptime.c:644:11: style: Checking if unsigned expression 'val' is less than zero. [unsignedLessThanZero] diffutils-3.12/lib/strptime.c:649:11: style: Checking if unsigned expression 'val' is less than zero. [unsignedLessThanZero] diffutils-3.12/lib/strptime.c:655:11: style: Checking if unsigned expression 'val' is less than zero. [unsignedLessThanZero] diffutils-3.12/lib/strptime.c:664:11: style: Checking if unsigned expression 'val' is less than zero. [unsignedLessThanZero] diffutils-3.12/lib/strptime.c:674:11: style: Checking if unsigned expression 'val' is less than zero. [unsignedLessThanZero] diffutils-3.12/lib/strptime.c:973:15: style: Checking if unsigned expression 'val' is less than zero. [unsignedLessThanZero] diffutils-3.12/lib/strptime.c:993:15: style: Checking if unsigned expression 'val' is less than zero. [unsignedLessThanZero] diffutils-3.12/lib/strptime.c:1007:15: style: Checking if unsigned expression 'val' is less than zero. [unsignedLessThanZero] diffutils-3.12/lib/strptime.c:1011:15: style: Checking if unsigned expression 'val' is less than zero. [unsignedLessThanZero] diffutils-3.12/lib/strptime.c:1016:15: style: Checking if unsigned expression 'val' is less than zero. [unsignedLessThanZero] diffutils-3.12/lib/strptime.c:1021:15: style: Checking if unsigned expression 'val' is less than zero. [unsignedLessThanZero] diffutils-3.12/lib/strptime.c:1027:15: style: Checking if unsigned expression 'val' is less than zero. [unsignedLessThanZero] diffutils-3.12/lib/strptime.c:1033:15: style: Checking if unsigned expression 'val' is less than zero. [unsignedLessThanZero] diffutils-3.12/lib/strtol.c:257:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/strtol.c:329:13: warning: Either the condition 's==end' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] diffutils-3.12/lib/strtol.c:322:11: note: Assignment 'end=NULL', assigned value is 0 diffutils-3.12/lib/strtol.c:331:13: note: Assuming that condition 's==end' is not redundant diffutils-3.12/lib/strtol.c:303:10: note: Assignment 'save=s', assigned value is 0 diffutils-3.12/lib/strtol.c:303:8: note: save is assigned 's' here. diffutils-3.12/lib/strtol.c:329:13: note: Null pointer dereference diffutils-3.12/lib/system-quote.h:51:0: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.12/lib/system-quote.h:51:3: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.12/lib/tempname.c:96:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GRND_NONBLOCK [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/tempname.c:130:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_ACCMODE [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/tempname.c:137:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRUSR [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/tempname.c:145:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/tempname.c:196:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/tempname.c:247:17: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] diffutils-3.12/lib/tempname.c:126:17: style: Parameter 'tmpl' can be declared as pointer to const. However it seems that 'try_file' is a callback function, if 'tmpl' is declared with const you might also need to cast function pointer(s). [constParameterCallback] diffutils-3.12/lib/tempname.c:177:21: note: You might need to cast the function pointer here diffutils-3.12/lib/tempname.c:126:17: note: Parameter 'tmpl' can be declared as pointer to const diffutils-3.12/lib/tempname.c:128:8: style: Variable 'openflags' can be declared as pointer to const [constVariablePointer] diffutils-3.12/lib/tempname.c:135:16: style: Parameter 'tmpl' can be declared as pointer to const. However it seems that 'try_dir' is a callback function, if 'tmpl' is declared with const you might also need to cast function pointer(s). [constParameterCallback] diffutils-3.12/lib/tempname.c:178:20: note: You might need to cast the function pointer here diffutils-3.12/lib/tempname.c:135:16: note: Parameter 'tmpl' can be declared as pointer to const diffutils-3.12/lib/tempname.c:135:39: style: Parameter 'flags' can be declared as pointer to const. However it seems that 'try_dir' is a callback function, if 'flags' is declared with const you might also need to cast function pointer(s). [constParameterCallback] diffutils-3.12/lib/tempname.c:178:20: note: You might need to cast the function pointer here diffutils-3.12/lib/tempname.c:135:39: note: Parameter 'flags' can be declared as pointer to const diffutils-3.12/lib/tempname.c:141:21: style: Parameter 'tmpl' can be declared as pointer to const. However it seems that 'try_nocreate' is a callback function, if 'tmpl' is declared with const you might also need to cast function pointer(s). [constParameterCallback] diffutils-3.12/lib/tempname.c:179:25: note: You might need to cast the function pointer here diffutils-3.12/lib/tempname.c:141:21: note: Parameter 'tmpl' can be declared as pointer to const diffutils-3.12/lib/time_r.c:42:30: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] diffutils-3.12/lib/time_r.c:48:30: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] diffutils-3.12/lib/flexmember.h:25:0: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.12/lib/flexmember.h:25:3: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.12/lib/uniwidth/width.c:61:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nonspacing_table_ind [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/unsetenv.c:63:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/version-etc.h:24:0: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.12/lib/version-etc.h:24:4: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.12/lib/wcrtomb.c:35:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/wcrtomb.c:28:42: style: Parameter 'ps' can be declared as pointer to const [constParameterPointer] diffutils-3.12/lib/windows-mutex.c:78:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EBUSY [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/windows-mutex.c:105:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/windows-mutex.c:115:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/windows-recmutex.c:64:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EAGAIN [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/windows-recmutex.c:84:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EBUSY [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/windows-recmutex.c:108:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EPERM [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/windows-recmutex.c:123:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EBUSY [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/windows-rwlock.c:56:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HANDLE [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/windows-rwlock.c:161:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_HANDLE_VALUE [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/windows-rwlock.c:218:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_HANDLE_VALUE [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/windows-rwlock.c:279:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EBUSY [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/windows-rwlock.c:312:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EBUSY [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/windows-rwlock.c:323:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/windows-rwlock.c:367:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/xalloc.h:25:0: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.12/lib/xalloc.h:25:3: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.12/lib/xfreopen.c:34:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/xmalloca.h:24:0: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.12/lib/xmalloca.h:24:3: error: #error "Please include config.h first." [preprocessorErrorDirective] diffutils-3.12/lib/xstrtol.c:90:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] diffutils-3.12/lib/xstrtol.c:52:15: style: Checking if unsigned expression '*x' is less than zero. [unsignedLessThanZero] diffutils-3.12/src/system.h:138:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IDX_MAX [valueFlowBailoutIncompleteVar] diffutils-3.12/src/analyze.c:466:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable st_size [valueFlowBailoutIncompleteVar] diffutils-3.12/src/analyze.c:386:24: style:inconclusive: Boolean expression 'changed0[i0]' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] diffutils-3.12/src/analyze.c:420:28: style:inconclusive: Boolean expression 'changed0[i0-1]' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] diffutils-3.12/src/analyze.c:165:15: style: Condition 'length<4' is always true [knownConditionTrueFalse] diffutils-3.12/src/analyze.c:143:24: note: Assuming that condition 'j>i' is not redundant diffutils-3.12/src/analyze.c:148:30: note: Assignment 'length=j-i', assigned value is less than 1 diffutils-3.12/src/analyze.c:165:15: note: Condition 'length<4' is always true diffutils-3.12/src/analyze.c:360:3: warning: If memory allocation fails, then there is a possible null pointer dereference: new [nullPointerOutOfMemory] diffutils-3.12/src/analyze.c:358:32: note: Assuming allocation function fails diffutils-3.12/src/analyze.c:358:32: note: Assignment 'new=xmalloc(sizeof(*new))', assigned value is 0 diffutils-3.12/src/analyze.c:360:3: note: Null pointer dereference diffutils-3.12/src/analyze.c:361:3: warning: If memory allocation fails, then there is a possible null pointer dereference: new [nullPointerOutOfMemory] diffutils-3.12/src/analyze.c:358:32: note: Assuming allocation function fails diffutils-3.12/src/analyze.c:358:32: note: Assignment 'new=xmalloc(sizeof(*new))', assigned value is 0 diffutils-3.12/src/analyze.c:361:3: note: Null pointer dereference diffutils-3.12/src/analyze.c:362:3: warning: If memory allocation fails, then there is a possible null pointer dereference: new [nullPointerOutOfMemory] diffutils-3.12/src/analyze.c:358:32: note: Assuming allocation function fails diffutils-3.12/src/analyze.c:358:32: note: Assignment 'new=xmalloc(sizeof(*new))', assigned value is 0 diffutils-3.12/src/analyze.c:362:3: note: Null pointer dereference diffutils-3.12/src/analyze.c:363:3: warning: If memory allocation fails, then there is a possible null pointer dereference: new [nullPointerOutOfMemory] diffutils-3.12/src/analyze.c:358:32: note: Assuming allocation function fails diffutils-3.12/src/analyze.c:358:32: note: Assignment 'new=xmalloc(sizeof(*new))', assigned value is 0 diffutils-3.12/src/analyze.c:363:3: note: Null pointer dereference diffutils-3.12/src/analyze.c:364:3: warning: If memory allocation fails, then there is a possible null pointer dereference: new [nullPointerOutOfMemory] diffutils-3.12/src/analyze.c:358:32: note: Assuming allocation function fails diffutils-3.12/src/analyze.c:358:32: note: Assignment 'new=xmalloc(sizeof(*new))', assigned value is 0 diffutils-3.12/src/analyze.c:364:3: note: Null pointer dereference diffutils-3.12/src/analyze.c:271:17: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] diffutils-3.12/src/analyze.c:283:13: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] diffutils-3.12/src/analyze.c:306:21: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] diffutils-3.12/src/analyze.c:340:17: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] diffutils-3.12/src/analyze.c:93:12: style: Variable 'counts' can be declared as pointer to const [constVariablePointer] diffutils-3.12/src/analyze.c:94:12: style: Variable 'equivs' can be declared as pointer to const [constVariablePointer] diffutils-3.12/src/analyze.c:223:13: style: Variable 'discards' can be declared as pointer to const [constVariablePointer] diffutils-3.12/src/analyze.c:375:9: style: Variable 'changed0' can be declared as pointer to const [constVariablePointer] diffutils-3.12/src/analyze.c:376:9: style: Variable 'changed1' can be declared as pointer to const [constVariablePointer] diffutils-3.12/src/analyze.c:412:9: style: Variable 'changed0' can be declared as pointer to const [constVariablePointer] diffutils-3.12/src/analyze.c:413:9: style: Variable 'changed1' can be declared as pointer to const [constVariablePointer] diffutils-3.12/src/cmp.c:139:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LONGINT_OVERFLOW [valueFlowBailoutIncompleteVar] diffutils-3.12/src/cmp.c:160:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] diffutils-3.12/src/cmp.c:183:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable program_name [valueFlowBailoutIncompleteVar] diffutils-3.12/src/cmp.c:206:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable exit_failure [valueFlowBailoutIncompleteVar] diffutils-3.12/src/cmp.c:418:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable st_size [valueFlowBailoutIncompleteVar] diffutils-3.12/src/cmp.c:624:8: style: Same expression in both branches of ternary operator. [duplicateExpressionTernary] diffutils-3.12/src/cmp.c:427:9: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] diffutils-3.12/src/cmp.c:659:5: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] diffutils-3.12/src/cmp.c:666:5: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] diffutils-3.12/src/cmp.c:681:14: style: Variable 'p' can be declared as pointer to const [constVariablePointer] diffutils-3.12/src/cmp.c:514:19: warning: Size of pointer 'buf0' used instead of size of its data. [pointerSize] diffutils-3.12/src/cmp.c:516:19: warning: Size of pointer 'buf1' used instead of size of its data. [pointerSize] diffutils-3.12/src/context.c:57:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TIME_UTC [valueFlowBailoutIncompleteVar] diffutils-3.12/src/context.c:121:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTRDIFF_MAX [valueFlowBailoutIncompleteVar] diffutils-3.12/src/context.c:508:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable regoff_t [valueFlowBailoutIncompleteVar] diffutils-3.12/src/context.c:73:29: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] diffutils-3.12/src/context.c:163:5: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] diffutils-3.12/src/context.c:165:5: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] diffutils-3.12/src/context.c:224:22: style: Variable 'next' can be declared as pointer to const [constVariablePointer] diffutils-3.12/src/context.c:262:22: style: Variable 'next' can be declared as pointer to const [constVariablePointer] diffutils-3.12/src/context.c:365:18: style: Variable 'next' can be declared as pointer to const [constVariablePointer] diffutils-3.12/src/diff.c:294:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXCLUDE_WILDCARDS [valueFlowBailoutIncompleteVar] diffutils-3.12/src/diff.c:301:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable exit_failure [valueFlowBailoutIncompleteVar] diffutils-3.12/src/diff.c:904:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXIT_TROUBLE [valueFlowBailoutIncompleteVar] diffutils-3.12/src/diff.c:942:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXIT_TROUBLE [valueFlowBailoutIncompleteVar] diffutils-3.12/src/diff.c:953:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] diffutils-3.12/src/diff.c:961:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] diffutils-3.12/src/diff.c:1069:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable program_name [valueFlowBailoutIncompleteVar] diffutils-3.12/src/diff.c:1141:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable st_mode [valueFlowBailoutIncompleteVar] diffutils-3.12/src/diff.c:1226:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable st_mode [valueFlowBailoutIncompleteVar] diffutils-3.12/src/diff.c:1411:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable file [valueFlowBailoutIncompleteVar] diffutils-3.12/src/diff.c:834:39: style:inconclusive: Boolean expression 'output_style!=OUTPUT_SDIFF' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] diffutils-3.12/src/diff.c:837:12: style:inconclusive: Boolean expression 'brief' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] diffutils-3.12/src/diff.c:838:30: style:inconclusive: Boolean expression 'ignore_blank_lines' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] diffutils-3.12/src/diff.c:1177:18: style:inconclusive: Boolean expression 'same_files' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] diffutils-3.12/src/diff.c:1190:23: style:inconclusive: Boolean expression 'new_file' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] diffutils-3.12/src/diff.c:1196:21: style:inconclusive: Boolean expression 'recursive' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] diffutils-3.12/src/diff.c:1210:23: style:inconclusive: Boolean expression 'new_file' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] diffutils-3.12/src/diff.c:1556:28: style: Condition 'toplevel' is always true [knownConditionTrueFalse] diffutils-3.12/src/diff.c:1554:7: note: Assuming that condition 'toplevel' is not redundant diffutils-3.12/src/diff.c:1556:28: note: Condition 'toplevel' is always true diffutils-3.12/src/diff.c:825:20: warning: If memory allocation fails, then there is a possible null pointer dereference: p [nullPointerOutOfMemory] diffutils-3.12/src/diff.c:822:22: note: Assuming allocation function fails diffutils-3.12/src/diff.c:822:22: note: Assignment 'p=xmalloc(strlen(group_format[OLD])+strlen(group_format[NEW])+1)', assigned value is 0 diffutils-3.12/src/diff.c:825:20: note: Null pointer dereference diffutils-3.12/src/diff.c:431:10: style: Variable 'base' can be declared as pointer to const [constVariablePointer] diffutils-3.12/src/diff3.c:231:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable exit_failure [valueFlowBailoutIncompleteVar] diffutils-3.12/src/diff3.c:421:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] diffutils-3.12/src/diff3.c:457:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable program_name [valueFlowBailoutIncompleteVar] diffutils-3.12/src/diff3.c:849:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable idx_t [valueFlowBailoutIncompleteVar] diffutils-3.12/src/diff3.c:925:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable program_name [valueFlowBailoutIncompleteVar] diffutils-3.12/src/diff3.c:1157:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCI_SYSTEM [valueFlowBailoutIncompleteVar] diffutils-3.12/src/diff3.c:1256:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.12/src/diff3.c:1567:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] diffutils-3.12/src/diff3.c:1663:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXIT_TROUBLE [valueFlowBailoutIncompleteVar] diffutils-3.12/src/diff3.c:316:25: style:inconclusive: Boolean expression '!!incompat' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] diffutils-3.12/src/diff3.c:318:12: style:inconclusive: Boolean expression 'show_2nd' is used in bitwise operation. [bitwiseOnBoolean] diffutils-3.12/src/diff3.c:318:25: style:inconclusive: Boolean expression '!incompat' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] diffutils-3.12/src/diff3.c:319:12: style:inconclusive: Boolean expression 'flagging' is used in bitwise operation. [bitwiseOnBoolean] diffutils-3.12/src/diff3.c:319:25: style:inconclusive: Boolean expression '!incompat' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] diffutils-3.12/src/diff3.c:322:21: style:inconclusive: Boolean expression 'finalwrite' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] diffutils-3.12/src/diff3.c:355:30: style:inconclusive: Boolean expression 'edscript' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] diffutils-3.12/src/diff3.c:316:25: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] diffutils-3.12/src/diff3.c:318:25: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] diffutils-3.12/src/diff3.c:319:25: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] diffutils-3.12/src/diff3.c:833:3: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] diffutils-3.12/src/diff3.c:831:40: note: Assuming allocation function fails diffutils-3.12/src/diff3.c:831:40: note: Assignment 'result=xmalloc(sizeof(*result))', assigned value is 0 diffutils-3.12/src/diff3.c:833:3: note: Null pointer dereference diffutils-3.12/src/diff3.c:834:3: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] diffutils-3.12/src/diff3.c:831:40: note: Assuming allocation function fails diffutils-3.12/src/diff3.c:831:40: note: Assignment 'result=xmalloc(sizeof(*result))', assigned value is 0 diffutils-3.12/src/diff3.c:834:3: note: Null pointer dereference diffutils-3.12/src/diff3.c:837:3: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] diffutils-3.12/src/diff3.c:831:40: note: Assuming allocation function fails diffutils-3.12/src/diff3.c:831:40: note: Assignment 'result=xmalloc(sizeof(*result))', assigned value is 0 diffutils-3.12/src/diff3.c:837:3: note: Null pointer dereference diffutils-3.12/src/diff3.c:838:3: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] diffutils-3.12/src/diff3.c:831:40: note: Assuming allocation function fails diffutils-3.12/src/diff3.c:831:40: note: Assignment 'result=xmalloc(sizeof(*result))', assigned value is 0 diffutils-3.12/src/diff3.c:838:3: note: Null pointer dereference diffutils-3.12/src/diff3.c:839:3: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] diffutils-3.12/src/diff3.c:831:40: note: Assuming allocation function fails diffutils-3.12/src/diff3.c:831:40: note: Assignment 'result=xmalloc(sizeof(*result))', assigned value is 0 diffutils-3.12/src/diff3.c:839:3: note: Null pointer dereference diffutils-3.12/src/diff3.c:840:3: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] diffutils-3.12/src/diff3.c:831:40: note: Assuming allocation function fails diffutils-3.12/src/diff3.c:831:40: note: Assignment 'result=xmalloc(sizeof(*result))', assigned value is 0 diffutils-3.12/src/diff3.c:840:3: note: Null pointer dereference diffutils-3.12/src/diff3.c:841:3: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] diffutils-3.12/src/diff3.c:831:40: note: Assuming allocation function fails diffutils-3.12/src/diff3.c:831:40: note: Assignment 'result=xmalloc(sizeof(*result))', assigned value is 0 diffutils-3.12/src/diff3.c:841:3: note: Null pointer dereference diffutils-3.12/src/diff3.c:842:3: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] diffutils-3.12/src/diff3.c:831:40: note: Assuming allocation function fails diffutils-3.12/src/diff3.c:831:40: note: Assignment 'result=xmalloc(sizeof(*result))', assigned value is 0 diffutils-3.12/src/diff3.c:842:3: note: Null pointer dereference diffutils-3.12/src/diff3.c:845:18: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] diffutils-3.12/src/diff3.c:831:40: note: Assuming allocation function fails diffutils-3.12/src/diff3.c:831:40: note: Assignment 'result=xmalloc(sizeof(*result))', assigned value is 0 diffutils-3.12/src/diff3.c:845:18: note: Null pointer dereference diffutils-3.12/src/diff3.c:857:14: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] diffutils-3.12/src/diff3.c:831:40: note: Assuming allocation function fails diffutils-3.12/src/diff3.c:831:40: note: Assignment 'result=xmalloc(sizeof(*result))', assigned value is 0 diffutils-3.12/src/diff3.c:857:14: note: Null pointer dereference diffutils-3.12/src/diff3.c:869:14: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] diffutils-3.12/src/diff3.c:831:40: note: Assuming allocation function fails diffutils-3.12/src/diff3.c:831:40: note: Assignment 'result=xmalloc(sizeof(*result))', assigned value is 0 diffutils-3.12/src/diff3.c:869:14: note: Null pointer dereference diffutils-3.12/src/diff3.c:919:7: warning: If memory allocation fails, then there is a possible null pointer dereference: bptr [nullPointerOutOfMemory] diffutils-3.12/src/diff3.c:918:41: note: Assuming allocation function fails diffutils-3.12/src/diff3.c:918:41: note: Assignment 'bptr=xmalloc(sizeof(*bptr))', assigned value is 0 diffutils-3.12/src/diff3.c:919:7: note: Null pointer dereference diffutils-3.12/src/diff3.c:919:24: warning: If memory allocation fails, then there is a possible null pointer dereference: bptr [nullPointerOutOfMemory] diffutils-3.12/src/diff3.c:918:41: note: Assuming allocation function fails diffutils-3.12/src/diff3.c:918:41: note: Assignment 'bptr=xmalloc(sizeof(*bptr))', assigned value is 0 diffutils-3.12/src/diff3.c:919:24: note: Null pointer dereference diffutils-3.12/src/diff3.c:920:7: warning: If memory allocation fails, then there is a possible null pointer dereference: bptr [nullPointerOutOfMemory] diffutils-3.12/src/diff3.c:918:41: note: Assuming allocation function fails diffutils-3.12/src/diff3.c:918:41: note: Assignment 'bptr=xmalloc(sizeof(*bptr))', assigned value is 0 diffutils-3.12/src/diff3.c:920:7: note: Null pointer dereference diffutils-3.12/src/diff3.c:920:26: warning: If memory allocation fails, then there is a possible null pointer dereference: bptr [nullPointerOutOfMemory] diffutils-3.12/src/diff3.c:918:41: note: Assuming allocation function fails diffutils-3.12/src/diff3.c:918:41: note: Assignment 'bptr=xmalloc(sizeof(*bptr))', assigned value is 0 diffutils-3.12/src/diff3.c:920:26: note: Null pointer dereference diffutils-3.12/src/diff3.c:1163:20: warning: If resource allocation fails, then there is a possible null pointer dereference: fpipe [nullPointerOutOfResources] diffutils-3.12/src/diff3.c:1159:23: note: Assuming allocation function fails diffutils-3.12/src/diff3.c:1159:23: note: Assignment 'fpipe=popen(command,"r")', assigned value is 0 diffutils-3.12/src/diff3.c:1163:20: note: Null pointer dereference diffutils-3.12/src/diff3.c:1245:5: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] diffutils-3.12/src/diff3.c:380:9: style: Variable 'commonname' can be declared as pointer to const [constVariablePointer] diffutils-3.12/src/diff3.c:1237:23: style: Parameter 'limit' can be declared as pointer to const [constParameterPointer] diffutils-3.12/src/diff3.c:1341:23: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] diffutils-3.12/src/diff3.c:1369:13: style: Variable 'line' can be declared as pointer to const [constVariablePointer] diffutils-3.12/src/diff3.c:910:22: style: Variable 'block_list' is not assigned a value. [unassignedVariable] diffutils-3.12/src/dir.c:92:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] diffutils-3.12/src/dir.c:190:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] diffutils-3.12/src/dir.c:248:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXIT_TROUBLE [valueFlowBailoutIncompleteVar] diffutils-3.12/src/dir.c:359:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AT_FDCWD [valueFlowBailoutIncompleteVar] diffutils-3.12/src/dir.c:317:43: style: Argument 'false&&*n0?(*n0)[-1]:DE_UNKNOWN' to init list { is always 0. It does not matter what value '(*n0)[-1]' has. [knownArgument] diffutils-3.12/src/dir.c:318:36: style: Argument 'false&&*n1?(*n1)[-1]:DE_UNKNOWN' to init list { is always 0. It does not matter what value '(*n1)[-1]' has. [knownArgument] diffutils-3.12/src/ifdef.c:103:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable file [valueFlowBailoutIncompleteVar] diffutils-3.12/src/ifdef.c:140:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] diffutils-3.12/src/ifdef.c:315:5: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] diffutils-3.12/src/ifdef.c:320:7: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] diffutils-3.12/src/io.c:134:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IDX_MAX [valueFlowBailoutIncompleteVar] diffutils-3.12/src/io.c:257:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MB_CUR_MAX [valueFlowBailoutIncompleteVar] diffutils-3.12/src/io.c:683:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MB_CUR_MAX [valueFlowBailoutIncompleteVar] diffutils-3.12/src/io.c:1096:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTRDIFF_MAX [valueFlowBailoutIncompleteVar] diffutils-3.12/src/io.c:1114:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable buffer [valueFlowBailoutIncompleteVar] diffutils-3.12/src/io.c:1338:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable buffer [valueFlowBailoutIncompleteVar] diffutils-3.12/src/io.c:685:47: style:inconclusive: Boolean expression 'ig_white_space!=IGNORE_NO_WHITE_SPACE' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] diffutils-3.12/src/io.c:685:59: style:inconclusive: Boolean expression '!unibyte' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] diffutils-3.12/src/io.c:687:32: style:inconclusive: Boolean expression 'diff_length_compare_anyway' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] diffutils-3.12/src/io.c:1331:25: style:inconclusive: Boolean expression 'text' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] diffutils-3.12/src/io.c:1335:51: style:inconclusive: Boolean expression 'skip_test' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] diffutils-3.12/src/io.c:685:59: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] diffutils-3.12/src/io.c:1034:9: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] diffutils-3.12/src/io.c:1211:11: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] diffutils-3.12/src/io.c:1269:13: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] diffutils-3.12/src/io.c:1082:11: warning: Size of pointer 'p' used instead of size of its data. [pointerSize] diffutils-3.12/src/sdiff.c:169:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] diffutils-3.12/src/sdiff.c:207:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable program_name [valueFlowBailoutIncompleteVar] diffutils-3.12/src/sdiff.c:244:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXIT_TROUBLE [valueFlowBailoutIncompleteVar] diffutils-3.12/src/sdiff.c:257:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] diffutils-3.12/src/sdiff.c:440:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] diffutils-3.12/src/sdiff.c:447:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable exit_failure [valueFlowBailoutIncompleteVar] diffutils-3.12/src/sdiff.c:719:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] diffutils-3.12/src/sdiff.c:755:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] diffutils-3.12/src/sdiff.c:775:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] diffutils-3.12/src/sdiff.c:799:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXIT_TROUBLE [valueFlowBailoutIncompleteVar] diffutils-3.12/src/sdiff.c:806:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] diffutils-3.12/src/sdiff.c:831:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] diffutils-3.12/src/sdiff.c:839:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] diffutils-3.12/src/sdiff.c:868:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] diffutils-3.12/src/sdiff.c:1078:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] diffutils-3.12/src/sdiff.c:585:19: style:inconclusive: Boolean expression 'leftdir' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] diffutils-3.12/src/sdiff.c:1145:19: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] diffutils-3.12/src/sdiff.c:1144:23: note: Assuming allocation function fails diffutils-3.12/src/sdiff.c:1144:23: note: Assignment 'buf=xmalloc(strlen(dir)+1+5+6+1)', assigned value is 0 diffutils-3.12/src/sdiff.c:1145:19: note: Null pointer dereference diffutils-3.12/src/sdiff.c:1146:21: warning: If memory allocation fails, then there is a possible null pointer dereference: buf [nullPointerOutOfMemory] diffutils-3.12/src/sdiff.c:1144:23: note: Assuming allocation function fails diffutils-3.12/src/sdiff.c:1144:23: note: Assignment 'buf=xmalloc(strlen(dir)+1+5+6+1)', assigned value is 0 diffutils-3.12/src/sdiff.c:1146:21: note: Null pointer dereference diffutils-3.12/src/sdiff.c:799:7: style:inconclusive: Statements following noreturn function 'raise()' will never be executed. [unreachableCode] diffutils-3.12/src/sdiff.c:840:5: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] diffutils-3.12/src/sdiff.c:378:9: style: Variable 'start' can be declared as pointer to const [constVariablePointer] diffutils-3.12/src/sdiff.c:426:13: style: Variable 'start' can be declared as pointer to const [constVariablePointer] diffutils-3.12/src/util.c:89:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] diffutils-3.12/src/util.c:97:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] diffutils-3.12/src/util.c:108:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXIT_TROUBLE [valueFlowBailoutIncompleteVar] diffutils-3.12/src/util.c:212:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_ERR [valueFlowBailoutIncompleteVar] diffutils-3.12/src/util.c:244:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] diffutils-3.12/src/util.c:271:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] diffutils-3.12/src/util.c:382:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] diffutils-3.12/src/util.c:405:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_DFL [valueFlowBailoutIncompleteVar] diffutils-3.12/src/util.c:472:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALLTHROUGH [valueFlowBailoutIncompleteVar] diffutils-3.12/src/util.c:804:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable c_maybe_quoting_style [valueFlowBailoutIncompleteVar] diffutils-3.12/src/util.c:898:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] diffutils-3.12/src/util.c:204:3: style: Non-boolean value returned from function returning bool [returnNonBoolInBooleanFunction] diffutils-3.12/src/util.c:136:7: warning: If memory allocation fails, then there is a possible null pointer dereference: new [nullPointerOutOfMemory] diffutils-3.12/src/util.c:135:33: note: Assuming allocation function fails diffutils-3.12/src/util.c:135:33: note: Assignment 'new=xmalloc(FLEXSIZEOF(struct msg,args,argbytes))', assigned value is 0 diffutils-3.12/src/util.c:136:7: note: Null pointer dereference diffutils-3.12/src/util.c:137:7: warning: If memory allocation fails, then there is a possible null pointer dereference: new [nullPointerOutOfMemory] diffutils-3.12/src/util.c:135:33: note: Assuming allocation function fails diffutils-3.12/src/util.c:135:33: note: Assignment 'new=xmalloc(FLEXSIZEOF(struct msg,args,argbytes))', assigned value is 0 diffutils-3.12/src/util.c:137:7: note: Null pointer dereference diffutils-3.12/src/util.c:140:17: warning: If memory allocation fails, then there is a possible null pointer dereference: new [nullPointerOutOfMemory] diffutils-3.12/src/util.c:135:33: note: Assuming allocation function fails diffutils-3.12/src/util.c:135:33: note: Assignment 'new=xmalloc(FLEXSIZEOF(struct msg,args,argbytes))', assigned value is 0 diffutils-3.12/src/util.c:140:17: note: Null pointer dereference diffutils-3.12/src/util.c:815:21: warning: If memory allocation fails, then there is a possible null pointer dereference: name [nullPointerOutOfMemory] diffutils-3.12/src/util.c:813:24: note: Assuming allocation function fails diffutils-3.12/src/util.c:813:24: note: Assignment 'name=xmalloc(sizeof("diff")+strlen(switch_string)+1+strlen(names[0])+1+strlen(names[1]))', assigned value is 0 diffutils-3.12/src/util.c:815:21: note: Null pointer dereference diffutils-3.12/src/util.c:278:38: style: Local variable 'sig' shadows outer variable [shadowVariable] diffutils-3.12/src/util.c:306:18: note: Shadowed declaration diffutils-3.12/src/util.c:278:38: note: Shadow variable diffutils-3.12/src/util.c:218:73: style: Parameter 'oset' can be declared as pointer to const [constParameterPointer] diffutils-3.12/src/util.c:1214:53: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] diffutils-3.12/src/util.c:1265:18: style: Variable 'next' can be declared as pointer to const [constVariablePointer] diffutils-3.12/gnulib-tests/test-getopt_long.h:108:56: error: Null pointer dereference: longopts [ctunullpointer] diffutils-3.12/gnulib-tests/test-getopt_long.h:331:24: note: Calling function do_getopt_long, 4th argument is null diffutils-3.12/gnulib-tests/test-getopt_long.h:108:56: note: Dereferencing argument longopts that is null diff: 2.18.0 diffutils-3.12/gnulib-tests/strerror_r.c:132:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERANGE [valueFlowBailoutIncompleteVar] 2.18.0 diffutils-3.12/gnulib-tests/strerror_r.c:146:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERANGE [valueFlowBailoutIncompleteVar] 2.18.0 diffutils-3.12/gnulib-tests/strerror_r.c:318:13: style: Variable 'errmsg' can be declared as pointer to const [constVariablePointer] head diffutils-3.12/gnulib-tests/strerror_r.c:450:0: error: failed to evaluate #if condition, undefined function-like macro invocation: _GL_GNUC_PREREQ( ... ) [preprocessorErrorDirective] head diffutils-3.12/gnulib-tests/strerror_r.c:450:2: error: failed to evaluate #if condition, undefined function-like macro invocation: _GL_GNUC_PREREQ( ... ) [preprocessorErrorDirective] head diffutils-3.12/gnulib-tests/test-argmatch.c:25:0: error: failed to evaluate #if condition, undefined function-like macro invocation: _GL_GNUC_PREREQ( ... ) [preprocessorErrorDirective] head diffutils-3.12/gnulib-tests/test-argmatch.c:25:2: error: failed to evaluate #if condition, undefined function-like macro invocation: _GL_GNUC_PREREQ( ... ) [preprocessorErrorDirective] 2.18.0 diffutils-3.12/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] 2.18.0 diffutils-3.12/gnulib-tests/test-dirname.c:140:13: style: Variable 'last' can be declared as pointer to const [constVariablePointer] head diffutils-3.12/gnulib-tests/test-dirname.c:56:0: error: failed to evaluate #if condition, undefined function-like macro invocation: ISSLASH( ... ) [preprocessorErrorDirective] head diffutils-3.12/gnulib-tests/test-dirname.c:56:2: error: failed to evaluate #if condition, undefined function-like macro invocation: ISSLASH( ... ) [preprocessorErrorDirective] head diffutils-3.12/gnulib-tests/test-dup2.c:54:0: error: failed to evaluate #if condition, undefined function-like macro invocation: _GL_GNUC_PREREQ( ... ) [preprocessorErrorDirective] head diffutils-3.12/gnulib-tests/test-dup2.c:54:2: error: failed to evaluate #if condition, undefined function-like macro invocation: _GL_GNUC_PREREQ( ... ) [preprocessorErrorDirective] 2.18.0 diffutils-3.12/gnulib-tests/test-dup2.c:70:0: error: #error Please port fcntl to your platform [preprocessorErrorDirective] 2.18.0 diffutils-3.12/gnulib-tests/test-dup2.c:70:4: error: #error Please port fcntl to your platform [preprocessorErrorDirective] head diffutils-3.12/gnulib-tests/test-fcntl.c:48:0: error: failed to evaluate #if condition, undefined function-like macro invocation: _GL_GNUC_PREREQ( ... ) [preprocessorErrorDirective] head diffutils-3.12/gnulib-tests/test-fcntl.c:48:2: error: failed to evaluate #if condition, undefined function-like macro invocation: _GL_GNUC_PREREQ( ... ) [preprocessorErrorDirective] 2.18.0 diffutils-3.12/gnulib-tests/test-fcntl.c:73:0: error: #error Please port fcntl to your platform [preprocessorErrorDirective] 2.18.0 diffutils-3.12/gnulib-tests/test-fcntl.c:73:4: error: #error Please port fcntl to your platform [preprocessorErrorDirective] 2.18.0 diffutils-3.12/gnulib-tests/test-fopen.c:34:11: style: Condition 'result' is always false [knownConditionTrueFalse] diffutils-3.12/gnulib-tests/test-fopen.c:33:27: note: Calling function 'test_fopen' returns 0 diffutils-3.12/gnulib-tests/test-fopen.c:33:27: note: Assignment 'result=test_fopen()', assigned value is 0 diffutils-3.12/gnulib-tests/test-fopen.c:34:11: note: Condition 'result' is always false head diffutils-3.12/gnulib-tests/test-fopen.h:27:0: error: failed to evaluate #if condition, undefined function-like macro invocation: _GL_GNUC_PREREQ( ... ) [preprocessorErrorDirective] head diffutils-3.12/gnulib-tests/test-fopen.h:27:2: error: failed to evaluate #if condition, undefined function-like macro invocation: _GL_GNUC_PREREQ( ... ) [preprocessorErrorDirective] 2.18.0 diffutils-3.12/gnulib-tests/test-fopen.h:41:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] 2.18.0 diffutils-3.12/gnulib-tests/test-fopen.h:42:3: error: Return value of allocation function 'fopen' is not stored. [leakReturnValNotUsed] 2.18.0 diffutils-3.12/gnulib-tests/test-fopen.h:52:3: error: Return value of allocation function 'fopen' is not stored. [leakReturnValNotUsed] 2.18.0 diffutils-3.12/gnulib-tests/test-fopen.h:56:3: error: Return value of allocation function 'fopen' is not stored. [leakReturnValNotUsed] 2.18.0 diffutils-3.12/gnulib-tests/test-fopen.h:61:3: error: Return value of allocation function 'fopen' is not stored. [leakReturnValNotUsed] 2.18.0 diffutils-3.12/gnulib-tests/test-fopen.h:67:3: error: Return value of allocation function 'fopen' is not stored. [leakReturnValNotUsed] 2.18.0 diffutils-3.12/gnulib-tests/test-fopen.h:71:3: error: Return value of allocation function 'fopen' is not stored. [leakReturnValNotUsed] 2.18.0 diffutils-3.12/gnulib-tests/test-fopen.h:75:3: error: Return value of allocation function 'fopen' is not stored. [leakReturnValNotUsed] 2.18.0 diffutils-3.12/gnulib-tests/test-fopen.h:79:3: error: Return value of allocation function 'fopen' is not stored. [leakReturnValNotUsed] head diffutils-3.12/gnulib-tests/test-fstatat.c:38:0: error: failed to evaluate #if condition, undefined function-like macro invocation: _GL_GNUC_PREREQ( ... ) [preprocessorErrorDirective] head diffutils-3.12/gnulib-tests/test-fstatat.c:38:2: error: failed to evaluate #if condition, undefined function-like macro invocation: _GL_GNUC_PREREQ( ... ) [preprocessorErrorDirective] 2.18.0 diffutils-3.12/gnulib-tests/test-fstatat.c:69:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AT_SYMLINK_NOFOLLOW [valueFlowBailoutIncompleteVar] 2.18.0 diffutils-3.12/gnulib-tests/test-fstatat.c:85:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] 2.18.0 diffutils-3.12/gnulib-tests/test-fstatat.c:86:5: error: Invalid fstatat() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] head diffutils-3.12/gnulib-tests/test-getdtablesize.c:29:0: error: failed to evaluate #if condition, undefined function-like macro invocation: _GL_GNUC_PREREQ( ... ) [preprocessorErrorDirective] head diffutils-3.12/gnulib-tests/test-getdtablesize.c:29:2: error: failed to evaluate #if condition, undefined function-like macro invocation: _GL_GNUC_PREREQ( ... ) [preprocessorErrorDirective] 2.18.0 diffutils-3.12/gnulib-tests/test-getdtablesize.c:36:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] 2.18.0 diffutils-3.12/gnulib-tests/test-gmtime_r-mt.c:119:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head diffutils-3.12/gnulib-tests/test-gmtime_r-mt.c:22:0: error: failed to evaluate #if condition, undefined function-like macro invocation: _GL_GNUC_PREREQ( ... ) [preprocessorErrorDirective] head diffutils-3.12/gnulib-tests/test-gmtime_r-mt.c:22:2: error: failed to evaluate #if condition, undefined function-like macro invocation: _GL_GNUC_PREREQ( ... ) [preprocessorErrorDirective] head diffutils-3.12/gnulib-tests/test-intprops.c:21:0: error: failed to evaluate #if condition, undefined function-like macro invocation: _GL_GNUC_PREREQ( ... ) [preprocessorErrorDirective] head diffutils-3.12/gnulib-tests/test-intprops.c:21:2: error: failed to evaluate #if condition, undefined function-like macro invocation: _GL_GNUC_PREREQ( ... ) [preprocessorErrorDirective] 2.18.0 diffutils-3.12/gnulib-tests/test-intprops.c:220:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] 2.18.0 diffutils-3.12/gnulib-tests/test-intprops.c:220:3: error: Signed integer overflow for expression '2147483647+1'. [integerOverflow] 2.18.0 diffutils-3.12/gnulib-tests/test-intprops.c:221:3: style: Same value in both branches of ternary operator. [duplicateValueTernary] 2.18.0 diffutils-3.12/gnulib-tests/test-intprops.c:222:3: style: Same value in both branches of ternary operator. [duplicateValueTernary] 2.18.0 diffutils-3.12/gnulib-tests/test-intprops.c:223:3: error: Signed integer underflow for expression '(-2147483647-1)-1'. [integerOverflow] 2.18.0 diffutils-3.12/gnulib-tests/test-intprops.c:227:3: style: Same value in both branches of ternary operator. [duplicateValueTernary] 2.18.0 diffutils-3.12/gnulib-tests/test-intprops.c:228:3: error: Signed integer overflow for expression '2147483647+1'. [integerOverflow] 2.18.0 diffutils-3.12/gnulib-tests/test-intprops.c:229:3: error: Signed integer underflow for expression '(-2147483647-1)-1'. [integerOverflow] 2.18.0 diffutils-3.12/gnulib-tests/test-intprops.c:230:3: style: Same value in both branches of ternary operator. [duplicateValueTernary] 2.18.0 diffutils-3.12/gnulib-tests/test-intprops.c:241:3: error: Signed integer overflow for expression '2147483647*2147483647'. [integerOverflow] 2.18.0 diffutils-3.12/gnulib-tests/test-intprops.c:242:3: error: Signed integer underflow for expression '2147483647*(-2147483647-1)'. [integerOverflow] 2.18.0 diffutils-3.12/gnulib-tests/test-intprops.c:243:3: error: Signed integer underflow for expression '(-2147483647-1)*2147483647'. [integerOverflow] 2.18.0 diffutils-3.12/gnulib-tests/test-intprops.c:244:3: error: Signed integer overflow for expression '(-2147483647-1)*(-2147483647-1)'. [integerOverflow] 2.18.0 diffutils-3.12/gnulib-tests/test-intprops.c:245:3: error: Signed integer overflow for expression '-1*(-2147483647-1)'. [integerOverflow] 2.18.0 diffutils-3.12/gnulib-tests/test-intprops.c:248:3: style: Same value in both branches of ternary operator. [duplicateValueTernary] 2.18.0 diffutils-3.12/gnulib-tests/test-intprops.c:287:3: style: Comparing expression of type 'signed int' against value -9223372036854775808. Condition is always false. [compareValueOutOfTypeRangeError] 2.18.0 diffutils-3.12/gnulib-tests/test-intprops.c:294:3: style: Comparing expression of type 'signed int' against value 9223372036854775807. Condition is always false. [compareValueOutOfTypeRangeError] 2.18.0 diffutils-3.12/gnulib-tests/test-intprops.c:296:3: style: Comparing expression of type 'signed int' against value 4294967295. Condition is always false. [compareValueOutOfTypeRangeError] 2.18.0 diffutils-3.12/gnulib-tests/test-intprops.c:297:3: error: Signed integer overflow for expression '-2147483647-1'. [integerOverflow] 2.18.0 diffutils-3.12/gnulib-tests/test-intprops.c:304:3: style: Comparing expression of type 'signed int' against value 9223372036854775807. Condition is always false. [compareValueOutOfTypeRangeError] 2.18.0 diffutils-3.12/gnulib-tests/test-intprops.c:315:5: style: Comparing expression of type 'signed int' against value 9223372036854775807. Condition is always false. [compareValueOutOfTypeRangeError] 2.18.0 diffutils-3.12/gnulib-tests/test-intprops.c:316:5: style: Comparing expression of type 'signed int' against value -9223372036854775808. Condition is always false. [compareValueOutOfTypeRangeError] 2.18.0 diffutils-3.12/gnulib-tests/test-intprops.c:330:3: style: Comparing expression of type 'signed int' against value 4294967295. Condition is always false. [compareValueOutOfTypeRangeError] 2.18.0 diffutils-3.12/gnulib-tests/test-intprops.c:339:3: error: Signed integer overflow for expression '0-(-2147483647-1)'. [integerOverflow] 2.18.0 diffutils-3.12/gnulib-tests/test-intprops.c:345:3: error: Signed integer overflow for expression '-2147483647-1'. [integerOverflow] 2.18.0 diffutils-3.12/gnulib-tests/test-intprops.c:348:5: style: Comparing expression of type 'signed int' against value 9223372036854775807. Condition is always false. [compareValueOutOfTypeRangeError] 2.18.0 diffutils-3.12/gnulib-tests/test-intprops.c:349:5: style: Comparing expression of type 'signed int' against value 9223372036854775807. Condition is always false. [compareValueOutOfTypeRangeError] 2.18.0 diffutils-3.12/gnulib-tests/test-intprops.c:373:3: error: Signed integer overflow for expression '(-2147483647-1)*-1'. [integerOverflow] 2.18.0 diffutils-3.12/gnulib-tests/test-intprops.c:373:3: error: Signed integer overflow for expression '-1*(-2147483647-1)'. [integerOverflow] 2.18.0 diffutils-3.12/gnulib-tests/test-intprops.c:395:3: style: Comparing expression of type 'signed int' against value 4294967295. Condition is always false. [compareValueOutOfTypeRangeError] 2.18.0 diffutils-3.12/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] 2.18.0 diffutils-3.12/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] 2.18.0 diffutils-3.12/gnulib-tests/test-intprops.c:412:5: style: Comparing expression of type 'signed int' against value 4294967298. Condition is always false. [compareValueOutOfTypeRangeError] 2.18.0 diffutils-3.12/gnulib-tests/test-intprops.c:440:3: style: Comparing expression of type 'signed int' against value -9223372036854775808. Condition is always false. [compareValueOutOfTypeRangeError] 2.18.0 diffutils-3.12/gnulib-tests/test-intprops.c:453:3: style: Comparing expression of type 'signed int' against value -9223372036854775808. Condition is always false. [compareValueOutOfTypeRangeError] 2.18.0 diffutils-3.12/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] 2.18.0 diffutils-3.12/gnulib-tests/test-intprops.c:91:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head diffutils-3.12/gnulib-tests/test-limits-h.c:23:0: error: failed to evaluate #if condition, undefined function-like macro invocation: _GL_GNUC_PREREQ( ... ) [preprocessorErrorDirective] head diffutils-3.12/gnulib-tests/test-limits-h.c:23:2: error: failed to evaluate #if condition, undefined function-like macro invocation: _GL_GNUC_PREREQ( ... ) [preprocessorErrorDirective] 2.18.0 diffutils-3.12/gnulib-tests/test-localtime_r-mt.c:156:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head diffutils-3.12/gnulib-tests/test-localtime_r-mt.c:22:0: error: failed to evaluate #if condition, undefined function-like macro invocation: _GL_GNUC_PREREQ( ... ) [preprocessorErrorDirective] head diffutils-3.12/gnulib-tests/test-localtime_r-mt.c:22:2: error: failed to evaluate #if condition, undefined function-like macro invocation: _GL_GNUC_PREREQ( ... ) [preprocessorErrorDirective] head diffutils-3.12/gnulib-tests/test-memrchr.c:31:0: error: failed to evaluate #if condition, undefined function-like macro invocation: _GL_GNUC_PREREQ( ... ) [preprocessorErrorDirective] head diffutils-3.12/gnulib-tests/test-memrchr.c:31:2: error: failed to evaluate #if condition, undefined function-like macro invocation: _GL_GNUC_PREREQ( ... ) [preprocessorErrorDirective] 2.18.0 diffutils-3.12/gnulib-tests/test-memrchr.c:40:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] 2.18.0 diffutils-3.12/gnulib-tests/test-memrchr.c:53:9: style: Variable 'page_boundary' can be declared as pointer to const [constVariablePointer] 2.18.0 diffutils-3.12/gnulib-tests/test-memrchr.c:54:7: style: Condition 'page_boundary' is always false [knownConditionTrueFalse] diffutils-3.12/gnulib-tests/test-memrchr.c:53:38: note: Calling function 'zerosize_ptr' returns 0 diffutils-3.12/gnulib-tests/test-memrchr.c:53:38: note: Assignment 'page_boundary=zerosize_ptr()', assigned value is 0 diffutils-3.12/gnulib-tests/test-memrchr.c:54:7: note: Condition 'page_boundary' is always false head diffutils-3.12/gnulib-tests/test-nl_langinfo-mt.c:22:0: error: failed to evaluate #if condition, undefined function-like macro invocation: _GL_GNUC_PREREQ( ... ) [preprocessorErrorDirective] head diffutils-3.12/gnulib-tests/test-nl_langinfo-mt.c:22:2: error: failed to evaluate #if condition, undefined function-like macro invocation: _GL_GNUC_PREREQ( ... ) [preprocessorErrorDirective] 2.18.0 diffutils-3.12/gnulib-tests/test-nl_langinfo-mt.c:249:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head diffutils-3.12/gnulib-tests/test-open.h:20:0: error: failed to evaluate #if condition, undefined function-like macro invocation: _GL_GNUC_PREREQ( ... ) [preprocessorErrorDirective] head diffutils-3.12/gnulib-tests/test-open.h:20:2: error: failed to evaluate #if condition, undefined function-like macro invocation: _GL_GNUC_PREREQ( ... ) [preprocessorErrorDirective] 2.18.0 diffutils-3.12/gnulib-tests/test-open.h:52:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] 2.18.0 diffutils-3.12/gnulib-tests/test-openat.c:43:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] 2.18.0 diffutils-3.12/gnulib-tests/test-openat.c:66:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] 2.18.0 diffutils-3.12/gnulib-tests/test-openat.c:67:5: error: Return value of allocation function 'openat' is not stored. [leakReturnValNotUsed] 2.18.0 diffutils-3.12/gnulib-tests/test-openat.c:73:5: error: Return value of allocation function 'openat' is not stored. [leakReturnValNotUsed] 2.18.0 diffutils-3.12/gnulib-tests/test-openat.c:88:3: error: Return value of allocation function 'openat' is not stored. [leakReturnValNotUsed] 2.18.0 diffutils-3.12/gnulib-tests/test-openat.c:94:5: error: Return value of allocation function 'openat' is not stored. [leakReturnValNotUsed] head diffutils-3.12/gnulib-tests/test-perror2.c:26:0: error: failed to evaluate #if condition, undefined function-like macro invocation: _GL_GNUC_PREREQ( ... ) [preprocessorErrorDirective] head diffutils-3.12/gnulib-tests/test-perror2.c:26:2: error: failed to evaluate #if condition, undefined function-like macro invocation: _GL_GNUC_PREREQ( ... ) [preprocessorErrorDirective] 2.18.0 diffutils-3.12/gnulib-tests/test-perror2.c:49:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] 2.18.0 diffutils-3.12/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] diffutils-3.12/gnulib-tests/test-pselect.c:48:31: note: You might need to cast the function pointer here diffutils-3.12/gnulib-tests/test-pselect.c:32:28: note: Parameter 'timeout' can be declared as pointer to const 2.18.0 diffutils-3.12/gnulib-tests/test-pselect.c:35:20: style: Variable 'pts' can be declared as pointer to const [constVariablePointer] 2.18.0 diffutils-3.12/gnulib-tests/test-pselect.c:49:11: style: Condition 'result' is always false [knownConditionTrueFalse] diffutils-3.12/gnulib-tests/test-select.h:452:16: note: Assignment 'result=0', assigned value is 0 diffutils-3.12/gnulib-tests/test-select.h:459:3: note: Compound assignment '+=', assigned value is 0 diffutils-3.12/gnulib-tests/test-select.h:460:3: note: Compound assignment '+=', assigned value is 0 diffutils-3.12/gnulib-tests/test-select.h:461:3: note: Compound assignment '+=', assigned value is 0 diffutils-3.12/gnulib-tests/test-select.h:462:3: note: Compound assignment '+=', assigned value is 0 diffutils-3.12/gnulib-tests/test-select.h:463:3: note: Compound assignment '+=', assigned value is 0 diffutils-3.12/gnulib-tests/test-select.h:464:3: note: Compound assignment '+=', assigned value is 0 diffutils-3.12/gnulib-tests/test-pselect.c:48:30: note: Calling function 'test_function' returns 0 diffutils-3.12/gnulib-tests/test-pselect.c:48:30: note: Assignment 'result=test_function(my_select)', assigned value is 0 diffutils-3.12/gnulib-tests/test-pselect.c:49:11: note: Condition 'result' is always false 2.18.0 diffutils-3.12/gnulib-tests/test-select.c:35:11: style: Condition 'result' is always false [knownConditionTrueFalse] diffutils-3.12/gnulib-tests/test-select.h:452:16: note: Assignment 'result=0', assigned value is 0 diffutils-3.12/gnulib-tests/test-select.h:459:3: note: Compound assignment '+=', assigned value is 0 diffutils-3.12/gnulib-tests/test-select.h:460:3: note: Compound assignment '+=', assigned value is 0 diffutils-3.12/gnulib-tests/test-select.h:461:3: note: Compound assignment '+=', assigned value is 0 diffutils-3.12/gnulib-tests/test-select.h:462:3: note: Compound assignment '+=', assigned value is 0 diffutils-3.12/gnulib-tests/test-select.h:463:3: note: Compound assignment '+=', assigned value is 0 diffutils-3.12/gnulib-tests/test-select.h:464:3: note: Compound assignment '+=', assigned value is 0 diffutils-3.12/gnulib-tests/test-select.c:34:30: note: Calling function 'test_function' returns 0 diffutils-3.12/gnulib-tests/test-select.c:34:30: note: Assignment 'result=test_function(select)', assigned value is 0 diffutils-3.12/gnulib-tests/test-select.c:35:11: note: Condition 'result' is always false 2.18.0 diffutils-3.12/gnulib-tests/test-select.h:116:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] 2.18.0 diffutils-3.12/gnulib-tests/test-select.h:234:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] 2.18.0 diffutils-3.12/gnulib-tests/test-select.h:241:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] 2.18.0 diffutils-3.12/gnulib-tests/test-select.h:269:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] 2.18.0 diffutils-3.12/gnulib-tests/test-select.h:303:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FD_SETSIZE [valueFlowBailoutIncompleteVar] 2.18.0 diffutils-3.12/gnulib-tests/test-select.h:340:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] 2.18.0 diffutils-3.12/gnulib-tests/test-select.h:366:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] 2.18.0 diffutils-3.12/gnulib-tests/test-select.h:402:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head diffutils-3.12/gnulib-tests/test-select.h:41:0: error: failed to evaluate #if condition, undefined function-like macro invocation: _GL_GNUC_PREREQ( ... ) [preprocessorErrorDirective] head diffutils-3.12/gnulib-tests/test-select.h:41:2: error: failed to evaluate #if condition, undefined function-like macro invocation: _GL_GNUC_PREREQ( ... ) [preprocessorErrorDirective] 2.18.0 diffutils-3.12/gnulib-tests/test-select.h:424:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] 2.18.0 diffutils-3.12/gnulib-tests/test-select.h:440:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] 2.18.0 diffutils-3.12/gnulib-tests/test-select.h:65:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] 2.18.0 diffutils-3.12/gnulib-tests/test-select.h:68:7: style: Condition '!failures' is always true [knownConditionTrueFalse] diffutils-3.12/gnulib-tests/test-select.h:63:14: note: Assignment 'failures=0', assigned value is 0 diffutils-3.12/gnulib-tests/test-select.h:68:7: note: Condition '!failures' is always true 2.18.0 diffutils-3.12/gnulib-tests/test-select.h:89:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] 2.18.0 diffutils-3.12/gnulib-tests/test-setlocale_null-mt-all.c:148:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head diffutils-3.12/gnulib-tests/test-setlocale_null-mt-all.c:22:0: error: failed to evaluate #if condition, undefined function-like macro invocation: _GL_GNUC_PREREQ( ... ) [preprocessorErrorDirective] head diffutils-3.12/gnulib-tests/test-setlocale_null-mt-all.c:22:2: error: failed to evaluate #if condition, undefined function-like macro invocation: _GL_GNUC_PREREQ( ... ) [preprocessorErrorDirective] 2.18.0 diffutils-3.12/gnulib-tests/test-setlocale_null-mt-one.c:148:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head diffutils-3.12/gnulib-tests/test-setlocale_null-mt-one.c:22:0: error: failed to evaluate #if condition, undefined function-like macro invocation: _GL_GNUC_PREREQ( ... ) [preprocessorErrorDirective] head diffutils-3.12/gnulib-tests/test-setlocale_null-mt-one.c:22:2: error: failed to evaluate #if condition, undefined function-like macro invocation: _GL_GNUC_PREREQ( ... ) [preprocessorErrorDirective] head diffutils-3.12/gnulib-tests/vasnprintf.c:67:0: error: failed to evaluate #if condition, undefined function-like macro invocation: _GL_GNUC_PREREQ( ... ) [preprocessorErrorDirective] head diffutils-3.12/gnulib-tests/vasnprintf.c:67:2: error: failed to evaluate #if condition, undefined function-like macro invocation: _GL_GNUC_PREREQ( ... ) [preprocessorErrorDirective] head diffutils-3.12/lib/fnmatch_loop.c:1150:31: style: Variable 'runp' can be declared as pointer to const [constVariablePointer] head diffutils-3.12/lib/quotearg.c:25:0: error: failed to evaluate #if condition, undefined function-like macro invocation: _GL_GNUC_PREREQ( ... ) [preprocessorErrorDirective] head diffutils-3.12/lib/quotearg.c:25:2: error: failed to evaluate #if condition, undefined function-like macro invocation: _GL_GNUC_PREREQ( ... ) [preprocessorErrorDirective] head diffutils-3.12/lib/regex.c:25:0: error: failed to evaluate #if condition, undefined function-like macro invocation: __GNUC_PREREQ( ... ) [preprocessorErrorDirective] head diffutils-3.12/lib/regex.c:25:3: error: failed to evaluate #if condition, undefined function-like macro invocation: __GNUC_PREREQ( ... ) [preprocessorErrorDirective] 2.18.0 diffutils-3.12/lib/xfreopen.c:31:8: error: Return value of allocation function 'freopen' is not stored. [leakReturnValNotUsed] head diffutils-3.12/src/cmp.c:681:14: style: Variable 'p' can be declared as pointer to const [constVariablePointer] head diffutils-3.12/src/context.c:224:22: style: Variable 'next' can be declared as pointer to const [constVariablePointer] head diffutils-3.12/src/context.c:262:22: style: Variable 'next' can be declared as pointer to const [constVariablePointer] head diffutils-3.12/src/context.c:365:18: style: Variable 'next' can be declared as pointer to const [constVariablePointer] head diffutils-3.12/src/util.c:1265:18: style: Variable 'next' can be declared as pointer to const [constVariablePointer] DONE