2025-10-30 03:45 ftp://ftp.de.debian.org/debian/pool/main/g/grep/grep_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: 44b2b45 (2025-10-29 21:13:17 +0100) count: 940 990 elapsed-time: 24.8 30.3 head-timing-info: old-timing-info: head results: grep-3.12/gnulib-tests/w32sock.h:47:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/accept.c:36:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_SOCKET [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/inttostr.h:22:0: error: #error "Please include config.h first." [preprocessorErrorDirective] grep-3.12/gnulib-tests/inttostr.h:22:3: error: #error "Please include config.h first." [preprocessorErrorDirective] grep-3.12/gnulib-tests/vasnprintf.h:22:0: error: #error "Please include config.h first." [preprocessorErrorDirective] grep-3.12/gnulib-tests/vasnprintf.h:22:3: error: #error "Please include config.h first." [preprocessorErrorDirective] grep-3.12/gnulib-tests/bind.c:36:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_SOCKET [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/c-strcase.h:23:0: error: #error "Please include config.h first." [preprocessorErrorDirective] grep-3.12/gnulib-tests/c-strcase.h:23:3: error: #error "Please include config.h first." [preprocessorErrorDirective] grep-3.12/gnulib-tests/concat-filename.h:22:0: error: #error "Please include config.h first." [preprocessorErrorDirective] grep-3.12/gnulib-tests/concat-filename.h:22:3: error: #error "Please include config.h first." [preprocessorErrorDirective] grep-3.12/gnulib-tests/connect.c:36:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_SOCKET [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/dup-safer-flag.c:36:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CLOEXEC [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/fd-safer-flag.c:45:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/fdopen.c:59:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/getlocalename_l-unsafe.c:661:0: error: #error "Please port gnulib getlocalename_l-unsafe.c to your platform! Report this to bug-gnulib." [preprocessorErrorDirective] grep-3.12/gnulib-tests/getlocalename_l-unsafe.c:661:3: error: #error "Please port gnulib getlocalename_l-unsafe.c to your platform! Report this to bug-gnulib." [preprocessorErrorDirective] grep-3.12/gnulib-tests/gettimeofday.c:142:0: error: #error "Only 1-second nominal clock resolution found. Is that intended?" \ [preprocessorErrorDirective] grep-3.12/gnulib-tests/gettimeofday.c:142:5: error: #error "Only 1-second nominal clock resolution found. Is that intended?" \ [preprocessorErrorDirective] grep-3.12/gnulib-tests/hash-pjw.h:19:0: error: #error "Please include config.h first." [preprocessorErrorDirective] grep-3.12/gnulib-tests/hash-pjw.h:19:3: error: #error "Please include config.h first." [preprocessorErrorDirective] grep-3.12/gnulib-tests/inet_pton.c:95:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/inet_pton.c:152:16: error: Uninitialized variable: tmp [uninitvar] grep-3.12/gnulib-tests/inet_pton.c:150:14: note: Assuming condition is false grep-3.12/gnulib-tests/inet_pton.c:152:16: note: Uninitialized variable: tmp grep-3.12/gnulib-tests/ioctl.c:68:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_HANDLE_VALUE [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/ioctl.c:62:43: style: Parameter 'arg' can be declared as pointer to const [constParameterPointer] grep-3.12/gnulib-tests/isnan.c:80:24: style: union member 'memory_double::value' is never used. [unusedStructMember] grep-3.12/gnulib-tests/isnan.c:80:44: style: union member 'memory_double::word' is never used. [unusedStructMember] grep-3.12/gnulib-tests/listen.c:36:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_SOCKET [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/locale.c:54:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/localename.h:22:0: error: #error "Please include config.h first." [preprocessorErrorDirective] grep-3.12/gnulib-tests/localename.h:22:3: error: #error "Please include config.h first." [preprocessorErrorDirective] grep-3.12/gnulib-tests/perror.c:35:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STACKBUF_LEN [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/xsize.h:23:0: error: #error "Please include config.h first." [preprocessorErrorDirective] grep-3.12/gnulib-tests/xsize.h:23:3: error: #error "Please include config.h first." [preprocessorErrorDirective] grep-3.12/gnulib-tests/pselect.c:48:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FD_SETSIZE [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/pthread-cond.c:169:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETIMEDOUT [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/pthread-cond.c:43:58: style: Parameter 'attr' can be declared as pointer to const [constParameterPointer] grep-3.12/gnulib-tests/pthread-cond.c:103:47: style: Parameter 'cond' can be declared as pointer to const [constParameterPointer] grep-3.12/gnulib-tests/pthread-cond.c:179:49: style: Parameter 'cond' can be declared as pointer to const [constParameterPointer] grep-3.12/gnulib-tests/pthread-cond.c:186:52: style: Parameter 'cond' can be declared as pointer to const [constParameterPointer] grep-3.12/gnulib-tests/pthread-cond.c:193:50: style: Parameter 'cond' can be declared as pointer to const [constParameterPointer] grep-3.12/gnulib-tests/pthread-mutex.c:36:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTHREAD_MUTEX_STALLED [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/pthread-mutex.c:43:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTHREAD_MUTEX_DEFAULT [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/pthread-mutex.c:51:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTHREAD_MUTEX_DEFAULT [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/pthread-mutex.c:65:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTHREAD_MUTEX_STALLED [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/pthread-mutex.c:72:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTHREAD_MUTEX_STALLED [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/pthread-mutex.c:80:60: style: Parameter 'attr' can be declared as pointer to const [constParameterPointer] grep-3.12/gnulib-tests/pthread-mutex.c:210:49: style: Parameter 'mutex' can be declared as pointer to const [constParameterPointer] grep-3.12/gnulib-tests/pthread-mutex.c:218:49: style: Parameter 'mutex' can be declared as pointer to const [constParameterPointer] grep-3.12/gnulib-tests/pthread-mutex.c:226:52: style: Parameter 'mutex' can be declared as pointer to const [constParameterPointer] grep-3.12/gnulib-tests/pthread-mutex.c:234:54: style: Parameter 'mutex' can be declared as pointer to const [constParameterPointer] grep-3.12/gnulib-tests/pthread-mutex.c:243:51: style: Parameter 'mutex' can be declared as pointer to const [constParameterPointer] grep-3.12/gnulib-tests/pthread-mutex.c:252:52: style: Parameter 'mutex' can be declared as pointer to const [constParameterPointer] grep-3.12/gnulib-tests/pthread-rwlock.c:564:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EDEADLK [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/pthread-rwlock.c:573:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EDEADLK [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/pthread-rwlock.c:608:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EPERM [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/pthread-rwlock.c:620:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EBUSY [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/pthread-rwlock.c:47:62: style: Parameter 'attr' can be declared as pointer to const [constParameterPointer] grep-3.12/gnulib-tests/pthread-rwlock.c:617:43: style: Parameter 'lock' can be declared as pointer to const [constParameterPointer] grep-3.12/gnulib-tests/pthread-thread.c:37:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTHREAD_CREATE_JOINABLE [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/pthread-thread.c:44:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTHREAD_CREATE_JOINABLE [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/pthread-thread.c:51:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTHREAD_CREATE_JOINABLE [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/pthread-thread.c:142:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EAGAIN [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/pthread-thread.c:161:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/pthread-thread.c:168:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/pthread-thread.c:60:50: style: Parameter 'attr' can be declared as pointer to const [constParameterPointer] grep-3.12/gnulib-tests/pthread-thread.c:138:28: style: Parameter 'threadp' can be declared as pointer to const [constParameterPointer] grep-3.12/gnulib-tests/pthread-thread.c:139:57: style: Parameter 'arg' can be declared as pointer to const [constParameterPointer] grep-3.12/gnulib-tests/pthread-thread.c:172:21: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] grep-3.12/gnulib-tests/pthread_mutex_timedlock.c:48:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EBUSY [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/putenv.c:128:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable environ [valueFlowBailoutIncompleteVar] grep-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] grep-3.12/gnulib-tests/random_r.c:165:18: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] grep-3.12/gnulib-tests/select.c:576:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FD_SETSIZE [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/setenv.c:138:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable environ [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/setenv.c:307:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/setenv.c:322:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable environ [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/setsockopt.c:40:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_SOCKET [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/isnand-nolibm.h:19:0: error: #error "Please include config.h first." [preprocessorErrorDirective] grep-3.12/gnulib-tests/isnand-nolibm.h:19:3: error: #error "Please include config.h first." [preprocessorErrorDirective] grep-3.12/gnulib-tests/isnanf-nolibm.h:19:0: error: #error "Please include config.h first." [preprocessorErrorDirective] grep-3.12/gnulib-tests/isnanf-nolibm.h:19:3: error: #error "Please include config.h first." [preprocessorErrorDirective] grep-3.12/gnulib-tests/isnanl-nolibm.h:19:0: error: #error "Please include config.h first." [preprocessorErrorDirective] grep-3.12/gnulib-tests/isnanl-nolibm.h:19:3: error: #error "Please include config.h first." [preprocessorErrorDirective] grep-3.12/gnulib-tests/sigprocmask.c:116:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSIG [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/sigprocmask.c:139:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSIG [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/sigprocmask.c:159:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSIG [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/sigprocmask.c:180:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSIG [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/sigprocmask.c:200:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSIG [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/sigprocmask.c:210:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSIG [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/sigprocmask.c:245:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/sigprocmask.c:300:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_ERR [valueFlowBailoutIncompleteVar] grep-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] grep-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] grep-3.12/gnulib-tests/sockets.h:25:0: error: #error "Please include config.h first." [preprocessorErrorDirective] grep-3.12/gnulib-tests/sockets.h:25:3: error: #error "Please include config.h first." [preprocessorErrorDirective] grep-3.12/gnulib-tests/strerror_r.c:450:0: error: failed to evaluate #if condition, undefined function-like macro invocation: _GL_GNUC_PREREQ( ... ) [preprocessorErrorDirective] grep-3.12/gnulib-tests/strerror_r.c:450:2: error: failed to evaluate #if condition, undefined function-like macro invocation: _GL_GNUC_PREREQ( ... ) [preprocessorErrorDirective] grep-3.12/gnulib-tests/symlink.c:53:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-alignasof.c:83:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-alignof.c:27:23: style: struct member 'struct1::a' is never used. [unusedStructMember] grep-3.12/gnulib-tests/test-alignof.c:28:23: style: struct member 'struct2::a' is never used. [unusedStructMember] grep-3.12/gnulib-tests/test-alignof.c:29:23: style: struct member 'struct3::a' is never used. [unusedStructMember] grep-3.12/gnulib-tests/test-alignof.c:30:23: style: struct member 'struct4::a' is never used. [unusedStructMember] grep-3.12/gnulib-tests/test-argmatch.c:25:0: error: failed to evaluate #if condition, undefined function-like macro invocation: _GL_GNUC_PREREQ( ... ) [preprocessorErrorDirective] grep-3.12/gnulib-tests/test-argmatch.c:25:2: error: failed to evaluate #if condition, undefined function-like macro invocation: _GL_GNUC_PREREQ( ... ) [preprocessorErrorDirective] grep-3.12/gnulib-tests/test-assert.c:30:8: error: Syntax Error: AST broken, 'assert' doesn't have two operands. [internalAstError] grep-3.12/gnulib-tests/test-binary-io.c:38:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-binary-io.c:33:34: style: Parameter 'argv' can be declared as const array [constParameter] grep-3.12/gnulib-tests/test-bitrotate.c:28:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-btoc32.c:38:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-btoc32.c:33:23: style: Parameter 'argv' can be declared as const array [constParameter] grep-3.12/gnulib-tests/test-btowc.c:37:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-btowc.c:0:0: debug: ValueFlow maximum iterations exceeded [valueFlowMaxIterations] grep-3.12/gnulib-tests/test-btowc.c:32:23: style: Parameter 'argv' can be declared as const array [constParameter] grep-3.12/gnulib-tests/test-c-ctype.c:39:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-c-ctype.c:67:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-c-ctype.c:222:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-c-ctype.c:65:16: style: Condition '0<=c' is always true [knownConditionTrueFalse] grep-3.12/gnulib-tests/test-c-stack.c:80:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable exit_failure [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-c-strcasestr.c:34:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-c32_apply_type_test.c:34:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-c32_get_type_test.c:34:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-c32isalnum.c:42:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-c32isalnum.c:54:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-c32isalnum.c:48:23: style: Parameter 'argv' can be declared as const array [constParameter] grep-3.12/gnulib-tests/test-c32isalpha.c:42:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-c32isalpha.c:54:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-c32isalpha.c:48:23: style: Parameter 'argv' can be declared as const array [constParameter] grep-3.12/gnulib-tests/test-c32isblank.c:42:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-c32isblank.c:54:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-c32isblank.c:48:23: style: Parameter 'argv' can be declared as const array [constParameter] grep-3.12/gnulib-tests/test-c32iscntrl.c:42:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-c32iscntrl.c:54:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-c32iscntrl.c:48:23: style: Parameter 'argv' can be declared as const array [constParameter] grep-3.12/gnulib-tests/test-c32isdigit.c:42:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-c32isdigit.c:54:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-c32isdigit.c:48:23: style: Parameter 'argv' can be declared as const array [constParameter] grep-3.12/gnulib-tests/test-c32isgraph.c:42:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-c32isgraph.c:54:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-c32isgraph.c:48:23: style: Parameter 'argv' can be declared as const array [constParameter] grep-3.12/gnulib-tests/test-c32islower.c:42:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-c32islower.c:54:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-c32islower.c:48:23: style: Parameter 'argv' can be declared as const array [constParameter] grep-3.12/gnulib-tests/test-c32isprint.c:42:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-c32isprint.c:54:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-c32isprint.c:48:23: style: Parameter 'argv' can be declared as const array [constParameter] grep-3.12/gnulib-tests/test-c32ispunct.c:42:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-c32ispunct.c:54:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-c32ispunct.c:48:23: style: Parameter 'argv' can be declared as const array [constParameter] grep-3.12/gnulib-tests/test-c32isspace.c:42:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-c32isspace.c:54:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-c32isspace.c:48:23: style: Parameter 'argv' can be declared as const array [constParameter] grep-3.12/gnulib-tests/test-c32isupper.c:42:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-c32isupper.c:54:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-c32isupper.c:48:23: style: Parameter 'argv' can be declared as const array [constParameter] grep-3.12/gnulib-tests/test-c32isxdigit.c:42:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-c32isxdigit.c:54:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-c32isxdigit.c:48:23: style: Parameter 'argv' can be declared as const array [constParameter] grep-3.12/gnulib-tests/test-c32rtomb-w32.c:347:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-c32rtomb.c:45:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-c32rtomb.c:63:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-c32rtomb.c:47:28: error: Null pointer dereference [nullPointer] grep-3.12/gnulib-tests/test-c32rtomb.c:52:29: error: Null pointer dereference [nullPointer] grep-3.12/gnulib-tests/test-c32rtomb.c:69:29: error: Null pointer dereference [nullPointer] grep-3.12/gnulib-tests/test-c32rtomb.c:103:44: error: Null pointer dereference [nullPointer] grep-3.12/gnulib-tests/test-c32rtomb.c:112:33: error: Null pointer dereference [nullPointer] grep-3.12/gnulib-tests/test-c32rtomb.c:114:41: error: Null pointer dereference [nullPointer] grep-3.12/gnulib-tests/test-c32rtomb.c:57:23: style: Parameter 'argv' can be declared as const array [constParameter] grep-3.12/gnulib-tests/test-c32tolower.c:52:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-c32tolower.c:79:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-c32tolower.c:72:23: style: Parameter 'argv' can be declared as const array [constParameter] grep-3.12/gnulib-tests/test-c32toupper.c:52:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-c32toupper.c:79:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-c32toupper.c:72:23: style: Parameter 'argv' can be declared as const array [constParameter] grep-3.12/gnulib-tests/test-calloc-gnu.c:39:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-calloc-gnu.c:48:15: style: Variable 'p' can be declared as pointer to const [constVariablePointer] grep-3.12/gnulib-tests/test-calloc-posix.c:44:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-calloc-posix.c:42:13: style: Variable 'p' can be declared as pointer to const [constVariablePointer] grep-3.12/gnulib-tests/test-chdir.c:30:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-cloexec.c:57:0: error: #error Please port fcntl to your platform [preprocessorErrorDirective] grep-3.12/gnulib-tests/test-cloexec.c:57:4: error: #error Please port fcntl to your platform [preprocessorErrorDirective] grep-3.12/gnulib-tests/test-close.c:34:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] grep-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] grep-3.12/gnulib-tests/test-dfa-match-aux.c:60:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_BINARY [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-dfa-match-aux.c:76:5: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'ptrdiff_t {aka signed int}'. [invalidPrintfArgType_sint] grep-3.12/gnulib-tests/test-dfa-match-aux.c:50:21: style: Variable 'p' can be declared as pointer to const [constVariablePointer] grep-3.12/gnulib-tests/test-dirfd.c:43:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-dirfd.c:42:19: warning: If resource allocation fails, then there is a possible null pointer dereference: d [nullPointerOutOfResources] grep-3.12/gnulib-tests/test-dirfd.c:41:20: note: Assuming allocation function fails grep-3.12/gnulib-tests/test-dirfd.c:41:20: note: Assignment 'd=opendir(".")', assigned value is 0 grep-3.12/gnulib-tests/test-dirfd.c:42:19: note: Null pointer dereference grep-3.12/gnulib-tests/test-dirfd.c:41:8: style: Variable 'd' can be declared as pointer to const [constVariablePointer] grep-3.12/gnulib-tests/test-dup-safer.c:73:0: error: #error Please port fcntl to your platform [preprocessorErrorDirective] grep-3.12/gnulib-tests/test-dup-safer.c:73:4: error: #error Please port fcntl to your platform [preprocessorErrorDirective] grep-3.12/gnulib-tests/test-dup.c:34:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] grep-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] grep-3.12/gnulib-tests/test-dup2.c:54:0: error: failed to evaluate #if condition, undefined function-like macro invocation: _GL_GNUC_PREREQ( ... ) [preprocessorErrorDirective] grep-3.12/gnulib-tests/test-dup2.c:54:2: error: failed to evaluate #if condition, undefined function-like macro invocation: _GL_GNUC_PREREQ( ... ) [preprocessorErrorDirective] grep-3.12/gnulib-tests/test-dynarray.c:47:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-environ.c:33:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable environ [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-errno-h.c:147:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-error.c:40:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-exclude.c:113:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable add_exclude [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-fchdir.c:42:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-fcntl-h.c:53:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-open.h:20:0: error: failed to evaluate #if condition, undefined function-like macro invocation: _GL_GNUC_PREREQ( ... ) [preprocessorErrorDirective] grep-3.12/gnulib-tests/test-open.h:20:2: error: failed to evaluate #if condition, undefined function-like macro invocation: _GL_GNUC_PREREQ( ... ) [preprocessorErrorDirective] grep-3.12/gnulib-tests/test-fcntl.c:48:0: error: failed to evaluate #if condition, undefined function-like macro invocation: _GL_GNUC_PREREQ( ... ) [preprocessorErrorDirective] grep-3.12/gnulib-tests/test-fcntl.c:48:2: error: failed to evaluate #if condition, undefined function-like macro invocation: _GL_GNUC_PREREQ( ... ) [preprocessorErrorDirective] grep-3.12/gnulib-tests/test-fdopen.c:45:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-fdopen.c:46:13: error: Return value of allocation function 'fdopen' is not stored. [leakReturnValNotUsed] grep-3.12/gnulib-tests/test-fdopendir.c:39:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] grep-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] grep-3.12/gnulib-tests/test-fdopendir.c:42:3: error: Return value of allocation function 'fdopendir' is not stored. [leakReturnValNotUsed] grep-3.12/gnulib-tests/test-fdopendir.c:50:5: error: Return value of allocation function 'fdopendir' is not stored. [leakReturnValNotUsed] grep-3.12/gnulib-tests/test-fdopendir.c:56:5: error: Return value of allocation function 'fdopendir' is not stored. [leakReturnValNotUsed] grep-3.12/gnulib-tests/test-fgetc.c:49:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] grep-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] grep-3.12/gnulib-tests/test-fnmatch-w32.c:409:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-fnmatch.c:40:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-fnmatch.c:716:22: style: Condition 'iswpunct(0x1D100)' is always false [knownConditionTrueFalse] grep-3.12/gnulib-tests/test-fnmatch.c:37:23: style: Parameter 'argv' can be declared as const array [constParameter] grep-3.12/gnulib-tests/test-fopen-gnu.c:49:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-fopen.h:27:0: error: failed to evaluate #if condition, undefined function-like macro invocation: _GL_GNUC_PREREQ( ... ) [preprocessorErrorDirective] grep-3.12/gnulib-tests/test-fopen.h:27:2: error: failed to evaluate #if condition, undefined function-like macro invocation: _GL_GNUC_PREREQ( ... ) [preprocessorErrorDirective] grep-3.12/gnulib-tests/test-fpending.c:32:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-fputc.c:51:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] grep-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] grep-3.12/gnulib-tests/test-fread.c:49:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] grep-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] grep-3.12/gnulib-tests/test-free.c:49:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-fstat.c:36:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] grep-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] grep-3.12/gnulib-tests/test-fstatat.c:38:0: error: failed to evaluate #if condition, undefined function-like macro invocation: _GL_GNUC_PREREQ( ... ) [preprocessorErrorDirective] grep-3.12/gnulib-tests/test-fstatat.c:38:2: error: failed to evaluate #if condition, undefined function-like macro invocation: _GL_GNUC_PREREQ( ... ) [preprocessorErrorDirective] grep-3.12/gnulib-tests/test-ftruncate.c:36:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-ftruncate.c:30:34: style: Parameter 'argv' can be declared as const array [constParameter] grep-3.12/gnulib-tests/test-fwrite.c:52:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] grep-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] grep-3.12/gnulib-tests/test-getcwd-lgpl.c:44:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-getdtablesize.c:29:0: error: failed to evaluate #if condition, undefined function-like macro invocation: _GL_GNUC_PREREQ( ... ) [preprocessorErrorDirective] grep-3.12/gnulib-tests/test-getdtablesize.c:29:2: error: failed to evaluate #if condition, undefined function-like macro invocation: _GL_GNUC_PREREQ( ... ) [preprocessorErrorDirective] grep-3.12/gnulib-tests/test-getopt.h:40:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-getopt.h:115:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optind [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-getopt_long.h:55:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable opterr [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-getopt_long.h:126:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optind [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-getopt_long.h:1845:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optind [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-getopt_long.h:1952:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optind [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-getopt-main.h:51:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-getopt_long.h:1586:9: warning: Opposite inner 'if' condition leads to a dead code block. [oppositeInnerCondition] grep-3.12/gnulib-tests/test-getopt_long.h:1583:29: note: outer condition: non_options_count==2 grep-3.12/gnulib-tests/test-getopt_long.h:1586:9: note: opposite inner condition: !(non_options_count==2) grep-3.12/gnulib-tests/test-getopt_long.h:108:56: warning: Possible null pointer dereference: longopts [nullPointer] grep-3.12/gnulib-tests/test-getopt_long.h:331:43: note: Calling function 'do_getopt_long', 4th argument 'NULL' value is 0 grep-3.12/gnulib-tests/test-getopt_long.h:108:56: note: Null pointer dereference grep-3.12/gnulib-tests/test-getopt.h:93:11: style: Redundant initialization for 'posixly'. The initialized value is overwritten before it is read. [redundantInitialization] grep-3.12/gnulib-tests/test-getopt.h:85:16: note: posixly is initialized grep-3.12/gnulib-tests/test-getopt.h:93:11: note: posixly is overwritten grep-3.12/gnulib-tests/test-getopt.h:99:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] grep-3.12/gnulib-tests/test-getopt_long.h:19:12: note: Shadowed declaration grep-3.12/gnulib-tests/test-getopt.h:99:11: note: Shadow variable grep-3.12/gnulib-tests/test-getopt.h:100:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] grep-3.12/gnulib-tests/test-getopt_long.h:20:12: note: Shadowed declaration grep-3.12/gnulib-tests/test-getopt.h:100:11: note: Shadow variable grep-3.12/gnulib-tests/test-getopt.h:131:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] grep-3.12/gnulib-tests/test-getopt_long.h:19:12: note: Shadowed declaration grep-3.12/gnulib-tests/test-getopt.h:131:11: note: Shadow variable grep-3.12/gnulib-tests/test-getopt.h:132:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] grep-3.12/gnulib-tests/test-getopt_long.h:20:12: note: Shadowed declaration grep-3.12/gnulib-tests/test-getopt.h:132:11: note: Shadow variable grep-3.12/gnulib-tests/test-getopt.h:164:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] grep-3.12/gnulib-tests/test-getopt_long.h:19:12: note: Shadowed declaration grep-3.12/gnulib-tests/test-getopt.h:164:11: note: Shadow variable grep-3.12/gnulib-tests/test-getopt.h:165:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] grep-3.12/gnulib-tests/test-getopt_long.h:20:12: note: Shadowed declaration grep-3.12/gnulib-tests/test-getopt.h:165:11: note: Shadow variable grep-3.12/gnulib-tests/test-getopt.h:196:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] grep-3.12/gnulib-tests/test-getopt_long.h:19:12: note: Shadowed declaration grep-3.12/gnulib-tests/test-getopt.h:196:11: note: Shadow variable grep-3.12/gnulib-tests/test-getopt.h:197:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] grep-3.12/gnulib-tests/test-getopt_long.h:20:12: note: Shadowed declaration grep-3.12/gnulib-tests/test-getopt.h:197:11: note: Shadow variable grep-3.12/gnulib-tests/test-getopt.h:231:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] grep-3.12/gnulib-tests/test-getopt_long.h:19:12: note: Shadowed declaration grep-3.12/gnulib-tests/test-getopt.h:231:11: note: Shadow variable grep-3.12/gnulib-tests/test-getopt.h:232:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] grep-3.12/gnulib-tests/test-getopt_long.h:20:12: note: Shadowed declaration grep-3.12/gnulib-tests/test-getopt.h:232:11: note: Shadow variable grep-3.12/gnulib-tests/test-getopt.h:262:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] grep-3.12/gnulib-tests/test-getopt_long.h:19:12: note: Shadowed declaration grep-3.12/gnulib-tests/test-getopt.h:262:11: note: Shadow variable grep-3.12/gnulib-tests/test-getopt.h:263:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] grep-3.12/gnulib-tests/test-getopt_long.h:20:12: note: Shadowed declaration grep-3.12/gnulib-tests/test-getopt.h:263:11: note: Shadow variable grep-3.12/gnulib-tests/test-getopt.h:294:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] grep-3.12/gnulib-tests/test-getopt_long.h:19:12: note: Shadowed declaration grep-3.12/gnulib-tests/test-getopt.h:294:11: note: Shadow variable grep-3.12/gnulib-tests/test-getopt.h:295:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] grep-3.12/gnulib-tests/test-getopt_long.h:20:12: note: Shadowed declaration grep-3.12/gnulib-tests/test-getopt.h:295:11: note: Shadow variable grep-3.12/gnulib-tests/test-getopt.h:430:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] grep-3.12/gnulib-tests/test-getopt_long.h:19:12: note: Shadowed declaration grep-3.12/gnulib-tests/test-getopt.h:430:11: note: Shadow variable grep-3.12/gnulib-tests/test-getopt.h:431:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] grep-3.12/gnulib-tests/test-getopt_long.h:20:12: note: Shadowed declaration grep-3.12/gnulib-tests/test-getopt.h:431:11: note: Shadow variable grep-3.12/gnulib-tests/test-getopt.h:464:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] grep-3.12/gnulib-tests/test-getopt_long.h:19:12: note: Shadowed declaration grep-3.12/gnulib-tests/test-getopt.h:464:11: note: Shadow variable grep-3.12/gnulib-tests/test-getopt.h:465:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] grep-3.12/gnulib-tests/test-getopt_long.h:20:12: note: Shadowed declaration grep-3.12/gnulib-tests/test-getopt.h:465:11: note: Shadow variable grep-3.12/gnulib-tests/test-getopt.h:498:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] grep-3.12/gnulib-tests/test-getopt_long.h:19:12: note: Shadowed declaration grep-3.12/gnulib-tests/test-getopt.h:498:11: note: Shadow variable grep-3.12/gnulib-tests/test-getopt.h:499:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] grep-3.12/gnulib-tests/test-getopt_long.h:20:12: note: Shadowed declaration grep-3.12/gnulib-tests/test-getopt.h:499:11: note: Shadow variable grep-3.12/gnulib-tests/test-getopt.h:532:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] grep-3.12/gnulib-tests/test-getopt_long.h:19:12: note: Shadowed declaration grep-3.12/gnulib-tests/test-getopt.h:532:11: note: Shadow variable grep-3.12/gnulib-tests/test-getopt.h:533:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] grep-3.12/gnulib-tests/test-getopt_long.h:20:12: note: Shadowed declaration grep-3.12/gnulib-tests/test-getopt.h:533:11: note: Shadow variable grep-3.12/gnulib-tests/test-getopt.h:566:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] grep-3.12/gnulib-tests/test-getopt_long.h:19:12: note: Shadowed declaration grep-3.12/gnulib-tests/test-getopt.h:566:11: note: Shadow variable grep-3.12/gnulib-tests/test-getopt.h:567:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] grep-3.12/gnulib-tests/test-getopt_long.h:20:12: note: Shadowed declaration grep-3.12/gnulib-tests/test-getopt.h:567:11: note: Shadow variable grep-3.12/gnulib-tests/test-getopt.h:600:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] grep-3.12/gnulib-tests/test-getopt_long.h:19:12: note: Shadowed declaration grep-3.12/gnulib-tests/test-getopt.h:600:11: note: Shadow variable grep-3.12/gnulib-tests/test-getopt.h:601:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] grep-3.12/gnulib-tests/test-getopt_long.h:20:12: note: Shadowed declaration grep-3.12/gnulib-tests/test-getopt.h:601:11: note: Shadow variable grep-3.12/gnulib-tests/test-getopt.h:636:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] grep-3.12/gnulib-tests/test-getopt_long.h:19:12: note: Shadowed declaration grep-3.12/gnulib-tests/test-getopt.h:636:11: note: Shadow variable grep-3.12/gnulib-tests/test-getopt.h:637:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] grep-3.12/gnulib-tests/test-getopt_long.h:20:12: note: Shadowed declaration grep-3.12/gnulib-tests/test-getopt.h:637:11: note: Shadow variable grep-3.12/gnulib-tests/test-getopt.h:666:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] grep-3.12/gnulib-tests/test-getopt_long.h:19:12: note: Shadowed declaration grep-3.12/gnulib-tests/test-getopt.h:666:11: note: Shadow variable grep-3.12/gnulib-tests/test-getopt.h:667:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] grep-3.12/gnulib-tests/test-getopt_long.h:20:12: note: Shadowed declaration grep-3.12/gnulib-tests/test-getopt.h:667:11: note: Shadow variable grep-3.12/gnulib-tests/test-getopt.h:696:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] grep-3.12/gnulib-tests/test-getopt_long.h:19:12: note: Shadowed declaration grep-3.12/gnulib-tests/test-getopt.h:696:11: note: Shadow variable grep-3.12/gnulib-tests/test-getopt.h:697:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] grep-3.12/gnulib-tests/test-getopt_long.h:20:12: note: Shadowed declaration grep-3.12/gnulib-tests/test-getopt.h:697:11: note: Shadow variable grep-3.12/gnulib-tests/test-getopt.h:728:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] grep-3.12/gnulib-tests/test-getopt_long.h:19:12: note: Shadowed declaration grep-3.12/gnulib-tests/test-getopt.h:728:11: note: Shadow variable grep-3.12/gnulib-tests/test-getopt.h:729:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] grep-3.12/gnulib-tests/test-getopt_long.h:20:12: note: Shadowed declaration grep-3.12/gnulib-tests/test-getopt.h:729:11: note: Shadow variable grep-3.12/gnulib-tests/test-getopt.h:795:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] grep-3.12/gnulib-tests/test-getopt_long.h:19:12: note: Shadowed declaration grep-3.12/gnulib-tests/test-getopt.h:795:11: note: Shadow variable grep-3.12/gnulib-tests/test-getopt.h:796:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] grep-3.12/gnulib-tests/test-getopt_long.h:20:12: note: Shadowed declaration grep-3.12/gnulib-tests/test-getopt.h:796:11: note: Shadow variable grep-3.12/gnulib-tests/test-getopt.h:1199:11: style: Local variable 'a_seen' shadows outer variable [shadowVariable] grep-3.12/gnulib-tests/test-getopt_long.h:19:12: note: Shadowed declaration grep-3.12/gnulib-tests/test-getopt.h:1199:11: note: Shadow variable grep-3.12/gnulib-tests/test-getopt.h:1200:11: style: Local variable 'b_seen' shadows outer variable [shadowVariable] grep-3.12/gnulib-tests/test-getopt_long.h:20:12: note: Shadowed declaration grep-3.12/gnulib-tests/test-getopt.h:1200:11: note: Shadow variable grep-3.12/gnulib-tests/test-getprogname.c:55:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXEEXT [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-gettimeofday.c:47:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-gettimeofday.c:60:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] grep-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] grep-3.12/gnulib-tests/test-gettimeofday.c:39:14: style: Variable 'lt' can be declared as pointer to const [constVariablePointer] grep-3.12/gnulib-tests/test-hard-locale.c:34:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-hard-locale.c:97:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_CTYPE [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-i-ring.c:32:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-ignore-value.c:28:16: style: struct member 's::i' is never used. [unusedStructMember] grep-3.12/gnulib-tests/test-intprops.c:21:0: error: failed to evaluate #if condition, undefined function-like macro invocation: _GL_GNUC_PREREQ( ... ) [preprocessorErrorDirective] grep-3.12/gnulib-tests/test-intprops.c:21:2: error: failed to evaluate #if condition, undefined function-like macro invocation: _GL_GNUC_PREREQ( ... ) [preprocessorErrorDirective] grep-3.12/gnulib-tests/test-isatty.c:45:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-isatty.c:46:5: error: Invalid isatty() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] grep-3.12/gnulib-tests/test-isblank.c:46:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-iswblank.c:32:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-iswctype.c:34:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-iswdigit.c:55:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-iswdigit.c:49:23: style: Parameter 'argv' can be declared as const array [constParameter] grep-3.12/gnulib-tests/test-iswpunct.c:55:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-iswpunct.c:49:23: style: Parameter 'argv' can be declared as const array [constParameter] grep-3.12/gnulib-tests/test-iswxdigit.c:55:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-iswxdigit.c:49:23: style: Parameter 'argv' can be declared as const array [constParameter] grep-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] grep-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] grep-3.12/gnulib-tests/test-localcharset-w32utf8.c:58:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-localcharset.c:35:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-locale-h.c:58:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_GLOBAL_LOCALE [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-localeconv.c:38:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-localeconv.c:36:19: style: Variable 'l' can be declared as pointer to const [constVariablePointer] grep-3.12/gnulib-tests/test-lseek.c:41:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-lseek.c:95:7: error: Invalid lseek() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] grep-3.12/gnulib-tests/test-lstat.h:32:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-malloc-gnu.c:38:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-malloc-posix.c:44:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-malloc-posix.c:42:13: style: Variable 'p' can be declared as pointer to const [constVariablePointer] grep-3.12/gnulib-tests/test-math-h.c:24:0: error: #error INFINITY should be defined, added in ISO C 99 [preprocessorErrorDirective] grep-3.12/gnulib-tests/test-math-h.c:24:3: error: #error INFINITY should be defined, added in ISO C 99 [preprocessorErrorDirective] grep-3.12/gnulib-tests/test-mbrtoc32-regular.c:40:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-mbrtoc32-w32.c:748:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-mbrtoc32.c:43:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-mbrtoc32.c:36:23: style: Parameter 'argv' can be declared as const array [constParameter] grep-3.12/gnulib-tests/test-mbscasecmp.c:31:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-mbsinit.c:35:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-mbsrtoc32s.c:42:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-mbsrtowcs.c:41:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-mbsrtowcs.c:34:23: style: Parameter 'argv' can be declared as const array [constParameter] grep-3.12/gnulib-tests/test-mcel.c:40:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MB_LEN_MAX [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-mcel.c:50:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-mcel.c:47:23: style: Parameter 'argv' can be declared as const array [constParameter] grep-3.12/gnulib-tests/test-memchr.c:46:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-memchr.c:62:9: style: Condition 'page_boundary' is always false [knownConditionTrueFalse] grep-3.12/gnulib-tests/test-memchr.c:61:40: note: Calling function 'zerosize_ptr' returns 0 grep-3.12/gnulib-tests/test-memchr.c:61:40: note: Assignment 'page_boundary=zerosize_ptr()', assigned value is 0 grep-3.12/gnulib-tests/test-memchr.c:62:9: note: Condition 'page_boundary' is always false grep-3.12/gnulib-tests/test-memchr.c:113:23: style: Condition 'page_boundary!=NULL' is always false [knownConditionTrueFalse] grep-3.12/gnulib-tests/test-memchr.c:108:49: note: Calling function 'zerosize_ptr' returns 0 grep-3.12/gnulib-tests/test-memchr.c:108:27: note: Assignment 'page_boundary=(char*)zerosize_ptr()', assigned value is 0 grep-3.12/gnulib-tests/test-memchr.c:113:23: note: Condition 'page_boundary!=NULL' is always false grep-3.12/gnulib-tests/test-memchr2.c:33:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-memchr2.c:48:7: style: Condition 'page_boundary' is always false [knownConditionTrueFalse] grep-3.12/gnulib-tests/test-memchr2.c:47:38: note: Calling function 'zerosize_ptr' returns 0 grep-3.12/gnulib-tests/test-memchr2.c:47:38: note: Assignment 'page_boundary=zerosize_ptr()', assigned value is 0 grep-3.12/gnulib-tests/test-memchr2.c:48:7: note: Condition 'page_boundary' is always false grep-3.12/gnulib-tests/test-memrchr.c:31:0: error: failed to evaluate #if condition, undefined function-like macro invocation: _GL_GNUC_PREREQ( ... ) [preprocessorErrorDirective] grep-3.12/gnulib-tests/test-memrchr.c:31:2: error: failed to evaluate #if condition, undefined function-like macro invocation: _GL_GNUC_PREREQ( ... ) [preprocessorErrorDirective] grep-3.12/gnulib-tests/test-nanosleep.c:49:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] grep-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] grep-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] grep-3.12/gnulib-tests/test-nullptr.c:48:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-once.c:32:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable a [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-once.c:40:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable a [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-openat-safer.c:55:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AT_FDCWD [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-openat-safer.c:81:11: error: Return value of allocation function 'openat' is not stored. [leakReturnValNotUsed] grep-3.12/gnulib-tests/test-openat-safer.c:84:11: error: Return value of allocation function 'openat' is not stored. [leakReturnValNotUsed] grep-3.12/gnulib-tests/test-openat-safer.c:87:11: error: Return value of allocation function 'openat' is not stored. [leakReturnValNotUsed] grep-3.12/gnulib-tests/test-openat-safer.c:92:11: error: Return value of allocation function 'openat' is not stored. [leakReturnValNotUsed] grep-3.12/gnulib-tests/test-openat-safer.c:97:11: error: Return value of allocation function 'openat' is not stored. [leakReturnValNotUsed] grep-3.12/gnulib-tests/test-openat-safer.c:108:11: error: Return value of allocation function 'openat' is not stored. [leakReturnValNotUsed] grep-3.12/gnulib-tests/test-perror.c:31:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-perror2.c:26:0: error: failed to evaluate #if condition, undefined function-like macro invocation: _GL_GNUC_PREREQ( ... ) [preprocessorErrorDirective] grep-3.12/gnulib-tests/test-perror2.c:26:2: error: failed to evaluate #if condition, undefined function-like macro invocation: _GL_GNUC_PREREQ( ... ) [preprocessorErrorDirective] grep-3.12/gnulib-tests/test-pipe.c:52:0: error: #error Please port fcntl to your platform [preprocessorErrorDirective] grep-3.12/gnulib-tests/test-pipe.c:52:4: error: #error Please port fcntl to your platform [preprocessorErrorDirective] grep-3.12/gnulib-tests/test-select.h:41:0: error: failed to evaluate #if condition, undefined function-like macro invocation: _GL_GNUC_PREREQ( ... ) [preprocessorErrorDirective] grep-3.12/gnulib-tests/test-select.h:41:2: error: failed to evaluate #if condition, undefined function-like macro invocation: _GL_GNUC_PREREQ( ... ) [preprocessorErrorDirective] grep-3.12/gnulib-tests/test-pthread-cond.c:297:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-pthread-mutex-type.c:35:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-pthread-mutex-type.c:58:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-pthread-mutex.c:361:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-pthread-once1.c:38:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-pthread-once2.c:279:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-pthread-rwlock.c:225:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-pthread-thread.c:54:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-pthread-thread.c:39:10: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] grep-3.12/gnulib-tests/test-pthread-thread.c:61:7: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] grep-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] grep-3.12/gnulib-tests/test-pthread-thread.c:47:45: note: You might need to cast the function pointer here grep-3.12/gnulib-tests/test-pthread-thread.c:36:38: note: Parameter 'arg' can be declared as pointer to const grep-3.12/gnulib-tests/test-pthread_sigmask1.c:54:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-pthread_sigmask1.c:51:57: style: Condition 'num_cpus()>1' is always false [knownConditionTrueFalse] grep-3.12/gnulib-tests/test-pthread_sigmask1.c:51:54: note: Calling function 'num_cpus' returns 1 grep-3.12/gnulib-tests/test-pthread_sigmask1.c:51:57: note: Condition 'num_cpus()>1' is always false grep-3.12/gnulib-tests/test-pthread_sigmask2.c:112:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-putenv.c:38:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-putenv.c:34:9: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] grep-3.12/gnulib-tests/test-quotearg.h:60:25: debug: Function::addArguments found argument 'func' with varid 0. [varid0] grep-3.12/gnulib-tests/test-quotearg.h:54:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-quotearg.h:74:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE_MAX [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-quotearg.h:114:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-quotearg.h:121:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE_MAX [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-quotearg.h:129:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE_MAX [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-quotearg-simple.c:264:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE_MAX [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-quotearg-simple.c:274:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MB_CUR_MAX [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-quotearg-simple.c:349:9: style: Condition 'z' is always false [knownConditionTrueFalse] grep-3.12/gnulib-tests/test-quotearg-simple.c:347:28: note: Calling function 'zerosize_ptr' returns 0 grep-3.12/gnulib-tests/test-quotearg-simple.c:347:28: note: Assignment 'z=zerosize_ptr()', assigned value is 0 grep-3.12/gnulib-tests/test-quotearg-simple.c:349:9: note: Condition 'z' is always false grep-3.12/gnulib-tests/test-quotearg.h:64:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] grep-3.12/gnulib-tests/test-raise.c:42:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-raise.c:50:3: style:inconclusive: Statements following noreturn function 'raise()' will never be executed. [unreachableCode] grep-3.12/gnulib-tests/test-random-mt.c:165:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-random.c:42:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-random_r.c:50:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-rawmemchr.c:35:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-rawmemchr.c:76:9: style: Condition '!page_boundary' is always true [knownConditionTrueFalse] grep-3.12/gnulib-tests/test-rawmemchr.c:73:49: note: Calling function 'zerosize_ptr' returns 0 grep-3.12/gnulib-tests/test-rawmemchr.c:73:27: note: Assignment 'page_boundary=(char*)zerosize_ptr()', assigned value is 0 grep-3.12/gnulib-tests/test-rawmemchr.c:76:9: note: Condition '!page_boundary' is always true grep-3.12/gnulib-tests/test-rawmemchr.c:92:5: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] grep-3.12/gnulib-tests/test-rawmemchr.c:90:20: note: Assuming allocation function fails grep-3.12/gnulib-tests/test-rawmemchr.c:90:20: note: Assignment 'input=malloc(5)', assigned value is 0 grep-3.12/gnulib-tests/test-rawmemchr.c:92:5: note: Null pointer addition grep-3.12/gnulib-tests/test-read.c:37:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-read.c:58:5: error: Invalid read() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] grep-3.12/gnulib-tests/test-realloc-posix.c:40:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-realloc-posix.c:61:13: style: Variable 'r' can be declared as pointer to const [constVariablePointer] grep-3.12/gnulib-tests/test-realloc-posix.c:74:13: style: Variable 'r' can be declared as pointer to const [constVariablePointer] grep-3.12/gnulib-tests/test-reallocarray.c:45:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTRDIFF_MAX [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-regex.c:42:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-regex.c:152:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rm_so [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-regex.c:186:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-regex.c:263:45: style: Condition 'towupper(L'i')==0x0130' is always false [knownConditionTrueFalse] grep-3.12/gnulib-tests/test-regex.c:249:15: error: Memory pointed to by 'start' is freed twice. [doubleFree] grep-3.12/gnulib-tests/test-regex.c:212:13: note: Memory pointed to by 'start' is freed twice. grep-3.12/gnulib-tests/test-regex.c:249:15: note: Memory pointed to by 'start' is freed twice. grep-3.12/gnulib-tests/test-regex.c:250:15: error: Memory pointed to by 'end' is freed twice. [doubleFree] grep-3.12/gnulib-tests/test-regex.c:213:13: note: Memory pointed to by 'end' is freed twice. grep-3.12/gnulib-tests/test-regex.c:250:15: note: Memory pointed to by 'end' is freed twice. grep-3.12/gnulib-tests/test-regex.c:315:7: error: Memory pointed to by 'start' is freed twice. [doubleFree] grep-3.12/gnulib-tests/test-regex.c:212:13: note: Memory pointed to by 'start' is freed twice. grep-3.12/gnulib-tests/test-regex.c:315:7: note: Memory pointed to by 'start' is freed twice. grep-3.12/gnulib-tests/test-regex.c:316:7: error: Memory pointed to by 'end' is freed twice. [doubleFree] grep-3.12/gnulib-tests/test-regex.c:213:13: note: Memory pointed to by 'end' is freed twice. grep-3.12/gnulib-tests/test-regex.c:316:7: note: Memory pointed to by 'end' is freed twice. grep-3.12/gnulib-tests/test-select-fd.c:61:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-select-stdin.c:61:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-setenv.c:36:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-setlocale-w32.c:141:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-setlocale-w32utf8.c:66:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-setlocale1.c:38:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-setlocale1.c:45:5: error: Memory leak: name1 [memleak] grep-3.12/gnulib-tests/test-setlocale1.c:51:5: error: Memory leak: name1 [memleak] grep-3.12/gnulib-tests/test-setlocale2.c:30:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] grep-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] grep-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] grep-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] grep-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] grep-3.12/gnulib-tests/test-setlocale_null-unlocked.c:34:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-setlocale_null.c:31:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-signbit.c:25:0: error: #error missing declaration [preprocessorErrorDirective] grep-3.12/gnulib-tests/test-signbit.c:25:3: error: #error missing declaration [preprocessorErrorDirective] grep-3.12/gnulib-tests/test-sigprocmask.c:54:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-sigprocmask.c:51:57: style: Condition 'num_cpus()>1' is always false [knownConditionTrueFalse] grep-3.12/gnulib-tests/test-sigprocmask.c:51:54: note: Calling function 'num_cpus' returns 1 grep-3.12/gnulib-tests/test-sigprocmask.c:51:57: note: Condition 'num_cpus()>1' is always false grep-3.12/gnulib-tests/test-sleep.c:42:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-snprintf.c:38:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-snprintf.c:53:20: style: The if condition is the same as the previous if condition [duplicateCondition] grep-3.12/gnulib-tests/test-snprintf.c:47:20: note: First condition grep-3.12/gnulib-tests/test-snprintf.c:53:20: note: Second condition grep-3.12/gnulib-tests/test-stat.h:32:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-stdint-h.c:372:1: error: syntax error: -) [syntaxError] grep-3.12/gnulib-tests/test-stdio-h.c:56:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _PRINTF_NAN_LEN_MAX [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-stdlib-h.c:55:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MB_CUR_MAX [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-str_endswith.c:27:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-str_startswith.c:27:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-strerror.c:35:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-strerror_r.c:36:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-strnlen.c:38:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-strnlen.c:35:7: style: Condition '!page_boundary' is always true [knownConditionTrueFalse] grep-3.12/gnulib-tests/test-strnlen.c:34:47: note: Calling function 'zerosize_ptr' returns 0 grep-3.12/gnulib-tests/test-strnlen.c:34:25: note: Assignment 'page_boundary=(char*)zerosize_ptr()', assigned value is 0 grep-3.12/gnulib-tests/test-strnlen.c:35:7: note: Condition '!page_boundary' is always true grep-3.12/gnulib-tests/test-strstr.c:48:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-strstr.c:67:19: style: Condition 'page_boundary' is always false [knownConditionTrueFalse] grep-3.12/gnulib-tests/test-strstr.c:65:49: note: Calling function 'zerosize_ptr' returns 0 grep-3.12/gnulib-tests/test-strstr.c:65:27: note: Assignment 'page_boundary=(char*)zerosize_ptr()', assigned value is 0 grep-3.12/gnulib-tests/test-strstr.c:67:19: note: Condition 'page_boundary' is always false grep-3.12/gnulib-tests/test-strstr.c:65:11: style: Variable 'page_boundary' can be declared as pointer to const [constVariablePointer] grep-3.12/gnulib-tests/test-strtoimax.c:38:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-strtoll.c:38:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-symlink.h:32:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-sys_select-h.c:46:0: error: #error "FD_SETSIZE not positive" [preprocessorErrorDirective] grep-3.12/gnulib-tests/test-sys_select-h.c:46:3: error: #error "FD_SETSIZE not positive" [preprocessorErrorDirective] grep-3.12/gnulib-tests/test-sys_socket-h.c:81:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOTSOCK [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/glthread/thread.h:75:0: error: #error "Please include config.h first." [preprocessorErrorDirective] grep-3.12/gnulib-tests/glthread/thread.h:75:3: error: #error "Please include config.h first." [preprocessorErrorDirective] grep-3.12/gnulib-tests/test-time.c:39:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-unistd-h.c:37:0: error: #error "O_CLOEXEC is not defined" [preprocessorErrorDirective] grep-3.12/gnulib-tests/test-unistd-h.c:37:3: error: #error "O_CLOEXEC is not defined" [preprocessorErrorDirective] grep-3.12/gnulib-tests/test-unsetenv.c:39:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-verify.c:53:13: style: The comparison 'C == 2' is always true. [knownConditionTrueFalse] grep-3.12/gnulib-tests/test-verify.c:57:13: style: Same expression on both sides of '=='. [duplicateExpression] grep-3.12/gnulib-tests/test-verify.c:57:30: style: Same expression on both sides of '=='. [duplicateExpression] grep-3.12/gnulib-tests/test-verify.c:60:35: style: Same expression on both sides of '=='. [duplicateExpression] grep-3.12/gnulib-tests/test-verify.c:60:60: style: Same expression on both sides of '=='. [duplicateExpression] grep-3.12/gnulib-tests/test-verify.c:75:31: style: struct member 'state::context' is never used. [unusedStructMember] grep-3.12/gnulib-tests/test-version-etc.c:28:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-wcrtomb-w32.c:335:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-wcrtomb.c:43:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-wcrtomb.c:61:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-wcrtomb.c:55:23: style: Parameter 'argv' can be declared as const array [constParameter] grep-3.12/gnulib-tests/test-wctype-h.c:53:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-wctype.c:34:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-windows-mutex-type.c:74:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-windows-recmutex-type.c:74:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-windows-timedmutex-type.c:74:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-windows-timedrecmutex-type.c:74:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-wmemchr.c:42:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/xstrtol-error.h:24:0: error: #error "Please include config.h first." [preprocessorErrorDirective] grep-3.12/gnulib-tests/xstrtol-error.h:24:4: error: #error "Please include config.h first." [preprocessorErrorDirective] grep-3.12/gnulib-tests/unicase/test-mapping-part2.h:36:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable test_exit_status [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/unictype/test-predicate-part2.h:36:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable test_exit_status [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/unistr/test-chr.h:141:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable test_exit_status [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/unistr/test-cpy.h:43:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable test_exit_status [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/unistr/test-cpy.h:31:15: style: Variable 'ret' can be declared as pointer to const [constVariablePointer] grep-3.12/gnulib-tests/unistr/test-pcpy.h:43:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable test_exit_status [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/unistr/test-pcpy.h:31:15: style: Variable 'ret' can be declared as pointer to const [constVariablePointer] grep-3.12/gnulib-tests/unistr/test-set.h:43:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable test_exit_status [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/unistr/test-set.h:30:15: style: Variable 'ret' can be declared as pointer to const [constVariablePointer] grep-3.12/gnulib-tests/unistr/test-strcat.h:55:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable test_exit_status [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/unistr/test-strcat.h:36:17: style: Variable 'result' can be declared as pointer to const [constVariablePointer] grep-3.12/gnulib-tests/unistr/test-u32-strlen.c:56:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable test_exit_status [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/unistr/u-set.h:42:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/unsetenv.c:63:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/vasnprintf.c:67:0: error: failed to evaluate #if condition, undefined function-like macro invocation: _GL_GNUC_PREREQ( ... ) [preprocessorErrorDirective] grep-3.12/gnulib-tests/vasnprintf.c:67:2: error: failed to evaluate #if condition, undefined function-like macro invocation: _GL_GNUC_PREREQ( ... ) [preprocessorErrorDirective] grep-3.12/gnulib-tests/windows-cond.c:73:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_HANDLE_VALUE [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/windows-cond.c:204:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EAGAIN [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/windows-cond.c:273:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ETIMEDOUT [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/windows-cond.c:388:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/windows-cond.c:405:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/windows-cond.c:422:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/windows-thread.h:25:0: error: #error "Please include config.h first." [preprocessorErrorDirective] grep-3.12/gnulib-tests/windows-thread.h:25:3: error: #error "Please include config.h first." [preprocessorErrorDirective] grep-3.12/gnulib-tests/windows-timedmutex.c:40:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_HANDLE_VALUE [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/windows-timedmutex.c:109:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EBUSY [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/windows-timedmutex.c:188:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INFINITE [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/windows-timedmutex.c:244:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/windows-timedmutex.c:258:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/windows-timedrecmutex.c:42:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_HANDLE_VALUE [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/windows-timedrecmutex.c:87:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EAGAIN [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/windows-timedrecmutex.c:116:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EBUSY [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/windows-timedrecmutex.c:196:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INFINITE [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/windows-timedrecmutex.c:245:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EPERM [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/windows-timedrecmutex.c:264:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EBUSY [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/windows-timedrwlock.c:73:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_HANDLE_VALUE [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/windows-timedrwlock.c:215:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INFINITE [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/windows-timedrwlock.c:275:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INFINITE [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/windows-timedrwlock.c:332:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EBUSY [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/windows-timedrwlock.c:365:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EBUSY [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/windows-timedrwlock.c:423:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INFINITE [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/windows-timedrwlock.c:543:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INFINITE [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/windows-timedrwlock.c:619:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/windows-timedrwlock.c:663:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/windows-tls.c:40:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/windows-tls.c:88:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/windows-tls.c:220:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/windows-tls.c:337:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/xgetcwd.h:19:0: error: #error "Please include config.h first." [preprocessorErrorDirective] grep-3.12/gnulib-tests/xgetcwd.h:19:3: error: #error "Please include config.h first." [preprocessorErrorDirective] grep-3.12/lib/argmatch.h:27:0: error: #error "Please include config.h first." [preprocessorErrorDirective] grep-3.12/lib/argmatch.h:27:4: error: #error "Please include config.h first." [preprocessorErrorDirective] grep-3.12/lib/openat.h:25:0: error: #error "Please include config.h first." [preprocessorErrorDirective] grep-3.12/lib/openat.h:25:3: error: #error "Please include config.h first." [preprocessorErrorDirective] grep-3.12/lib/basename-lgpl.h:24:0: error: #error "Please include config.h first." [preprocessorErrorDirective] grep-3.12/lib/basename-lgpl.h:24:3: error: #error "Please include config.h first." [preprocessorErrorDirective] grep-3.12/lib/binary-io.h:22:0: error: #error "Please include config.h first." [preprocessorErrorDirective] grep-3.12/lib/binary-io.h:22:3: error: #error "Please include config.h first." [preprocessorErrorDirective] grep-3.12/lib/bitrotate.h:24:0: error: #error "Please include config.h first." [preprocessorErrorDirective] grep-3.12/lib/bitrotate.h:24:3: error: #error "Please include config.h first." [preprocessorErrorDirective] grep-3.12/lib/btowc.c:30:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] grep-3.12/lib/c-ctype.h:28:0: error: #error "Please include config.h first." [preprocessorErrorDirective] grep-3.12/lib/c-ctype.h:28:3: error: #error "Please include config.h first." [preprocessorErrorDirective] grep-3.12/lib/c-stack.h:20:0: error: #error "Please include config.h first." [preprocessorErrorDirective] grep-3.12/lib/c-stack.h:20:3: error: #error "Please include config.h first." [preprocessorErrorDirective] grep-3.12/lib/c-strcase.h:23:0: error: #error "Please include config.h first." [preprocessorErrorDirective] grep-3.12/lib/c-strcase.h:23:3: error: #error "Please include config.h first." [preprocessorErrorDirective] grep-3.12/lib/c32_get_type_test.c:47:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable c32isalnum [valueFlowBailoutIncompleteVar] grep-3.12/lib/attribute.h:93:0: error: #error "Please include config.h first." [preprocessorErrorDirective] grep-3.12/lib/attribute.h:93:3: error: #error "Please include config.h first." [preprocessorErrorDirective] grep-3.12/lib/calloc.c:45:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] grep-3.12/lib/pathmax.h:44:0: error: #error "Please include config.h first." [preprocessorErrorDirective] grep-3.12/lib/pathmax.h:44:4: error: #error "Please include config.h first." [preprocessorErrorDirective] grep-3.12/lib/cloexec.c:62:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] grep-3.12/lib/cloexec.c:82:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_DUPFD_CLOEXEC [valueFlowBailoutIncompleteVar] grep-3.12/lib/fpending.h:24:0: error: #error "Please include config.h first." [preprocessorErrorDirective] grep-3.12/lib/fpending.h:24:3: error: #error "Please include config.h first." [preprocessorErrorDirective] grep-3.12/lib/closedir.c:60:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_HANDLE_VALUE [valueFlowBailoutIncompleteVar] grep-3.12/lib/quotearg.h:26:0: error: #error "Please include config.h first." [preprocessorErrorDirective] grep-3.12/lib/quotearg.h:26:3: error: #error "Please include config.h first." [preprocessorErrorDirective] grep-3.12/lib/colorize-posix.c:55:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] grep-3.12/lib/colorize-w32.c:40:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STD_OUTPUT_HANDLE [valueFlowBailoutIncompleteVar] grep-3.12/lib/colorize-w32.c:80:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FOREGROUND_GREEN [valueFlowBailoutIncompleteVar] grep-3.12/lib/colorize-w32.c:162:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_HANDLE_VALUE [valueFlowBailoutIncompleteVar] grep-3.12/lib/colorize-w32.c:199:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_HANDLE_VALUE [valueFlowBailoutIncompleteVar] grep-3.12/lib/same-inode.h:23:0: error: #error "Please include config.h first." [preprocessorErrorDirective] grep-3.12/lib/same-inode.h:23:3: error: #error "Please include config.h first." [preprocessorErrorDirective] grep-3.12/lib/dfa.h:25:0: error: #error "Please include config.h first." [preprocessorErrorDirective] grep-3.12/lib/dfa.h:25:3: error: #error "Please include config.h first." [preprocessorErrorDirective] grep-3.12/lib/dirfd.c:40:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] grep-3.12/lib/dirname.h:25:0: error: #error "Please include config.h first." [preprocessorErrorDirective] grep-3.12/lib/dirname.h:25:3: error: #error "Please include config.h first." [preprocessorErrorDirective] grep-3.12/lib/dup-safer.c:33:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_DUPFD [valueFlowBailoutIncompleteVar] grep-3.12/lib/dup2.c:182:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] grep-3.12/lib/error.c:155:0: error: #error Please port fcntl to your platform [preprocessorErrorDirective] grep-3.12/lib/error.c:155:5: error: #error Please port fcntl to your platform [preprocessorErrorDirective] grep-3.12/lib/exclude.h:28:0: error: #error "Please include config.h first." [preprocessorErrorDirective] grep-3.12/lib/exclude.h:28:3: error: #error "Please include config.h first." [preprocessorErrorDirective] grep-3.12/lib/filenamecat.h:23:0: error: #error "Please include config.h first." [preprocessorErrorDirective] grep-3.12/lib/filenamecat.h:23:3: error: #error "Please include config.h first." [preprocessorErrorDirective] grep-3.12/lib/fcntl.c:437:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] grep-3.12/lib/fcntl.c:492:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CLOEXEC [valueFlowBailoutIncompleteVar] grep-3.12/lib/fd-safer.c:42:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] grep-3.12/lib/fnmatch_loop.c:63:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FNM_EXTMATCH [valueFlowBailoutIncompleteVar] grep-3.12/lib/fnmatch_loop.c:945:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable posixly_correct [valueFlowBailoutIncompleteVar] grep-3.12/lib/fnmatch_loop.c:1007:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable posixly_correct [valueFlowBailoutIncompleteVar] grep-3.12/lib/fnmatch_loop.c:925:38: style: Condition 'n!=string_end' is always true [knownConditionTrueFalse] grep-3.12/lib/fnmatch_loop.c:1109:36: style: Condition 'rs==string' is always false [knownConditionTrueFalse] grep-3.12/lib/fnmatch_loop.c:934:18: style:inconclusive: Function 'END' argument 1 names different: declaration 'patternp' definition 'pattern'. [funcArgNamesDifferent] grep-3.12/lib/fnmatch_loop.c:37:37: note: Function 'END' argument 1 names different: declaration 'patternp' definition 'pattern'. grep-3.12/lib/fnmatch_loop.c:934:18: note: Function 'END' argument 1 names different: declaration 'patternp' definition 'pattern'. grep-3.12/lib/fnmatch_loop.c:1096:44: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] grep-3.12/lib/fnmatch_loop.c:1105:26: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] grep-3.12/lib/fnmatch_loop.c:1113:33: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] grep-3.12/lib/fnmatch_loop.c:1137:40: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] grep-3.12/lib/fnmatch_loop.c:1154:44: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] grep-3.12/lib/fnmatch_loop.c:1164:46: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] grep-3.12/lib/fnmatch_loop.c:1150:31: style: Variable 'runp' can be declared as pointer to const [constVariablePointer] grep-3.12/lib/fopen.c:84:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] grep-3.12/lib/free.c:41:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] grep-3.12/lib/stat-time.h:26:0: error: #error "Please include config.h first." [preprocessorErrorDirective] grep-3.12/lib/stat-time.h:26:3: error: #error "Please include config.h first." [preprocessorErrorDirective] grep-3.12/lib/fts_.h:54:0: error: #error "Please include config.h first." [preprocessorErrorDirective] grep-3.12/lib/fts_.h:54:4: error: #error "Please include config.h first." [preprocessorErrorDirective] grep-3.12/lib/getcwd-lgpl.c:56:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] grep-3.12/lib/getcwd-lgpl.c:82:11: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] grep-3.12/lib/getdtablesize.c:114:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RLIMIT_NOFILE [valueFlowBailoutIncompleteVar] grep-3.12/lib/getopt.c:282:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] grep-3.12/lib/getopt.c:624:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] grep-3.12/lib/gettext.h:254:16: error: Returning pointer to local variable 'msg_ctxt_id' that will be invalid when returning. [returnDanglingLifetime] grep-3.12/lib/gettext.h:246:15: note: Array decayed to pointer here. grep-3.12/lib/gettext.h:233:8: note: Variable created here. grep-3.12/lib/gettext.h:254:16: note: Returning pointer to local variable 'msg_ctxt_id' that will be invalid when returning. grep-3.12/lib/getopt.c:272:18: warning: The address of variable 'ambig_fallback' might be accessed at non-zero index. [objectIndex] grep-3.12/lib/getopt.c:251:21: note: Address of variable taken here. grep-3.12/lib/getopt.c:272:18: note: The address of variable 'ambig_fallback' might be accessed at non-zero index. grep-3.12/lib/getopt.c:265:18: style: Condition 'ambig_set!=&ambig_fallback' is always true [knownConditionTrueFalse] grep-3.12/lib/getopt.c:252:16: note: Assuming that condition '!ambig_set' is not redundant grep-3.12/lib/getopt.c:265:18: note: Condition 'ambig_set!=&ambig_fallback' is always true grep-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] grep-3.12/lib/getopt.c:252:16: note: Assuming that condition '!ambig_set' is not redundant grep-3.12/lib/getopt.c:267:16: note: Null pointer dereference grep-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] grep-3.12/lib/getopt.c:252:16: note: Assuming that condition '!ambig_set' is not redundant grep-3.12/lib/getopt.c:268:8: note: Null pointer dereference grep-3.12/lib/getopt.c:267:16: error: Null pointer dereference [nullPointer] grep-3.12/lib/getopt.c:474:25: style:inconclusive: Function '_getopt_internal_r' argument 1 names different: declaration '___argc' definition 'argc'. [funcArgNamesDifferent] grep-3.12/lib/getopt_int.h:101:36: note: Function '_getopt_internal_r' argument 1 names different: declaration '___argc' definition 'argc'. grep-3.12/lib/getopt.c:474:25: note: Function '_getopt_internal_r' argument 1 names different: declaration '___argc' definition 'argc'. grep-3.12/lib/getopt.c:474:38: style:inconclusive: Function '_getopt_internal_r' argument 2 names different: declaration '___argv' definition 'argv'. [funcArgNamesDifferent] grep-3.12/lib/getopt_int.h:101:52: note: Function '_getopt_internal_r' argument 2 names different: declaration '___argv' definition 'argv'. grep-3.12/lib/getopt.c:474:38: note: Function '_getopt_internal_r' argument 2 names different: declaration '___argv' definition 'argv'. grep-3.12/lib/getopt.c:474:56: style:inconclusive: Function '_getopt_internal_r' argument 3 names different: declaration '__shortopts' definition 'optstring'. [funcArgNamesDifferent] grep-3.12/lib/getopt_int.h:102:23: note: Function '_getopt_internal_r' argument 3 names different: declaration '__shortopts' definition 'optstring'. grep-3.12/lib/getopt.c:474:56: note: Function '_getopt_internal_r' argument 3 names different: declaration '__shortopts' definition 'optstring'. grep-3.12/lib/getopt.c:475:28: style:inconclusive: Function '_getopt_internal_r' argument 4 names different: declaration '__longopts' definition 'longopts'. [funcArgNamesDifferent] grep-3.12/lib/getopt_int.h:103:32: note: Function '_getopt_internal_r' argument 4 names different: declaration '__longopts' definition 'longopts'. grep-3.12/lib/getopt.c:475:28: note: Function '_getopt_internal_r' argument 4 names different: declaration '__longopts' definition 'longopts'. grep-3.12/lib/getopt.c:475:43: style:inconclusive: Function '_getopt_internal_r' argument 5 names different: declaration '__longind' definition 'longind'. [funcArgNamesDifferent] grep-3.12/lib/getopt_int.h:103:49: note: Function '_getopt_internal_r' argument 5 names different: declaration '__longind' definition 'longind'. grep-3.12/lib/getopt.c:475:43: note: Function '_getopt_internal_r' argument 5 names different: declaration '__longind' definition 'longind'. grep-3.12/lib/getopt.c:476:11: style:inconclusive: Function '_getopt_internal_r' argument 6 names different: declaration '__long_only' definition 'long_only'. [funcArgNamesDifferent] grep-3.12/lib/getopt_int.h:104:15: note: Function '_getopt_internal_r' argument 6 names different: declaration '__long_only' definition 'long_only'. grep-3.12/lib/getopt.c:476:11: note: Function '_getopt_internal_r' argument 6 names different: declaration '__long_only' definition 'long_only'. grep-3.12/lib/getopt.c:476:43: style:inconclusive: Function '_getopt_internal_r' argument 7 names different: declaration '__data' definition 'd'. [funcArgNamesDifferent] grep-3.12/lib/getopt_int.h:104:49: note: Function '_getopt_internal_r' argument 7 names different: declaration '__data' definition 'd'. grep-3.12/lib/getopt.c:476:43: note: Function '_getopt_internal_r' argument 7 names different: declaration '__data' definition 'd'. grep-3.12/lib/getopt.c:476:50: style:inconclusive: Function '_getopt_internal_r' argument 8 names different: declaration '__posixly_correct' definition 'posixly_correct'. [funcArgNamesDifferent] grep-3.12/lib/getopt_int.h:105:15: note: Function '_getopt_internal_r' argument 8 names different: declaration '__posixly_correct' definition 'posixly_correct'. grep-3.12/lib/getopt.c:476:50: note: Function '_getopt_internal_r' argument 8 names different: declaration '__posixly_correct' definition 'posixly_correct'. grep-3.12/lib/getopt.c:706:23: style:inconclusive: Function '_getopt_internal' argument 1 names different: declaration '___argc' definition 'argc'. [funcArgNamesDifferent] grep-3.12/lib/getopt_int.h:25:34: note: Function '_getopt_internal' argument 1 names different: declaration '___argc' definition 'argc'. grep-3.12/lib/getopt.c:706:23: note: Function '_getopt_internal' argument 1 names different: declaration '___argc' definition 'argc'. grep-3.12/lib/getopt.c:706:36: style:inconclusive: Function '_getopt_internal' argument 2 names different: declaration '___argv' definition 'argv'. [funcArgNamesDifferent] grep-3.12/lib/getopt_int.h:25:50: note: Function '_getopt_internal' argument 2 names different: declaration '___argv' definition 'argv'. grep-3.12/lib/getopt.c:706:36: note: Function '_getopt_internal' argument 2 names different: declaration '___argv' definition 'argv'. grep-3.12/lib/getopt.c:706:54: style:inconclusive: Function '_getopt_internal' argument 3 names different: declaration '__shortopts' definition 'optstring'. [funcArgNamesDifferent] grep-3.12/lib/getopt_int.h:26:21: note: Function '_getopt_internal' argument 3 names different: declaration '__shortopts' definition 'optstring'. grep-3.12/lib/getopt.c:706:54: note: Function '_getopt_internal' argument 3 names different: declaration '__shortopts' definition 'optstring'. grep-3.12/lib/getopt.c:707:26: style:inconclusive: Function '_getopt_internal' argument 4 names different: declaration '__longopts' definition 'longopts'. [funcArgNamesDifferent] grep-3.12/lib/getopt_int.h:27:30: note: Function '_getopt_internal' argument 4 names different: declaration '__longopts' definition 'longopts'. grep-3.12/lib/getopt.c:707:26: note: Function '_getopt_internal' argument 4 names different: declaration '__longopts' definition 'longopts'. grep-3.12/lib/getopt.c:707:41: style:inconclusive: Function '_getopt_internal' argument 5 names different: declaration '__longind' definition 'longind'. [funcArgNamesDifferent] grep-3.12/lib/getopt_int.h:27:47: note: Function '_getopt_internal' argument 5 names different: declaration '__longind' definition 'longind'. grep-3.12/lib/getopt.c:707:41: note: Function '_getopt_internal' argument 5 names different: declaration '__longind' definition 'longind'. grep-3.12/lib/getopt.c:707:54: style:inconclusive: Function '_getopt_internal' argument 6 names different: declaration '__long_only' definition 'long_only'. [funcArgNamesDifferent] grep-3.12/lib/getopt_int.h:28:13: note: Function '_getopt_internal' argument 6 names different: declaration '__long_only' definition 'long_only'. grep-3.12/lib/getopt.c:707:54: note: Function '_getopt_internal' argument 6 names different: declaration '__long_only' definition 'long_only'. grep-3.12/lib/getopt.c:708:9: style:inconclusive: Function '_getopt_internal' argument 7 names different: declaration '__posixly_correct' definition 'posixly_correct'. [funcArgNamesDifferent] grep-3.12/lib/getopt_int.h:28:30: note: Function '_getopt_internal' argument 7 names different: declaration '__posixly_correct' definition 'posixly_correct'. grep-3.12/lib/getopt.c:708:9: note: Function '_getopt_internal' argument 7 names different: declaration '__posixly_correct' definition 'posixly_correct'. grep-3.12/lib/getopt1.c:36:21: style:inconclusive: Function '_getopt_long_r' argument 1 names different: declaration '___argc' definition 'argc'. [funcArgNamesDifferent] grep-3.12/lib/getopt_int.h:107:32: note: Function '_getopt_long_r' argument 1 names different: declaration '___argc' definition 'argc'. grep-3.12/lib/getopt1.c:36:21: note: Function '_getopt_long_r' argument 1 names different: declaration '___argc' definition 'argc'. grep-3.12/lib/getopt1.c:36:34: style:inconclusive: Function '_getopt_long_r' argument 2 names different: declaration '___argv' definition 'argv'. [funcArgNamesDifferent] grep-3.12/lib/getopt_int.h:107:48: note: Function '_getopt_long_r' argument 2 names different: declaration '___argv' definition 'argv'. grep-3.12/lib/getopt1.c:36:34: note: Function '_getopt_long_r' argument 2 names different: declaration '___argv' definition 'argv'. grep-3.12/lib/getopt1.c:36:52: style:inconclusive: Function '_getopt_long_r' argument 3 names different: declaration '__shortopts' definition 'options'. [funcArgNamesDifferent] grep-3.12/lib/getopt_int.h:108:19: note: Function '_getopt_long_r' argument 3 names different: declaration '__shortopts' definition 'options'. grep-3.12/lib/getopt1.c:36:52: note: Function '_getopt_long_r' argument 3 names different: declaration '__shortopts' definition 'options'. grep-3.12/lib/getopt1.c:37:24: style:inconclusive: Function '_getopt_long_r' argument 4 names different: declaration '__longopts' definition 'long_options'. [funcArgNamesDifferent] grep-3.12/lib/getopt_int.h:109:28: note: Function '_getopt_long_r' argument 4 names different: declaration '__longopts' definition 'long_options'. grep-3.12/lib/getopt1.c:37:24: note: Function '_getopt_long_r' argument 4 names different: declaration '__longopts' definition 'long_options'. grep-3.12/lib/getopt1.c:37:43: style:inconclusive: Function '_getopt_long_r' argument 5 names different: declaration '__longind' definition 'opt_index'. [funcArgNamesDifferent] grep-3.12/lib/getopt_int.h:109:45: note: Function '_getopt_long_r' argument 5 names different: declaration '__longind' definition 'opt_index'. grep-3.12/lib/getopt1.c:37:43: note: Function '_getopt_long_r' argument 5 names different: declaration '__longind' definition 'opt_index'. grep-3.12/lib/getopt1.c:38:24: style:inconclusive: Function '_getopt_long_r' argument 6 names different: declaration '__data' definition 'd'. [funcArgNamesDifferent] grep-3.12/lib/getopt_int.h:110:28: note: Function '_getopt_long_r' argument 6 names different: declaration '__data' definition 'd'. grep-3.12/lib/getopt1.c:38:24: note: Function '_getopt_long_r' argument 6 names different: declaration '__data' definition 'd'. grep-3.12/lib/getopt1.c:59:26: style:inconclusive: Function '_getopt_long_only_r' argument 1 names different: declaration '___argc' definition 'argc'. [funcArgNamesDifferent] grep-3.12/lib/getopt_int.h:112:37: note: Function '_getopt_long_only_r' argument 1 names different: declaration '___argc' definition 'argc'. grep-3.12/lib/getopt1.c:59:26: note: Function '_getopt_long_only_r' argument 1 names different: declaration '___argc' definition 'argc'. grep-3.12/lib/getopt1.c:59:39: style:inconclusive: Function '_getopt_long_only_r' argument 2 names different: declaration '___argv' definition 'argv'. [funcArgNamesDifferent] grep-3.12/lib/getopt_int.h:112:53: note: Function '_getopt_long_only_r' argument 2 names different: declaration '___argv' definition 'argv'. grep-3.12/lib/getopt1.c:59:39: note: Function '_getopt_long_only_r' argument 2 names different: declaration '___argv' definition 'argv'. grep-3.12/lib/getopt1.c:59:57: style:inconclusive: Function '_getopt_long_only_r' argument 3 names different: declaration '__shortopts' definition 'options'. [funcArgNamesDifferent] grep-3.12/lib/getopt_int.h:113:17: note: Function '_getopt_long_only_r' argument 3 names different: declaration '__shortopts' definition 'options'. grep-3.12/lib/getopt1.c:59:57: note: Function '_getopt_long_only_r' argument 3 names different: declaration '__shortopts' definition 'options'. grep-3.12/lib/getopt1.c:60:29: style:inconclusive: Function '_getopt_long_only_r' argument 4 names different: declaration '__longopts' definition 'long_options'. [funcArgNamesDifferent] grep-3.12/lib/getopt_int.h:114:26: note: Function '_getopt_long_only_r' argument 4 names different: declaration '__longopts' definition 'long_options'. grep-3.12/lib/getopt1.c:60:29: note: Function '_getopt_long_only_r' argument 4 names different: declaration '__longopts' definition 'long_options'. grep-3.12/lib/getopt1.c:60:48: style:inconclusive: Function '_getopt_long_only_r' argument 5 names different: declaration '__longind' definition 'opt_index'. [funcArgNamesDifferent] grep-3.12/lib/getopt_int.h:115:10: note: Function '_getopt_long_only_r' argument 5 names different: declaration '__longind' definition 'opt_index'. grep-3.12/lib/getopt1.c:60:48: note: Function '_getopt_long_only_r' argument 5 names different: declaration '__longind' definition 'opt_index'. grep-3.12/lib/getopt1.c:61:29: style:inconclusive: Function '_getopt_long_only_r' argument 6 names different: declaration '__data' definition 'd'. [funcArgNamesDifferent] grep-3.12/lib/getopt_int.h:116:26: note: Function '_getopt_long_only_r' argument 6 names different: declaration '__data' definition 'd'. grep-3.12/lib/getopt1.c:61:29: note: Function '_getopt_long_only_r' argument 6 names different: declaration '__data' definition 'd'. grep-3.12/lib/hard-locale.c:30:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SETLOCALE_NULL_MAX [valueFlowBailoutIncompleteVar] grep-3.12/lib/hash.h:31:0: error: #error "Please include config.h first." [preprocessorErrorDirective] grep-3.12/lib/hash.h:31:3: error: #error "Please include config.h first." [preprocessorErrorDirective] grep-3.12/lib/i-ring.h:20:0: error: #error "Please include config.h first." [preprocessorErrorDirective] grep-3.12/lib/i-ring.h:20:3: error: #error "Please include config.h first." [preprocessorErrorDirective] grep-3.12/lib/ialloc.h:24:0: error: #error "Please include config.h first." [preprocessorErrorDirective] grep-3.12/lib/ialloc.h:24:3: error: #error "Please include config.h first." [preprocessorErrorDirective] grep-3.12/lib/isatty.c:99:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] grep-3.12/lib/isatty.c:170:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_HANDLE_VALUE [valueFlowBailoutIncompleteVar] grep-3.12/lib/localcharset.c:1090:14: style: Condition 'locale==NULL' is always true [knownConditionTrueFalse] grep-3.12/lib/localcharset.c:1081:24: note: Assignment 'locale=NULL', assigned value is 0 grep-3.12/lib/localcharset.c:1090:14: note: Condition 'locale==NULL' is always true grep-3.12/lib/localcharset.c:579:14: style: struct member 'table_entry::locale' is never used. [unusedStructMember] grep-3.12/lib/localcharset.c:580:14: style: struct member 'table_entry::canonical' is never used. [unusedStructMember] grep-3.12/lib/localcharset.c:1099:22: style: Variable 'locale' is assigned a value that is never used. [unreadVariable] grep-3.12/lib/localeinfo.c:97:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MB_CUR_MAX [valueFlowBailoutIncompleteVar] grep-3.12/lib/lseek.c:80:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] grep-3.12/lib/malloc.c:43:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] grep-3.12/lib/malloc/dynarray-skeleton.c:95:0: error: #error "DYNARRAY_STRUCT must be defined" [preprocessorErrorDirective] grep-3.12/lib/malloc/dynarray-skeleton.c:95:3: error: #error "DYNARRAY_STRUCT must be defined" [preprocessorErrorDirective] grep-3.12/lib/malloc/dynarray_emplace_enlarge.c:53:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] grep-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] grep-3.12/lib/malloc/dynarray_emplace_enlarge.c:77:18: note: You might need to cast the function pointer here grep-3.12/lib/malloc/dynarray_emplace_enlarge.c:31:40: note: Parameter 'scratch' can be declared as pointer to const grep-3.12/lib/malloc/dynarray_finalize.c:59:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable array [valueFlowBailoutIncompleteVar] grep-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] grep-3.12/lib/malloc/dynarray_finalize.c:66:18: note: You might need to cast the function pointer here grep-3.12/lib/malloc/dynarray_finalize.c:29:33: note: Parameter 'scratch' can be declared as pointer to const grep-3.12/lib/malloc/dynarray_resize.c:48:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] grep-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] grep-3.12/lib/malloc/dynarray_resize.c:68:18: note: You might need to cast the function pointer here grep-3.12/lib/malloc/dynarray_resize.c:31:31: note: Parameter 'scratch' can be declared as pointer to const grep-3.12/lib/malloca.h:24:0: error: #error "Please include config.h first." [preprocessorErrorDirective] grep-3.12/lib/malloca.h:24:3: error: #error "Please include config.h first." [preprocessorErrorDirective] grep-3.12/lib/mbscasecmp.c:52:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MB_CUR_MAX [valueFlowBailoutIncompleteVar] grep-3.12/lib/mbscasecmp.c:111:17: style:inconclusive: Boolean expression '!c1' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] grep-3.12/lib/mbscasecmp.c:111:17: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] grep-3.12/lib/strnlen1.h:22:0: error: #error "Please include config.h first." [preprocessorErrorDirective] grep-3.12/lib/strnlen1.h:22:3: error: #error "Please include config.h first." [preprocessorErrorDirective] grep-3.12/lib/mbtowc-impl.h:37:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] grep-3.12/lib/mcel.h:92:0: error: #error "Please include config.h first." [preprocessorErrorDirective] grep-3.12/lib/mcel.h:92:3: error: #error "Please include config.h first." [preprocessorErrorDirective] grep-3.12/lib/memchr2.h:19:0: error: #error "Please include config.h first." [preprocessorErrorDirective] grep-3.12/lib/memchr2.h:19:3: error: #error "Please include config.h first." [preprocessorErrorDirective] grep-3.12/lib/msvc-inval.h:57:0: error: #error "Please include config.h first." [preprocessorErrorDirective] grep-3.12/lib/msvc-inval.h:57:3: error: #error "Please include config.h first." [preprocessorErrorDirective] grep-3.12/lib/msvc-nothrow.h:30:0: error: #error "Please include config.h first." [preprocessorErrorDirective] grep-3.12/lib/msvc-nothrow.h:30:3: error: #error "Please include config.h first." [preprocessorErrorDirective] grep-3.12/lib/nl_langinfo.c:83:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SETLOCALE_NULL_MAX [valueFlowBailoutIncompleteVar] grep-3.12/lib/nl_langinfo.c:406:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable decimal_point [valueFlowBailoutIncompleteVar] grep-3.12/lib/nl_langinfo.c:480:5: style: Statements following 'return' will never be executed. [unreachableCode] grep-3.12/lib/nl_langinfo.c:531:5: style: Statements following 'return' will never be executed. [unreachableCode] grep-3.12/lib/obstack.c:117:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable obstack_alloc_failed_handler [valueFlowBailoutIncompleteVar] grep-3.12/lib/obstack.c:181:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable obstack_alloc_failed_handler [valueFlowBailoutIncompleteVar] grep-3.12/lib/obstack.c:322:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] grep-3.12/lib/obstack.c:220:39: style: Parameter 'h' can be declared as pointer to const [constParameterPointer] grep-3.12/lib/obstack.c:220:48: style: Parameter 'obj' can be declared as pointer to const [constParameterPointer] grep-3.12/lib/obstack.c:271:39: style: Parameter 'h' can be declared as pointer to const [constParameterPointer] grep-3.12/lib/open-safer.c:33:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] grep-3.12/lib/open.c:76:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] grep-3.12/lib/openat-proc.c:82:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_SEARCH [valueFlowBailoutIncompleteVar] grep-3.12/lib/openat-safer.c:33:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] grep-3.12/lib/opendir.c:93:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PATH [valueFlowBailoutIncompleteVar] grep-3.12/lib/opendirat.c:42:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] grep-3.12/lib/pipe-safer.c:41:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] grep-3.12/lib/pipe.c:48:0: error: #error "This platform lacks a pipe function, and Gnulib doesn't provide a replacement. This is a bug in Gnulib." [preprocessorErrorDirective] grep-3.12/lib/pipe.c:48:3: error: #error "This platform lacks a pipe function, and Gnulib doesn't provide a replacement. This is a bug in Gnulib." [preprocessorErrorDirective] grep-3.12/lib/quotearg.c:25:0: error: failed to evaluate #if condition, undefined function-like macro invocation: _GL_GNUC_PREREQ( ... ) [preprocessorErrorDirective] grep-3.12/lib/quotearg.c:25:2: error: failed to evaluate #if condition, undefined function-like macro invocation: _GL_GNUC_PREREQ( ... ) [preprocessorErrorDirective] grep-3.12/lib/rawmemchr.c:47:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UINTPTR_WIDTH [valueFlowBailoutIncompleteVar] grep-3.12/lib/rawmemchr.c:120:16: style: Variable 's' is reassigned a value before the old one has been used. [redundantAssignment] grep-3.12/lib/rawmemchr.c:61:36: note: s is assigned grep-3.12/lib/rawmemchr.c:120:16: note: s is overwritten grep-3.12/lib/rawmemchr.c:120:16: style: Variable 's' is assigned a value that is never used. [unreadVariable] grep-3.12/lib/readdir.c:68:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] grep-3.12/lib/realloc.c:90:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] grep-3.12/lib/reallocarray.c:32:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] grep-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] grep-3.12/lib/regex.c:25:0: error: failed to evaluate #if condition, undefined function-like macro invocation: __GNUC_PREREQ( ... ) [preprocessorErrorDirective] grep-3.12/lib/regex.c:25:3: error: failed to evaluate #if condition, undefined function-like macro invocation: __GNUC_PREREQ( ... ) [preprocessorErrorDirective] grep-3.12/lib/regex_internal.c:60:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] grep-3.12/lib/regex_internal.c:79:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable re_string_t [valueFlowBailoutIncompleteVar] grep-3.12/lib/regex_internal.c:141:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Idx [valueFlowBailoutIncompleteVar] grep-3.12/lib/regex_internal.c:261:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WEOF [valueFlowBailoutIncompleteVar] grep-3.12/lib/regex_internal.c:337:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WEOF [valueFlowBailoutIncompleteVar] grep-3.12/lib/regex_internal.c:494:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WEOF [valueFlowBailoutIncompleteVar] grep-3.12/lib/regex_internal.c:586:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOTBOL [valueFlowBailoutIncompleteVar] grep-3.12/lib/regex_internal.c:902:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOTEOL [valueFlowBailoutIncompleteVar] grep-3.12/lib/regex_internal.c:939:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Idx [valueFlowBailoutIncompleteVar] grep-3.12/lib/regex_internal.c:951:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Idx [valueFlowBailoutIncompleteVar] grep-3.12/lib/regex_internal.c:966:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Idx [valueFlowBailoutIncompleteVar] grep-3.12/lib/regex_internal.c:999:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Idx [valueFlowBailoutIncompleteVar] grep-3.12/lib/regex_internal.c:1023:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] grep-3.12/lib/regex_internal.c:1116:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Idx [valueFlowBailoutIncompleteVar] grep-3.12/lib/regex_internal.c:1166:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] grep-3.12/lib/regex_internal.c:1254:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] grep-3.12/lib/regex_internal.c:1311:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Idx [valueFlowBailoutIncompleteVar] grep-3.12/lib/regex_internal.c:1387:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable re_token_t [valueFlowBailoutIncompleteVar] grep-3.12/lib/regex_internal.c:1460:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] grep-3.12/lib/regex_internal.c:1508:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] grep-3.12/lib/regex_internal.c:1545:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] grep-3.12/lib/regex_internal.c:1598:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable re_dfastate_t [valueFlowBailoutIncompleteVar] grep-3.12/lib/regex_internal.c:1646:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable re_dfastate_t [valueFlowBailoutIncompleteVar] grep-3.12/lib/regex_internal.c:1611:19: style: Variable 'node' can be declared as pointer to const [constVariablePointer] grep-3.12/lib/regex_internal.c:1661:19: style: Variable 'node' can be declared as pointer to const [constVariablePointer] grep-3.12/lib/regexec.c:194:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOTBOL [valueFlowBailoutIncompleteVar] grep-3.12/lib/regexec.c:413:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable regmatch_t [valueFlowBailoutIncompleteVar] grep-3.12/lib/regexec.c:457:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REGS_REALLOCATE [valueFlowBailoutIncompleteVar] grep-3.12/lib/regexec.c:537:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REGS_REALLOCATE [valueFlowBailoutIncompleteVar] grep-3.12/lib/regexec.c:609:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOMATCH [valueFlowBailoutIncompleteVar] grep-3.12/lib/regexec.c:909:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_ESPACE [valueFlowBailoutIncompleteVar] grep-3.12/lib/regexec.c:1042:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] grep-3.12/lib/regexec.c:1164:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] grep-3.12/lib/regexec.c:1205:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] grep-3.12/lib/regexec.c:1315:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable re_fail_stack_ent_t [valueFlowBailoutIncompleteVar] grep-3.12/lib/regexec.c:1342:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable idx [valueFlowBailoutIncompleteVar] grep-3.12/lib/regexec.c:1381:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable re_fail_stack_ent_t [valueFlowBailoutIncompleteVar] grep-3.12/lib/regexec.c:1465:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable eps_via_nodes [valueFlowBailoutIncompleteVar] grep-3.12/lib/regexec.c:1477:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] grep-3.12/lib/regexec.c:1557:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] grep-3.12/lib/regexec.c:1605:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable non_eps_nodes [valueFlowBailoutIncompleteVar] grep-3.12/lib/regexec.c:1668:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] grep-3.12/lib/regexec.c:1695:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nodes [valueFlowBailoutIncompleteVar] grep-3.12/lib/regexec.c:1714:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] grep-3.12/lib/regexec.c:1760:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] grep-3.12/lib/regexec.c:1798:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] grep-3.12/lib/regexec.c:1846:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable idx [valueFlowBailoutIncompleteVar] grep-3.12/lib/regexec.c:1880:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] grep-3.12/lib/regexec.c:1994:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable idx [valueFlowBailoutIncompleteVar] grep-3.12/lib/regexec.c:2076:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] grep-3.12/lib/regexec.c:2172:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nodes [valueFlowBailoutIncompleteVar] grep-3.12/lib/regexec.c:2203:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] grep-3.12/lib/regexec.c:2279:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] grep-3.12/lib/regexec.c:2371:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] grep-3.12/lib/regexec.c:2442:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable accept_mb [valueFlowBailoutIncompleteVar] grep-3.12/lib/regexec.c:2511:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_BACK_REF [valueFlowBailoutIncompleteVar] grep-3.12/lib/regexec.c:2620:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] grep-3.12/lib/regexec.c:2768:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_OPEN_SUBEXP [valueFlowBailoutIncompleteVar] grep-3.12/lib/regexec.c:2815:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] grep-3.12/lib/regexec.c:2982:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] grep-3.12/lib/regexec.c:3059:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] grep-3.12/lib/regexec.c:3110:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] grep-3.12/lib/regexec.c:3156:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] grep-3.12/lib/regexec.c:3244:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SBC_MAX [valueFlowBailoutIncompleteVar] grep-3.12/lib/regexec.c:3444:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CHARACTER [valueFlowBailoutIncompleteVar] grep-3.12/lib/regexec.c:3619:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_UTF8_PERIOD [valueFlowBailoutIncompleteVar] grep-3.12/lib/regexec.c:3918:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ASCII_CHARS [valueFlowBailoutIncompleteVar] grep-3.12/lib/regexec.c:3956:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_ESPACE [valueFlowBailoutIncompleteVar] grep-3.12/lib/regexec.c:4018:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable re_backref_cache_entry [valueFlowBailoutIncompleteVar] grep-3.12/lib/regexec.c:4094:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable re_backref_cache_entry [valueFlowBailoutIncompleteVar] grep-3.12/lib/regexec.c:4143:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable str_idx [valueFlowBailoutIncompleteVar] grep-3.12/lib/regexec.c:4170:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_ESPACE [valueFlowBailoutIncompleteVar] grep-3.12/lib/regexec.c:4201:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable re_sub_match_last_t [valueFlowBailoutIncompleteVar] grep-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] grep-3.12/lib/regexec.c:94:15: note: Function 'check_dst_limits_calc_pos' argument 4 names different: declaration 'node' definition 'from_node'. grep-3.12/lib/regexec.c:1950:27: note: Function 'check_dst_limits_calc_pos' argument 4 names different: declaration 'node' definition 'from_node'. grep-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] grep-3.12/lib/regexec.c:163:25: note: Function 'group_nodes_into_DFAstates' argument 3 names different: declaration 'states_node' definition 'dests_node'. grep-3.12/lib/regexec.c:3425:21: note: Function 'group_nodes_into_DFAstates' argument 3 names different: declaration 'states_node' definition 'dests_node'. grep-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] grep-3.12/lib/regexec.c:164:22: note: Function 'group_nodes_into_DFAstates' argument 4 names different: declaration 'states_ch' definition 'dests_ch'. grep-3.12/lib/regexec.c:3425:43: note: Function 'group_nodes_into_DFAstates' argument 4 names different: declaration 'states_ch' definition 'dests_ch'. grep-3.12/lib/regexec.c:3613:35: style:inconclusive: Function 'check_node_accept_bytes' argument 4 names different: declaration 'idx' definition 'str_idx'. [funcArgNamesDifferent] grep-3.12/lib/regexec.c:156:39: note: Function 'check_node_accept_bytes' argument 4 names different: declaration 'idx' definition 'str_idx'. grep-3.12/lib/regexec.c:3613:35: note: Function 'check_node_accept_bytes' argument 4 names different: declaration 'idx' definition 'str_idx'. grep-3.12/lib/regexec.c:4010:37: style:inconclusive: Function 'match_ctx_init' argument 1 names different: declaration 'cache' definition 'mctx'. [funcArgNamesDifferent] grep-3.12/lib/regexec.c:20:58: note: Function 'match_ctx_init' argument 1 names different: declaration 'cache' definition 'mctx'. grep-3.12/lib/regexec.c:4010:37: note: Function 'match_ctx_init' argument 1 names different: declaration 'cache' definition 'mctx'. grep-3.12/lib/regexec.c:4073:37: style:inconclusive: Function 'match_ctx_free' argument 1 names different: declaration 'cache' definition 'mctx'. [funcArgNamesDifferent] grep-3.12/lib/regexec.c:23:49: note: Function 'match_ctx_free' argument 1 names different: declaration 'cache' definition 'mctx'. grep-3.12/lib/regexec.c:4073:37: note: Function 'match_ctx_free' argument 1 names different: declaration 'cache' definition 'mctx'. grep-3.12/lib/regexec.c:4088:42: style:inconclusive: Function 'match_ctx_add_entry' argument 1 names different: declaration 'cache' definition 'mctx'. [funcArgNamesDifferent] grep-3.12/lib/regexec.c:24:63: note: Function 'match_ctx_add_entry' argument 1 names different: declaration 'cache' definition 'mctx'. grep-3.12/lib/regexec.c:4088:42: note: Function 'match_ctx_add_entry' argument 1 names different: declaration 'cache' definition 'mctx'. grep-3.12/lib/regexec.c:798:20: style: Variable 'pstate' can be declared as pointer to const [constVariablePointer] grep-3.12/lib/regexec.c:1307:27: style: Parameter 'regs' can be declared as pointer to const [constParameterPointer] grep-3.12/lib/regexec.c:1307:45: style: Parameter 'prevregs' can be declared as pointer to const [constParameterPointer] grep-3.12/lib/regexec.c:1844:38: style: Variable 'ent' can be declared as pointer to const [constVariablePointer] grep-3.12/lib/regexec.c:1953:34: style: Variable 'lim' can be declared as pointer to const [constVariablePointer] grep-3.12/lib/regexec.c:1988:38: style: Variable 'ent' can be declared as pointer to const [constVariablePointer] grep-3.12/lib/regexec.c:2084:38: style: Variable 'entry' can be declared as pointer to const [constVariablePointer] grep-3.12/lib/regexec.c:2536:35: style: Variable 'bkref_ent' can be declared as pointer to const [constVariablePointer] grep-3.12/lib/safe-read.c:66:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] grep-3.12/lib/setlocale_null-unlocked.c:125:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] grep-3.12/lib/setlocale_null.c:205:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] grep-3.12/lib/sigsegv.c:1418:38: style: Parameter 'extra_stack' can be declared as pointer to const [constParameterPointer] grep-3.12/lib/stackvma.c:2375:56: style: Parameter 'vma' can be declared as pointer to const [constParameterPointer] grep-3.12/lib/strerror-override.h:23:0: error: #error "Please include config.h first." [preprocessorErrorDirective] grep-3.12/lib/strerror-override.h:23:3: error: #error "Please include config.h first." [preprocessorErrorDirective] grep-3.12/lib/strnlen.c:32:5: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] grep-3.12/lib/str-two-way.h:136:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE_MAX [valueFlowBailoutIncompleteVar] grep-3.12/lib/str-two-way.h:302:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE_MAX [valueFlowBailoutIncompleteVar] grep-3.12/lib/str-two-way.h:434:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE_MAX [valueFlowBailoutIncompleteVar] grep-3.12/lib/strtol.c:257:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] grep-3.12/lib/strtol.c:329:13: warning: Either the condition 's==end' is redundant or there is possible null pointer dereference: s. [nullPointerRedundantCheck] grep-3.12/lib/strtol.c:322:11: note: Assignment 'end=NULL', assigned value is 0 grep-3.12/lib/strtol.c:331:13: note: Assuming that condition 's==end' is not redundant grep-3.12/lib/strtol.c:303:10: note: Assignment 'save=s', assigned value is 0 grep-3.12/lib/strtol.c:303:8: note: save is assigned 's' here. grep-3.12/lib/strtol.c:329:13: note: Null pointer dereference grep-3.12/lib/version-etc.h:24:0: error: #error "Please include config.h first." [preprocessorErrorDirective] grep-3.12/lib/version-etc.h:24:4: error: #error "Please include config.h first." [preprocessorErrorDirective] grep-3.12/lib/wcrtomb.c:35:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] grep-3.12/lib/wcrtomb.c:28:42: style: Parameter 'ps' can be declared as pointer to const [constParameterPointer] grep-3.12/lib/wctob.c:31:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MB_CUR_MAX [valueFlowBailoutIncompleteVar] grep-3.12/lib/windows-mutex.c:78:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EBUSY [valueFlowBailoutIncompleteVar] grep-3.12/lib/windows-mutex.c:105:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] grep-3.12/lib/windows-mutex.c:115:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] grep-3.12/lib/windows-recmutex.c:64:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EAGAIN [valueFlowBailoutIncompleteVar] grep-3.12/lib/windows-recmutex.c:84:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EBUSY [valueFlowBailoutIncompleteVar] grep-3.12/lib/windows-recmutex.c:108:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EPERM [valueFlowBailoutIncompleteVar] grep-3.12/lib/windows-recmutex.c:123:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EBUSY [valueFlowBailoutIncompleteVar] grep-3.12/lib/windows-rwlock.c:56:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HANDLE [valueFlowBailoutIncompleteVar] grep-3.12/lib/windows-rwlock.c:161:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_HANDLE_VALUE [valueFlowBailoutIncompleteVar] grep-3.12/lib/windows-rwlock.c:218:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_HANDLE_VALUE [valueFlowBailoutIncompleteVar] grep-3.12/lib/windows-rwlock.c:279:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EBUSY [valueFlowBailoutIncompleteVar] grep-3.12/lib/windows-rwlock.c:312:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EBUSY [valueFlowBailoutIncompleteVar] grep-3.12/lib/windows-rwlock.c:323:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] grep-3.12/lib/windows-rwlock.c:367:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] grep-3.12/lib/xalloc.h:25:0: error: #error "Please include config.h first." [preprocessorErrorDirective] grep-3.12/lib/xalloc.h:25:3: error: #error "Please include config.h first." [preprocessorErrorDirective] grep-3.12/lib/xbinary-io.h:22:0: error: #error "Please include config.h first." [preprocessorErrorDirective] grep-3.12/lib/xbinary-io.h:22:3: error: #error "Please include config.h first." [preprocessorErrorDirective] grep-3.12/lib/xstrtol.c:90:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] grep-3.12/lib/xstrtol.c:52:15: style: Checking if unsigned expression '*x' is less than zero. [unsignedLessThanZero] grep-3.12/src/dfasearch.c:51:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXIT_TROUBLE [valueFlowBailoutIncompleteVar] grep-3.12/src/dfasearch.c:81:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable eolbyte [valueFlowBailoutIncompleteVar] grep-3.12/src/dfasearch.c:150:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IDX_MAX [valueFlowBailoutIncompleteVar] grep-3.12/src/dfasearch.c:203:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable match_icase [valueFlowBailoutIncompleteVar] grep-3.12/src/dfasearch.c:356:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable eolbyte [valueFlowBailoutIncompleteVar] grep-3.12/src/dfasearch.c:210:40: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] grep-3.12/src/dfasearch.c:421:45: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] grep-3.12/src/dfasearch.c:201:3: warning: If memory allocation fails, then there is a possible null pointer dereference: dc [nullPointerOutOfMemory] grep-3.12/src/dfasearch.c:199:33: note: Assuming allocation function fails grep-3.12/src/dfasearch.c:199:33: note: Assignment 'dc=xcalloc(1,sizeof(*dc))', assigned value is 0 grep-3.12/src/dfasearch.c:201:3: note: Null pointer dereference grep-3.12/src/dfasearch.c:209:14: warning: If memory allocation fails, then there is a possible null pointer dereference: dc [nullPointerOutOfMemory] grep-3.12/src/dfasearch.c:199:33: note: Assuming allocation function fails grep-3.12/src/dfasearch.c:199:33: note: Assignment 'dc=xcalloc(1,sizeof(*dc))', assigned value is 0 grep-3.12/src/dfasearch.c:209:14: note: Null pointer dereference grep-3.12/src/dfasearch.c:220:3: warning: If memory allocation fails, then there is a possible null pointer dereference: dc [nullPointerOutOfMemory] grep-3.12/src/dfasearch.c:199:33: note: Assuming allocation function fails grep-3.12/src/dfasearch.c:199:33: note: Assignment 'dc=xcalloc(1,sizeof(*dc))', assigned value is 0 grep-3.12/src/dfasearch.c:220:3: note: Null pointer dereference grep-3.12/src/dfasearch.c:221:3: warning: If memory allocation fails, then there is a possible null pointer dereference: dc [nullPointerOutOfMemory] grep-3.12/src/dfasearch.c:199:33: note: Assuming allocation function fails grep-3.12/src/dfasearch.c:199:33: note: Assignment 'dc=xcalloc(1,sizeof(*dc))', assigned value is 0 grep-3.12/src/dfasearch.c:221:3: note: Null pointer dereference grep-3.12/src/dfasearch.c:222:3: warning: If memory allocation fails, then there is a possible null pointer dereference: dc [nullPointerOutOfMemory] grep-3.12/src/dfasearch.c:199:33: note: Assuming allocation function fails grep-3.12/src/dfasearch.c:199:33: note: Assignment 'dc=xcalloc(1,sizeof(*dc))', assigned value is 0 grep-3.12/src/dfasearch.c:222:3: note: Null pointer dereference grep-3.12/src/dfasearch.c:254:28: warning: If memory allocation fails, then there is a possible null pointer dereference: dc [nullPointerOutOfMemory] grep-3.12/src/dfasearch.c:199:33: note: Assuming allocation function fails grep-3.12/src/dfasearch.c:199:33: note: Assignment 'dc=xcalloc(1,sizeof(*dc))', assigned value is 0 grep-3.12/src/dfasearch.c:254:28: note: Null pointer dereference grep-3.12/src/dfasearch.c:257:11: warning: If memory allocation fails, then there is a possible null pointer dereference: dc [nullPointerOutOfMemory] grep-3.12/src/dfasearch.c:199:33: note: Assuming allocation function fails grep-3.12/src/dfasearch.c:199:33: note: Assignment 'dc=xcalloc(1,sizeof(*dc))', assigned value is 0 grep-3.12/src/dfasearch.c:257:11: note: Null pointer dereference grep-3.12/src/dfasearch.c:257:35: warning: If memory allocation fails, then there is a possible null pointer dereference: dc [nullPointerOutOfMemory] grep-3.12/src/dfasearch.c:199:33: note: Assuming allocation function fails grep-3.12/src/dfasearch.c:199:33: note: Assignment 'dc=xcalloc(1,sizeof(*dc))', assigned value is 0 grep-3.12/src/dfasearch.c:257:35: note: Null pointer dereference grep-3.12/src/dfasearch.c:259:11: warning: If memory allocation fails, then there is a possible null pointer dereference: dc [nullPointerOutOfMemory] grep-3.12/src/dfasearch.c:199:33: note: Assuming allocation function fails grep-3.12/src/dfasearch.c:199:33: note: Assignment 'dc=xcalloc(1,sizeof(*dc))', assigned value is 0 grep-3.12/src/dfasearch.c:259:11: note: Null pointer dereference grep-3.12/src/dfasearch.c:262:39: warning: If memory allocation fails, then there is a possible null pointer dereference: dc [nullPointerOutOfMemory] grep-3.12/src/dfasearch.c:199:33: note: Assuming allocation function fails grep-3.12/src/dfasearch.c:199:33: note: Assignment 'dc=xcalloc(1,sizeof(*dc))', assigned value is 0 grep-3.12/src/dfasearch.c:262:39: note: Null pointer dereference grep-3.12/src/dfasearch.c:152:43: style: Clarify calculation precedence for '|' and '?'. [clarifyCalculation] grep-3.12/src/dfasearch.c:207:56: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] grep-3.12/src/grep.c:135:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE_MAX [valueFlowBailoutIncompleteVar] grep-3.12/src/grep.c:194:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lineno [valueFlowBailoutIncompleteVar] grep-3.12/src/grep.c:450:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] grep-3.12/src/grep.c:456:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] grep-3.12/src/grep.c:473:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] grep-3.12/src/grep.c:480:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] grep-3.12/src/grep.c:801:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_BINARY [valueFlowBailoutIncompleteVar] grep-3.12/src/grep.c:847:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXCLUDE_WILDCARDS [valueFlowBailoutIncompleteVar] grep-3.12/src/grep.c:941:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] grep-3.12/src/grep.c:1036:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] grep-3.12/src/grep.c:1151:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIdMAX [valueFlowBailoutIncompleteVar] grep-3.12/src/grep.c:1545:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] grep-3.12/src/grep.c:1664:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FTS_ROOTLEVEL [valueFlowBailoutIncompleteVar] grep-3.12/src/grep.c:1747:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ELOOP [valueFlowBailoutIncompleteVar] grep-3.12/src/grep.c:1759:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] grep-3.12/src/grep.c:1815:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] grep-3.12/src/grep.c:1838:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] grep-3.12/src/grep.c:1960:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_BINARY [valueFlowBailoutIncompleteVar] grep-3.12/src/grep.c:2137:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optind [valueFlowBailoutIncompleteVar] grep-3.12/src/grep.c:2266:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WEOF [valueFlowBailoutIncompleteVar] grep-3.12/src/grep.c:2297:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WEOF [valueFlowBailoutIncompleteVar] grep-3.12/src/grep.c:2477:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable exit_failure [valueFlowBailoutIncompleteVar] grep-3.12/src/grep.c:622:54: style:inconclusive: Boolean expression 'devices==READ_COMMAND_LINE_DEVICES' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] grep-3.12/src/grep.c:721:37: style:inconclusive: Boolean expression 'localeinfo.sbclen[i]!=1' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] grep-3.12/src/grep.c:1028:28: style:inconclusive: Boolean expression 'fillsize==0' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] grep-3.12/src/grep.c:1207:42: style:inconclusive: Boolean expression 'out_byte' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] grep-3.12/src/grep.c:2896:21: style:inconclusive: Boolean expression 'exit_on_match' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] grep-3.12/src/grep.c:2898:22: style:inconclusive: Boolean expression 'exit_on_match' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] grep-3.12/src/grep.c:2904:29: style:inconclusive: Boolean expression 'count_matches' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] grep-3.12/src/grep.c:2904:45: style:inconclusive: Boolean expression 'exit_on_match' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] grep-3.12/src/grep.c:809:42: error: Invalid lseek() argument nr 3. The value is 4 but the valid values are '0:2'. [invalidFunctionArg] grep-3.12/src/grep.c:1035:57: error: Invalid lseek() argument nr 3. The value is 3 but the valid values are '0:2'. [invalidFunctionArg] grep-3.12/src/grep.c:622:54: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] grep-3.12/src/grep.c:721:37: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] grep-3.12/src/grep.c:1028:28: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] grep-3.12/src/grep.c:2204:10: warning: If memory allocation fails, then there is a possible null pointer dereference: q [nullPointerOutOfMemory] grep-3.12/src/grep.c:2198:15: note: Assuming allocation function fails grep-3.12/src/grep.c:2198:15: note: Assignment 'q=xstrdup(p)', assigned value is 0 grep-3.12/src/grep.c:2204:10: note: Null pointer dereference grep-3.12/src/grep.c:1873:38: error: Null pointer dereference [nullPointer] grep-3.12/src/grep.c:750:5: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] grep-3.12/src/grep.c:752:5: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] grep-3.12/src/grep.c:1707:24: style: Variable 'st' can be declared as pointer to const [constVariablePointer] grep-3.12/src/grep.c:2191:9: style: Variable 'val' can be declared as pointer to const [constVariablePointer] grep-3.12/src/kwsearch.c:62:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable match_lines [valueFlowBailoutIncompleteVar] grep-3.12/src/kwsearch.c:111:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable eolbyte [valueFlowBailoutIncompleteVar] grep-3.12/src/kwsearch.c:115:28: style:inconclusive: Boolean expression 'mb_check' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] grep-3.12/src/kwsearch.c:148:23: style:inconclusive: Boolean expression '!!start_ptr' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] grep-3.12/src/kwsearch.c:114:40: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] grep-3.12/src/kwsearch.c:114:65: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] grep-3.12/src/kwsearch.c:115:28: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] grep-3.12/src/kwsearch.c:115:57: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] grep-3.12/src/kwsearch.c:148:23: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] grep-3.12/src/kwsearch.c:93:3: warning: If memory allocation fails, then there is a possible null pointer dereference: kwsearch [nullPointerOutOfMemory] grep-3.12/src/kwsearch.c:92:39: note: Assuming allocation function fails grep-3.12/src/kwsearch.c:92:39: note: Assignment 'kwsearch=xmalloc(sizeof(*kwsearch))', assigned value is 0 grep-3.12/src/kwsearch.c:93:3: note: Null pointer dereference grep-3.12/src/kwsearch.c:94:3: warning: If memory allocation fails, then there is a possible null pointer dereference: kwsearch [nullPointerOutOfMemory] grep-3.12/src/kwsearch.c:92:39: note: Assuming allocation function fails grep-3.12/src/kwsearch.c:92:39: note: Assignment 'kwsearch=xmalloc(sizeof(*kwsearch))', assigned value is 0 grep-3.12/src/kwsearch.c:94:3: note: Null pointer dereference grep-3.12/src/kwsearch.c:95:3: warning: If memory allocation fails, then there is a possible null pointer dereference: kwsearch [nullPointerOutOfMemory] grep-3.12/src/kwsearch.c:92:39: note: Assuming allocation function fails grep-3.12/src/kwsearch.c:92:39: note: Assignment 'kwsearch=xmalloc(sizeof(*kwsearch))', assigned value is 0 grep-3.12/src/kwsearch.c:95:3: note: Null pointer dereference grep-3.12/src/kwsearch.c:96:3: warning: If memory allocation fails, then there is a possible null pointer dereference: kwsearch [nullPointerOutOfMemory] grep-3.12/src/kwsearch.c:92:39: note: Assuming allocation function fails grep-3.12/src/kwsearch.c:92:39: note: Assignment 'kwsearch=xmalloc(sizeof(*kwsearch))', assigned value is 0 grep-3.12/src/kwsearch.c:96:3: note: Null pointer dereference grep-3.12/src/kwsearch.c:97:3: warning: If memory allocation fails, then there is a possible null pointer dereference: kwsearch [nullPointerOutOfMemory] grep-3.12/src/kwsearch.c:92:39: note: Assuming allocation function fails grep-3.12/src/kwsearch.c:92:39: note: Assignment 'kwsearch=xmalloc(sizeof(*kwsearch))', assigned value is 0 grep-3.12/src/kwsearch.c:97:3: note: Null pointer dereference grep-3.12/src/kwset.c:143:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IDX_MAX [valueFlowBailoutIncompleteVar] grep-3.12/src/kwset.c:134:3: warning: If memory allocation fails, then there is a possible null pointer dereference: kwset [nullPointerOutOfMemory] grep-3.12/src/kwset.c:131:33: note: Assuming allocation function fails grep-3.12/src/kwset.c:131:33: note: Assignment 'kwset=xmalloc(sizeof(*kwset))', assigned value is 0 grep-3.12/src/kwset.c:134:3: note: Null pointer dereference grep-3.12/src/kwset.c:135:3: warning: If memory allocation fails, then there is a possible null pointer dereference: kwset [nullPointerOutOfMemory] grep-3.12/src/kwset.c:131:33: note: Assuming allocation function fails grep-3.12/src/kwset.c:131:33: note: Assignment 'kwset=xmalloc(sizeof(*kwset))', assigned value is 0 grep-3.12/src/kwset.c:135:3: note: Null pointer dereference grep-3.12/src/kwset.c:136:3: warning: If memory allocation fails, then there is a possible null pointer dereference: kwset [nullPointerOutOfMemory] grep-3.12/src/kwset.c:131:33: note: Assuming allocation function fails grep-3.12/src/kwset.c:131:33: note: Assignment 'kwset=xmalloc(sizeof(*kwset))', assigned value is 0 grep-3.12/src/kwset.c:136:3: note: Null pointer dereference grep-3.12/src/kwset.c:137:3: warning: If memory allocation fails, then there is a possible null pointer dereference: kwset [nullPointerOutOfMemory] grep-3.12/src/kwset.c:131:33: note: Assuming allocation function fails grep-3.12/src/kwset.c:131:33: note: Assignment 'kwset=xmalloc(sizeof(*kwset))', assigned value is 0 grep-3.12/src/kwset.c:137:3: note: Null pointer dereference grep-3.12/src/kwset.c:138:3: warning: If memory allocation fails, then there is a possible null pointer dereference: kwset [nullPointerOutOfMemory] grep-3.12/src/kwset.c:131:33: note: Assuming allocation function fails grep-3.12/src/kwset.c:131:33: note: Assignment 'kwset=xmalloc(sizeof(*kwset))', assigned value is 0 grep-3.12/src/kwset.c:138:3: note: Null pointer dereference grep-3.12/src/kwset.c:139:3: warning: If memory allocation fails, then there is a possible null pointer dereference: kwset [nullPointerOutOfMemory] grep-3.12/src/kwset.c:131:33: note: Assuming allocation function fails grep-3.12/src/kwset.c:131:33: note: Assignment 'kwset=xmalloc(sizeof(*kwset))', assigned value is 0 grep-3.12/src/kwset.c:139:3: note: Null pointer dereference grep-3.12/src/kwset.c:140:3: warning: If memory allocation fails, then there is a possible null pointer dereference: kwset [nullPointerOutOfMemory] grep-3.12/src/kwset.c:131:33: note: Assuming allocation function fails grep-3.12/src/kwset.c:131:33: note: Assignment 'kwset=xmalloc(sizeof(*kwset))', assigned value is 0 grep-3.12/src/kwset.c:140:3: note: Null pointer dereference grep-3.12/src/kwset.c:141:3: warning: If memory allocation fails, then there is a possible null pointer dereference: kwset [nullPointerOutOfMemory] grep-3.12/src/kwset.c:131:33: note: Assuming allocation function fails grep-3.12/src/kwset.c:131:33: note: Assignment 'kwset=xmalloc(sizeof(*kwset))', assigned value is 0 grep-3.12/src/kwset.c:141:3: note: Null pointer dereference grep-3.12/src/kwset.c:142:3: warning: If memory allocation fails, then there is a possible null pointer dereference: kwset [nullPointerOutOfMemory] grep-3.12/src/kwset.c:131:33: note: Assuming allocation function fails grep-3.12/src/kwset.c:131:33: note: Assignment 'kwset=xmalloc(sizeof(*kwset))', assigned value is 0 grep-3.12/src/kwset.c:142:3: note: Null pointer dereference grep-3.12/src/kwset.c:143:3: warning: If memory allocation fails, then there is a possible null pointer dereference: kwset [nullPointerOutOfMemory] grep-3.12/src/kwset.c:131:33: note: Assuming allocation function fails grep-3.12/src/kwset.c:131:33: note: Assignment 'kwset=xmalloc(sizeof(*kwset))', assigned value is 0 grep-3.12/src/kwset.c:143:3: note: Null pointer dereference grep-3.12/src/kwset.c:144:3: warning: If memory allocation fails, then there is a possible null pointer dereference: kwset [nullPointerOutOfMemory] grep-3.12/src/kwset.c:131:33: note: Assuming allocation function fails grep-3.12/src/kwset.c:131:33: note: Assignment 'kwset=xmalloc(sizeof(*kwset))', assigned value is 0 grep-3.12/src/kwset.c:144:3: note: Null pointer dereference grep-3.12/src/kwset.c:145:3: warning: If memory allocation fails, then there is a possible null pointer dereference: kwset [nullPointerOutOfMemory] grep-3.12/src/kwset.c:131:33: note: Assuming allocation function fails grep-3.12/src/kwset.c:131:33: note: Assignment 'kwset=xmalloc(sizeof(*kwset))', assigned value is 0 grep-3.12/src/kwset.c:145:3: note: Null pointer dereference grep-3.12/src/kwset.c:146:3: warning: If memory allocation fails, then there is a possible null pointer dereference: kwset [nullPointerOutOfMemory] grep-3.12/src/kwset.c:131:33: note: Assuming allocation function fails grep-3.12/src/kwset.c:131:33: note: Assignment 'kwset=xmalloc(sizeof(*kwset))', assigned value is 0 grep-3.12/src/kwset.c:146:3: note: Null pointer dereference grep-3.12/src/kwset.c:799:45: warning: Either the condition '!tree' is redundant or there is possible null pointer dereference: tree. [nullPointerRedundantCheck] grep-3.12/src/kwset.c:802:23: note: Assuming that condition '!tree' is not redundant grep-3.12/src/kwset.c:799:45: note: Null pointer dereference grep-3.12/src/kwset.c:740:20: style: Same expression in both branches of ternary operator. [duplicateExpressionTernary] grep-3.12/src/kwset.c:885:11: style: Same expression in both branches of ternary operator. [duplicateExpressionTernary] grep-3.12/src/pcresearch.c:74:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IDX_MAX [valueFlowBailoutIncompleteVar] grep-3.12/src/pcresearch.c:88:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCRE2_CONFIG_VERSION [valueFlowBailoutIncompleteVar] grep-3.12/src/pcresearch.c:125:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCRE2_ERROR_RECURSIONLIMIT [valueFlowBailoutIncompleteVar] grep-3.12/src/pcresearch.c:144:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCRE2_ERROR_UTF8_ERR21 [valueFlowBailoutIncompleteVar] grep-3.12/src/pcresearch.c:155:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PCRE2_DOLLAR_ENDONLY [valueFlowBailoutIncompleteVar] grep-3.12/src/pcresearch.c:268:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable eolbyte [valueFlowBailoutIncompleteVar] grep-3.12/src/pcresearch.c:156:9: style: Variable 'patlim' can be declared as pointer to const [constVariablePointer] grep-3.12/src/searchutils.c:39:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NCHAR [valueFlowBailoutIncompleteVar] grep-3.12/src/searchutils.c:48:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable match_icase [valueFlowBailoutIncompleteVar] grep-3.12/src/searchutils.c:100:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable using_utf8 [valueFlowBailoutIncompleteVar] grep-3.12/src/searchutils.c:172:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sbclen [valueFlowBailoutIncompleteVar] grep-3.12/src/searchutils.c:214:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable multibyte [valueFlowBailoutIncompleteVar] grep-3.12/tests/get-mb-cur-max.c:25:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] grep-3.12/gnulib-tests/test-getopt_long.h:108:56: error: Null pointer dereference: longopts [ctunullpointer] grep-3.12/gnulib-tests/test-getopt_long.h:331:24: note: Calling function do_getopt_long, 4th argument is null grep-3.12/gnulib-tests/test-getopt_long.h:108:56: note: Dereferencing argument longopts that is null diff: 2.18.0 grep-3.12/gnulib-tests/strerror_r.c:132:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERANGE [valueFlowBailoutIncompleteVar] 2.18.0 grep-3.12/gnulib-tests/strerror_r.c:146:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERANGE [valueFlowBailoutIncompleteVar] 2.18.0 grep-3.12/gnulib-tests/strerror_r.c:318:13: style: Variable 'errmsg' can be declared as pointer to const [constVariablePointer] head grep-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 grep-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 grep-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 grep-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 grep-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] head grep-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 grep-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 grep-3.12/gnulib-tests/test-dup2.c:70:0: error: #error Please port fcntl to your platform [preprocessorErrorDirective] 2.18.0 grep-3.12/gnulib-tests/test-dup2.c:70:4: error: #error Please port fcntl to your platform [preprocessorErrorDirective] head grep-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 grep-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 grep-3.12/gnulib-tests/test-fcntl.c:73:0: error: #error Please port fcntl to your platform [preprocessorErrorDirective] 2.18.0 grep-3.12/gnulib-tests/test-fcntl.c:73:4: error: #error Please port fcntl to your platform [preprocessorErrorDirective] 2.18.0 grep-3.12/gnulib-tests/test-fopen.c:34:11: style: Condition 'result' is always false [knownConditionTrueFalse] grep-3.12/gnulib-tests/test-fopen.c:33:27: note: Calling function 'test_fopen' returns 0 grep-3.12/gnulib-tests/test-fopen.c:33:27: note: Assignment 'result=test_fopen()', assigned value is 0 grep-3.12/gnulib-tests/test-fopen.c:34:11: note: Condition 'result' is always false head grep-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 grep-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 grep-3.12/gnulib-tests/test-fopen.h:41:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] 2.18.0 grep-3.12/gnulib-tests/test-fopen.h:42:3: error: Return value of allocation function 'fopen' is not stored. [leakReturnValNotUsed] 2.18.0 grep-3.12/gnulib-tests/test-fopen.h:52:3: error: Return value of allocation function 'fopen' is not stored. [leakReturnValNotUsed] 2.18.0 grep-3.12/gnulib-tests/test-fopen.h:56:3: error: Return value of allocation function 'fopen' is not stored. [leakReturnValNotUsed] 2.18.0 grep-3.12/gnulib-tests/test-fopen.h:61:3: error: Return value of allocation function 'fopen' is not stored. [leakReturnValNotUsed] 2.18.0 grep-3.12/gnulib-tests/test-fopen.h:67:3: error: Return value of allocation function 'fopen' is not stored. [leakReturnValNotUsed] 2.18.0 grep-3.12/gnulib-tests/test-fopen.h:71:3: error: Return value of allocation function 'fopen' is not stored. [leakReturnValNotUsed] 2.18.0 grep-3.12/gnulib-tests/test-fopen.h:75:3: error: Return value of allocation function 'fopen' is not stored. [leakReturnValNotUsed] 2.18.0 grep-3.12/gnulib-tests/test-fopen.h:79:3: error: Return value of allocation function 'fopen' is not stored. [leakReturnValNotUsed] head grep-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 grep-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 grep-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 grep-3.12/gnulib-tests/test-fstatat.c:85:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] 2.18.0 grep-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 grep-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 grep-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 grep-3.12/gnulib-tests/test-getdtablesize.c:36:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head grep-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 grep-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 grep-3.12/gnulib-tests/test-intprops.c:220:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] 2.18.0 grep-3.12/gnulib-tests/test-intprops.c:220:3: error: Signed integer overflow for expression '2147483647+1'. [integerOverflow] 2.18.0 grep-3.12/gnulib-tests/test-intprops.c:221:3: style: Same value in both branches of ternary operator. [duplicateValueTernary] 2.18.0 grep-3.12/gnulib-tests/test-intprops.c:222:3: style: Same value in both branches of ternary operator. [duplicateValueTernary] 2.18.0 grep-3.12/gnulib-tests/test-intprops.c:223:3: error: Signed integer underflow for expression '(-2147483647-1)-1'. [integerOverflow] 2.18.0 grep-3.12/gnulib-tests/test-intprops.c:227:3: style: Same value in both branches of ternary operator. [duplicateValueTernary] 2.18.0 grep-3.12/gnulib-tests/test-intprops.c:228:3: error: Signed integer overflow for expression '2147483647+1'. [integerOverflow] 2.18.0 grep-3.12/gnulib-tests/test-intprops.c:229:3: error: Signed integer underflow for expression '(-2147483647-1)-1'. [integerOverflow] 2.18.0 grep-3.12/gnulib-tests/test-intprops.c:230:3: style: Same value in both branches of ternary operator. [duplicateValueTernary] 2.18.0 grep-3.12/gnulib-tests/test-intprops.c:241:3: error: Signed integer overflow for expression '2147483647*2147483647'. [integerOverflow] 2.18.0 grep-3.12/gnulib-tests/test-intprops.c:242:3: error: Signed integer underflow for expression '2147483647*(-2147483647-1)'. [integerOverflow] 2.18.0 grep-3.12/gnulib-tests/test-intprops.c:243:3: error: Signed integer underflow for expression '(-2147483647-1)*2147483647'. [integerOverflow] 2.18.0 grep-3.12/gnulib-tests/test-intprops.c:244:3: error: Signed integer overflow for expression '(-2147483647-1)*(-2147483647-1)'. [integerOverflow] 2.18.0 grep-3.12/gnulib-tests/test-intprops.c:245:3: error: Signed integer overflow for expression '-1*(-2147483647-1)'. [integerOverflow] 2.18.0 grep-3.12/gnulib-tests/test-intprops.c:248:3: style: Same value in both branches of ternary operator. [duplicateValueTernary] 2.18.0 grep-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 grep-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 grep-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 grep-3.12/gnulib-tests/test-intprops.c:297:3: error: Signed integer overflow for expression '-2147483647-1'. [integerOverflow] 2.18.0 grep-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 grep-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 grep-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 grep-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 grep-3.12/gnulib-tests/test-intprops.c:339:3: error: Signed integer overflow for expression '0-(-2147483647-1)'. [integerOverflow] 2.18.0 grep-3.12/gnulib-tests/test-intprops.c:345:3: error: Signed integer overflow for expression '-2147483647-1'. [integerOverflow] 2.18.0 grep-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 grep-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 grep-3.12/gnulib-tests/test-intprops.c:373:3: error: Signed integer overflow for expression '(-2147483647-1)*-1'. [integerOverflow] 2.18.0 grep-3.12/gnulib-tests/test-intprops.c:373:3: error: Signed integer overflow for expression '-1*(-2147483647-1)'. [integerOverflow] 2.18.0 grep-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 grep-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 grep-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 grep-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 grep-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 grep-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 grep-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 grep-3.12/gnulib-tests/test-intprops.c:91:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head grep-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 grep-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] head grep-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 grep-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 grep-3.12/gnulib-tests/test-memrchr.c:40:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] 2.18.0 grep-3.12/gnulib-tests/test-memrchr.c:53:9: style: Variable 'page_boundary' can be declared as pointer to const [constVariablePointer] 2.18.0 grep-3.12/gnulib-tests/test-memrchr.c:54:7: style: Condition 'page_boundary' is always false [knownConditionTrueFalse] grep-3.12/gnulib-tests/test-memrchr.c:53:38: note: Calling function 'zerosize_ptr' returns 0 grep-3.12/gnulib-tests/test-memrchr.c:53:38: note: Assignment 'page_boundary=zerosize_ptr()', assigned value is 0 grep-3.12/gnulib-tests/test-memrchr.c:54:7: note: Condition 'page_boundary' is always false head grep-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 grep-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 grep-3.12/gnulib-tests/test-nl_langinfo-mt.c:249:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head grep-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 grep-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 grep-3.12/gnulib-tests/test-open.h:52:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] 2.18.0 grep-3.12/gnulib-tests/test-openat.c:43:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] 2.18.0 grep-3.12/gnulib-tests/test-openat.c:66:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] 2.18.0 grep-3.12/gnulib-tests/test-openat.c:67:5: error: Return value of allocation function 'openat' is not stored. [leakReturnValNotUsed] 2.18.0 grep-3.12/gnulib-tests/test-openat.c:73:5: error: Return value of allocation function 'openat' is not stored. [leakReturnValNotUsed] 2.18.0 grep-3.12/gnulib-tests/test-openat.c:88:3: error: Return value of allocation function 'openat' is not stored. [leakReturnValNotUsed] 2.18.0 grep-3.12/gnulib-tests/test-openat.c:94:5: error: Return value of allocation function 'openat' is not stored. [leakReturnValNotUsed] head grep-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 grep-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 grep-3.12/gnulib-tests/test-perror2.c:49:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] 2.18.0 grep-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] grep-3.12/gnulib-tests/test-pselect.c:48:31: note: You might need to cast the function pointer here grep-3.12/gnulib-tests/test-pselect.c:32:28: note: Parameter 'timeout' can be declared as pointer to const 2.18.0 grep-3.12/gnulib-tests/test-pselect.c:35:20: style: Variable 'pts' can be declared as pointer to const [constVariablePointer] 2.18.0 grep-3.12/gnulib-tests/test-pselect.c:49:11: style: Condition 'result' is always false [knownConditionTrueFalse] grep-3.12/gnulib-tests/test-select.h:452:16: note: Assignment 'result=0', assigned value is 0 grep-3.12/gnulib-tests/test-select.h:459:3: note: Compound assignment '+=', assigned value is 0 grep-3.12/gnulib-tests/test-select.h:460:3: note: Compound assignment '+=', assigned value is 0 grep-3.12/gnulib-tests/test-select.h:461:3: note: Compound assignment '+=', assigned value is 0 grep-3.12/gnulib-tests/test-select.h:462:3: note: Compound assignment '+=', assigned value is 0 grep-3.12/gnulib-tests/test-select.h:463:3: note: Compound assignment '+=', assigned value is 0 grep-3.12/gnulib-tests/test-select.h:464:3: note: Compound assignment '+=', assigned value is 0 grep-3.12/gnulib-tests/test-pselect.c:48:30: note: Calling function 'test_function' returns 0 grep-3.12/gnulib-tests/test-pselect.c:48:30: note: Assignment 'result=test_function(my_select)', assigned value is 0 grep-3.12/gnulib-tests/test-pselect.c:49:11: note: Condition 'result' is always false 2.18.0 grep-3.12/gnulib-tests/test-select.c:35:11: style: Condition 'result' is always false [knownConditionTrueFalse] grep-3.12/gnulib-tests/test-select.h:452:16: note: Assignment 'result=0', assigned value is 0 grep-3.12/gnulib-tests/test-select.h:459:3: note: Compound assignment '+=', assigned value is 0 grep-3.12/gnulib-tests/test-select.h:460:3: note: Compound assignment '+=', assigned value is 0 grep-3.12/gnulib-tests/test-select.h:461:3: note: Compound assignment '+=', assigned value is 0 grep-3.12/gnulib-tests/test-select.h:462:3: note: Compound assignment '+=', assigned value is 0 grep-3.12/gnulib-tests/test-select.h:463:3: note: Compound assignment '+=', assigned value is 0 grep-3.12/gnulib-tests/test-select.h:464:3: note: Compound assignment '+=', assigned value is 0 grep-3.12/gnulib-tests/test-select.c:34:30: note: Calling function 'test_function' returns 0 grep-3.12/gnulib-tests/test-select.c:34:30: note: Assignment 'result=test_function(select)', assigned value is 0 grep-3.12/gnulib-tests/test-select.c:35:11: note: Condition 'result' is always false 2.18.0 grep-3.12/gnulib-tests/test-select.h:116:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] 2.18.0 grep-3.12/gnulib-tests/test-select.h:234:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] 2.18.0 grep-3.12/gnulib-tests/test-select.h:241:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] 2.18.0 grep-3.12/gnulib-tests/test-select.h:269:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] 2.18.0 grep-3.12/gnulib-tests/test-select.h:303:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FD_SETSIZE [valueFlowBailoutIncompleteVar] 2.18.0 grep-3.12/gnulib-tests/test-select.h:340:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] 2.18.0 grep-3.12/gnulib-tests/test-select.h:366:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] 2.18.0 grep-3.12/gnulib-tests/test-select.h:402:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head grep-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 grep-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 grep-3.12/gnulib-tests/test-select.h:424:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] 2.18.0 grep-3.12/gnulib-tests/test-select.h:440:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] 2.18.0 grep-3.12/gnulib-tests/test-select.h:65:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] 2.18.0 grep-3.12/gnulib-tests/test-select.h:68:7: style: Condition '!failures' is always true [knownConditionTrueFalse] grep-3.12/gnulib-tests/test-select.h:63:14: note: Assignment 'failures=0', assigned value is 0 grep-3.12/gnulib-tests/test-select.h:68:7: note: Condition '!failures' is always true 2.18.0 grep-3.12/gnulib-tests/test-select.h:89:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] 2.18.0 grep-3.12/gnulib-tests/test-setlocale_null-mt-all.c:148:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head grep-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 grep-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 grep-3.12/gnulib-tests/test-setlocale_null-mt-one.c:148:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head grep-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 grep-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 grep-3.12/gnulib-tests/vasnprintf.c:67:0: error: failed to evaluate #if condition, undefined function-like macro invocation: _GL_GNUC_PREREQ( ... ) [preprocessorErrorDirective] head grep-3.12/gnulib-tests/vasnprintf.c:67:2: error: failed to evaluate #if condition, undefined function-like macro invocation: _GL_GNUC_PREREQ( ... ) [preprocessorErrorDirective] head grep-3.12/lib/fnmatch_loop.c:1150:31: style: Variable 'runp' can be declared as pointer to const [constVariablePointer] head grep-3.12/lib/quotearg.c:25:0: error: failed to evaluate #if condition, undefined function-like macro invocation: _GL_GNUC_PREREQ( ... ) [preprocessorErrorDirective] head grep-3.12/lib/quotearg.c:25:2: error: failed to evaluate #if condition, undefined function-like macro invocation: _GL_GNUC_PREREQ( ... ) [preprocessorErrorDirective] head grep-3.12/lib/regex.c:25:0: error: failed to evaluate #if condition, undefined function-like macro invocation: __GNUC_PREREQ( ... ) [preprocessorErrorDirective] head grep-3.12/lib/regex.c:25:3: error: failed to evaluate #if condition, undefined function-like macro invocation: __GNUC_PREREQ( ... ) [preprocessorErrorDirective] head grep-3.12/src/grep.c:2191:9: style: Variable 'val' can be declared as pointer to const [constVariablePointer] DONE