2025-05-07 23:19 ftp://ftp.de.debian.org/debian/pool/main/s/sed/sed_4.9.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 -j3 platform: Linux-6.8.0-1022-oracle-aarch64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 cppcheck: head 2.17.0 head-info: ebc80c0 (2025-05-07 18:59:31 +0200) count: 615 589 elapsed-time: 2.6 2.8 head-timing-info: old-timing-info: head results: sed-4.9/gnulib-tests/closedir.c:58:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_HANDLE_VALUE [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/w32sock.h:47:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/accept.c:36:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_SOCKET [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/bind.c:36:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_SOCKET [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/connect.c:36:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_SOCKET [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/dirfd.c:84:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/fdopen.c:59:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/acl-internal.h:64:0: error: #error "Please include config.h first." [preprocessorErrorDirective] sed-4.9/gnulib-tests/fflush.c:189:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/acl-internal.h:64:3: error: #error "Please include config.h first." [preprocessorErrorDirective] sed-4.9/gnulib-tests/fflush.c:97:53: style: Parameter 'fp' can be declared as pointer to const [constParameterPointer] sed-4.9/gnulib-tests/fopen.c:80:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/fpurge.c:146:0: error: #error "Please port gnulib fpurge.c to your platform! Look at the definitions of fflush, setvbuf and ungetc on your system, then report this to bug-gnulib." [preprocessorErrorDirective] sed-4.9/gnulib-tests/fpurge.c:146:4: error: #error "Please port gnulib fpurge.c to your platform! Look at the definitions of fflush, setvbuf and ungetc on your system, then report this to bug-gnulib." [preprocessorErrorDirective] sed-4.9/gnulib-tests/freading.c:72:0: error: #error "Please port gnulib freading.c to your platform!" [preprocessorErrorDirective] sed-4.9/gnulib-tests/freading.c:72:4: error: #error "Please port gnulib freading.c to your platform!" [preprocessorErrorDirective] sed-4.9/gnulib-tests/fseeko.c:111:0: error: #error "Please port gnulib fseeko.c to your platform! Look at the code in fseeko.c, then report this to bug-gnulib." [preprocessorErrorDirective] sed-4.9/gnulib-tests/fseeko.c:111:4: error: #error "Please port gnulib fseeko.c to your platform! Look at the code in fseeko.c, then report this to bug-gnulib." [preprocessorErrorDirective] sed-4.9/gnulib-tests/ftell.c:34:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/getcwd-lgpl.c:56:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/gettimeofday.c:143:0: error: #error "Only 1-second nominal clock resolution found. Is that intended?" \ [preprocessorErrorDirective] sed-4.9/gnulib-tests/gettimeofday.c:143:5: error: #error "Only 1-second nominal clock resolution found. Is that intended?" \ [preprocessorErrorDirective] sed-4.9/gnulib-tests/inet_pton.c:95:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/ioctl.c:68:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_HANDLE_VALUE [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/ioctl.c:62:43: style: Parameter 'arg' can be declared as pointer to const [constParameterPointer] sed-4.9/gnulib-tests/link.c:174:0: error: #error "This platform lacks a link function, and Gnulib doesn't provide a replacement. This is a bug in Gnulib." [preprocessorErrorDirective] sed-4.9/gnulib-tests/link.c:174:4: error: #error "This platform lacks a link function, and Gnulib doesn't provide a replacement. This is a bug in Gnulib." [preprocessorErrorDirective] sed-4.9/gnulib-tests/listen.c:36:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_SOCKET [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/locale.c:54:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/lseek.c:80:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/localename.c:3442:14: style: Condition 'retval!=NULL' is always false [knownConditionTrueFalse] sed-4.9/gnulib-tests/localename.c:3441:34: note: Calling function 'gl_locale_name_thread' returns 0 sed-4.9/gnulib-tests/localename.c:3441:34: note: Assignment 'retval=gl_locale_name_thread(category,categoryname)', assigned value is 0 sed-4.9/gnulib-tests/localename.c:3442:14: note: Condition 'retval!=NULL' is always false sed-4.9/gnulib-tests/perror.c:35:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STACKBUF_LEN [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/opendir.c:87:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_PATH [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/pipe.c:48:0: error: #error "This platform lacks a pipe function, and Gnulib doesn't provide a replacement. This is a bug in Gnulib." [preprocessorErrorDirective] sed-4.9/gnulib-tests/pipe.c:48:3: error: #error "This platform lacks a pipe function, and Gnulib doesn't provide a replacement. This is a bug in Gnulib." [preprocessorErrorDirective] sed-4.9/gnulib-tests/inet_pton.c:152:16: error: Uninitialized variable: tmp [uninitvar] sed-4.9/gnulib-tests/inet_pton.c:150:14: note: Assuming condition is false sed-4.9/gnulib-tests/inet_pton.c:152:16: note: Uninitialized variable: tmp sed-4.9/gnulib-tests/pselect.c:52:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/pthread-thread.c:37:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTHREAD_CREATE_JOINABLE [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/pthread-thread.c:44:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTHREAD_CREATE_JOINABLE [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/pthread-thread.c:51:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTHREAD_CREATE_JOINABLE [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/pthread-thread.c:142:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EAGAIN [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/pthread-thread.c:161:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/pthread-thread.c:168:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/pthread-thread.c:60:50: style: Parameter 'attr' can be declared as pointer to const [constParameterPointer] sed-4.9/gnulib-tests/pthread-thread.c:138:28: style: Parameter 'threadp' can be declared as pointer to const [constParameterPointer] sed-4.9/gnulib-tests/pthread-thread.c:139:57: style: Parameter 'arg' can be declared as pointer to const [constParameterPointer] sed-4.9/gnulib-tests/pthread-thread.c:172:21: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] sed-4.9/gnulib-tests/putenv.c:77:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/putenv.c:173:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable environ [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/readdir.c:62:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/read-file.c:55:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/select.c:573:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FD_SETSIZE [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/setenv.c:125:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable environ [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/setenv.c:295:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/setenv.c:310:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable environ [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/setlocale.c:60:0: error: #error "This file should only be compiled if NEED_SETLOCALE_IMPROVED || NEED_SETLOCALE_MTSAFE." [preprocessorErrorDirective] sed-4.9/gnulib-tests/setlocale.c:60:4: error: #error "This file should only be compiled if NEED_SETLOCALE_IMPROVED || NEED_SETLOCALE_MTSAFE." [preprocessorErrorDirective] sed-4.9/gnulib-tests/read-file.c:99:24: style: Variable 'save_errno' is assigned a value that is never used. [unreadVariable] sed-4.9/gnulib-tests/setsockopt.c:40:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_SOCKET [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/sigprocmask.c:116:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSIG [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/sigprocmask.c:139:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSIG [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/sigprocmask.c:159:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSIG [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/sigprocmask.c:180:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSIG [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/sigprocmask.c:200:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSIG [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/sigprocmask.c:210:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSIG [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/sigprocmask.c:245:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/sigprocmask.c:300:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_ERR [valueFlowBailoutIncompleteVar] sed-4.9/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] sed-4.9/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] sed-4.9/gnulib-tests/socket.c:46:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_SOCKET [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/strerror_r.c:132:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERANGE [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/strerror_r.c:146:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERANGE [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/symlink.c:53:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/strerror_r.c:315:13: style: Variable 'errmsg' can be declared as pointer to const [constVariablePointer] sed-4.9/gnulib-tests/test-accept.c:41:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-accept.c:42:5: error: Invalid accept() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] sed-4.9/gnulib-tests/test-alignof.c:27:23: style: struct member 'struct1::a' is never used. [unusedStructMember] sed-4.9/gnulib-tests/test-alignof.c:28:23: style: struct member 'struct2::a' is never used. [unusedStructMember] sed-4.9/gnulib-tests/test-alignof.c:29:23: style: struct member 'struct3::a' is never used. [unusedStructMember] sed-4.9/gnulib-tests/test-alignof.c:30:23: style: struct member 'struct4::a' is never used. [unusedStructMember] sed-4.9/gnulib-tests/test-assert.c:30:8: error: Syntax Error: AST broken, 'assert' doesn't have two operands. [internalAstError] sed-4.9/gnulib-tests/test-binary-io.c:38:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-binary-io.c:33:23: style: Parameter 'argv' can be declared as const array [constParameter] sed-4.9/gnulib-tests/test-bind.c:41:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-bind.c:46:7: error: Invalid bind() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] sed-4.9/gnulib-tests/test-btowc.c:37:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-c-strcasecmp.c:35:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-btowc.c:32:23: style: Parameter 'argv' can be declared as const array [constParameter] sed-4.9/gnulib-tests/test-c-ctype.c:36:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-c-ctype.c:67:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-c-ctype.c:221:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-calloc-gnu.c:50:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-c-strncasecmp.c:35:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-c-ctype.c:65:16: style: Condition '0<=c' is always true [knownConditionTrueFalse] sed-4.9/gnulib-tests/test-calloc-gnu.c:38:5: style: Opposite expression on both sides of '&='. [oppositeExpression] sed-4.9/gnulib-tests/test-calloc-gnu.c:62:24: style: Variable 'p' can be declared as pointer to const [constVariablePointer] sed-4.9/gnulib-tests/test-cloexec.c:57:0: error: #error Please port fcntl to your platform [preprocessorErrorDirective] sed-4.9/gnulib-tests/test-cloexec.c:57:4: error: #error Please port fcntl to your platform [preprocessorErrorDirective] sed-4.9/gnulib-tests/test-chdir.c:30:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-canonicalize-lgpl.c:64:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-close.c:33:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-connect.c:41:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-close.c:34:5: error: Invalid close() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] sed-4.9/gnulib-tests/test-connect.c:46:7: error: Invalid connect() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] sed-4.9/gnulib-tests/test-copy-acl.c:42:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-copy-acl.c:33:23: style: Parameter 'argv' can be declared as const array [constParameter] sed-4.9/gnulib-tests/test-dfa-match-aux.c:56:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-dfa-match-aux.c:70:5: portability: %zd in format string (no. 1) requires 'ssize_t' but the argument type is 'ptrdiff_t {aka signed int}'. [invalidPrintfArgType_sint] sed-4.9/gnulib-tests/test-dfa-match-aux.c:49:21: style: Variable 'p' can be declared as pointer to const [constVariablePointer] sed-4.9/gnulib-tests/test-canonicalize-lgpl.c:76:11: style: Variable 'result0' can be declared as pointer to const [constVariablePointer] sed-4.9/gnulib-tests/test-canonicalize-lgpl.c:79:15: style: Variable 'result' can be declared as pointer to const [constVariablePointer] sed-4.9/gnulib-tests/test-canonicalize-lgpl.c:139:11: style: Variable 'result' can be declared as pointer to const [constVariablePointer] sed-4.9/gnulib-tests/test-canonicalize-lgpl.c:148:11: style: Variable 'result' can be declared as pointer to const [constVariablePointer] sed-4.9/gnulib-tests/test-canonicalize-lgpl.c:204:11: style: Variable 'result' can be declared as pointer to const [constVariablePointer] sed-4.9/gnulib-tests/test-canonicalize-lgpl.c:238:11: style: Variable 'result' can be declared as pointer to const [constVariablePointer] sed-4.9/gnulib-tests/test-canonicalize-lgpl.c:247:11: style: Variable 'result' can be declared as pointer to const [constVariablePointer] sed-4.9/gnulib-tests/test-dup2.c:64:0: error: #error Please port fcntl to your platform [preprocessorErrorDirective] sed-4.9/gnulib-tests/test-dup2.c:64:4: error: #error Please port fcntl to your platform [preprocessorErrorDirective] sed-4.9/gnulib-tests/test-dynarray.c:47:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-environ.c:33:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable environ [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-environ.c:34:9: style: Variable 'string' can be declared as pointer to const [constVariablePointer] sed-4.9/gnulib-tests/test-errno.c:112:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-explicit_bzero.c:53:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-explicit_bzero.c:108:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-explicit_bzero.c:181:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-fcntl-h.c:52:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-explicit_bzero.c:143:7: error: Address of local auto-variable assigned to a function parameter. [autoVariables] sed-4.9/gnulib-tests/test-fcntl.c:63:0: error: #error Please port fcntl to your platform [preprocessorErrorDirective] sed-4.9/gnulib-tests/test-fdopen.c:40:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-fcntl.c:63:4: error: #error Please port fcntl to your platform [preprocessorErrorDirective] sed-4.9/gnulib-tests/test-fdopen.c:41:13: error: Return value of allocation function 'fdopen' is not stored. [leakReturnValNotUsed] sed-4.9/gnulib-tests/test-fflush2.c:31:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_BINARY [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-fflush.c:45:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-fflush2.c:53:9: portability: fflush() called on input stream 'stdin' may result in undefined behaviour on non-linux systems. [fflushOnInputStream] sed-4.9/gnulib-tests/test-fflush2.c:88:9: portability: fflush() called on input stream 'stdin' may result in undefined behaviour on non-linux systems. [fflushOnInputStream] sed-4.9/gnulib-tests/test-fgetc.c:49:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-fgetc.c:71:25: error: Invalid fdopen() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] sed-4.9/gnulib-tests/test-file-has-acl.c:38:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-fflush.c:165:25: error: Invalid fdopen() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] sed-4.9/gnulib-tests/test-fflush.c:53:16: warning: Either the condition '!f' is redundant or there is possible null pointer dereference: f. [nullPointerRedundantCheck] sed-4.9/gnulib-tests/test-fflush.c:54:7: note: Assuming that condition '!f' is not redundant sed-4.9/gnulib-tests/test-fflush.c:53:16: note: Null pointer dereference sed-4.9/gnulib-tests/test-file-has-acl.c:33:23: style: Parameter 'argv' can be declared as const array [constParameter] sed-4.9/gnulib-tests/test-fpending.c:32:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-fopen-gnu.c:49:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-fopen.h:36:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-fopen.h:37:3: error: Return value of allocation function 'fopen' is not stored. [leakReturnValNotUsed] sed-4.9/gnulib-tests/test-fopen.h:47:3: error: Return value of allocation function 'fopen' is not stored. [leakReturnValNotUsed] sed-4.9/gnulib-tests/test-fopen.h:51:3: error: Return value of allocation function 'fopen' is not stored. [leakReturnValNotUsed] sed-4.9/gnulib-tests/test-fopen.h:56:3: error: Return value of allocation function 'fopen' is not stored. [leakReturnValNotUsed] sed-4.9/gnulib-tests/test-fopen.h:62:3: error: Return value of allocation function 'fopen' is not stored. [leakReturnValNotUsed] sed-4.9/gnulib-tests/test-fopen.h:66:3: error: Return value of allocation function 'fopen' is not stored. [leakReturnValNotUsed] sed-4.9/gnulib-tests/test-fopen.h:70:3: error: Return value of allocation function 'fopen' is not stored. [leakReturnValNotUsed] sed-4.9/gnulib-tests/test-fopen.h:74:3: error: Return value of allocation function 'fopen' is not stored. [leakReturnValNotUsed] sed-4.9/gnulib-tests/test-fpurge.c:65:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-fputc.c:50:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-fputc.c:63:25: error: Invalid fdopen() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] sed-4.9/gnulib-tests/test-fread.c:49:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-fread.c:72:25: error: Invalid fdopen() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] sed-4.9/gnulib-tests/test-fseek.c:41:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-free.c:43:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-free.c:54:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-freading.c:39:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-fseeko.c:43:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-fseeko3.c:33:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-fseeko4.c:35:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-fseeko4.c:50:25: error: Invalid fdopen() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] sed-4.9/gnulib-tests/test-fstat.c:36:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-fstat.c:37:5: error: Invalid fstat() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] sed-4.9/gnulib-tests/test-ftell.c:43:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-ftell3.c:52:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-ftello.c:43:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-ftello3.c:52:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-ftello4.c:35:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-ftello4.c:47:25: error: Invalid fdopen() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] sed-4.9/gnulib-tests/test-ftruncate.c:36:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-ftruncate.c:30:23: style: Parameter 'argv' can be declared as const array [constParameter] sed-4.9/gnulib-tests/test-fwrite.c:51:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-fwrite.c:64:25: error: Invalid fdopen() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] sed-4.9/gnulib-tests/test-fwriting.c:41:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-getcwd-lgpl.c:44:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-getdelim.c:43:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-getdtablesize.c:31:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-getprogname.c:54:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXEEXT [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-gettimeofday.c:43:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-gettimeofday.c:38:8: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] sed-4.9/gnulib-tests/test-gettimeofday.c:35:14: style: Variable 'lt' can be declared as pointer to const [constVariablePointer] sed-4.9/gnulib-tests/test-getrandom.c:43:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-hard-locale.c:34:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-hard-locale.c:90:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_CTYPE [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-ignore-value.c:28:16: style: struct member 's::i' is never used. [unusedStructMember] sed-4.9/gnulib-tests/test-isblank.c:46:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-link.h:31:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-listen.c:37:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-listen.c:38:5: error: Invalid listen() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] sed-4.9/gnulib-tests/test-localcharset.c:35:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-localeconv.c:38:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-localeconv.c:36:19: style: Variable 'l' can be declared as pointer to const [constVariablePointer] sed-4.9/gnulib-tests/test-localename.c:74:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_MESSAGES [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-localename.c:261:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-localename.c:518:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-localename.c:670:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-localename.c:783:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-lseek.c:41:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-lseek.c:95:7: error: Invalid lseek() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] sed-4.9/gnulib-tests/test-lstat.h:32:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-malloc-gnu.c:32:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-mbrtowc-w32.c:730:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-mbsinit.c:35:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-memchr.c:39:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-intprops.c:75:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-mbrtowc.c:41:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-memchr.c:55:9: style: Condition 'page_boundary' is always false [knownConditionTrueFalse] sed-4.9/gnulib-tests/test-memchr.c:54:40: note: Calling function 'zerosize_ptr' returns 0 sed-4.9/gnulib-tests/test-memchr.c:54:40: note: Assignment 'page_boundary=zerosize_ptr()', assigned value is 0 sed-4.9/gnulib-tests/test-memchr.c:55:9: note: Condition 'page_boundary' is always false sed-4.9/gnulib-tests/test-memchr.c:106:23: style: Condition 'page_boundary!=NULL' is always false [knownConditionTrueFalse] sed-4.9/gnulib-tests/test-memchr.c:101:49: note: Calling function 'zerosize_ptr' returns 0 sed-4.9/gnulib-tests/test-memchr.c:101:27: note: Assignment 'page_boundary=(char*)zerosize_ptr()', assigned value is 0 sed-4.9/gnulib-tests/test-memchr.c:106:23: note: Condition 'page_boundary!=NULL' is always false sed-4.9/gnulib-tests/test-memrchr.c:44:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-intprops.c:268:3: style: Comparing expression of type 'signed int' against value -9223372036854775808. Condition is always false. [compareValueOutOfTypeRangeError] sed-4.9/gnulib-tests/test-intprops.c:275:3: style: Comparing expression of type 'signed int' against value 9223372036854775807. Condition is always false. [compareValueOutOfTypeRangeError] sed-4.9/gnulib-tests/test-intprops.c:277:3: style: Comparing expression of type 'signed int' against value 4294967295. Condition is always false. [compareValueOutOfTypeRangeError] sed-4.9/gnulib-tests/test-intprops.c:285:3: style: Comparing expression of type 'signed int' against value 9223372036854775807. Condition is always false. [compareValueOutOfTypeRangeError] sed-4.9/gnulib-tests/test-intprops.c:296:5: style: Comparing expression of type 'signed int' against value 9223372036854775807. Condition is always false. [compareValueOutOfTypeRangeError] sed-4.9/gnulib-tests/test-intprops.c:297:5: style: Comparing expression of type 'signed int' against value -9223372036854775808. Condition is always false. [compareValueOutOfTypeRangeError] sed-4.9/gnulib-tests/test-intprops.c:311:3: style: Comparing expression of type 'signed int' against value 4294967295. Condition is always false. [compareValueOutOfTypeRangeError] sed-4.9/gnulib-tests/test-intprops.c:329:5: style: Comparing expression of type 'signed int' against value 9223372036854775807. Condition is always false. [compareValueOutOfTypeRangeError] sed-4.9/gnulib-tests/test-intprops.c:330:5: style: Comparing expression of type 'signed int' against value 9223372036854775807. Condition is always false. [compareValueOutOfTypeRangeError] sed-4.9/gnulib-tests/test-intprops.c:376:3: style: Comparing expression of type 'signed int' against value 4294967295. Condition is always false. [compareValueOutOfTypeRangeError] sed-4.9/gnulib-tests/test-intprops.c:393:5: style: Comparing expression of type 'signed int' against value 4294967298. Condition is always false. [compareValueOutOfTypeRangeError] sed-4.9/gnulib-tests/test-intprops.c:421:3: style: Comparing expression of type 'signed int' against value -9223372036854775808. Condition is always false. [compareValueOutOfTypeRangeError] sed-4.9/gnulib-tests/test-intprops.c:434:3: style: Comparing expression of type 'signed int' against value -9223372036854775808. Condition is always false. [compareValueOutOfTypeRangeError] sed-4.9/gnulib-tests/test-memrchr.c:58:7: style: Condition 'page_boundary' is always false [knownConditionTrueFalse] sed-4.9/gnulib-tests/test-memrchr.c:57:38: note: Calling function 'zerosize_ptr' returns 0 sed-4.9/gnulib-tests/test-memrchr.c:57:38: note: Assignment 'page_boundary=zerosize_ptr()', assigned value is 0 sed-4.9/gnulib-tests/test-memrchr.c:58:7: note: Condition 'page_boundary' is always false sed-4.9/gnulib-tests/test-memrchr.c:57:9: style: Variable 'page_boundary' can be declared as pointer to const [constVariablePointer] sed-4.9/gnulib-tests/test-intprops.c:202:3: style: Same value in both branches of ternary operator. [duplicateValueTernary] sed-4.9/gnulib-tests/test-intprops.c:203:3: style: Same value in both branches of ternary operator. [duplicateValueTernary] sed-4.9/gnulib-tests/test-intprops.c:208:3: style: Same value in both branches of ternary operator. [duplicateValueTernary] sed-4.9/gnulib-tests/test-intprops.c:211:3: style: Same value in both branches of ternary operator. [duplicateValueTernary] sed-4.9/gnulib-tests/test-intprops.c:229:3: style: Same value in both branches of ternary operator. [duplicateValueTernary] sed-4.9/gnulib-tests/test-mkdir.h:27:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-nanosleep.c:49:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-intprops.c:201:3: error: Signed integer overflow for expression '2147483647+1'. [integerOverflow] sed-4.9/gnulib-tests/test-intprops.c:204:3: error: Signed integer underflow for expression '(-2147483647-1)-1'. [integerOverflow] sed-4.9/gnulib-tests/test-intprops.c:209:3: error: Signed integer overflow for expression '2147483647+1'. [integerOverflow] sed-4.9/gnulib-tests/test-intprops.c:210:3: error: Signed integer underflow for expression '(-2147483647-1)-1'. [integerOverflow] sed-4.9/gnulib-tests/test-intprops.c:222:3: error: Signed integer overflow for expression '2147483647*2147483647'. [integerOverflow] sed-4.9/gnulib-tests/test-intprops.c:223:3: error: Signed integer underflow for expression '2147483647*(-2147483647-1)'. [integerOverflow] sed-4.9/gnulib-tests/test-intprops.c:224:3: error: Signed integer underflow for expression '(-2147483647-1)*2147483647'. [integerOverflow] sed-4.9/gnulib-tests/test-intprops.c:225:3: error: Signed integer overflow for expression '(-2147483647-1)*(-2147483647-1)'. [integerOverflow] sed-4.9/gnulib-tests/test-intprops.c:226:3: error: Signed integer overflow for expression '-1*(-2147483647-1)'. [integerOverflow] sed-4.9/gnulib-tests/test-intprops.c:278:3: error: Signed integer overflow for expression '-2147483647-1'. [integerOverflow] sed-4.9/gnulib-tests/test-intprops.c:320:3: error: Signed integer overflow for expression '0-(-2147483647-1)'. [integerOverflow] sed-4.9/gnulib-tests/test-intprops.c:326:3: error: Signed integer overflow for expression '-2147483647-1'. [integerOverflow] sed-4.9/gnulib-tests/test-intprops.c:354:3: error: Signed integer overflow for expression '-1*(-2147483647-1)'. [integerOverflow] sed-4.9/gnulib-tests/test-intprops.c:354:3: error: Signed integer overflow for expression '(-2147483647-1)*-1'. [integerOverflow] sed-4.9/gnulib-tests/test-intprops.c:387:3: warning: Expression '-1' has a negative value. That is converted to an unsigned value and used in an unsigned calculation. [signConversion] sed-4.9/gnulib-tests/test-intprops.c:388:3: warning: Expression '-1' has a negative value. That is converted to an unsigned value and used in an unsigned calculation. [signConversion] sed-4.9/gnulib-tests/test-intprops.c:440:3: warning: Expression '-2147483647-1' can have a negative value. That is converted to an unsigned value and used in an unsigned calculation. [signConversion] sed-4.9/gnulib-tests/test-nl_langinfo-mt.c:249:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-open.h:47:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-nl_langinfo.c:50:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-perror.c:31:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-nl_langinfo.c:61:3: style: Unsigned expression 'strlen(nl_langinfo(THOUSEP))' can't be negative so it is unnecessary to test it. [unsignedPositive] sed-4.9/gnulib-tests/test-nl_langinfo.c:133:3: style: Unsigned expression 'strlen(nl_langinfo(ERA))' can't be negative so it is unnecessary to test it. [unsignedPositive] sed-4.9/gnulib-tests/test-nl_langinfo.c:134:3: style: Unsigned expression 'strlen(nl_langinfo(ERA_D_FMT))' can't be negative so it is unnecessary to test it. [unsignedPositive] sed-4.9/gnulib-tests/test-nl_langinfo.c:135:3: style: Unsigned expression 'strlen(nl_langinfo(ERA_D_T_FMT))' can't be negative so it is unnecessary to test it. [unsignedPositive] sed-4.9/gnulib-tests/test-nl_langinfo.c:136:3: style: Unsigned expression 'strlen(nl_langinfo(ERA_T_FMT))' can't be negative so it is unnecessary to test it. [unsignedPositive] sed-4.9/gnulib-tests/test-nl_langinfo.c:141:5: style: Unsigned expression 'strlen(currency)' can't be negative so it is unnecessary to test it. [unsignedPositive] sed-4.9/gnulib-tests/test-nl_langinfo.c:41:23: style: Parameter 'argv' can be declared as const array [constParameter] sed-4.9/gnulib-tests/test-perror2.c:44:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-mbrtowc.c:34:23: style: Parameter 'argv' can be declared as const array [constParameter] sed-4.9/gnulib-tests/test-pipe.c:52:0: error: #error Please port fcntl to your platform [preprocessorErrorDirective] sed-4.9/gnulib-tests/test-pipe.c:52:4: error: #error Please port fcntl to your platform [preprocessorErrorDirective] sed-4.9/gnulib-tests/test-pthread-thread.c:54:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-pthread-thread.c:36:27: 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] sed-4.9/gnulib-tests/test-pthread-thread.c:47:45: note: You might need to cast the function pointer here sed-4.9/gnulib-tests/test-pthread-thread.c:36:27: note: Parameter 'arg' can be declared as pointer to const sed-4.9/gnulib-tests/test-pthread_sigmask1.c:56:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-pthread_sigmask2.c:101:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-select.h:63:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-select.h:87:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-select.h:114:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-select.h:232:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-select.h:239:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-select.h:267:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-select.h:301:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FD_SETSIZE [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-select.h:338:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-select.h:364:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-select.h:400:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-select.h:422:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-select.h:438:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-raise.c:42:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-raise.c:50:3: style:inconclusive: Statements following noreturn function 'raise()' will never be executed. [unreachableCode] sed-4.9/gnulib-tests/test-quotearg.h:59:25: debug: Function::addArguments found argument 'func' with varid 0. [varid0] sed-4.9/gnulib-tests/test-rawmemchr.c:39:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-quotearg.h:53:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-quotearg.h:73:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE_MAX [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-quotearg.h:109:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-quotearg.h:116:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE_MAX [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-quotearg.h:124:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE_MAX [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-quotearg-simple.c:250:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE_MAX [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-quotearg-simple.c:260:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MB_CUR_MAX [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-rawmemchr.c:80:9: style: Condition '!page_boundary' is always true [knownConditionTrueFalse] sed-4.9/gnulib-tests/test-rawmemchr.c:77:49: note: Calling function 'zerosize_ptr' returns 0 sed-4.9/gnulib-tests/test-rawmemchr.c:77:27: note: Assignment 'page_boundary=(char*)zerosize_ptr()', assigned value is 0 sed-4.9/gnulib-tests/test-rawmemchr.c:80:9: note: Condition '!page_boundary' is always true sed-4.9/gnulib-tests/test-select.h:66:7: style: Condition '!failures' is always true [knownConditionTrueFalse] sed-4.9/gnulib-tests/test-select.h:61:14: note: Assignment 'failures=0', assigned value is 0 sed-4.9/gnulib-tests/test-select.h:66:7: note: Condition '!failures' is always true sed-4.9/gnulib-tests/test-read-file.c:62:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-read-file.c:118:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-pselect.c:31: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] sed-4.9/gnulib-tests/test-pselect.c:47:25: note: You might need to cast the function pointer here sed-4.9/gnulib-tests/test-pselect.c:31:28: note: Parameter 'timeout' can be declared as pointer to const sed-4.9/gnulib-tests/test-pselect.c:34:20: style: Variable 'pts' can be declared as pointer to const [constVariablePointer] sed-4.9/gnulib-tests/test-quotearg-simple.c:335:9: style: Condition 'z' is always false [knownConditionTrueFalse] sed-4.9/gnulib-tests/test-quotearg-simple.c:333:28: note: Calling function 'zerosize_ptr' returns 0 sed-4.9/gnulib-tests/test-quotearg-simple.c:333:28: note: Assignment 'z=zerosize_ptr()', assigned value is 0 sed-4.9/gnulib-tests/test-quotearg-simple.c:335:9: note: Condition 'z' is always false sed-4.9/gnulib-tests/test-quotearg.h:63:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] sed-4.9/gnulib-tests/test-realloc-gnu.c:32:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-realloc-gnu.c:39:7: error: Common realloc mistake: 'p' nulled but not freed upon failure [memleakOnRealloc] sed-4.9/gnulib-tests/test-reallocarray.c:39:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTRDIFF_MAX [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-readlink.h:33:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-reallocarray.c:41:11: error: Common reallocarray mistake: 'p' nulled but not freed upon failure [memleakOnRealloc] sed-4.9/gnulib-tests/test-reallocarray.c:46:7: error: Common reallocarray mistake: 'p' nulled but not freed upon failure [memleakOnRealloc] sed-4.9/gnulib-tests/test-reallocarray.c:52:7: error: Common reallocarray mistake: 'p' nulled but not freed upon failure [memleakOnRealloc] sed-4.9/gnulib-tests/test-reallocarray.c:53:7: error: Common reallocarray mistake: 'p' nulled but not freed upon failure [memleakOnRealloc] sed-4.9/gnulib-tests/test-regex.c:42:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-regex.c:152:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rm_so [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-regex.c:186:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-rmdir.h:29:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-regex.c:263:45: style: Condition 'towupper(L'i')==0x0130' is always false [knownConditionTrueFalse] sed-4.9/gnulib-tests/test-sameacls.c:46:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-scratch-buffer.c:49:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-select-fd.c:61:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-select-stdin.c:61:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-set-mode-acl.c:33:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-set-mode-acl.c:28:23: style: Parameter 'argv' can be declared as const array [constParameter] sed-4.9/gnulib-tests/test-setenv.c:36:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-setlocale1.c:38:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-rename.h:31:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-rename.h:55:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-rename.h:77:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-setlocale1.c:45:5: error: Memory leak: name1 [memleak] sed-4.9/gnulib-tests/test-setlocale1.c:51:5: error: Memory leak: name1 [memleak] sed-4.9/gnulib-tests/test-setlocale2.c:30:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-setlocale_null-mt-all.c:148:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-setlocale_null-mt-one.c:148:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-setlocale_null.c:31:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-setsockopt.c:39:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-rename.h:34:26: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] sed-4.9/gnulib-tests/test-sleep.c:42:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-sigprocmask.c:52:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-stat.h:32:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/nap.h:51:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/nap.h:72:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/nap.h:96:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/nap.h:110:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/nap.h:131:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-stat-time.c:83:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-stat-time.c:98:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-stat-time.c:104:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-stat-time.c:118:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-stat-time.c:141:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable st_mtime [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-stat-time.c:182:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable st_mtime [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-stat-time.c:204:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tv_nsec [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-rename.h:34:22: style: Variable 'd' can be declared as pointer to const [constVariablePointer] sed-4.9/gnulib-tests/test-stdalign.c:83:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-stat-time.c:135:59: style: Parameter 'modtimes' can be declared as pointer to const [constParameterPointer] sed-4.9/gnulib-tests/test-stdint.c:372:1: error: syntax error: -) [syntaxError] sed-4.9/gnulib-tests/test-strerror.c:35:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-strerror_r.c:36:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-strverscmp.c:31:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-strverscmp.c:31:3: warning: Unnecessary comparison of static strings. [staticStringCompare] sed-4.9/gnulib-tests/test-strverscmp.c:32:3: warning: Unnecessary comparison of static strings. [staticStringCompare] sed-4.9/gnulib-tests/test-strverscmp.c:33:3: warning: Unnecessary comparison of static strings. [staticStringCompare] sed-4.9/gnulib-tests/test-strverscmp.c:34:3: warning: Unnecessary comparison of static strings. [staticStringCompare] sed-4.9/gnulib-tests/test-strverscmp.c:35:3: warning: Unnecessary comparison of static strings. [staticStringCompare] sed-4.9/gnulib-tests/test-strverscmp.c:36:3: warning: Unnecessary comparison of static strings. [staticStringCompare] sed-4.9/gnulib-tests/test-strverscmp.c:37:3: warning: Unnecessary comparison of static strings. [staticStringCompare] sed-4.9/gnulib-tests/test-strverscmp.c:38:3: warning: Unnecessary comparison of static strings. [staticStringCompare] sed-4.9/gnulib-tests/test-strverscmp.c:39:3: warning: Unnecessary comparison of static strings. [staticStringCompare] sed-4.9/gnulib-tests/test-strverscmp.c:40:3: warning: Unnecessary comparison of static strings. [staticStringCompare] sed-4.9/gnulib-tests/test-strverscmp.c:41:3: warning: Unnecessary comparison of static strings. [staticStringCompare] sed-4.9/gnulib-tests/test-strverscmp.c:42:3: warning: Unnecessary comparison of static strings. [staticStringCompare] sed-4.9/gnulib-tests/test-strverscmp.c:43:3: warning: Unnecessary comparison of static strings. [staticStringCompare] sed-4.9/gnulib-tests/test-symlink.h:32:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-sys_socket.c:50:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOTSOCK [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-thread_create.c:47:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOSYS [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-thread_create.c:36:27: style: Parameter 'arg' can be declared as pointer to const [constParameterPointer] sed-4.9/gnulib-tests/test-thread_create.c:49:13: style: Variable 'ret' can be declared as pointer to const [constVariablePointer] sed-4.9/gnulib-tests/test-thread_create.c:61:7: error: Uninitialized variable: ret [uninitvar] sed-4.9/gnulib-tests/test-thread_create.c:49:13: style: Variable 'ret' is not assigned a value. [unassignedVariable] sed-4.9/gnulib-tests/test-intprops.c:201:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-unsetenv.c:38:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-verify.c:53:13: style: The comparison 'C == 2' is always true. [knownConditionTrueFalse] sed-4.9/gnulib-tests/test-verify.c:57:13: style: Same expression on both sides of '=='. [duplicateExpression] sed-4.9/gnulib-tests/test-verify.c:57:30: style: Same expression on both sides of '=='. [duplicateExpression] sed-4.9/gnulib-tests/test-verify.c:60:35: style: Same expression on both sides of '=='. [duplicateExpression] sed-4.9/gnulib-tests/test-verify.c:60:60: style: Same expression on both sides of '=='. [duplicateExpression] sed-4.9/gnulib-tests/test-unsetenv.c:40:12: style: Variable 'entry[0]' is assigned a value that is never used. [unreadVariable] sed-4.9/gnulib-tests/test-version-etc.c:28:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-verify.c:75:31: style: struct member 'state::context' is never used. [unusedStructMember] sed-4.9/gnulib-tests/test-wcrtomb-w32.c:333:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-wcrtomb.c:43:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-wcrtomb.c:61:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-wctype-h.c:53:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/unsetenv.c:64:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/test-wcrtomb.c:55:23: style: Parameter 'argv' can be declared as const array [constParameter] sed-4.9/gnulib-tests/vma-iter.c:589:59: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] sed-4.9/gnulib-tests/vma-iter.c:861:58: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] sed-4.9/gnulib-tests/vma-iter.c:870:54: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] sed-4.9/gnulib-tests/windows-thread.c:42:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DWORD [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/windows-thread.c:50:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLWTHREAD_ONCE_INIT [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/windows-thread.c:89:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DWORD [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/windows-thread.c:132:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DWORD [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/windows-thread.c:162:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/windows-thread.c:201:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/windows-thread.c:226:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/windows-tls.c:40:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/windows-tls.c:88:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/windows-tls.c:220:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] sed-4.9/gnulib-tests/windows-tls.c:337:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] sed-4.9/lib/acl-internal.h:64:0: error: #error "Please include config.h first." [preprocessorErrorDirective] sed-4.9/lib/acl-internal.h:64:3: error: #error "Please include config.h first." [preprocessorErrorDirective] sed-4.9/lib/binary-io.h:29:0: error: #error "Please include config.h first." [preprocessorErrorDirective] sed-4.9/lib/binary-io.h:29:3: error: #error "Please include config.h first." [preprocessorErrorDirective] sed-4.9/lib/basename-lgpl.c:59:5: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] sed-4.9/lib/btowc.c:29:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] sed-4.9/lib/c-ctype.h:27:0: error: #error "Please include config.h first." [preprocessorErrorDirective] sed-4.9/lib/c-ctype.h:27:3: error: #error "Please include config.h first." [preprocessorErrorDirective] sed-4.9/lib/calloc.c:41:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTRDIFF_MAX [valueFlowBailoutIncompleteVar] sed-4.9/lib/cloexec.c:62:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] sed-4.9/lib/cloexec.c:82:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_DUPFD_CLOEXEC [valueFlowBailoutIncompleteVar] sed-4.9/lib/canonicalize-lgpl.c:441:1: error: There is an unknown macro here somewhere. Configuration is required. If libc_hidden_def is a macro then please configure it. [unknownMacro] sed-4.9/lib/close-stream.c:69:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] sed-4.9/lib/closeout.c:118:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] sed-4.9/lib/copy-acl.c:50:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] sed-4.9/lib/xalloc.h:29:0: error: #error "Please include config.h first." [preprocessorErrorDirective] sed-4.9/lib/xalloc.h:29:3: error: #error "Please include config.h first." [preprocessorErrorDirective] sed-4.9/lib/gettext.h:247:16: error: Returning pointer to local variable 'msg_ctxt_id' that will be invalid when returning. [returnDanglingLifetime] sed-4.9/lib/gettext.h:239:15: note: Array decayed to pointer here. sed-4.9/lib/gettext.h:226:8: note: Variable created here. sed-4.9/lib/gettext.h:247:16: note: Returning pointer to local variable 'msg_ctxt_id' that will be invalid when returning. sed-4.9/lib/dirname-lgpl.c:38:35: style: Condition 'prefix_length!=0' is always false [knownConditionTrueFalse] sed-4.9/lib/dirname-lgpl.c:34:26: note: Assignment 'prefix_length=((void)(file),0)', assigned value is 0 sed-4.9/lib/dirname-lgpl.c:38:35: note: Condition 'prefix_length!=0' is always false sed-4.9/lib/dup2.c:182:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] sed-4.9/lib/error.c:142:0: error: #error Please port fcntl to your platform [preprocessorErrorDirective] sed-4.9/lib/error.c:142:5: error: #error Please port fcntl to your platform [preprocessorErrorDirective] sed-4.9/lib/fcntl.c:437:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] sed-4.9/lib/fcntl.c:492:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CLOEXEC [valueFlowBailoutIncompleteVar] sed-4.9/lib/fpending.c:60:0: error: #error "Please port gnulib fpending.c to your platform!" [preprocessorErrorDirective] sed-4.9/lib/fpending.c:60:3: error: #error "Please port gnulib fpending.c to your platform!" [preprocessorErrorDirective] sed-4.9/lib/free.c:41:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] sed-4.9/lib/stat-time.h:30:0: error: #error "Please include config.h first." [preprocessorErrorDirective] sed-4.9/lib/stat-time.h:30:3: error: #error "Please include config.h first." [preprocessorErrorDirective] sed-4.9/lib/fwriting.c:66:0: error: #error "Please port gnulib fwriting.c to your platform!" [preprocessorErrorDirective] sed-4.9/lib/fwriting.c:66:3: error: #error "Please port gnulib fwriting.c to your platform!" [preprocessorErrorDirective] sed-4.9/lib/getdtablesize.c:114:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RLIMIT_NOFILE [valueFlowBailoutIncompleteVar] sed-4.9/lib/getdelim.c:74:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] sed-4.9/lib/getfilecon.c:53:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] sed-4.9/lib/getprogname.c:291:0: error: #error "getprogname module not ported to this OS" [preprocessorErrorDirective] sed-4.9/lib/getprogname.c:291:4: error: #error "getprogname module not ported to this OS" [preprocessorErrorDirective] sed-4.9/lib/getrandom.c:168:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GRND_RANDOM [valueFlowBailoutIncompleteVar] sed-4.9/lib/getrandom.c:177:46: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] sed-4.9/lib/hard-locale.c:29:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SETLOCALE_NULL_MAX [valueFlowBailoutIncompleteVar] sed-4.9/lib/ialloc.h:28:0: error: #error "Please include config.h first." [preprocessorErrorDirective] sed-4.9/lib/ialloc.h:28:3: error: #error "Please include config.h first." [preprocessorErrorDirective] sed-4.9/lib/localcharset.c:1088:14: style: Condition 'locale==NULL' is always true [knownConditionTrueFalse] sed-4.9/lib/localcharset.c:1079:24: note: Assignment 'locale=NULL', assigned value is 0 sed-4.9/lib/localcharset.c:1088:14: note: Condition 'locale==NULL' is always true sed-4.9/lib/localcharset.c:579:14: style: struct member 'table_entry::locale' is never used. [unusedStructMember] sed-4.9/lib/localcharset.c:580:14: style: struct member 'table_entry::canonical' is never used. [unusedStructMember] sed-4.9/lib/localcharset.c:1097:22: style: Variable 'locale' is assigned a value that is never used. [unreadVariable] sed-4.9/lib/localeinfo.c:89:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MB_CUR_MAX [valueFlowBailoutIncompleteVar] sed-4.9/lib/malloc.c:37:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTRDIFF_MAX [valueFlowBailoutIncompleteVar] sed-4.9/lib/malloc/dynarray-skeleton.c:95:0: error: #error "DYNARRAY_STRUCT must be defined" [preprocessorErrorDirective] sed-4.9/lib/malloc/dynarray-skeleton.c:95:3: error: #error "DYNARRAY_STRUCT must be defined" [preprocessorErrorDirective] sed-4.9/lib/malloc/dynarray_emplace_enlarge.c:53:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] sed-4.9/lib/malloc/dynarray_finalize.c:59:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable array [valueFlowBailoutIncompleteVar] sed-4.9/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] sed-4.9/lib/malloc/dynarray_finalize.c:66:18: note: You might need to cast the function pointer here sed-4.9/lib/malloc/dynarray_finalize.c:29:33: note: Parameter 'scratch' can be declared as pointer to const sed-4.9/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] sed-4.9/lib/malloc/dynarray_emplace_enlarge.c:77:18: note: You might need to cast the function pointer here sed-4.9/lib/malloc/dynarray_emplace_enlarge.c:31:40: note: Parameter 'scratch' can be declared as pointer to const sed-4.9/lib/malloc/dynarray_resize.c:48:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] sed-4.9/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] sed-4.9/lib/malloc/dynarray_resize.c:68:18: note: You might need to cast the function pointer here sed-4.9/lib/malloc/dynarray_resize.c:31:31: note: Parameter 'scratch' can be declared as pointer to const sed-4.9/lib/malloc/scratch_buffer_grow.c:40:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] sed-4.9/lib/malloc/scratch_buffer_grow_preserve.c:49:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] sed-4.9/lib/malloc/scratch_buffer_set_array_size.c:41:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] sed-4.9/lib/mbtowc-impl.h:37:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] sed-4.9/lib/mkdir.c:63:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] sed-4.9/lib/open.c:72:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] sed-4.9/lib/nl_langinfo.c:75:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SETLOCALE_NULL_MAX [valueFlowBailoutIncompleteVar] sed-4.9/lib/nl_langinfo.c:375:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable decimal_point [valueFlowBailoutIncompleteVar] sed-4.9/lib/progname.c:55:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sed-4.9/lib/obstack.c:339:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] sed-4.9/lib/nl_langinfo.c:449:5: style: Statements following 'return' will never be executed. [unreachableCode] sed-4.9/lib/readlink.c:41:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] sed-4.9/lib/rawmemchr.c:37:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UINTPTR_WIDTH [valueFlowBailoutIncompleteVar] sed-4.9/lib/rawmemchr.c:109:16: style: Variable 's' is reassigned a value before the old one has been used. [redundantAssignment] sed-4.9/lib/rawmemchr.c:50:36: note: s is assigned sed-4.9/lib/rawmemchr.c:109:16: note: s is overwritten sed-4.9/lib/realloc.c:49:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTRDIFF_MAX [valueFlowBailoutIncompleteVar] sed-4.9/lib/rawmemchr.c:109:16: style: Variable 's' is assigned a value that is never used. [unreadVariable] sed-4.9/lib/reallocarray.c:32:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] sed-4.9/lib/obstack.c:138:35: error: Pointer addition with NULL pointer. [nullPointerArithmetic] sed-4.9/lib/obstack.c:208:5: error: Pointer addition with NULL pointer. [nullPointerArithmetic] sed-4.9/lib/obstack.c:218:14: error: Pointer addition with NULL pointer. [nullPointerArithmetic] sed-4.9/lib/obstack.c:240:48: style: Parameter 'obj' can be declared as pointer to const [constParameterPointer] sed-4.9/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] sed-4.9/lib/regex_internal.c:60:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] sed-4.9/lib/regex_internal.c:79:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable re_string_t [valueFlowBailoutIncompleteVar] sed-4.9/lib/regex_internal.c:141:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Idx [valueFlowBailoutIncompleteVar] sed-4.9/lib/regex_internal.c:261:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WEOF [valueFlowBailoutIncompleteVar] sed-4.9/lib/regex_internal.c:337:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WEOF [valueFlowBailoutIncompleteVar] sed-4.9/lib/regex_internal.c:494:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WEOF [valueFlowBailoutIncompleteVar] sed-4.9/lib/regex_internal.c:586:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOTBOL [valueFlowBailoutIncompleteVar] sed-4.9/lib/regex_internal.c:902:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOTEOL [valueFlowBailoutIncompleteVar] sed-4.9/lib/regex_internal.c:939:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Idx [valueFlowBailoutIncompleteVar] sed-4.9/lib/regex_internal.c:952:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Idx [valueFlowBailoutIncompleteVar] sed-4.9/lib/regex_internal.c:967:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Idx [valueFlowBailoutIncompleteVar] sed-4.9/lib/regex_internal.c:1000:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Idx [valueFlowBailoutIncompleteVar] sed-4.9/lib/regex_internal.c:1024:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] sed-4.9/lib/regex_internal.c:1117:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Idx [valueFlowBailoutIncompleteVar] sed-4.9/lib/regex_internal.c:1167:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] sed-4.9/lib/regex_internal.c:1255:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] sed-4.9/lib/regex_internal.c:1312:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Idx [valueFlowBailoutIncompleteVar] sed-4.9/lib/regex_internal.c:1388:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable re_token_t [valueFlowBailoutIncompleteVar] sed-4.9/lib/regex_internal.c:1461:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] sed-4.9/lib/regex_internal.c:1509:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] sed-4.9/lib/regex_internal.c:1546:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] sed-4.9/lib/regex_internal.c:1599:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable re_dfastate_t [valueFlowBailoutIncompleteVar] sed-4.9/lib/regex_internal.c:1647:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable re_dfastate_t [valueFlowBailoutIncompleteVar] sed-4.9/lib/regexec.c:194:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOTBOL [valueFlowBailoutIncompleteVar] sed-4.9/lib/regexec.c:413:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable regmatch_t [valueFlowBailoutIncompleteVar] sed-4.9/lib/regexec.c:457:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REGS_REALLOCATE [valueFlowBailoutIncompleteVar] sed-4.9/lib/regexec.c:537:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REGS_REALLOCATE [valueFlowBailoutIncompleteVar] sed-4.9/lib/regexec.c:609:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOMATCH [valueFlowBailoutIncompleteVar] sed-4.9/lib/regexec.c:909:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_ESPACE [valueFlowBailoutIncompleteVar] sed-4.9/lib/regexec.c:1042:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] sed-4.9/lib/regexec.c:1164:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] sed-4.9/lib/regexec.c:1205:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] sed-4.9/lib/regexec.c:1315:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable re_fail_stack_ent_t [valueFlowBailoutIncompleteVar] sed-4.9/lib/regexec.c:1342:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable idx [valueFlowBailoutIncompleteVar] sed-4.9/lib/regexec.c:1381:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable re_fail_stack_ent_t [valueFlowBailoutIncompleteVar] sed-4.9/lib/regexec.c:1465:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable eps_via_nodes [valueFlowBailoutIncompleteVar] sed-4.9/lib/regexec.c:1477:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] sed-4.9/lib/regexec.c:1557:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] sed-4.9/lib/regexec.c:1605:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable non_eps_nodes [valueFlowBailoutIncompleteVar] sed-4.9/lib/regexec.c:1668:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] sed-4.9/lib/regexec.c:1695:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nodes [valueFlowBailoutIncompleteVar] sed-4.9/lib/regexec.c:1714:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] sed-4.9/lib/regexec.c:1760:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] sed-4.9/lib/regexec.c:1798:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] sed-4.9/lib/regexec.c:1846:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable idx [valueFlowBailoutIncompleteVar] sed-4.9/lib/regexec.c:1880:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] sed-4.9/lib/regexec.c:1994:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable idx [valueFlowBailoutIncompleteVar] sed-4.9/lib/regexec.c:2076:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] sed-4.9/lib/regexec.c:2172:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nodes [valueFlowBailoutIncompleteVar] sed-4.9/lib/regexec.c:2203:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] sed-4.9/lib/regexec.c:2279:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] sed-4.9/lib/regexec.c:2371:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] sed-4.9/lib/regexec.c:2442:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable accept_mb [valueFlowBailoutIncompleteVar] sed-4.9/lib/regexec.c:2511:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_BACK_REF [valueFlowBailoutIncompleteVar] sed-4.9/lib/regexec.c:2620:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] sed-4.9/lib/regexec.c:2768:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_OPEN_SUBEXP [valueFlowBailoutIncompleteVar] sed-4.9/lib/regexec.c:2815:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] sed-4.9/lib/regexec.c:2982:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] sed-4.9/lib/regexec.c:3059:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] sed-4.9/lib/regexec.c:3110:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable type [valueFlowBailoutIncompleteVar] sed-4.9/lib/regexec.c:3156:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOERROR [valueFlowBailoutIncompleteVar] sed-4.9/lib/regexec.c:3244:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SBC_MAX [valueFlowBailoutIncompleteVar] sed-4.9/lib/regexec.c:3444:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CHARACTER [valueFlowBailoutIncompleteVar] sed-4.9/lib/regexec.c:3619:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OP_UTF8_PERIOD [valueFlowBailoutIncompleteVar] sed-4.9/lib/regexec.c:3918:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ASCII_CHARS [valueFlowBailoutIncompleteVar] sed-4.9/lib/regexec.c:3956:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_ESPACE [valueFlowBailoutIncompleteVar] sed-4.9/lib/regexec.c:4018:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable re_backref_cache_entry [valueFlowBailoutIncompleteVar] sed-4.9/lib/regexec.c:4094:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable re_backref_cache_entry [valueFlowBailoutIncompleteVar] sed-4.9/lib/regexec.c:4143:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable str_idx [valueFlowBailoutIncompleteVar] sed-4.9/lib/regexec.c:4170:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_ESPACE [valueFlowBailoutIncompleteVar] sed-4.9/lib/regexec.c:4201:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable re_sub_match_last_t [valueFlowBailoutIncompleteVar] sed-4.9/lib/regex_internal.c:1612:19: style: Variable 'node' can be declared as pointer to const [constVariablePointer] sed-4.9/lib/regex_internal.c:1662:19: style: Variable 'node' can be declared as pointer to const [constVariablePointer] sed-4.9/lib/regcomp.c:490:1: error: There is an unknown macro here somewhere. Configuration is required. If libc_hidden_def is a macro then please configure it. [unknownMacro] sed-4.9/lib/rename.c:289:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _GL_UNUSED [valueFlowBailoutIncompleteVar] sed-4.9/lib/rename.c:467:2: style: Label 'out' is not used. [unusedLabel] sed-4.9/lib/rmdir.c:46:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] sed-4.9/lib/set-acl.c:46:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] sed-4.9/lib/setlocale_null.c:150:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] sed-4.9/lib/setlocale_null.c:317:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] sed-4.9/lib/strerror.c:59:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] sed-4.9/lib/regexec.c:1950:27: style:inconclusive: Function 'check_dst_limits_calc_pos' argument 4 names different: declaration 'node' definition 'from_node'. [funcArgNamesDifferent] sed-4.9/lib/regexec.c:94:15: note: Function 'check_dst_limits_calc_pos' argument 4 names different: declaration 'node' definition 'from_node'. sed-4.9/lib/regexec.c:1950:27: note: Function 'check_dst_limits_calc_pos' argument 4 names different: declaration 'node' definition 'from_node'. sed-4.9/lib/regexec.c:3425:21: style:inconclusive: Function 'group_nodes_into_DFAstates' argument 3 names different: declaration 'states_node' definition 'dests_node'. [funcArgNamesDifferent] sed-4.9/lib/regexec.c:163:25: note: Function 'group_nodes_into_DFAstates' argument 3 names different: declaration 'states_node' definition 'dests_node'. sed-4.9/lib/regexec.c:3425:21: note: Function 'group_nodes_into_DFAstates' argument 3 names different: declaration 'states_node' definition 'dests_node'. sed-4.9/lib/regexec.c:3425:43: style:inconclusive: Function 'group_nodes_into_DFAstates' argument 4 names different: declaration 'states_ch' definition 'dests_ch'. [funcArgNamesDifferent] sed-4.9/lib/regexec.c:164:22: note: Function 'group_nodes_into_DFAstates' argument 4 names different: declaration 'states_ch' definition 'dests_ch'. sed-4.9/lib/regexec.c:3425:43: note: Function 'group_nodes_into_DFAstates' argument 4 names different: declaration 'states_ch' definition 'dests_ch'. sed-4.9/lib/regexec.c:3613:35: style:inconclusive: Function 'check_node_accept_bytes' argument 4 names different: declaration 'idx' definition 'str_idx'. [funcArgNamesDifferent] sed-4.9/lib/regexec.c:156:39: note: Function 'check_node_accept_bytes' argument 4 names different: declaration 'idx' definition 'str_idx'. sed-4.9/lib/regexec.c:3613:35: note: Function 'check_node_accept_bytes' argument 4 names different: declaration 'idx' definition 'str_idx'. sed-4.9/lib/regexec.c:4010:37: style:inconclusive: Function 'match_ctx_init' argument 1 names different: declaration 'cache' definition 'mctx'. [funcArgNamesDifferent] sed-4.9/lib/regexec.c:20:58: note: Function 'match_ctx_init' argument 1 names different: declaration 'cache' definition 'mctx'. sed-4.9/lib/regexec.c:4010:37: note: Function 'match_ctx_init' argument 1 names different: declaration 'cache' definition 'mctx'. sed-4.9/lib/regexec.c:4073:37: style:inconclusive: Function 'match_ctx_free' argument 1 names different: declaration 'cache' definition 'mctx'. [funcArgNamesDifferent] sed-4.9/lib/regexec.c:23:49: note: Function 'match_ctx_free' argument 1 names different: declaration 'cache' definition 'mctx'. sed-4.9/lib/regexec.c:4073:37: note: Function 'match_ctx_free' argument 1 names different: declaration 'cache' definition 'mctx'. sed-4.9/lib/regexec.c:4088:42: style:inconclusive: Function 'match_ctx_add_entry' argument 1 names different: declaration 'cache' definition 'mctx'. [funcArgNamesDifferent] sed-4.9/lib/regexec.c:24:63: note: Function 'match_ctx_add_entry' argument 1 names different: declaration 'cache' definition 'mctx'. sed-4.9/lib/regexec.c:4088:42: note: Function 'match_ctx_add_entry' argument 1 names different: declaration 'cache' definition 'mctx'. sed-4.9/lib/strerror.c:44:7: style: Condition 'msg' is always false [knownConditionTrueFalse] sed-4.9/lib/strerror.c:43:21: note: Assignment 'msg=NULL', assigned value is 0 sed-4.9/lib/strerror.c:44:7: note: Condition 'msg' is always false sed-4.9/lib/strverscmp.c:111:1: error: There is an unknown macro here somewhere. Configuration is required. If libc_hidden_def is a macro then please configure it. [unknownMacro] sed-4.9/lib/regexec.c:798:20: style: Variable 'pstate' can be declared as pointer to const [constVariablePointer] sed-4.9/lib/regexec.c:1307:27: style: Parameter 'regs' can be declared as pointer to const [constParameterPointer] sed-4.9/lib/regexec.c:1307:45: style: Parameter 'prevregs' can be declared as pointer to const [constParameterPointer] sed-4.9/lib/regexec.c:1844:38: style: Variable 'ent' can be declared as pointer to const [constVariablePointer] sed-4.9/lib/regexec.c:1953:34: style: Variable 'lim' can be declared as pointer to const [constVariablePointer] sed-4.9/lib/regexec.c:1988:38: style: Variable 'ent' can be declared as pointer to const [constVariablePointer] sed-4.9/lib/regexec.c:2084:38: style: Variable 'entry' can be declared as pointer to const [constVariablePointer] sed-4.9/lib/regexec.c:2536:35: style: Variable 'bkref_ent' can be declared as pointer to const [constVariablePointer] sed-4.9/lib/tempname.c:96:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GRND_NONBLOCK [valueFlowBailoutIncompleteVar] sed-4.9/lib/tempname.c:130:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_ACCMODE [valueFlowBailoutIncompleteVar] sed-4.9/lib/tempname.c:137:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRUSR [valueFlowBailoutIncompleteVar] sed-4.9/lib/tempname.c:145:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] sed-4.9/lib/tempname.c:179:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable try_nocreate [valueFlowBailoutIncompleteVar] sed-4.9/lib/tempname.c:196:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] sed-4.9/lib/version-etc.c:258:57: error: There is an unknown macro here somewhere. Configuration is required. If PACKAGE is a macro then please configure it. [unknownMacro] sed-4.9/lib/wcrtomb.c:35:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] sed-4.9/lib/wcrtomb.c:28:42: style: Parameter 'ps' can be declared as pointer to const [constParameterPointer] sed-4.9/lib/wctob.c:31:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MB_CUR_MAX [valueFlowBailoutIncompleteVar] sed-4.9/lib/tempname.c:247:17: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] sed-4.9/lib/tempname.c:126:17: style: Parameter 'tmpl' can be declared as pointer to const. However it seems that 'try_file' is a callback function, if 'tmpl' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sed-4.9/lib/tempname.c:177:21: note: You might need to cast the function pointer here sed-4.9/lib/tempname.c:126:17: note: Parameter 'tmpl' can be declared as pointer to const sed-4.9/lib/tempname.c:128:8: style: Variable 'openflags' can be declared as pointer to const [constVariablePointer] sed-4.9/lib/tempname.c:135:16: style: Parameter 'tmpl' can be declared as pointer to const. However it seems that 'try_dir' is a callback function, if 'tmpl' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sed-4.9/lib/tempname.c:178:20: note: You might need to cast the function pointer here sed-4.9/lib/tempname.c:135:16: note: Parameter 'tmpl' can be declared as pointer to const sed-4.9/lib/tempname.c:135:39: style: Parameter 'flags' can be declared as pointer to const. However it seems that 'try_dir' is a callback function, if 'flags' is declared with const you might also need to cast function pointer(s). [constParameterCallback] sed-4.9/lib/tempname.c:178:20: note: You might need to cast the function pointer here sed-4.9/lib/tempname.c:135:39: note: Parameter 'flags' can be declared as pointer to const sed-4.9/lib/tempname.c:141:21: style: Parameter 'tmpl' can be declared as pointer to const [constParameterPointer] sed-4.9/lib/windows-mutex.c:70:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EBUSY [valueFlowBailoutIncompleteVar] sed-4.9/lib/windows-mutex.c:82:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] sed-4.9/lib/windows-mutex.c:91:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] sed-4.9/lib/windows-recmutex.c:64:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EAGAIN [valueFlowBailoutIncompleteVar] sed-4.9/lib/windows-recmutex.c:84:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EBUSY [valueFlowBailoutIncompleteVar] sed-4.9/lib/windows-recmutex.c:108:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EPERM [valueFlowBailoutIncompleteVar] sed-4.9/lib/windows-recmutex.c:123:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EBUSY [valueFlowBailoutIncompleteVar] sed-4.9/lib/windows-rwlock.c:56:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HANDLE [valueFlowBailoutIncompleteVar] sed-4.9/lib/windows-rwlock.c:161:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_HANDLE_VALUE [valueFlowBailoutIncompleteVar] sed-4.9/lib/windows-rwlock.c:218:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID_HANDLE_VALUE [valueFlowBailoutIncompleteVar] sed-4.9/lib/windows-rwlock.c:279:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EBUSY [valueFlowBailoutIncompleteVar] sed-4.9/lib/windows-rwlock.c:312:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EBUSY [valueFlowBailoutIncompleteVar] sed-4.9/lib/windows-rwlock.c:323:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] sed-4.9/lib/windows-rwlock.c:367:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] sed-4.9/sed/utils.h:41:8: error: There is an unknown macro here somewhere. Configuration is required. If ck_mkstemp is a macro then please configure it. [unknownMacro] sed-4.9/testsuite/get-mb-cur-max.c:28:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] sed-4.9/testsuite/test-mbrtowc.c:133:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable program_name [valueFlowBailoutIncompleteVar] sed-4.9/testsuite/test-mbrtowc.c:144:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] diff: head sed-4.9/gnulib-tests/acl-internal.h:64:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head sed-4.9/gnulib-tests/fpurge.c:146:4: error: #error "Please port gnulib fpurge.c to your platform! Look at the definitions of fflush, setvbuf and ungetc on your system, then report this to bug-gnulib." [preprocessorErrorDirective] head sed-4.9/gnulib-tests/freading.c:72:4: error: #error "Please port gnulib freading.c to your platform!" [preprocessorErrorDirective] head sed-4.9/gnulib-tests/fseeko.c:111:4: error: #error "Please port gnulib fseeko.c to your platform! Look at the code in fseeko.c, then report this to bug-gnulib." [preprocessorErrorDirective] head sed-4.9/gnulib-tests/gettimeofday.c:143:5: error: #error "Only 1-second nominal clock resolution found. Is that intended?" \ [preprocessorErrorDirective] head sed-4.9/gnulib-tests/link.c:174:4: error: #error "This platform lacks a link function, and Gnulib doesn't provide a replacement. This is a bug in Gnulib." [preprocessorErrorDirective] head sed-4.9/gnulib-tests/pipe.c:48:3: error: #error "This platform lacks a pipe function, and Gnulib doesn't provide a replacement. This is a bug in Gnulib." [preprocessorErrorDirective] head sed-4.9/gnulib-tests/setlocale.c:60:4: error: #error "This file should only be compiled if NEED_SETLOCALE_IMPROVED || NEED_SETLOCALE_MTSAFE." [preprocessorErrorDirective] head sed-4.9/gnulib-tests/sleep.c:72:3: error: #error "Please port gnulib sleep.c to your platform, possibly using usleep() or select(), then report this to bug-gnulib." [preprocessorErrorDirective] head sed-4.9/gnulib-tests/test-cloexec.c:57:4: error: #error Please port fcntl to your platform [preprocessorErrorDirective] head sed-4.9/gnulib-tests/test-dup2.c:64:4: error: #error Please port fcntl to your platform [preprocessorErrorDirective] head sed-4.9/gnulib-tests/test-fcntl.c:63:4: error: #error Please port fcntl to your platform [preprocessorErrorDirective] head sed-4.9/gnulib-tests/test-pipe.c:52:4: error: #error Please port fcntl to your platform [preprocessorErrorDirective] head sed-4.9/gnulib-tests/test-verify.c:57:30: style: Same expression on both sides of '=='. [duplicateExpression] head sed-4.9/gnulib-tests/test-verify.c:60:60: style: Same expression on both sides of '=='. [duplicateExpression] head sed-4.9/lib/acl-internal.h:64:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head sed-4.9/lib/binary-io.h:29:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head sed-4.9/lib/c-ctype.h:27:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head sed-4.9/lib/error.c:142:5: error: #error Please port fcntl to your platform [preprocessorErrorDirective] head sed-4.9/lib/fpending.c:60:3: error: #error "Please port gnulib fpending.c to your platform!" [preprocessorErrorDirective] head sed-4.9/lib/fwriting.c:66:3: error: #error "Please port gnulib fwriting.c to your platform!" [preprocessorErrorDirective] head sed-4.9/lib/getprogname.c:291:4: error: #error "getprogname module not ported to this OS" [preprocessorErrorDirective] head sed-4.9/lib/ialloc.h:28:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head sed-4.9/lib/malloc/dynarray-skeleton.c:95:3: error: #error "DYNARRAY_STRUCT must be defined" [preprocessorErrorDirective] head sed-4.9/lib/stat-time.h:30:3: error: #error "Please include config.h first." [preprocessorErrorDirective] head sed-4.9/lib/xalloc.h:29:3: error: #error "Please include config.h first." [preprocessorErrorDirective] DONE