2025-11-27 12:22 ftp://ftp.de.debian.org/debian/pool/main/k/ksh93u+m/ksh93u+m_1.0.10.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=bsd --library=motif --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 -j4 platform: Linux-6.12.57+deb13-amd64-x86_64-with-glibc2.41 python: 3.13.5 client-version: 1.3.67 compiler: g++ (Debian 14.2.0-19) 14.2.0 cppcheck: head 2.18.0 head-info: 9486fde (2025-11-26 08:20:02 +0100) count: 1803 1779 elapsed-time: 16.8 18.6 head-timing-info: old-timing-info: head results: ksh-1.0.10/src/cmd/INIT/db.c:33:12: error: Null pointer dereference: dbm [nullPointer] ksh-1.0.10/src/cmd/INIT/db.c:31:13: note: Assignment 'dbm=0', assigned value is 0 ksh-1.0.10/src/cmd/INIT/db.c:33:12: note: Null pointer dereference ksh-1.0.10/src/cmd/INIT/db.c:33:12: error: Null pointer dereference [nullPointer] ksh-1.0.10/src/cmd/INIT/dl.c:29:2: error: Return value of allocation function 'dlopen' is not stored. [leakReturnValNotUsed] ksh-1.0.10/src/cmd/INIT/gdbm.c:33:12: error: Null pointer dereference: dbm [nullPointer] ksh-1.0.10/src/cmd/INIT/gdbm.c:31:13: note: Assignment 'dbm=0', assigned value is 0 ksh-1.0.10/src/cmd/INIT/gdbm.c:33:12: note: Null pointer dereference ksh-1.0.10/src/cmd/INIT/gdbm.c:33:12: error: Null pointer dereference [nullPointer] ksh-1.0.10/src/cmd/INIT/gdbm1.c:33:12: error: Null pointer dereference: dbm [nullPointer] ksh-1.0.10/src/cmd/INIT/gdbm1.c:31:13: note: Assignment 'dbm=0', assigned value is 0 ksh-1.0.10/src/cmd/INIT/gdbm1.c:33:12: note: Null pointer dereference ksh-1.0.10/src/cmd/INIT/gdbm1.c:33:12: error: Null pointer dereference [nullPointer] ksh-1.0.10/src/cmd/INIT/gdbm2.c:33:12: error: Null pointer dereference: dbm [nullPointer] ksh-1.0.10/src/cmd/INIT/gdbm2.c:31:13: note: Assignment 'dbm=0', assigned value is 0 ksh-1.0.10/src/cmd/INIT/gdbm2.c:33:12: note: Null pointer dereference ksh-1.0.10/src/cmd/INIT/gdbm2.c:33:12: error: Null pointer dereference [nullPointer] ksh-1.0.10/src/cmd/INIT/intl.c:25:2: warning: Return value of function gettext() is not used. [ignoredReturnValue] ksh-1.0.10/src/cmd/INIT/intl.c:25:10: error: Null pointer dereference [nullPointer] ksh-1.0.10/src/cmd/INIT/nsl.c:27:9: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] ksh-1.0.10/src/cmd/INIT/nsl.c:27:23: error: Null pointer dereference [nullPointer] ksh-1.0.10/src/cmd/INIT/w.c:27:21: style: Return value 'iswspace(w)==0' is always false [knownConditionTrueFalse] ksh-1.0.10/src/cmd/INIT/w2.c:25:21: style: Return value 'iswspace(w)==0' is always false [knownConditionTrueFalse] ksh-1.0.10/src/cmd/INIT/socket.c:30:9: error: Return value of allocation function 'socket' is not stored. [leakReturnValNotUsed] ksh-1.0.10/src/cmd/ksh93/bltins/cflow.c:47:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fn_depth [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/bltins/cflow.c:108:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sh_optbreak [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/bltins/cd_pwd.c:59:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sh_optcd [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/bltins/cd_pwd.c:264:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sh_optpwd [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/bltins/enum.c:25:15: error: There is an unknown macro here somewhere. Configuration is required. If SH_DICT is a macro then please configure it. [unknownMacro] ksh-1.0.10/src/cmd/ksh93/bltins/cd_pwd.c:44:14: style: Variable 'pp' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/cmd/builtin/pty.c:126:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_SYSTEM [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/builtin/pty.c:150:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _pty_first [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/builtin/pty.c:198:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/builtin/pty.c:233:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_BLOCK [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/builtin/pty.c:360:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROC_FD_CHILD [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/builtin/pty.c:385:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sfstdin [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/builtin/pty.c:482:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_EXTENDED [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/builtin/pty.c:589:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_READ [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/builtin/pty.c:797:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_BUFSIZE [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/builtin/pty.c:1024:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_CATALOG [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/bltins/getopts.c:36:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stk [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/bltins/getopts.c:56:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable id [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/bltins/hist.c:60:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable e_histopen [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/bltins/hist.c:313:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stk [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/bltins/getopts.c:159:12: style: Variable 'opt_info.index' is assigned an expression that holds the same value. [redundantAssignment] ksh-1.0.10/src/cmd/ksh93/bltins/getopts.c:156:9: note: flag is assigned 'opt_info.index' here. ksh-1.0.10/src/cmd/ksh93/bltins/getopts.c:159:12: note: Variable 'opt_info.index' is assigned an expression that holds the same value. ksh-1.0.10/src/cmd/ksh93/bltins/misc.c:67:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable subshell [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/bltins/misc.c:86:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ioset [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/bltins/misc.c:175:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sh_optlet [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/bltins/misc.c:200:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sh_opteval [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/bltins/misc.c:229:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable self [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/bltins/misc.c:379:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sh_optshift [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/bltins/misc.c:411:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sh_optwait [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/bltins/misc.c:438:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sh_optbg [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/bltins/misc.c:478:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sh_optjobs [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/bltins/misc.c:524:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SH_POSIX [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/bltins/misc.c:544:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable clk_tck [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/bltins/misc.c:569:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sh_opttimes [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/bltins/misc.c:267:18: style: Condition 'np->nvalue.ip' is always false [knownConditionTrueFalse] ksh-1.0.10/src/cmd/ksh93/bltins/misc.c:264:7: note: Assuming that condition '!np->nvalue.ip' is not redundant ksh-1.0.10/src/cmd/ksh93/bltins/misc.c:267:18: note: Condition 'np->nvalue.ip' is always false ksh-1.0.10/src/cmd/ksh93/bltins/print.c:106:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sh_optecho [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/bltins/print.c:149:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sh_optprintf [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/bltins/print.c:170:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable e_file [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/bltins/print.c:453:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stk [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/bltins/print.c:527:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stk [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/bltins/print.c:537:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stk [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/bltins/print.c:602:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NV_NOADD [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/bltins/print.c:747:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LDBL_LLONG_MIN [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/bltins/print.c:1166:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stk [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/INIT/mamake.c:333:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/INIT/mamake.c:376:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/INIT/mamake.c:413:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/INIT/mamake.c:1230:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/INIT/mamake.c:1294:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/INIT/mamake.c:1462:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/INIT/mamake.c:1690:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/INIT/mamake.c:1956:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/INIT/mamake.c:2261:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/builtin/pty.c:137:3: warning:inconclusive: The buffer 'sname' may not be null-terminated after the call to strncpy(). [terminateStrncpy] ksh-1.0.10/src/cmd/builtin/pty.c:1130:3: warning: Return value of function dup() is not used. [ignoredReturnValue] ksh-1.0.10/src/cmd/builtin/pty.c:827:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] ksh-1.0.10/src/cmd/builtin/pty.c:840:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] ksh-1.0.10/src/cmd/builtin/pty.c:921:5: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] ksh-1.0.10/src/cmd/builtin/pty.c:331:6: style: Condition 'ttyp' is always true [knownConditionTrueFalse] ksh-1.0.10/src/cmd/builtin/pty.c:852:38: style: Condition '!(cond->text=0)' is always true [knownConditionTrueFalse] ksh-1.0.10/src/cmd/builtin/pty.c:661:30: warning: Either the condition '!bp->bufunderflow' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] ksh-1.0.10/src/cmd/builtin/pty.c:659:7: note: Assuming that condition '!bp->bufunderflow' is not redundant ksh-1.0.10/src/cmd/builtin/pty.c:661:30: note: Null pointer addition ksh-1.0.10/src/cmd/builtin/pty.c:221:18: style: Variable 'ttyp' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/cmd/builtin/pty.c:227:9: style: Variable 'sname' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/cmd/builtin/pty.c:451:11: style: Variable 're' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/cmd/builtin/pty.c:500:9: style: struct member 'Master_s::peek' is never used. [unusedStructMember] ksh-1.0.10/src/cmd/ksh93/bltins/read.c:66:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable e_file [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/bltins/read.c:237:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NV_VARNAME [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/bltins/sleep.c:44:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sigflag [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/bltins/sleep.c:148:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable trapnote [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/bltins/test.c:83:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MATCH_MAX [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/bltins/test.c:121:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable e_missing [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/bltins/test.c:260:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable e_badsyntax [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/bltins/test.c:275:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable e_argument [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/bltins/test.c:288:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SH_POSIX [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/bltins/test.c:380:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_ISUID [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/bltins/test.c:491:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TEST_ARITH [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/bltins/test.c:609:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SH_POSIX [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/bltins/test.c:707:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/bltins/print.c:855:50: style: Condition '*((char*)&sl)' is always true [knownConditionTrueFalse] ksh-1.0.10/src/cmd/ksh93/bltins/print.c:854:18: note: Assignment 'sl=1', assigned value is 1 ksh-1.0.10/src/cmd/ksh93/bltins/print.c:855:50: note: Condition '*((char*)&sl)' is always true ksh-1.0.10/src/cmd/ksh93/bltins/read.c:534:17: style: The statement 'if (*(cpmax-1)!=delim) *(cpmax-1)=delim' is logically equivalent to '*(cpmax-1)=delim'. [duplicateConditionalAssign] ksh-1.0.10/src/cmd/ksh93/bltins/read.c:535:15: note: Assignment '*(cpmax-1)=delim' ksh-1.0.10/src/cmd/ksh93/bltins/read.c:534:17: note: Condition '*(cpmax-1)!=delim' is redundant ksh-1.0.10/src/cmd/ksh93/bltins/print.c:113:9: style: Variable 'universe' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/cmd/ksh93/bltins/print.c:190:17: style: Variable 'pp' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/cmd/ksh93/bltins/print.c:474:16: style: Variable 'b' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/cmd/ksh93/bltins/print.c:731:39: style: Parameter 'fe' can be declared as pointer to const [constParameterPointer] ksh-1.0.10/src/cmd/ksh93/bltins/print.c:1024:13: error: Overlapping read/write of union is undefined behavior [overlappingWriteUnion] ksh-1.0.10/src/cmd/ksh93/bltins/print.c:1090:13: error: Overlapping read/write of union is undefined behavior [overlappingWriteUnion] ksh-1.0.10/src/cmd/ksh93/bltins/print.c:1100:13: error: Overlapping read/write of union is undefined behavior [overlappingWriteUnion] ksh-1.0.10/src/cmd/ksh93/bltins/print.c:1103:17: error: Overlapping read/write of union is undefined behavior [overlappingWriteUnion] ksh-1.0.10/src/cmd/ksh93/bltins/read.c:225:18: style: Variable 'del' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/cmd/ksh93/bltins/read.c:374:32: style: Variable 'end' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/cmd/ksh93/bltins/print.c:44:8: style: union member 'types_t::l' is never used. [unusedStructMember] ksh-1.0.10/src/cmd/ksh93/bltins/trap.c:49:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sh_opttrap [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/bltins/trap.c:227:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sh_optkill [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/bltins/trap.c:304:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sh_optsuspend [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/bltins/trap.c:353:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stk [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/bltins/trap.c:423:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sigruntime [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/bltins/trap.c:466:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SH_TRAP [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/bltins/test.c:301:5: warning: Either the condition 'arg' is redundant or there is possible null pointer dereference: arg. [nullPointerRedundantCheck] ksh-1.0.10/src/cmd/ksh93/bltins/test.c:299:5: note: Assuming that condition 'arg' is not redundant ksh-1.0.10/src/cmd/ksh93/bltins/test.c:301:5: note: Null pointer dereference ksh-1.0.10/src/cmd/ksh93/bltins/test.c:229:8: style: Variable 'p' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/cmd/ksh93/bltins/test.c:284:8: style: Variable 'arg' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/cmd/ksh93/bltins/typeset.c:99:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sh_optreadonly [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/bltins/typeset.c:135:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NV_NOARRAY [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/bltins/typeset.c:219:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NV_VARNAME [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/bltins/typeset.c:585:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable last_root [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/bltins/typeset.c:648:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NV_ARRAY [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/bltins/typeset.c:1128:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stk [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/bltins/typeset.c:1260:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SH_VERBOSE [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/bltins/typeset.c:1281:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable alias_tree [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/bltins/typeset.c:1287:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable var_tree [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/bltins/typeset.c:1299:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable alias_tree [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/bltins/typeset.c:1452:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable shcomp [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/bltins/typeset.c:1605:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable last_table [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/bltins/ulimit.c:53:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable shtab_limits [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/bltins/ulimit.c:82:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OPT_VERSION [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/bltins/umask.c:44:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sh_optumask [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/bltins/whence.c:55:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable offset [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/bltins/whence.c:116:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sh_optwhence [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/bltins/whence.c:176:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable shtab_reserved [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/bltins/whence.c:288:35: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] ksh-1.0.10/src/cmd/ksh93/data/builtins.c:352:15: error: There is an unknown macro here somewhere. Configuration is required. If SH_DICT is a macro then please configure it. [unknownMacro] ksh-1.0.10/src/cmd/ksh93/data/strdata.c:30:15: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] ksh-1.0.10/src/cmd/ksh93/data/strdata.c:51:16: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] ksh-1.0.10/src/cmd/ksh93/data/testops.c:57:15: error: There is an unknown macro here somewhere. Configuration is required. If SH_DICT is a macro then please configure it. [unknownMacro] ksh-1.0.10/src/cmd/ksh93/edit/completion.c:41:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sh_lexstates [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/edit/completion.c:262:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SH_MARKDIRS [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/edit/completion.c:641:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hist_ptr [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/edit/edit.c:125:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ed_context [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/edit/edit.c:143:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ed_context [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/edit/edit.c:171:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ed_context [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/edit/edit.c:195:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ed_context [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/edit/edit.c:217:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ed_context [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/edit/edit.c:299:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXWINDOW [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/edit/edit.c:313:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERRIO [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/edit/edit.c:326:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERRIO [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/edit/edit.c:634:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VEOL [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/edit/edit.c:832:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STRIP [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/edit/edit.c:860:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOOKAHEAD [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/edit/edit.c:1317:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lex_context [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/edit/edit.c:1575:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Edit_t [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/edit/edit.c:1587:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/edit/edit.c:1613:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/edit/edit.c:1622:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/bltins/typeset.c:774:86: style:inconclusive: Boolean expression '(NV_REF|NV_NOADD)==NV_REF' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] ksh-1.0.10/src/cmd/ksh93/bltins/typeset.c:774:78: style: Suspicious condition (bitwise operator + comparison); Clarify expression with parentheses. [clarifyCondition] ksh-1.0.10/src/cmd/ksh93/bltins/typeset.c:774:86: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] ksh-1.0.10/src/cmd/ksh93/bltins/typeset.c:1232:6: style: Condition '!addr' is always true [knownConditionTrueFalse] ksh-1.0.10/src/cmd/ksh93/bltins/typeset.c:1205:10: note: Assignment 'addr=0', assigned value is 0 ksh-1.0.10/src/cmd/ksh93/bltins/typeset.c:1214:6: note: Assuming condition is false ksh-1.0.10/src/cmd/ksh93/bltins/typeset.c:1232:6: note: Condition '!addr' is always true ksh-1.0.10/src/cmd/ksh93/bltins/typeset.c:1433:55: style: Condition '!np' is always true [knownConditionTrueFalse] ksh-1.0.10/src/cmd/ksh93/bltins/typeset.c:1380:6: note: Assuming that condition 'np' is not redundant ksh-1.0.10/src/cmd/ksh93/bltins/typeset.c:1433:55: note: Condition '!np' is always true ksh-1.0.10/src/cmd/ksh93/bltins/typeset.c:859:17: style: Local variable 'ap' shadows outer variable [shadowVariable] ksh-1.0.10/src/cmd/ksh93/bltins/typeset.c:686:14: note: Shadowed declaration ksh-1.0.10/src/cmd/ksh93/bltins/typeset.c:859:17: note: Shadow variable ksh-1.0.10/src/cmd/ksh93/bltins/typeset.c:587:9: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/cmd/ksh93/bltins/typeset.c:892:12: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/cmd/ksh93/bltins/typeset.c:1603:8: style: Variable 'name' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/cmd/ksh93/bltins/typeset.c:1633:11: style: Variable 'newname' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/cmd/ksh93/bltins/typeset.c:521:10: style: Variable 'off' is assigned a value that is never used. [unreadVariable] ksh-1.0.10/src/cmd/ksh93/bltins/typeset.c:521:7: style: Variable 'off' is assigned a value that is never used. [unreadVariable] ksh-1.0.10/src/cmd/ksh93/bltins/typeset.c:651:12: style: Variable 'save_namespace' is assigned a value that is never used. [unreadVariable] ksh-1.0.10/src/cmd/ksh93/bltins/typeset.c:1238:29: style: Variable 'np' is assigned a value that is never used. [unreadVariable] ksh-1.0.10/src/cmd/ksh93/bltins/typeset.c:1525:10: style: Variable 'flag' is assigned a value that is never used. [unreadVariable] ksh-1.0.10/src/cmd/ksh93/edit/completion.c:380:29: style: Redundant initialization for 'size'. The initialized value is overwritten before it is read. [redundantInitialization] ksh-1.0.10/src/cmd/ksh93/edit/completion.c:379:11: note: size is initialized ksh-1.0.10/src/cmd/ksh93/edit/completion.c:380:29: note: size is overwritten ksh-1.0.10/src/cmd/ksh93/edit/completion.c:41:18: style: Variable 'state' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/cmd/ksh93/edit/completion.c:43:8: style: Variable 'hc' can be declared as const array [constVariable] ksh-1.0.10/src/cmd/ksh93/edit/completion.c:377:29: style: Variable 'saveout' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/cmd/ksh93/edit/completion.c:51:23: error: Uninitialized variable: hc[0] [legacyUninitvar] ksh-1.0.10/src/cmd/ksh93/edit/completion.c:43:8: style: Variable 'hc' is not assigned a value. [unassignedVariable] ksh-1.0.10/src/cmd/ksh93/edit/completion.c:448:13: style: Variable 'saveout' is assigned a value that is never used. [unreadVariable] ksh-1.0.10/src/cmd/ksh93/edit/edit.c:748:12: style: Condition 'rv>=0' is always true [knownConditionTrueFalse] ksh-1.0.10/src/cmd/ksh93/edit/edit.c:713:8: note: Assuming that condition 'rv<0' is not redundant ksh-1.0.10/src/cmd/ksh93/edit/edit.c:748:12: note: Condition 'rv>=0' is always true ksh-1.0.10/src/cmd/ksh93/edit/edit.c:1340:2: style: Variable '*lexp' is assigned an expression that holds the same value. [redundantAssignment] ksh-1.0.10/src/cmd/ksh93/edit/edit.c:1338:10: note: savelex is assigned '*lexp' here. ksh-1.0.10/src/cmd/ksh93/edit/edit.c:1340:2: note: Variable '*lexp' is assigned an expression that holds the same value. ksh-1.0.10/src/cmd/ksh93/edit/edit.c:169:49: style: Parameter 'tty' can be declared as pointer to const [constParameterPointer] ksh-1.0.10/src/cmd/ksh93/edit/edit.c:763:37: style: Parameter 'string' can be declared as const array [constParameter] ksh-1.0.10/src/cmd/ksh93/edit/edit.c:1620:51: style: Parameter 'tty' can be declared as pointer to const [constParameterPointer] ksh-1.0.10/src/cmd/ksh93/sh/args.c:103:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sh_set [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/args.c:116:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable arg_context [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/args.c:369:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SH_INTERACTIVE [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/args.c:428:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dolc [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/args.c:443:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable arg_context [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/args.c:487:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dolnod [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/args.c:507:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable arg_context [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/args.c:521:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable arg_context [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/args.c:537:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable arg_context [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/args.c:554:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRINT_NO_HEADER [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/args.c:641:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xargmin [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/args.c:729:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable jobcontrol [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/args.c:795:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARG_MAKE [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/edit/history.c:212:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hist_ptr [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/edit/history.c:383:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hist_ptr [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/edit/history.c:465:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_UNBOUND [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/edit/history.c:573:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_UNBOUND [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/edit/history.c:690:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_LOCKR [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/edit/history.c:724:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SH_DICT [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/edit/history.c:841:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable e_unknown [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/edit/history.c:911:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable trapnote [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/edit/history.c:1107:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_WRITE [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/arith.c:65:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable real_fun [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/arith.c:201:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable shtab_math [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/arith.c:244:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NV_UINT16 [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/arith.c:558:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bltinfun [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/arith.c:617:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable e_lexbadchar [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/args.c:653:19: style: Variable 'ap' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/cmd/ksh93/edit/history.c:419:8: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/cmd/ksh93/edit/history.c:492:29: style: Variable 'endbuff' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/cmd/ksh93/edit/history.c:558:12: style: Variable 'first' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/cmd/ksh93/edit/history.c:558:19: style: Variable 'endbuff' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/cmd/ksh93/edit/history.c:599:24: style: Variable 'marker' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/cmd/ksh93/edit/history.c:922:49: style: Parameter 'string' can be declared as pointer to const [constParameterPointer] ksh-1.0.10/src/cmd/ksh93/edit/history.c:924:17: style: Variable 'first' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/cmd/ksh93/edit/history.c:420:16: style: Variable 'c' is assigned a value that is never used. [unreadVariable] ksh-1.0.10/src/cmd/ksh93/sh/array.c:88:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Namarr_t [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/array.c:125:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NV_POP [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/array.c:143:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cp [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/array.c:173:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARRAY_INCR [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/array.c:186:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cp [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/array.c:206:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NV_NOFREE [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/array.c:253:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Empty [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/array.c:279:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARRAY_LOOKUP [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/array.c:410:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable last_table [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/array.c:442:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NV_MOVE [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/array.c:551:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARRAY_LOOKUP [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/array.c:577:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARRAY_LOOKUP [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/array.c:596:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NV_NOFREE [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/array.c:783:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NV_ARRAY [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/array.c:808:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARRAY_MAX [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/array.c:883:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable strbuf [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/array.c:909:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NV_ARRAY [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/edit/history.c:925:11: style: Variable 'c' is assigned a value that is never used. [unreadVariable] ksh-1.0.10/src/cmd/ksh93/sh/array.c:936:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NV_ARRAY [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/array.c:980:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NV_NOFREE [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/array.c:1019:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARRAY_LOOKUP [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/array.c:1068:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARRAY_SCAN [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/array.c:1160:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARRAY_MASK [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/array.c:1503:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stk [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/array.c:1562:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable np [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/array.c:1626:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cur [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/array.c:1640:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cp [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/array.c:1659:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NV_FIRST [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/array.c:1817:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cp [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/expand.c:56:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Empty [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/expand.c:71:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STAT_GLOBS [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/expand.c:153:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stk [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/expand.c:52:40: style: Parameter 'dir' can be declared as pointer to const. However it seems that 'nextdir' is a callback function, if 'dir' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ksh-1.0.10/src/cmd/ksh93/sh/expand.c:86:20: note: You might need to cast the function pointer here ksh-1.0.10/src/cmd/ksh93/sh/expand.c:52:40: note: Parameter 'dir' can be declared as pointer to const ksh-1.0.10/src/cmd/ksh93/sh/fault.c:50:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable jmplist [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/fault.c:215:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LINES [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/fault.c:234:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable shtab_signals [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/fault.c:285:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable otrapcom [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/fault.c:312:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sigmax [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/fault.c:331:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable trapmax [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/fault.c:380:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sigflag [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/fault.c:400:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable trapmax [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/fault.c:467:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable exitval [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/fault.c:535:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable jmplist [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/fault.c:621:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NV_AFREE [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/fault.c:630:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable exitval [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/fault.c:179:12: style: The comparison 'action < 0' is always false. [knownConditionTrueFalse] ksh-1.0.10/src/cmd/ksh93/sh/fault.c:51:14: note: 'action' is assigned value '0' here. ksh-1.0.10/src/cmd/ksh93/sh/fault.c:179:12: note: The comparison 'action < 0' is always false. ksh-1.0.10/src/cmd/ksh93/sh/fault.c:314:9: style: Redundant initialization for 'sig'. The initialized value is overwritten before it is read. [redundantInitialization] ksh-1.0.10/src/cmd/ksh93/sh/fault.c:312:17: note: sig is initialized ksh-1.0.10/src/cmd/ksh93/sh/fault.c:314:9: note: sig is overwritten ksh-1.0.10/src/cmd/ksh93/sh/fault.c:49:9: style: Variable 'trap' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/cmd/ksh93/sh/fault.c:629:8: style: Variable 't' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/cmd/ksh93/sh/fcin.c:42:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/fcin.c:105:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/arith.c:577:7: warning: Either the condition '!last' is redundant or there is possible null pointer dereference: last. [nullPointerRedundantCheck] ksh-1.0.10/src/cmd/ksh93/sh/arith.c:588:8: note: Assuming that condition '!last' is not redundant ksh-1.0.10/src/cmd/ksh93/sh/arith.c:577:7: note: Null pointer dereference ksh-1.0.10/src/cmd/ksh93/sh/arith.c:77:7: style: Local variable 'c' shadows outer variable [shadowVariable] ksh-1.0.10/src/cmd/ksh93/sh/arith.c:64:6: note: Shadowed declaration ksh-1.0.10/src/cmd/ksh93/sh/arith.c:77:7: note: Shadow variable ksh-1.0.10/src/cmd/ksh93/sh/fcin.c:114:17: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/cmd/ksh93/sh/fcin.c:142:31: style: Parameter 'fp' can be declared as pointer to const [constParameterPointer] ksh-1.0.10/src/cmd/ksh93/sh/init.c:715:60: error: syntax error [syntaxError] ksh-1.0.10/src/cmd/ksh93/sh/array.c:713:8: style: Condition '!string' is always true [knownConditionTrueFalse] ksh-1.0.10/src/cmd/ksh93/sh/array.c:619:7: note: Assuming that condition 'string' is not redundant ksh-1.0.10/src/cmd/ksh93/sh/array.c:713:8: note: Condition '!string' is always true ksh-1.0.10/src/cmd/ksh93/sh/array.c:1224:9: style: Condition 'n=ap->maxi-ap->maxi' is always false [knownConditionTrueFalse] ksh-1.0.10/src/cmd/ksh93/sh/array.c:1224:18: style: Same expression on both sides of '-'. [duplicateExpression] ksh-1.0.10/src/cmd/ksh93/sh/array.c:136:36: style: Parameter 'np' can be declared as pointer to const [constParameterPointer] ksh-1.0.10/src/cmd/ksh93/sh/array.c:151:60: style: Parameter 'old' can be declared as pointer to const [constParameterPointer] ksh-1.0.10/src/cmd/ksh93/sh/array.c:169:39: style: Parameter 'ap' can be declared as pointer to const [constParameterPointer] ksh-1.0.10/src/cmd/ksh93/sh/array.c:247:15: style: Variable 'up' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/cmd/ksh93/sh/array.c:255:13: style: Variable 'fp' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/cmd/ksh93/sh/array.c:394:10: style: Variable 'xp' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/cmd/ksh93/sh/array.c:968:12: style: Variable 'fp' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/cmd/ksh93/sh/array.c:1509:13: style: Variable 'ap' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/cmd/ksh93/sh/array.c:1800:28: style: Variable 'aq' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/cmd/ksh93/sh/array.c:1064:24: style: Variable 'aq' is assigned a value that is never used. [unreadVariable] ksh-1.0.10/src/cmd/ksh93/sh/jobs.c:92:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/jobs.c:234:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable child_max [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/jobs.c:264:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/jobs.c:487:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable in_critical [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/jobs.c:503:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fd [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/jobs.c:634:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable jobcontrol [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/jobs.c:707:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable jobcontrol [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/jobs.c:728:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable jobcontrol [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/jobs.c:788:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pwlist [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/jobs.c:854:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable jobenv [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/jobs.c:929:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pwlist [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/jobs.c:958:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SH_POSIX [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/jobs.c:970:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/jobs.c:1083:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pwlist [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/jobs.c:1113:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable child_max [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/jobs.c:1156:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hist_ptr [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/jobs.c:1275:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pwlist [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/jobs.c:1290:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pwlist [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/jobs.c:1309:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable e_coredump [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/jobs.c:1340:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable waitall [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/jobs.c:1541:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bckpid [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/jobs.c:1631:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable curjobid [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/jobs.c:1677:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pwlist [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/jobs.c:1700:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable child_max [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/jobs.c:1731:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable freejobs [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/jobs.c:1737:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sigmax [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/jobs.c:1835:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable child_max [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/jobs.c:1869:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable waitsafe [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/io.c:367:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Sfdouble_t [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/io.c:391:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sftable [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/io.c:435:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFD [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/io.c:452:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable open_max [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/io.c:464:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sftable [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/io.c:489:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_DPOP [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/io.c:539:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_WRITE [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/io.c:615:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_DUPFD [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/io.c:652:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sftable [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/io.c:709:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/io.c:762:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/io.c:891:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/io.c:906:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable open_max [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/io.c:929:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable e_pipe [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/io.c:989:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fdstatus [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/io.c:1025:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sftable [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/io.c:1064:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/io.c:1127:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable e_open [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/io.c:1579:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IOSTRG [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/io.c:1662:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sfstderr [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/io.c:1675:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IOSUBSHELL [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/io.c:1754:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable topfd [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/io.c:1773:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IOSUBSHELL [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/io.c:1851:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IOCLOSE [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/io.c:1869:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_DPOP [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/io.c:1932:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SH_GRACE [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/io.c:1951:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable waitsafe [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/io.c:1993:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ed_read [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/io.c:2073:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fdstatus [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/io.c:2153:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SH_INTERACTIVE [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/io.c:2230:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_DPOP [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/io.c:2249:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_SETFD [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/io.c:2372:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_READ [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/io.c:2409:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IOBSIZE [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/io.c:2445:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_CLOSING [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/io.c:2508:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable trapnote [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/io.c:2531:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sftable [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/io.c:2544:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sftable [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/io.c:2557:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sftable [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/io.c:2569:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fdstatus [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/io.c:2590:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fdstatus [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/io.c:2612:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mask [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/io.c:2626:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_WRITE [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/io.c:2677:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sftable [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/io.c:2698:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable e_open [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/io.c:2719:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/io.c:2728:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/lex.c:129:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable funlog [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/lex.c:207:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Lex_t [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/lex.c:249:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ST_BEGIN [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/lex.c:1551:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable inlineno [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/lex.c:1713:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stk [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/lex.c:1765:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stk [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/lex.c:1805:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable heredocs [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/lex.c:2058:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable e_lexzerobyte [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/lex.c:2115:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable e_unexpected [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/lex.c:2152:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stk [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/lex.c:2174:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sh_lexstates [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/lex.c:2432:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_ATEXIT [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/jobs.c:536:31: portability: Non reentrant function 'ttyname' called. For threadsafe applications it is recommended to use the reentrant replacement function 'ttyname_r'. [prohibitedttynameCalled] ksh-1.0.10/src/cmd/ksh93/sh/jobs.c:274:28: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] ksh-1.0.10/src/cmd/ksh93/sh/jobs.c:276:20: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] ksh-1.0.10/src/cmd/ksh93/sh/jobs.c:323:31: style: Condition 'wcontinued' is always false [knownConditionTrueFalse] ksh-1.0.10/src/cmd/ksh93/sh/jobs.c:343:30: style: Condition 'wcontinued' is always false [knownConditionTrueFalse] ksh-1.0.10/src/cmd/ksh93/sh/jobs.c:940:6: style: Condition 'pw' is always true [knownConditionTrueFalse] ksh-1.0.10/src/cmd/ksh93/sh/jobs.c:982:6: style: Variable 'r' is reassigned a value before the old one has been used. [redundantAssignment] ksh-1.0.10/src/cmd/ksh93/sh/jobs.c:977:6: note: r is assigned ksh-1.0.10/src/cmd/ksh93/sh/jobs.c:982:6: note: r is overwritten ksh-1.0.10/src/cmd/ksh93/sh/jobs.c:535:23: style: Variable 'ttynam' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/cmd/ksh93/sh/jobs.c:632:18: style: Variable 'pw' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/cmd/ksh93/sh/jobs.c:753:18: style: Variable 'pw' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/cmd/ksh93/sh/jobs.c:956:46: style: Parameter 'pw' can be declared as pointer to const [constParameterPointer] ksh-1.0.10/src/cmd/ksh93/sh/jobs.c:1056:18: style: Variable 'px' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/cmd/ksh93/sh/jobs.c:1156:13: style: Variable 'hp' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/cmd/ksh93/sh/jobs.c:1674:40: style: Parameter 'pw' can be declared as pointer to const [constParameterPointer] ksh-1.0.10/src/cmd/ksh93/sh/lex.c:1148:13: style: Redundant condition: The condition 'n > 0' is redundant since 'n == ']'' is sufficient. [redundantCondition] ksh-1.0.10/src/cmd/ksh93/sh/lex.c:1872:8: style: Condition '!lp->lexd.dolparen' is always true [knownConditionTrueFalse] ksh-1.0.10/src/cmd/ksh93/sh/lex.c:1868:7: note: Assuming that condition '!lp->lexd.dolparen' is not redundant ksh-1.0.10/src/cmd/ksh93/sh/lex.c:1872:8: note: Condition '!lp->lexd.dolparen' is always true ksh-1.0.10/src/cmd/ksh93/sh/lex.c:182:5: style: Variable 'lp->arg' is assigned an expression that holds the same value. [redundantAssignment] ksh-1.0.10/src/cmd/ksh93/sh/lex.c:179:5: note: ap is assigned 'lp->arg' here. ksh-1.0.10/src/cmd/ksh93/sh/lex.c:182:5: note: Variable 'lp->arg' is assigned an expression that holds the same value. ksh-1.0.10/src/cmd/ksh93/sh/lex.c:252:9: style: Variable 'varnamefirst' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/cmd/ksh93/sh/lex.c:1552:16: style: Variable 'inheredoc' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/cmd/ksh93/sh/lex.c:1554:8: style: Variable 'first' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/cmd/ksh93/sh/lex.c:1804:15: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/cmd/ksh93/sh/lex.c:2151:17: style: Variable 'ep' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/cmd/ksh93/sh/lex.c:1098:14: style: Variable 'state' is assigned a value that is never used. [unreadVariable] ksh-1.0.10/src/cmd/ksh93/sh/main.c:91:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable source [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/main.c:131:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SH_RESTRICTED [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/main.c:378:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IOMAXTRY [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/main.c:649:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stk [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/INIT/mamake.c:389:5: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] ksh-1.0.10/src/cmd/ksh93/sh/macro.c:131:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable savexit [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/macro.c:155:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mac_context [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/macro.c:200:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mac_context [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/macro.c:264:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sh_lexstates [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/macro.c:406:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARG_RAW [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/macro.c:430:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sh_lexstates [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/macro.c:910:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stk [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/macro.c:1024:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable var_tree [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/macro.c:1063:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stk [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/macro.c:1088:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fun_tree [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/macro.c:1151:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lex_context [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/macro.c:2155:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stk [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/macro.c:2386:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stk [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/macro.c:2574:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stk [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/macro.c:2624:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MATCH_MAX [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/macro.c:2709:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stk [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/macro.c:2761:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HOME [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/macro.c:2833:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dolc [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/INIT/mamake.c:1738:16: warning: Either the condition '!q' is redundant or there is possible null pointer dereference: r. [nullPointerRedundantCheck] ksh-1.0.10/src/cmd/INIT/mamake.c:2097:8: note: Assuming that condition '!q' is not redundant ksh-1.0.10/src/cmd/INIT/mamake.c:2130:19: note: Calling function 'update_allprev', 1st argument 'q' value is 0 ksh-1.0.10/src/cmd/INIT/mamake.c:1738:16: note: Null pointer dereference ksh-1.0.10/src/cmd/INIT/mamake.c:1749:13: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] ksh-1.0.10/src/cmd/INIT/mamake.c:1746:15: note: Assuming allocation function fails ksh-1.0.10/src/cmd/INIT/mamake.c:1746:15: note: Assignment 'all=malloc(n+1)', assigned value is 0 ksh-1.0.10/src/cmd/INIT/mamake.c:1749:13: note: Null pointer addition ksh-1.0.10/src/cmd/INIT/mamake.c:1760:14: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] ksh-1.0.10/src/cmd/INIT/mamake.c:1757:16: note: Assuming allocation function fails ksh-1.0.10/src/cmd/INIT/mamake.c:1757:16: note: Assignment 'upd=malloc(n+1)', assigned value is 0 ksh-1.0.10/src/cmd/INIT/mamake.c:1760:14: note: Null pointer addition ksh-1.0.10/src/cmd/INIT/mamake.c:1679:19: error: Null pointer dereference [nullPointer] ksh-1.0.10/src/cmd/INIT/mamake.c:2026:11: style: Variable 'w' is reassigned a value before the old one has been used. [redundantAssignment] ksh-1.0.10/src/cmd/INIT/mamake.c:2022:6: note: w is assigned ksh-1.0.10/src/cmd/INIT/mamake.c:2026:11: note: w is overwritten ksh-1.0.10/src/cmd/INIT/mamake.c:369:37: style: Parameter 'text' can be declared as pointer to const [constParameterPointer] ksh-1.0.10/src/cmd/INIT/mamake.c:369:49: style: Parameter 'item' can be declared as pointer to const [constParameterPointer] ksh-1.0.10/src/cmd/INIT/mamake.c:460:40: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] ksh-1.0.10/src/cmd/INIT/mamake.c:814:25: style: Parameter 's' can be declared as pointer to const [constParameterPointer] ksh-1.0.10/src/cmd/INIT/mamake.c:1371:10: style: Variable 'pre' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/cmd/INIT/mamake.c:1526:14: style: Variable 'let' can be declared as const array [constVariable] ksh-1.0.10/src/cmd/INIT/mamake.c:1769:31: style: Parameter 'q' can be declared as pointer to const [constParameterPointer] ksh-1.0.10/src/cmd/INIT/mamake.c:1942:54: style: Variable 'rnamepre' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/cmd/INIT/mamake.c:1942:70: style: Variable 'val' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/cmd/INIT/mamake.c:2219:8: style: Variable 's' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/cmd/INIT/mamake.c:2251:13: style: Variable 'q' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/cmd/ksh93/sh/main.c:693:13: style: Local variable 'save' shadows outer variable [shadowVariable] ksh-1.0.10/src/cmd/ksh93/sh/main.c:647:8: note: Shadowed declaration ksh-1.0.10/src/cmd/ksh93/sh/main.c:693:13: note: Shadow variable ksh-1.0.10/src/cmd/ksh93/sh/main.c:791:8: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/cmd/ksh93/sh/main.c:448:10: style: Variable 'top' is assigned a value that is never used. [unreadVariable] ksh-1.0.10/src/cmd/ksh93/sh/io.c:1277:12: warning: Identical inner 'if' condition is always true. [identicalInnerCondition] ksh-1.0.10/src/cmd/ksh93/sh/io.c:1275:11: note: outer condition: sh.subshell ksh-1.0.10/src/cmd/ksh93/sh/io.c:1277:12: note: identical inner condition: sh.subshell ksh-1.0.10/src/cmd/ksh93/sh/io.c:1078:14: style: Condition 'fd<0' is always true [knownConditionTrueFalse] ksh-1.0.10/src/cmd/ksh93/sh/io.c:1068:38: note: Assuming that condition '(fd=sh_open(name,O_RDONLY,0))>=0' is not redundant ksh-1.0.10/src/cmd/ksh93/sh/io.c:1078:14: note: Condition 'fd<0' is always true ksh-1.0.10/src/cmd/ksh93/sh/io.c:1512:35: style: Condition 'tname' is always false [knownConditionTrueFalse] ksh-1.0.10/src/cmd/ksh93/sh/io.c:1490:19: note: Assuming that condition 'tname' is not redundant ksh-1.0.10/src/cmd/ksh93/sh/io.c:1512:35: note: Condition 'tname' is always false ksh-1.0.10/src/cmd/ksh93/sh/io.c:360:42: style: Parameter 'np' can be declared as pointer to const. However it seems that 'nget_cur_eof' is a callback function, if 'np' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ksh-1.0.10/src/cmd/ksh93/sh/io.c:373:63: note: You might need to cast the function pointer here ksh-1.0.10/src/cmd/ksh93/sh/io.c:360:42: note: Parameter 'np' can be declared as pointer to const ksh-1.0.10/src/cmd/ksh93/sh/io.c:362:14: style: Variable 'ep' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/cmd/ksh93/sh/io.c:393:17: style: Variable 'fdstatus' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/cmd/ksh93/sh/io.c:1151:17: style: Variable 'i' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/cmd/ksh93/sh/io.c:1686:15: style: Variable 'oldptr' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/cmd/ksh93/sh/io.c:1687:10: style: Variable 'oldend' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/cmd/ksh93/sh/io.c:379:8: style: struct member 'Match::base' is never used. [unusedStructMember] ksh-1.0.10/src/cmd/ksh93/sh/io.c:1576:18: style: Variable 'infile' is assigned a value that is never used. [unreadVariable] ksh-1.0.10/src/cmd/ksh93/sh/io.c:1978:23: style: Unused variable: n [unusedVariable] ksh-1.0.10/src/cmd/ksh93/sh/io.c:2086:13: style: Variable 'flags' is assigned a value that is never used. [unreadVariable] ksh-1.0.10/src/cmd/ksh93/sh/nvdisc.c:48:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nv_local [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/nvdisc.c:81:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nv_local [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/nvdisc.c:119:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nv_local [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/nvdisc.c:213:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARRAY_SETSUB [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/nvdisc.c:241:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NV_APPEND [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/nvdisc.c:390:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable savexit [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/nvdisc.c:498:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nv_discnames [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/nvdisc.c:626:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NV_STATICF [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/nvdisc.c:644:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NV_NOFREE [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/nvdisc.c:677:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Namfun_t [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/nvdisc.c:696:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Nambfun_t [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/nvdisc.c:722:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NV_CLONE [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/nvdisc.c:818:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Namval_t [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/nvdisc.c:833:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NV_DOUBLE [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/nvdisc.c:867:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NV_COMVAR [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/nvdisc.c:902:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NV_COMVAR [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/nvdisc.c:993:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NV_ADD [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/nvdisc.c:1037:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stk [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/nvdisc.c:1127:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stk [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/nvdisc.c:1233:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable last_table [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/nvdisc.c:1288:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NV_NOSCOPE [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/nvdisc.c:1317:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_WRITE [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/nvdisc.c:1361:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable last_table [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/nvdisc.c:1391:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NV_TABLE [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/nvdisc.c:1408:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RESTRICTED_disc [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/nvdisc.c:1420:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IFSNOD [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/nvtree.c:60:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable strbuf [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/nvtree.c:79:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NV_NOADD [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/nvtree.c:84:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NV_MOVE [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/nvtree.c:155:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable last_root [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/nvtree.c:275:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NV_INTEGER [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/nvtree.c:398:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NV_MINIMAL [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/nvtree.c:558:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARRAY_SCAN [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/nvtree.c:668:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable last_table [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/nvtree.c:833:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NV_VARNAME [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/nvtree.c:946:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stk [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/nvtree.c:1070:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NV_BINARY [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/nvtree.c:1090:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NV_NOFREE [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/nvtree.c:1131:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable subshell [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/nvdisc.c:1132:31: style: Condition 'extra!=(void*)1' is always true [knownConditionTrueFalse] ksh-1.0.10/src/cmd/ksh93/sh/nvdisc.c:1128:12: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] ksh-1.0.10/src/cmd/ksh93/sh/nvdisc.c:1132:33: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] ksh-1.0.10/src/cmd/ksh93/sh/nvdisc.c:1142:15: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] ksh-1.0.10/src/cmd/ksh93/sh/nvdisc.c:1171:16: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] ksh-1.0.10/src/cmd/ksh93/sh/nvdisc.c:1203:14: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] ksh-1.0.10/src/cmd/ksh93/sh/nvdisc.c:1011:24: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] ksh-1.0.10/src/cmd/ksh93/sh/nvdisc.c:34:22: style: Parameter 'dict' can be declared as pointer to const [constParameterPointer] ksh-1.0.10/src/cmd/ksh93/sh/nvdisc.c:34:34: style: Parameter 'sp' can be declared as pointer to const [constParameterPointer] ksh-1.0.10/src/cmd/ksh93/sh/nvdisc.c:34:44: style: Parameter 'dp' can be declared as pointer to const [constParameterPointer] ksh-1.0.10/src/cmd/ksh93/sh/nvdisc.c:34:58: style: Parameter 'disc' can be declared as pointer to const [constParameterPointer] ksh-1.0.10/src/cmd/ksh93/sh/nvdisc.c:118:12: style: Variable 'ap' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/cmd/ksh93/sh/nvdisc.c:219:52: style: Parameter 'vp' can be declared as pointer to const [constParameterPointer] ksh-1.0.10/src/cmd/ksh93/sh/nvdisc.c:312:9: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/cmd/ksh93/sh/nvdisc.c:338:13: style: Variable 'ap' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/cmd/ksh93/sh/nvdisc.c:575:19: style: Variable 'bp' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/cmd/ksh93/sh/nvdisc.c:646:14: style: Variable 'vp' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/cmd/ksh93/sh/nvdisc.c:804:32: style: Parameter 'np' can be declared as pointer to const [constParameterPointer] ksh-1.0.10/src/cmd/ksh93/sh/nvdisc.c:827:44: style: Parameter 'val' can be declared as pointer to const [constParameterPointer] ksh-1.0.10/src/cmd/ksh93/sh/nvdisc.c:1040:9: style: Variable 'dname' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/cmd/ksh93/sh/nvdisc.c:1417:25: style: Parameter 'np' can be declared as pointer to const [constParameterPointer] ksh-1.0.10/src/cmd/ksh93/sh/nvdisc.c:1419:12: style: Variable 'fp' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/cmd/ksh93/sh/nvdisc.c:1261:12: style: struct member 'adata::tp' is never used. [unusedStructMember] ksh-1.0.10/src/cmd/ksh93/sh/nvdisc.c:1263:10: style: struct member 'adata::argnam' is never used. [unusedStructMember] ksh-1.0.10/src/cmd/ksh93/sh/nvdisc.c:1264:7: style: struct member 'adata::attsize' is never used. [unusedStructMember] ksh-1.0.10/src/cmd/ksh93/sh/nvdisc.c:1265:9: style: struct member 'adata::attval' is never used. [unusedStructMember] ksh-1.0.10/src/cmd/ksh93/sh/name.c:124:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stk [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/name.c:166:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mktype [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/name.c:231:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable trap [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/name.c:695:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stk [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/name.c:710:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stk [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/name.c:744:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stk [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/name.c:762:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NV_NOSCOPE [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/name.c:1306:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NV_NOFREE [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/name.c:1366:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable e_varname [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/name.c:1633:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable invoc_local [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/name.c:2177:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NV_EXPORT [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/name.c:2216:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SH_POSIX [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/name.c:2234:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable var_tree [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/name.c:2271:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NV_TABLE [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/name.c:2305:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable subshell [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/name.c:2327:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NV_NOSCOPE [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/name.c:2345:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable var_base [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/name.c:2379:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable subshell [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/name.c:2431:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SH_LEVELNOD [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/name.c:2566:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable var_tree [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/name.c:2710:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NV_ARRAY [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/name.c:2856:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NV_INTEGER [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/name.c:2915:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NV_NODISC [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/name.c:3059:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable environ [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/name.c:3083:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable var_tree [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/name.c:3117:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable namespace [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/name.c:3137:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable namespace [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/name.c:3198:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable last_table [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/name.c:3359:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable last_root [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/name.c:3494:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable st [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/name.c:3522:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable self [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/name.c:3534:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable var_tree [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/name.c:3557:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NV_NOFREE [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/name.c:3598:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NV_MINIMAL [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/name.c:3649:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable last_table [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/nvtype.c:31:15: error: There is an unknown macro here somewhere. Configuration is required. If SH_DICT is a macro then please configure it. [unknownMacro] ksh-1.0.10/src/cmd/ksh93/sh/parse.c:163:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable e_lextypeset [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/parse.c:187:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COMSCAN [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/parse.c:275:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bltin_tree [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/parse.c:287:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable shcomp [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/parse.c:304:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable forknod [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/parse.c:346:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable arithnod [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/parse.c:378:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COMMSK [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/parse.c:396:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lex_context [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/parse.c:481:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable inlineno [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/parse.c:523:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable staklist [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/parse.c:571:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FINT [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/parse.c:629:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANDFSYM [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/parse.c:643:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SH_NL [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/parse.c:692:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable regnod [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/parse.c:758:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ST_NESTED [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/parse.c:813:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable slnod [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/parse.c:1004:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nvname [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/parse.c:1042:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARG_APPEND [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/parse.c:1228:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SH_NOIO [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/parse.c:1431:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OPROCSYM [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/parse.c:1456:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SH_NOIO [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/parse.c:1676:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NL [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/parse.c:1694:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPROCSYM [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/parse.c:1853:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SH_POSIX [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/parse.c:1918:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ORFSYM [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/parse.c:1926:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANDFSYM [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/parse.c:1959:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TTST [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/nvtree.c:424:11: style: Local variable 'cp' shadows outer variable [shadowVariable] ksh-1.0.10/src/cmd/ksh93/sh/nvtree.c:380:8: note: Shadowed declaration ksh-1.0.10/src/cmd/ksh93/sh/nvtree.c:424:11: note: Shadow variable ksh-1.0.10/src/cmd/ksh93/sh/nvtree.c:177:10: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/cmd/ksh93/sh/nvtree.c:282:16: style: Variable 'ap' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/cmd/ksh93/sh/nvtree.c:635:10: style: Variable 'qp' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/cmd/ksh93/sh/nvtree.c:698:13: style: Variable 'xp' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/cmd/ksh93/sh/nvtree.c:954:12: style: Variable 'arp' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/cmd/ksh93/sh/path.c:83:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STAT_SPAWN [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/path.c:110:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xargmax [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/path.c:213:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pwd [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/path.c:292:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable e_dot [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/path.c:328:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_SKIP [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/path.c:374:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_SKIP [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/path.c:405:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_PATH [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/path.c:412:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATHNOD [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/path.c:431:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SH_DEFPATH [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/path.c:450:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pathlist [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/path.c:533:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable filename [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/path.c:636:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stk [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/path.c:712:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable path_err [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/path.c:886:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/path.c:932:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pwd [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/path.c:957:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NV_EXPORT [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/path.c:1033:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SH_EXEC [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/path.c:1273:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable comdiv [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/path.c:1432:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stk [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/path.c:1485:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stk [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/path.c:1565:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stk [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/path.c:1639:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_SKIP [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/path.c:1686:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pathlist [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/path.c:1749:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable last_table [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/path.c:1775:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SH_DEFPATH [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/path.c:1809:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SH_DEFPATH [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/path.c:692:10: style: Condition 'pp' is always true [knownConditionTrueFalse] ksh-1.0.10/src/cmd/ksh93/sh/path.c:1537:12: style: Condition 'm' is always true [knownConditionTrueFalse] ksh-1.0.10/src/cmd/ksh93/sh/path.c:1637:8: style: Redundant initialization for 'pp'. The initialized value is overwritten before it is read. [redundantInitialization] ksh-1.0.10/src/cmd/ksh93/sh/path.c:1635:16: note: pp is initialized ksh-1.0.10/src/cmd/ksh93/sh/path.c:1637:8: note: pp is overwritten ksh-1.0.10/src/cmd/ksh93/sh/path.c:1335:2: style: Statements following noreturn function 'siglongjmp()' will never be executed. [unreachableCode] ksh-1.0.10/src/cmd/ksh93/sh/path.c:284:49: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] ksh-1.0.10/src/cmd/ksh93/sh/path.c:323:14: style: Variable 'oldpp' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/cmd/ksh93/sh/path.c:511:14: style: Variable 'pwd' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/cmd/ksh93/sh/path.c:1782:9: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/cmd/ksh93/sh/path.c:413:20: style: Variable 'pp' is assigned a value that is never used. [unreadVariable] ksh-1.0.10/src/cmd/ksh93/sh/path.c:420:6: style: Variable 'pp' is assigned a value that is never used. [unreadVariable] ksh-1.0.10/src/cmd/ksh93/sh/shcomp.c:30:41: error: There is an unknown macro here somewhere. Configuration is required. If SH_RELEASE is a macro then please configure it. [unknownMacro] ksh-1.0.10/src/cmd/ksh93/sh/parse.c:240:9: style: Local variable 'tp' shadows outer argument [shadowArgument] ksh-1.0.10/src/cmd/ksh93/sh/parse.c:184:42: note: Shadowed declaration ksh-1.0.10/src/cmd/ksh93/sh/parse.c:240:9: note: Shadow variable ksh-1.0.10/src/cmd/ksh93/sh/parse.c:209:18: style: Variable 'dp' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/cmd/ksh93/sh/parse.c:302:36: style: Parameter 'lp' can be declared as pointer to const [constParameterPointer] ksh-1.0.10/src/cmd/ksh93/sh/parse.c:344:34: style: Parameter 'lp' can be declared as pointer to const [constParameterPointer] ksh-1.0.10/src/cmd/ksh93/sh/parse.c:417:9: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/cmd/ksh93/sh/parse.c:1568:22: style: Variable 'ap' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/cmd/ksh93/sh/parse.c:1453:18: style: Variable 'was_assign' is assigned a value that is never used. [unreadVariable] ksh-1.0.10/src/cmd/ksh93/sh/macro.c:2764:27: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] ksh-1.0.10/src/cmd/ksh93/sh/macro.c:2805:19: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] ksh-1.0.10/src/cmd/ksh93/sh/macro.c:1431:8: style: The if condition is the same as the previous if condition [duplicateCondition] ksh-1.0.10/src/cmd/ksh93/sh/macro.c:1424:8: note: First condition ksh-1.0.10/src/cmd/ksh93/sh/macro.c:1431:8: note: Second condition ksh-1.0.10/src/cmd/ksh93/sh/macro.c:2639:7: style: Redundant assignment of 'sp' to itself. [selfAssignment] ksh-1.0.10/src/cmd/ksh93/sh/macro.c:139:3: style: Variable '*lexp' is assigned an expression that holds the same value. [redundantAssignment] ksh-1.0.10/src/cmd/ksh93/sh/macro.c:133:50: note: savelex is assigned '*lexp' here. ksh-1.0.10/src/cmd/ksh93/sh/macro.c:139:3: note: Variable '*lexp' is assigned an expression that holds the same value. ksh-1.0.10/src/cmd/ksh93/sh/macro.c:220:6: style: Redundant initialization for 'str'. The initialized value is overwritten before it is read. [redundantInitialization] ksh-1.0.10/src/cmd/ksh93/sh/macro.c:199:12: note: str is initialized ksh-1.0.10/src/cmd/ksh93/sh/macro.c:220:6: note: str is overwritten ksh-1.0.10/src/cmd/ksh93/sh/macro.c:634:15: style: Variable 'first' is reassigned a value before the old one has been used. [redundantAssignment] ksh-1.0.10/src/cmd/ksh93/sh/macro.c:591:10: note: first is assigned ksh-1.0.10/src/cmd/ksh93/sh/macro.c:634:15: note: first is overwritten ksh-1.0.10/src/cmd/ksh93/sh/macro.c:738:16: style: Variable 'first' is reassigned a value before the old one has been used. [redundantAssignment] ksh-1.0.10/src/cmd/ksh93/sh/macro.c:723:11: note: first is assigned ksh-1.0.10/src/cmd/ksh93/sh/macro.c:738:16: note: first is overwritten ksh-1.0.10/src/cmd/ksh93/sh/macro.c:2297:63: style: Variable 'bufsize' is reassigned a value before the old one has been used. [redundantAssignment] ksh-1.0.10/src/cmd/ksh93/sh/macro.c:2286:10: note: bufsize is assigned ksh-1.0.10/src/cmd/ksh93/sh/macro.c:2297:63: note: bufsize is overwritten ksh-1.0.10/src/cmd/ksh93/sh/string.c:55:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CC_NATIVE [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/string.c:97:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable shtab_options [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/string.c:187:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stk [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/string.c:277:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stk [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/string.c:312:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_CTYPE [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/string.c:342:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stk [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/string.c:476:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stk [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/string.c:690:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable e_dict [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/macro.c:1238:8: style: Local variable 'd' shadows outer variable [shadowVariable] ksh-1.0.10/src/cmd/ksh93/sh/macro.c:1156:56: note: Shadowed declaration ksh-1.0.10/src/cmd/ksh93/sh/macro.c:1238:8: note: Shadow variable ksh-1.0.10/src/cmd/ksh93/sh/macro.c:1263:18: style: Local variable 'd' shadows outer variable [shadowVariable] ksh-1.0.10/src/cmd/ksh93/sh/macro.c:1156:56: note: Shadowed declaration ksh-1.0.10/src/cmd/ksh93/sh/macro.c:1263:18: note: Shadow variable ksh-1.0.10/src/cmd/ksh93/sh/macro.c:1279:8: style: Local variable 'd' shadows outer variable [shadowVariable] ksh-1.0.10/src/cmd/ksh93/sh/macro.c:1156:56: note: Shadowed declaration ksh-1.0.10/src/cmd/ksh93/sh/macro.c:1279:8: note: Shadow variable ksh-1.0.10/src/cmd/ksh93/sh/macro.c:1693:11: style: Local variable 'd' shadows outer variable [shadowVariable] ksh-1.0.10/src/cmd/ksh93/sh/macro.c:1156:56: note: Shadowed declaration ksh-1.0.10/src/cmd/ksh93/sh/macro.c:1693:11: note: Shadow variable ksh-1.0.10/src/cmd/ksh93/sh/macro.c:1780:47: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] ksh-1.0.10/src/cmd/ksh93/sh/macro.c:904:54: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] ksh-1.0.10/src/cmd/ksh93/sh/macro.c:904:62: style: Parameter 'subexp' can be declared as const array [constParameter] ksh-1.0.10/src/cmd/ksh93/sh/macro.c:1031:10: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/cmd/ksh93/sh/macro.c:1087:12: style: Variable 'np' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/cmd/ksh93/sh/macro.c:2456:10: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/cmd/ksh93/sh/macro.c:2760:16: style: Variable 'username' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/cmd/ksh93/sh/streval.c:167:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable arithrecursion [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/streval.c:506:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable strval_states [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/streval.c:580:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXPREC [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/streval.c:905:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Arith_t [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/streval.c:951:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stk [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/subshell.c:110:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sfstdout [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/subshell.c:161:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable curenv [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/subshell.c:214:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NV_TABLE [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/subshell.c:244:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RAND_SEED_INVALIDATED [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/subshell.c:261:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable var_tree [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/subshell.c:338:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NV_MINIMAL [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/subshell.c:397:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable subshare [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/subshell.c:416:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable subshare [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/subshell.c:432:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable subshare [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/subshell.c:469:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable curenv [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/string.c:314:18: style: Condition 'iswgraph(0x5E38)' is always false [knownConditionTrueFalse] ksh-1.0.10/src/cmd/ksh93/sh/string.c:314:30: style: Condition '!iswgraph(0xFEFF)' is always true [knownConditionTrueFalse] ksh-1.0.10/src/cmd/ksh93/sh/string.c:474:30: style: Condition 'fold' is always true [knownConditionTrueFalse] ksh-1.0.10/src/cmd/ksh93/sh/subshell.c:370:10: style: Variable 'name' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/cmd/ksh93/sh/tdump.c:71:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COMMSK [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/tdump.c:161:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARG_APPEND [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/tdump.c:194:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IOVNM [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/tdump.c:223:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COMSCAN [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/tdump.c:234:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARG_SPARE [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/subshell.c:522:20: style: Unused variable: xp [unusedVariable] ksh-1.0.10/src/cmd/ksh93/sh/tdump.c:232:8: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/cmd/ksh93/sh/timers.c:98:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable current_pid [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/timers.c:207:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Handler_t [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/timers.c:243:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sigflag [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/trestore.c:61:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COMMSK [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/trestore.c:178:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stk [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/trestore.c:218:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ionod [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/trestore.c:258:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable COMSCAN [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/trestore.c:290:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dolnod [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/trestore.c:305:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable regnod [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/trestore.c:327:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stk [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/timers.c:213:10: style: Condition 'tpmin' is always true [knownConditionTrueFalse] ksh-1.0.10/src/cmd/ksh93/sh/waitevent.c:29:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable waitevent [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/streval.c:534:5: warning: In expression like '*A++' the result of '*' is unused. Did you intend to write '(*A)++;'? [clarifyStatement] ksh-1.0.10/src/cmd/ksh93/sh/streval.c:541:5: warning: In expression like '*A++' the result of '*' is unused. Did you intend to write '(*A)++;'? [clarifyStatement] ksh-1.0.10/src/cmd/ksh93/sh/streval.c:555:5: warning: In expression like '*A++' the result of '*' is unused. Did you intend to write '(*A)++;'? [clarifyStatement] ksh-1.0.10/src/cmd/ksh93/sh/streval.c:634:4: warning: In expression like '*A++' the result of '*' is unused. Did you intend to write '(*A)++;'? [clarifyStatement] ksh-1.0.10/src/lib/libast/aso/aso.c:171:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ASO_NEXT [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/aso/aso.c:237:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ASO_INTRINSIC [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/aso/aso.c:278:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ASO_EHUNG [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/aso/aso.c:292:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ASO_EMETHOD [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/aso/aso.c:101:24: style: Parameter 'data' can be declared as pointer to const. However it seems that '_aso_lock_signal' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ksh-1.0.10/src/lib/libast/aso/aso.c:134:14: note: You might need to cast the function pointer here ksh-1.0.10/src/lib/libast/aso/aso.c:101:24: note: Parameter 'data' can be declared as pointer to const ksh-1.0.10/src/lib/libast/aso/aso.c:101:56: style: Parameter 'p' can be declared as pointer to const. However it seems that '_aso_lock_signal' is a callback function, if 'p' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ksh-1.0.10/src/lib/libast/aso/aso.c:134:14: note: You might need to cast the function pointer here ksh-1.0.10/src/lib/libast/aso/aso.c:101:56: note: Parameter 'p' can be declared as pointer to const ksh-1.0.10/src/lib/libast/aso/aso.c:168:13: style: Variable 'meth' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/aso/aso.c:169:9: style: Variable 'name' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/aso/aso.c:49:12: style: union member 'U16_8_t::c' is never used. [unusedStructMember] ksh-1.0.10/src/lib/libast/aso/aso.c:50:12: style: union member 'U16_8_t::i' is never used. [unusedStructMember] ksh-1.0.10/src/lib/libast/aso/aso.c:55:12: style: union member 'U32_8_t::c' is never used. [unusedStructMember] ksh-1.0.10/src/lib/libast/aso/aso.c:56:12: style: union member 'U32_8_t::i' is never used. [unusedStructMember] ksh-1.0.10/src/lib/libast/aso/aso.c:61:12: style: union member 'U32_16_t::c' is never used. [unusedStructMember] ksh-1.0.10/src/lib/libast/aso/aso.c:62:12: style: union member 'U32_16_t::i' is never used. [unusedStructMember] ksh-1.0.10/src/lib/libast/cdt/dtcomp.c:40:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DT_RESTORE [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/cdt/dtclose.c:35:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DT_CLOSE [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/cdt/dtdisc.c:61:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DT_DISC [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/cdt/dtclose.c:29:19: warning: Either the condition '!dt' is redundant or there is possible null pointer dereference: dt. [nullPointerRedundantCheck] ksh-1.0.10/src/lib/libast/cdt/dtclose.c:31:5: note: Assuming that condition '!dt' is not redundant ksh-1.0.10/src/lib/libast/cdt/dtclose.c:29:19: note: Null pointer dereference ksh-1.0.10/src/lib/libast/cdt/dtclose.c:35:38: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] ksh-1.0.10/src/lib/libast/cdt/dtlist.c:66:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DT_LAST [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/cdt/dtlist.c:88:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DT_DELETE [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/cdt/dtlist.c:100:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DT_FLATTEN [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/cdt/dtlist.c:127:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Dtstat_t [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/cdt/dtlist.c:144:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DT_OPERATIONS [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/cdt/dtlist.c:308:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DT_OPEN [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/cdt/dthash.c:53:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DT_HASHSIZE [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/cdt/dthash.c:107:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DT_DELETE [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/cdt/dthash.c:157:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DT_FLATTEN [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/cdt/dthash.c:207:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DT_FLATTEN [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/cdt/dthash.c:230:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Dtstat_t [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/cdt/dthash.c:260:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DT_OPERATIONS [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/cdt/dthash.c:406:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DT_OPEN [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/name.c:3188:13: error:inconclusive: Returning pointer to local variable 'ep' that will be invalid when returning. [returnDanglingLifetime] ksh-1.0.10/src/cmd/ksh93/sh/name.c:3183:16: note: Passed to 'strcpy'. ksh-1.0.10/src/cmd/ksh93/sh/name.c:3164:8: note: Variable created here. ksh-1.0.10/src/cmd/ksh93/sh/name.c:3188:13: note: Returning pointer to local variable 'ep' that will be invalid when returning. ksh-1.0.10/src/lib/libast/cdt/dthash.c:396:1: style: Label 'dt_return' is not used. [unusedLabel] ksh-1.0.10/src/lib/libast/cdt/dthash.c:203:9: style: Variable 'obj' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/cdt/dthash.c:226:25: style: Variable 'l' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/cdt/dtmethod.c:38:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DT_METH [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/cdt/dtmethod.c:78:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DT_SHARE [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/cdt/dtopen.c:29:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DT_DELETE [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/cdt/dtopen.c:47:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Dt_t [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/cdt/dtopen.c:111:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DT_ATTACH [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/cdt/dtopen.c:133:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DT_DETACH [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/cdt/dtlist.c:298:1: style: Label 'dt_return' is not used. [unusedLabel] ksh-1.0.10/src/lib/libast/cdt/dtlist.c:78:12: style: Variable 'disc' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/cmd/ksh93/sh/name.c:2991:15: warning: Either the condition 'sp' is redundant or there is possible null pointer dereference: sp. [nullPointerRedundantCheck] ksh-1.0.10/src/cmd/ksh93/sh/name.c:2994:7: note: Assuming that condition 'sp' is not redundant ksh-1.0.10/src/cmd/ksh93/sh/name.c:2991:15: note: Null pointer dereference ksh-1.0.10/src/cmd/ksh93/sh/name.c:2993:15: warning: Either the condition 'sp' is redundant or there is possible null pointer dereference: sp. [nullPointerRedundantCheck] ksh-1.0.10/src/cmd/ksh93/sh/name.c:2994:7: note: Assuming that condition 'sp' is not redundant ksh-1.0.10/src/cmd/ksh93/sh/name.c:2993:15: note: Null pointer dereference ksh-1.0.10/src/lib/libast/cdt/dtopen.c:27:30: style: Parameter 'dt' can be declared as pointer to const. However it seems that '_dttype2005' is a callback function, if 'dt' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ksh-1.0.10/src/lib/libast/cdt/dtopen.c:93:15: note: You might need to cast the function pointer here ksh-1.0.10/src/lib/libast/cdt/dtopen.c:27:30: note: Parameter 'dt' can be declared as pointer to const ksh-1.0.10/src/cmd/ksh93/sh/name.c:1707:14: portability: Casting between const char * and float * which have an incompatible binary data representation. [invalidPointerCast] ksh-1.0.10/src/cmd/ksh93/sh/name.c:1709:14: portability: Casting between const char * and double * which have an incompatible binary data representation. [invalidPointerCast] ksh-1.0.10/src/cmd/ksh93/sh/name.c:1727:21: portability: Casting between const char * and float * which have an incompatible binary data representation. [invalidPointerCast] ksh-1.0.10/src/cmd/ksh93/sh/name.c:1729:12: portability: Casting between const char * and double * which have an incompatible binary data representation. [invalidPointerCast] ksh-1.0.10/src/cmd/ksh93/sh/name.c:1752:15: portability: Casting between const char * and float * which have an incompatible binary data representation. [invalidPointerCast] ksh-1.0.10/src/cmd/ksh93/sh/name.c:1754:15: portability: Casting between const char * and double * which have an incompatible binary data representation. [invalidPointerCast] ksh-1.0.10/src/cmd/ksh93/sh/name.c:1794:15: portability: Casting between const char * and float * which have an incompatible binary data representation. [invalidPointerCast] ksh-1.0.10/src/cmd/ksh93/sh/name.c:1796:15: portability: Casting between const char * and double * which have an incompatible binary data representation. [invalidPointerCast] ksh-1.0.10/src/cmd/ksh93/sh/name.c:1871:42: portability: Casting between const char * and double * which have an incompatible binary data representation. [invalidPointerCast] ksh-1.0.10/src/lib/libast/cdt/dtstat.c:32:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DT_STAT [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/cdt/dtstat.c:30:8: style: Variable 'end' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/cdt/dtstrhash.c:43:19: style: Variable 'ends' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/cdt/dtuser.c:32:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ASO_LOCK [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/cdt/dtuser.c:55:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DT_ANNOUNCE [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/name.c:346:22: style: Local variable 'ap' shadows outer variable [shadowVariable] ksh-1.0.10/src/cmd/ksh93/sh/name.c:235:12: note: Shadowed declaration ksh-1.0.10/src/cmd/ksh93/sh/name.c:346:22: note: Shadow variable ksh-1.0.10/src/cmd/ksh93/sh/name.c:824:12: style: Local variable 'dp' shadows outer argument [shadowArgument] ksh-1.0.10/src/cmd/ksh93/sh/name.c:755:73: note: Shadowed declaration ksh-1.0.10/src/cmd/ksh93/sh/name.c:824:12: note: Shadow variable ksh-1.0.10/src/cmd/ksh93/sh/name.c:1139:15: style: Local variable 'dp' shadows outer argument [shadowArgument] ksh-1.0.10/src/cmd/ksh93/sh/name.c:755:73: note: Shadowed declaration ksh-1.0.10/src/cmd/ksh93/sh/name.c:1139:15: note: Shadow variable ksh-1.0.10/src/cmd/ksh93/sh/name.c:1188:18: style: Local variable 'ap' shadows outer variable [shadowVariable] ksh-1.0.10/src/cmd/ksh93/sh/name.c:764:13: note: Shadowed declaration ksh-1.0.10/src/cmd/ksh93/sh/name.c:1188:18: note: Shadow variable ksh-1.0.10/src/cmd/ksh93/sh/name.c:121:36: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] ksh-1.0.10/src/cmd/ksh93/sh/name.c:168:9: style: Variable 'name' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/cmd/ksh93/sh/name.c:1468:10: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/cmd/ksh93/sh/name.c:2069:8: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/cmd/ksh93/sh/name.c:2153:8: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/cmd/ksh93/sh/name.c:2159:42: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] ksh-1.0.10/src/cmd/ksh93/sh/name.c:2267:16: style: Variable 'tp' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/cmd/ksh93/sh/name.c:2268:8: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/cmd/ksh93/sh/name.c:2909:8: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/cdt/dtview.c:37:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DT_INSERT [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/cdt/dttree.c:92:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DT_LAST [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/cdt/dttree.c:121:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DT_DELETE [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/cdt/dttree.c:135:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DT_FLATTEN [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/cdt/dttree.c:173:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DT_MAXRECURSE [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/cdt/dttree.c:205:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Dtstat_t [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/cdt/dttree.c:254:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DT_ATMOST [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/cdt/dttree.c:363:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DT_OPERATIONS [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/cdt/dttree.c:608:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DT_OPEN [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/name.c:594:7: style: Variable 'mp' is assigned a value that is never used. [unreadVariable] ksh-1.0.10/src/cmd/ksh93/sh/name.c:1566:38: style: Variable 'mp' is assigned a value that is never used. [unreadVariable] ksh-1.0.10/src/cmd/ksh93/sh/name.c:3331:72: style: Variable 'ap' is assigned a value that is never used. [unreadVariable] ksh-1.0.10/src/lib/libast/comp/catopen.c:74:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/comp/eaccess.c:69:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IXUSR [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/comp/fnmatch.c:47:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_SHELL [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/comp/fmtmsglib.c:100:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MM_SEVERITY_ENV [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/comp/fmtmsglib.c:209:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MM_LABEL_1_MAX [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/comp/frexp.c:79:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBL_MAX_EXP [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/comp/frexp.c:140:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBL_MAX_EXP [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/comp/frexpl.c:85:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBL_MAX_EXP [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/comp/frexpl.c:148:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBL_MAX_EXP [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/comp/fsync.c:34:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/comp/ftw.c:33:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FTW_C [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/cdt/dttree.c:598:1: style: Label 'dt_return' is not used. [unusedLabel] ksh-1.0.10/src/lib/libast/cdt/dttree.c:109:12: style: Variable 'disc' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/cdt/dttree.c:130:9: style: Variable 'obj' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/cdt/dttree.c:236:12: style: Variable 'l' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/comp/link.c:35:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/comp/fmtmsglib.c:253:20: warning: Either the condition 't=strchr(s,':')' is redundant or there is possible null pointer dereference: t. [nullPointerRedundantCheck] ksh-1.0.10/src/lib/libast/comp/fmtmsglib.c:241:9: note: Assuming that condition 't=strchr(s,':')' is not redundant ksh-1.0.10/src/lib/libast/comp/fmtmsglib.c:253:20: note: Null pointer dereference ksh-1.0.10/src/lib/libast/comp/fmtmsglib.c:96:11: style: Variable 'e' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/comp/fmtmsglib.c:202:14: style: Variable 'p' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/comp/localeconv.c:81:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable locales [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/comp/mkdir.c:41:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/comp/mknod.c:38:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/comp/mktime.c:56:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TM_LOCALZONE [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/comp/mount.c:37:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/comp/nftw.c:36:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FTW_C [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/comp/nftw.c:53:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FTW_CHDIR [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/comp/re_comp.c:46:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_BADPAT [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/comp/regcmp.c:49:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ALIGN_BOUND2 [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/comp/regcmp.c:169:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ALIGN_BOUND2 [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/comp/regcmp.c:214:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rm_eo [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/comp/regexp.c:43:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ALIGN_BOUND2 [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/comp/regexp.c:61:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_LENIENT [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/comp/regexp.c:96:84: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rm_so [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/comp/regexp.c:92:10: style: Variable 'env' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/comp/rename.c:66:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/comp/iconv.c:183:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STR_MAXIMAL [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/comp/iconv.c:288:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EILSEQ [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/comp/iconv.c:359:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mb_towc [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/comp/iconv.c:482:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/comp/iconv.c:548:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mb_towc [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/comp/iconv.c:620:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable E2BIG [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/comp/iconv.c:664:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mb_towc [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/comp/iconv.c:711:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable E2BIG [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/comp/iconv.c:755:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mb_towc [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/comp/iconv.c:871:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CC_ASCII [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/comp/resolvepath.c:49:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/comp/iconv.c:990:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_BUFSIZE [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/comp/iconv.c:1097:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_WRITE [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/comp/iconv.c:1200:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_UNBOUND [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/xec.c:83:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fifo [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/xec.c:91:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fifo_tree [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/xec.c:180:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable clk_tck [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/xec.c:207:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stk [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/xec.c:476:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stk [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/xec.c:500:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fn_depth [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/xec.c:526:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SH_COMMANDNOD [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/xec.c:593:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable staklist [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/xec.c:701:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NV_MINIMAL [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/xec.c:740:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nrp [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/xec.c:826:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FAMP [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/xec.c:850:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable breakcnt [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/xec.c:2654:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable comnod [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/xec.c:2684:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SH_XTRACE [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/xec.c:2746:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable curpgid [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/xec.c:2876:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pathlist [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/xec.c:2899:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NV_NOSCOPE [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/xec.c:2918:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nvfun [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/xec.c:2951:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sh_scoped [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/xec.c:3126:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SH_FUNNAMENOD [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/xec.c:3196:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable prefix [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/cmd/ksh93/sh/xec.c:3253:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable coutpipe [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/comp/rmdir.c:43:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/comp/setlocale.c:2142:10: error: syntax error [syntaxError] ksh-1.0.10/src/lib/libast/comp/regcmp.c:75:19: warning: Either the condition 'pattern' is redundant or there is possible null pointer dereference: pattern. [nullPointerRedundantCheck] ksh-1.0.10/src/lib/libast/comp/regcmp.c:75:6: note: Assuming that condition 'pattern' is not redundant ksh-1.0.10/src/lib/libast/comp/regcmp.c:75:19: note: Null pointer dereference ksh-1.0.10/src/lib/libast/comp/regcmp.c:88:17: warning: Either the condition 'pattern' is redundant or there is possible null pointer dereference: s++. [nullPointerRedundantCheck] ksh-1.0.10/src/lib/libast/comp/regcmp.c:75:6: note: Assuming that condition 'pattern' is not redundant ksh-1.0.10/src/lib/libast/comp/regcmp.c:85:7: note: Assignment 's=(char*)pattern', assigned value is 0 ksh-1.0.10/src/lib/libast/comp/regcmp.c:88:17: note: Null pointer dereference ksh-1.0.10/src/lib/libast/comp/regcmp.c:88:17: warning: Either the condition 'pattern' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] ksh-1.0.10/src/lib/libast/comp/regcmp.c:75:6: note: Assuming that condition 'pattern' is not redundant ksh-1.0.10/src/lib/libast/comp/regcmp.c:85:7: note: Assignment 's=(char*)pattern', assigned value is 0 ksh-1.0.10/src/lib/libast/comp/regcmp.c:88:17: note: Null pointer addition ksh-1.0.10/src/lib/libast/comp/regcmp.c:188:11: style: Variable 're' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/comp/spawnveg.c:179:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable environ [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/comp/statvfs.c:107:18: style: Parameter 'st' can be declared as pointer to const [constParameterPointer] ksh-1.0.10/src/lib/libast/comp/spawnveg.c:204:38: style: Condition 'm=1' is always true [knownConditionTrueFalse] ksh-1.0.10/src/lib/libast/comp/strftime.c:90:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TM_LOCALZONE [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/comp/strptime.c:58:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TM_LOCALZONE [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/comp/iconv.c:664:10: style: Variable 'c' is reassigned a value before the old one has been used. [redundantAssignment] ksh-1.0.10/src/lib/libast/comp/iconv.c:661:6: note: c is assigned ksh-1.0.10/src/lib/libast/comp/iconv.c:664:10: note: c is overwritten ksh-1.0.10/src/lib/libast/comp/iconv.c:265:18: style: Variable 'fe' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/comp/iconv.c:267:18: style: Variable 'te' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/comp/iconv.c:339:18: style: Variable 'fe' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/comp/iconv.c:449:18: style: Variable 'fe' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/comp/iconv.c:525:18: style: Variable 'fe' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/comp/iconv.c:527:18: style: Variable 'te' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/comp/iconv.c:599:18: style: Variable 'fe' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/comp/iconv.c:644:18: style: Variable 'fe' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/comp/iconv.c:646:18: style: Variable 'te' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/comp/iconv.c:690:18: style: Variable 'fe' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/comp/iconv.c:735:18: style: Variable 'fe' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/comp/iconv.c:737:18: style: Variable 'te' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/comp/iconv.c:967:18: style: Variable 'e' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/comp/iconv.c:1197:5: style: Variable 'fn' is assigned a value that is never used. [unreadVariable] ksh-1.0.10/src/lib/libast/comp/strftime.c:44:8: style: Variable 's' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/comp/wc.c:64:17: warning: Either the condition 't' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] ksh-1.0.10/src/lib/libast/comp/wc.c:67:6: note: Assuming that condition 't' is not redundant ksh-1.0.10/src/lib/libast/comp/wc.c:64:17: note: Null pointer addition ksh-1.0.10/src/lib/libast/comp/wc.c:70:11: warning: Either the condition 't' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] ksh-1.0.10/src/lib/libast/comp/wc.c:67:6: note: Assuming that condition 't' is not redundant ksh-1.0.10/src/lib/libast/comp/wc.c:63:15: note: Assignment 'p=t', assigned value is 0 ksh-1.0.10/src/lib/libast/comp/wc.c:70:11: note: Null pointer addition ksh-1.0.10/src/lib/libast/comp/wc.c:123:15: warning: Either the condition 't' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] ksh-1.0.10/src/lib/libast/comp/wc.c:125:6: note: Assuming that condition 't' is not redundant ksh-1.0.10/src/lib/libast/comp/wc.c:123:15: note: Null pointer addition ksh-1.0.10/src/lib/libast/comp/wc.c:128:11: warning: Either the condition 't' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] ksh-1.0.10/src/lib/libast/comp/wc.c:125:6: note: Assuming that condition 't' is not redundant ksh-1.0.10/src/lib/libast/comp/wc.c:122:13: note: Assignment 'p=t', assigned value is 0 ksh-1.0.10/src/lib/libast/comp/wc.c:128:11: note: Null pointer addition ksh-1.0.10/src/lib/libast/comp/wc.c:64:11: style: Variable 'e' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/comp/wc.c:65:17: style: Variable 'u' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/comp/wc.c:123:9: style: Variable 'e' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/comp/wordexp.c:69:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stkstd [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/dir/getdents.c:54:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/dir/opendir.c:51:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/dir/getdents.c:118:18: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/dir/getdents.c:120:10: style: Variable 's' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/dir/seekdir.c:39:8: style: Unused variable: base [unusedVariable] ksh-1.0.10/src/lib/libast/dir/seekdir.c:40:8: style: Unused variable: offset [unusedVariable] ksh-1.0.10/src/lib/libast/dir/telldir.c:34:14: style: Parameter 'dirp' can be declared as pointer to const [constParameterPointer] ksh-1.0.10/src/lib/libast/comp/wordexp.c:164:7: warning: Size of pointer 'cp' used instead of size of its data. [pointerSize] ksh-1.0.10/src/lib/libast/disc/sfdcdio.c:121:21: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] ksh-1.0.10/src/lib/libast/disc/sfdcdio.c:34:7: style: struct member '_direct_s::cntl' is never used. [unusedStructMember] ksh-1.0.10/src/lib/libast/disc/sfdcfilter.c:55:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_READ [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/disc/sfdcfilter.c:112:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_FINAL [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/disc/sfdcmore.c:185:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sfstdin [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/disc/sfdcmore.c:235:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_FINAL [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/disc/sfdcmore.c:275:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_WRITE [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/disc/sfdcfilter.c:102:3: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] ksh-1.0.10/src/lib/libast/disc/sfdcfilter.c:104:2: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] ksh-1.0.10/src/lib/libast/disc/sfdcfilter.c:105:2: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] ksh-1.0.10/src/lib/libast/disc/sfdcdos.c:330:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_DPOP [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/disc/sfdcdos.c:346:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_WRITE [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/disc/sfdcfilter.c:92:36: style: Parameter 'f' can be declared as pointer to const. However it seems that 'filterwrite' is a callback function, if 'f' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ksh-1.0.10/src/lib/libast/disc/sfdcfilter.c:139:20: note: You might need to cast the function pointer here ksh-1.0.10/src/lib/libast/disc/sfdcfilter.c:92:36: note: Parameter 'f' can be declared as pointer to const ksh-1.0.10/src/lib/libast/disc/sfdcfilter.c:95:17: style: Parameter 'disc' can be declared as pointer to const. However it seems that 'filterwrite' is a callback function, if 'disc' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ksh-1.0.10/src/lib/libast/disc/sfdcfilter.c:139:20: note: You might need to cast the function pointer here ksh-1.0.10/src/lib/libast/disc/sfdcfilter.c:95:17: note: Parameter 'disc' can be declared as pointer to const ksh-1.0.10/src/lib/libast/disc/sfdcfilter.c:101:35: style: Parameter 'f' can be declared as pointer to const. However it seems that 'filterseek' is a callback function, if 'f' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ksh-1.0.10/src/lib/libast/disc/sfdcfilter.c:140:19: note: You might need to cast the function pointer here ksh-1.0.10/src/lib/libast/disc/sfdcfilter.c:101:35: note: Parameter 'f' can be declared as pointer to const ksh-1.0.10/src/lib/libast/disc/sfdcfilter.c:101:74: style: Parameter 'disc' can be declared as pointer to const. However it seems that 'filterseek' is a callback function, if 'disc' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ksh-1.0.10/src/lib/libast/disc/sfdcfilter.c:140:19: note: You might need to cast the function pointer here ksh-1.0.10/src/lib/libast/disc/sfdcfilter.c:101:74: note: Parameter 'disc' can be declared as pointer to const ksh-1.0.10/src/lib/libast/disc/sfdcfilter.c:103:7: style: Variable 'addr' is assigned a value that is never used. [unreadVariable] ksh-1.0.10/src/lib/libast/disc/sfdcfilter.c:104:9: style: Variable 'offset' is assigned a value that is never used. [unreadVariable] ksh-1.0.10/src/lib/libast/disc/sfdcprefix.c:84:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_FINAL [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/disc/sfdcprefix.c:103:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_WRITE [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/disc/sfdcprefix.c:116:16: warning: Logical disjunction always evaluates to true: *s != ' ' || *s != '\t'. [incorrectLogicOperator] ksh-1.0.10/src/lib/libast/disc/sfdcmore.c:311:4: error: Memory leak: more [memleak] ksh-1.0.10/src/lib/libast/disc/sfdcmore.c:317:4: error: Memory leak: more [memleak] ksh-1.0.10/src/lib/libast/disc/sfdcmore.c:322:2: error: Memory leak: more [memleak] ksh-1.0.10/src/lib/libast/disc/sfdcmore.c:131:9: style: Variable 'e' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/disc/sfdcseekable.c:92:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_BUFSIZE [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/disc/sfdcseekable.c:181:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_BUFSIZE [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/disc/sfdcslow.c:42:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/disc/sfdcslow.c:54:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Sfdisc_t [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/disc/sfdcsubstr.c:60:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_WRITE [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/disc/sfdcsubstr.c:75:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_WRITE [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/disc/sfdcsubstr.c:80:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_READ [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/disc/sfdcsubstr.c:122:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_FINAL [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/disc/sfdcsubstr.c:49:7: style: Checking if unsigned expression 'n' is less than zero. [unsignedLessThanZero] ksh-1.0.10/src/lib/libast/disc/sfdcdos.c:209:8: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/disc/sfdcseekable.c:37:33: style: Parameter 'f' can be declared as pointer to const. However it seems that 'skwrite' is a callback function, if 'f' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ksh-1.0.10/src/lib/libast/disc/sfdcseekable.c:178:20: note: You might need to cast the function pointer here ksh-1.0.10/src/lib/libast/disc/sfdcseekable.c:37:33: note: Parameter 'f' can be declared as pointer to const ksh-1.0.10/src/lib/libast/disc/sfdcseekable.c:40:20: style: Parameter 'disc' can be declared as pointer to const. However it seems that 'skwrite' is a callback function, if 'disc' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ksh-1.0.10/src/lib/libast/disc/sfdcseekable.c:178:20: note: You might need to cast the function pointer here ksh-1.0.10/src/lib/libast/disc/sfdcseekable.c:40:20: note: Parameter 'disc' can be declared as pointer to const ksh-1.0.10/src/lib/libast/disc/sfdctee.c:54:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_FINAL [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/disc/sfdcunion.c:128:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_FINAL [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/disc/sfdcunion.c:45:33: style: Parameter 'f' can be declared as pointer to const. However it seems that 'unwrite' is a callback function, if 'f' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ksh-1.0.10/src/lib/libast/disc/sfdcunion.c:147:20: note: You might need to cast the function pointer here ksh-1.0.10/src/lib/libast/disc/sfdcunion.c:45:33: note: Parameter 'f' can be declared as pointer to const ksh-1.0.10/src/lib/libast/disc/sfdcunion.c:48:20: style: Parameter 'disc' can be declared as pointer to const. However it seems that 'unwrite' is a callback function, if 'disc' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ksh-1.0.10/src/lib/libast/disc/sfdcunion.c:147:20: note: You might need to cast the function pointer here ksh-1.0.10/src/lib/libast/disc/sfdcunion.c:48:20: note: Parameter 'disc' can be declared as pointer to const ksh-1.0.10/src/lib/libast/features/align.c:74:7: error: Overlapping read/write of union is undefined behavior [overlappingWriteUnion] ksh-1.0.10/src/lib/libast/features/align.c:84:8: error: Overlapping read/write of union is undefined behavior [overlappingWriteUnion] ksh-1.0.10/src/lib/libast/features/align.c:98:7: error: Overlapping read/write of union is undefined behavior [overlappingWriteUnion] ksh-1.0.10/src/lib/libast/features/align.c:99:22: warning: Uninitialized variable: i [uninitvar] ksh-1.0.10/src/lib/libast/features/align.c:82:16: note: Assuming condition is false ksh-1.0.10/src/lib/libast/features/align.c:99:22: note: Uninitialized variable: i ksh-1.0.10/src/lib/libast/features/align.c:37:11: style: union member '_u_::u3' is never used. [unusedStructMember] ksh-1.0.10/src/lib/libast/features/align.c:39:12: style: union member '_u_::u5' is never used. [unusedStructMember] ksh-1.0.10/src/lib/libast/features/align.c:40:13: style: union member '_u_::u6' is never used. [unusedStructMember] ksh-1.0.10/src/lib/libast/features/align.c:42:10: style: union member '_u_::u8' is never used. [unusedStructMember] ksh-1.0.10/src/lib/libast/features/align.c:43:12: style: union member '_u_::u9' is never used. [unusedStructMember] ksh-1.0.10/src/lib/libast/features/align.c:44:12: style: union member '_u_::u10' is never used. [unusedStructMember] ksh-1.0.10/src/lib/libast/disc/sfkeyprintf.c:96:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CC_esc [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/disc/sfkeyprintf.c:212:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFFMT_VALUE [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/disc/sfkeyprintf.c:344:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_VERSION [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/disc/sfkeyprintf.c:377:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_VERSION [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/features/limits.c:173:6: style: Comparing expression of type 'unsigned short' against value 4294967295. Condition is always false. [compareValueOutOfTypeRangeError] ksh-1.0.10/src/lib/libast/features/limits.c:137:8: style: Condition 'c<0' is always false [knownConditionTrueFalse] ksh-1.0.10/src/lib/libast/features/limits.c:107:6: note: Assignment 'c=0', assigned value is 0 ksh-1.0.10/src/lib/libast/features/limits.c:108:6: note: Assignment 'c=~c', assigned value is 255 ksh-1.0.10/src/lib/libast/features/limits.c:137:8: note: Condition 'c<0' is always false ksh-1.0.10/src/lib/libast/features/fcntl.c:176:12: style: Condition 'f_lck==3' is always true [knownConditionTrueFalse] ksh-1.0.10/src/lib/libast/features/fcntl.c:56:15: note: Assignment 'f_lck=0', assigned value is 0 ksh-1.0.10/src/lib/libast/features/fcntl.c:166:34: note: f_lck is incremented', new value is 1 ksh-1.0.10/src/lib/libast/features/fcntl.c:169:34: note: f_lck is incremented', new value is 2 ksh-1.0.10/src/lib/libast/features/fcntl.c:172:34: note: f_lck is incremented', new value is 3 ksh-1.0.10/src/lib/libast/features/fcntl.c:176:12: note: Condition 'f_lck==3' is always true ksh-1.0.10/src/lib/libast/features/limits.c:110:5: style: Variable 'uc' is assigned a value that is never used. [unreadVariable] ksh-1.0.10/src/lib/libast/features/mode.c:121:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable X_ISUID [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/features/mode.c:190:6: style: Condition 'idperm' is always true [knownConditionTrueFalse] ksh-1.0.10/src/lib/libast/features/mode.c:40:0: note: Assignment 'idperm=1', assigned value is 1 ksh-1.0.10/src/lib/libast/features/mode.c:190:6: note: Condition 'idperm' is always true ksh-1.0.10/src/lib/libast/features/mode.c:191:6: style: Condition 'idtype' is always true [knownConditionTrueFalse] ksh-1.0.10/src/lib/libast/features/mode.c:40:20: note: Assignment 'idtype=1', assigned value is 1 ksh-1.0.10/src/lib/libast/features/mode.c:191:6: note: Condition 'idtype' is always true ksh-1.0.10/src/lib/libast/features/mode.c:212:2: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] ksh-1.0.10/src/lib/libast/features/sfinit.c:42:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLT_MAX_10_EXP [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/features/sfinit.c:36:9: style: Variable 'fs' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/features/sfinit.c:37:9: style: Variable 'ds' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/features/sfinit.c:38:9: style: Variable 'ls' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/hash/hashalloc.c:55:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HASH_region [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/hash/hashdump.c:35:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HASH_ALLOCATE [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/hash/hashdump.c:63:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HASH_DELETED [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/hash/hashdump.c:105:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sfstderr [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/hash/hashdump.c:134:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sfstderr [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/hash/hashdump.c:164:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sfstderr [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/hash/hashdump.c:49:26: style: Parameter 'tab' can be declared as pointer to const [constParameterPointer] ksh-1.0.10/src/lib/libast/hash/hashfree.c:56:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HASH_BUCKET [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/hash/hashlook.c:42:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HASH_LOOKUP [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/hash/hashscan.c:49:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Hash_position_t [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/hash/hashscan.c:106:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HASH_DELETED [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/hash/hashsize.c:53:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HASH_FIXED [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/hash/hashlook.c:170:9: warning:inconclusive: Found suspicious operator '*', result is not used. [constStatement] ksh-1.0.10/src/lib/libast/hash/hashlook.c:185:72: warning:inconclusive: Found suspicious operator '*', result is not used. [constStatement] ksh-1.0.10/src/lib/libast/hash/hashlook.c:354:81: warning:inconclusive: Found suspicious operator '*', result is not used. [constStatement] ksh-1.0.10/src/lib/libast/hash/hashlook.c:44:10: style: Variable 's1' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/hash/hashlook.c:107:14: style: Variable 's3' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/hash/hashview.c:62:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HASH_HIDES [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/hash/hashwalk.c:43:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HASH_VALUE [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/hash/strkey.c:34:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HASHKEYMAX [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/misc/astintercept.c:33:25: style: Parameter 'call' can be declared as pointer to const [constParameterPointer] ksh-1.0.10/src/lib/libast/disc/sfkeyprintf.c:62:9: style: union member 'Value_t::l' is never used. [unusedStructMember] ksh-1.0.10/src/lib/libast/disc/sfkeyprintf.c:64:10: style: union member 'Value_t::h' is never used. [unusedStructMember] ksh-1.0.10/src/lib/libast/misc/conformance.c:113:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable env_serial [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/misc/cmdarg.c:38:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROC_ARGMOD [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/misc/cmdarg.c:47:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CMD_VERSION [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/misc/cmdarg.c:79:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CMD_VERSION [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/misc/cmdarg.c:112:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CMD_POST [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/misc/cmdarg.c:234:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CMD_EMPTY [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/misc/cmdarg.c:371:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CMD_IGNORE [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/misc/cmdarg.c:396:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CMD_EXACT [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/misc/error.c:127:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_ERROR [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/misc/error.c:289:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_PUSH [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/misc/error.c:354:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable init [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/misc/error.c:605:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_POP [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/misc/errorf.c:34:114: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_LIBRARY [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/misc/errorx.c:32:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable translate [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/misc/cmdarg.c:255:9: style: Variable 'e' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/misc/fmtrec.c:31:8: style: Variable 'e' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/misc/ftwalk.c:62:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FTS_ONEPATH [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/misc/fastfind.c:165:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FIND_CODES_ENV [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/misc/fastfind.c:695:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/misc/fastfind.c:1073:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_SYSTEM [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/misc/fts.c:182:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/misc/fts.c:453:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/misc/fts.c:508:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FTS_NOSTAT [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/misc/fts.c:585:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FTS_NOSEEDOTDIR [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/misc/fts.c:702:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/misc/fts.c:734:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FTS_NOCHDIR [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/misc/fts.c:825:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FTS_SKIP [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/misc/fts.c:1429:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FTS_SL [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/misc/fts.c:1466:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FTS_NOSTAT [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/misc/fts.c:1487:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FTS_LOGICAL [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/misc/fts.c:1505:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STR_LEFT [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/misc/getcwd.c:162:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/misc/getcwd.c:117:34: style: Parameter 'dots' can be declared as pointer to const [constParameterPointer] ksh-1.0.10/src/lib/libast/misc/getcwd.c:117:46: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] ksh-1.0.10/src/lib/libast/misc/getcwd.c:148:9: style: Variable 's' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/cmd/ksh93/sh/xec.c:2000:19: warning:inconclusive: Logical conjunction always evaluates to false: c < '0' && c > '9'. [incorrectLogicOperator] ksh-1.0.10/src/lib/libast/misc/fts.c:362:7: warning: Possible null pointer dereference: root [nullPointer] ksh-1.0.10/src/lib/libast/misc/fts.c:677:21: note: Assignment 'root=0', assigned value is 0 ksh-1.0.10/src/lib/libast/misc/fts.c:678:22: note: Assuming condition is false ksh-1.0.10/src/lib/libast/misc/fts.c:680:22: note: Calling function 'getlist', 3rd argument 'root' value is 0 ksh-1.0.10/src/lib/libast/misc/fts.c:362:7: note: Null pointer dereference ksh-1.0.10/src/lib/libast/misc/fts.c:167:38: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] ksh-1.0.10/src/lib/libast/misc/fts.c:448:8: style: Variable 'e' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/misc/fts.c:1420:14: style: Parameter 'fts' can be declared as pointer to const [constParameterPointer] ksh-1.0.10/src/lib/libast/misc/fts.c:588:15: style: Variable 'metaphysical' is assigned a value that is never used. [unreadVariable] ksh-1.0.10/src/lib/libast/misc/fts.c:583:14: style: Unused variable: st [unusedVariable] ksh-1.0.10/src/cmd/ksh93/sh/xec.c:1938:10: style: Local variable 'cp' shadows outer variable [shadowVariable] ksh-1.0.10/src/cmd/ksh93/sh/xec.c:860:10: note: Shadowed declaration ksh-1.0.10/src/cmd/ksh93/sh/xec.c:1938:10: note: Shadow variable ksh-1.0.10/src/cmd/ksh93/sh/xec.c:2336:10: style: Local variable 'cp' shadows outer variable [shadowVariable] ksh-1.0.10/src/cmd/ksh93/sh/xec.c:860:10: note: Shadowed declaration ksh-1.0.10/src/cmd/ksh93/sh/xec.c:2336:10: note: Shadow variable ksh-1.0.10/src/cmd/ksh93/sh/xec.c:2442:16: style: Local variable 'mp' shadows outer variable [shadowVariable] ksh-1.0.10/src/cmd/ksh93/sh/xec.c:2337:21: note: Shadowed declaration ksh-1.0.10/src/cmd/ksh93/sh/xec.c:2442:16: note: Shadow variable ksh-1.0.10/src/cmd/ksh93/sh/xec.c:3054:12: style: Local variable 'arg' shadows outer argument [shadowArgument] ksh-1.0.10/src/cmd/ksh93/sh/xec.c:2946:63: note: Shadowed declaration ksh-1.0.10/src/cmd/ksh93/sh/xec.c:3054:12: note: Shadow variable ksh-1.0.10/src/cmd/ksh93/sh/xec.c:2546:47: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] ksh-1.0.10/src/cmd/ksh93/sh/xec.c:204:62: style: Parameter 'tm' can be declared as pointer to const [constParameterPointer] ksh-1.0.10/src/cmd/ksh93/sh/xec.c:667:8: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/cmd/ksh93/sh/xec.c:699:12: style: Variable 'ap' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/cmd/ksh93/sh/xec.c:824:87: style: Parameter 'iop' can be declared as pointer to const [constParameterPointer] ksh-1.0.10/src/cmd/ksh93/sh/xec.c:891:11: style: Variable 'trap' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/cmd/ksh93/sh/xec.c:1666:19: style: Variable 'i' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/cmd/ksh93/sh/xec.c:1938:15: style: Variable 'trap' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/cmd/ksh93/sh/xec.c:2070:14: style: Variable 'tt' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/cmd/ksh93/sh/xec.c:2161:10: style: Variable 'trap' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/cmd/ksh93/sh/xec.c:2938:9: error: Uninitialized variable: d [uninitvar] ksh-1.0.10/src/cmd/ksh93/sh/xec.c:1831:12: style: Variable 'pvo[0]' is assigned a value that is never used. [unreadVariable] ksh-1.0.10/src/cmd/ksh93/sh/xec.c:944:16: style: Unused variable: mp [unusedVariable] ksh-1.0.10/src/cmd/ksh93/sh/xec.c:2249:19: style: Unused variable: ta [unusedVariable] ksh-1.0.10/src/cmd/ksh93/sh/xec.c:2249:23: style: Unused variable: tb [unusedVariable] ksh-1.0.10/src/lib/libast/misc/glob.c:128:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLOB_STARSTAR [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/misc/glob.c:196:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/misc/glob.c:253:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLOB_DIR [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/misc/glob.c:320:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_ICASE [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/misc/glob.c:621:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GLOB_APPEND [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/misc/mime.c:248:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MIME_REPLACE [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/misc/mime.c:293:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MIME_LIST [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/misc/mime.c:556:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MIME_PIPE [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/misc/mime.c:803:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Mime_t [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/misc/magic.c:293:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_BUFSIZE [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/misc/magic.c:365:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAGIC_VERBOSE [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/misc/magic.c:379:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAGIC_VERBOSE [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/misc/magic.c:516:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAGIC_ALL [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/misc/magic.c:995:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CC_ASCII [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/misc/magic.c:1507:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/misc/magic.c:1613:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable file [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/misc/magic.c:2167:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAGIC_FILE_ENV [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/misc/magic.c:2253:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CC_MAPS [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/misc/magic.c:2326:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAGIC_MIME [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/misc/fastfind.c:927:10: style: Checking if unsigned expression 'len' is less than zero. [unsignedLessThanZero] ksh-1.0.10/src/lib/libast/misc/fastfind.c:953:22: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] ksh-1.0.10/src/lib/libast/misc/fastfind.c:1142:19: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] ksh-1.0.10/src/lib/libast/misc/fastfind.c:1143:19: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] ksh-1.0.10/src/lib/libast/misc/fastfind.c:1144:19: portability: Shifting a negative value is technically undefined behaviour [shiftNegativeLHS] ksh-1.0.10/src/lib/libast/misc/fastfind.c:665:9: style: Variable 's' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/misc/fastfind.c:912:17: style: Variable 'e' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/misc/fastfind.c:913:17: style: Variable 'p' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/misc/fastfind.c:1049:9: style: Variable 's' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/misc/mimetype.c:49:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MIME_NOMAGIC [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/misc/optctx.c:53:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _opt_infop_ [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/misc/glob.c:668:4: error: Address of local auto-variable assigned to a function parameter. [autoVariables] ksh-1.0.10/src/lib/libast/misc/glob.c:209:22: style: Parameter 'p1' can be declared as pointer to const [constParameterPointer] ksh-1.0.10/src/lib/libast/misc/glob.c:209:41: style: Parameter 'p2' can be declared as pointer to const [constParameterPointer] ksh-1.0.10/src/lib/libast/misc/glob.c:303:9: style: Variable 'name' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/misc/glob.c:308:11: style: Variable 'ire' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/misc/glob.c:309:11: style: Variable 'pre' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/misc/glob.c:777:9: style: Variable 'suflen' is assigned a value that is never used. [unreadVariable] ksh-1.0.10/src/lib/libast/misc/mime.c:565:32: style: Condition 'e='}'' is always true [knownConditionTrueFalse] ksh-1.0.10/src/lib/libast/misc/mime.c:565:57: style: Condition 'e=')'' is always true [knownConditionTrueFalse] ksh-1.0.10/src/lib/libast/misc/mime.c:91:13: style: Parameter 'dt' can be declared as pointer to const. However it seems that 'order' is a callback function, if 'dt' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ksh-1.0.10/src/lib/libast/misc/mime.c:808:21: note: You might need to cast the function pointer here ksh-1.0.10/src/lib/libast/misc/mime.c:91:13: note: Parameter 'dt' can be declared as pointer to const ksh-1.0.10/src/lib/libast/misc/mime.c:91:23: style: Parameter 'a' can be declared as pointer to const. However it seems that 'order' is a callback function, if 'a' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ksh-1.0.10/src/lib/libast/misc/mime.c:808:21: note: You might need to cast the function pointer here ksh-1.0.10/src/lib/libast/misc/mime.c:91:23: note: Parameter 'a' can be declared as pointer to const ksh-1.0.10/src/lib/libast/misc/mime.c:91:32: style: Parameter 'b' can be declared as pointer to const. However it seems that 'order' is a callback function, if 'b' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ksh-1.0.10/src/lib/libast/misc/mime.c:808:21: note: You might need to cast the function pointer here ksh-1.0.10/src/lib/libast/misc/mime.c:91:32: note: Parameter 'b' can be declared as pointer to const ksh-1.0.10/src/lib/libast/misc/mime.c:91:45: style: Parameter 'disc' can be declared as pointer to const. However it seems that 'order' is a callback function, if 'disc' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ksh-1.0.10/src/lib/libast/misc/mime.c:808:21: note: You might need to cast the function pointer here ksh-1.0.10/src/lib/libast/misc/mime.c:91:45: note: Parameter 'disc' can be declared as pointer to const ksh-1.0.10/src/lib/libast/misc/optjoin.c:61:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable opt_info [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/misc/procclose.c:42:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROC_ORPHAN [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/misc/procopen.c:171:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROC_fd_dup [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/misc/procopen.c:403:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/misc/optjoin.c:108:31: style: Condition 'opt_info.index!=last_index' is always false [knownConditionTrueFalse] ksh-1.0.10/src/lib/libast/misc/optjoin.c:70:15: note: last_index is assigned 'opt_info.index' here. ksh-1.0.10/src/lib/libast/misc/optjoin.c:108:31: note: Condition 'opt_info.index!=last_index' is always false ksh-1.0.10/src/lib/libast/misc/optjoin.c:118:6: warning:inconclusive: Found suspicious operator '*', result is not used. [constStatement] ksh-1.0.10/src/lib/libast/misc/procrun.c:35:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROC_CHECK [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/misc/recfmt.c:43:18: style: Variable 't' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/misc/procopen.c:196:14: portability: Non reentrant function 'ttyname' called. For threadsafe applications it is recommended to use the reentrant replacement function 'ttyname_r'. [prohibitedttynameCalled] ksh-1.0.10/src/lib/libast/misc/procopen.c:198:14: style: Variable 'arg2' is reassigned a value before the old one has been used. [redundantAssignment] ksh-1.0.10/src/lib/libast/misc/procopen.c:191:9: note: arg2 is assigned ksh-1.0.10/src/lib/libast/misc/procopen.c:198:14: note: arg2 is overwritten ksh-1.0.10/src/lib/libast/misc/procopen.c:165:9: style: Variable 's' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/misc/reclen.c:33:17: style: Variable 'e' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/misc/optget.c:195:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable id [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/misc/optget.c:681:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable id [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/misc/optget.c:804:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Dtdisc_t [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/misc/optget.c:865:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable disc [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/misc/optget.c:888:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Dtset [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/misc/optget.c:910:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OPT_FLAGS [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/misc/optget.c:1597:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OPT_functions [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/misc/optget.c:1905:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable id [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/misc/optget.c:2468:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable oopts [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/misc/optget.c:4133:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/misc/optget.c:4164:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable num [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/misc/optget.c:4318:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable offset [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/misc/optget.c:5637:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable offset [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/misc/recstr.c:91:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REC_M_data [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/misc/setenviron.c:46:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable environ [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/misc/sigcrit.c:99:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_REG_SET [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/misc/setenviron.c:49:9: style: Variable 't' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/misc/systrace.c:35:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/misc/stk.c:123:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stkstd [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/misc/stk.c:198:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STK_NULL [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/misc/stk.c:239:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Sfio_t [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/misc/stk.c:263:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stkstd [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/misc/stk.c:272:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stkstd [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/misc/stk.c:284:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stkstd [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/misc/stk.c:298:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stkstd [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/misc/stk.c:313:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stkstd [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/misc/stk.c:373:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ALIGN_BOUND [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/misc/stk.c:416:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ALIGN_BOUND [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/misc/stk.c:435:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stkstd [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/misc/stk.c:473:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stkstd [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/misc/translate.c:131:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/misc/translate.c:198:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Dtset [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/misc/translate.c:304:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/misc/translate.c:129:9: style: Variable 'o' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/misc/translate.c:157:12: style: Parameter 's' can be declared as pointer to const [constParameterPointer] ksh-1.0.10/src/lib/libast/misc/translate.c:302:15: style: Variable 'nlspath' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/misc/translate.c:62:11: style: struct member 'Temp_t::sp' is never used. [unusedStructMember] ksh-1.0.10/src/lib/libast/misc/translate.c:63:7: style: struct member 'Temp_t::off' is never used. [unusedStructMember] ksh-1.0.10/src/lib/libast/misc/stk.c:100:2: style: Statements following noreturn function 'exit()' will never be executed. [unreachableCode] ksh-1.0.10/src/lib/libast/misc/stk.c:264:61: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] ksh-1.0.10/src/lib/libast/misc/stk.c:296:34: style: Parameter 'loc' can be declared as pointer to const [constParameterPointer] ksh-1.0.10/src/lib/libast/path/pathaccess.c:38:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/path/pathaccess.c:50:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/path/pathcanon.c:45:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/path/pathcanon.c:65:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/path/pathcat.c:33:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/path/pathcat.c:44:8: style: Variable 'e' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/path/pathcd.c:82:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/path/pathcanon.c:127:15: style: Variable '*(t-1)' is reassigned a value before the old one has been used. [redundantAssignment] ksh-1.0.10/src/lib/libast/path/pathcanon.c:125:15: note: *(t-1) is assigned ksh-1.0.10/src/lib/libast/path/pathcanon.c:127:15: note: *(t-1) is overwritten ksh-1.0.10/src/lib/libast/path/pathcanon.c:57:8: style: Variable 's' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/path/pathfind.c:85:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/path/pathexists.c:64:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable set [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/path/pathfind.c:84:9: style: Variable 's' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/path/pathgetlink.c:45:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/path/pathicase.c:73:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/path/pathpath.c:40:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/path/pathpath.c:52:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/path/pathkey.c:40:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/path/pathkey.c:62:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/path/pathprog.c:120:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_EXECUTE [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/path/pathprog.c:46:9: style: Variable 's' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/path/pathrepl.c:34:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/path/pathrepl.c:72:22: style: Condition 'p>=path' is always true [knownConditionTrueFalse] ksh-1.0.10/src/lib/libast/path/pathrepl.c:71:11: note: Assuming that condition 'p=path' is always true ksh-1.0.10/src/lib/libast/path/pathrepl.c:55:8: style: Variable 'size' is assigned a value that is never used. [unreadVariable] ksh-1.0.10/src/lib/libast/path/pathsetlink.c:34:8: style: Variable 't' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/path/pathshell.c:82:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/path/pathstat.c:33:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/path/pathtemp.c:89:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONF_PAGESIZE [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/path/pathtemp.c:173:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRUSR [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/path/pathkey.c:53:9: style: Variable 't' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/path/pathkey.c:64:15: style: Variable 'let' can be declared as const array [constVariable] ksh-1.0.10/src/lib/libast/port/astconf.c:415:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONF_USER [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/port/astconf.c:609:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONF_USER [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/port/astconf.c:772:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONF_USER [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/port/astconf.c:793:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable conf [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/port/astconf.c:942:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/port/astconf.c:1389:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/port/astconf.c:1521:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/path/pathtemp.c:324:8: style: Local variable 'r' shadows outer variable [shadowVariable] ksh-1.0.10/src/lib/libast/path/pathtemp.c:143:7: note: Shadowed declaration ksh-1.0.10/src/lib/libast/path/pathtemp.c:324:8: note: Shadow variable ksh-1.0.10/src/lib/libast/misc/magic.c:2218:7: style: Condition 'n' is always false [knownConditionTrueFalse] ksh-1.0.10/src/lib/libast/misc/magic.c:2216:11: note: Calling function 'load' returns 0 ksh-1.0.10/src/lib/libast/misc/magic.c:2216:11: note: Assignment 'n=load(mp,s,fp)', assigned value is 0 ksh-1.0.10/src/lib/libast/misc/magic.c:2218:7: note: Condition 'n' is always false ksh-1.0.10/src/lib/libast/misc/magic.c:2048:16: warning: If memory allocation fails, then there is a possible null pointer dereference: ep->value.loop [nullPointerOutOfMemory] ksh-1.0.10/src/lib/libast/misc/magic.c:2047:30: note: Assuming allocation function fails ksh-1.0.10/src/lib/libast/misc/magic.c:2047:30: note: Assignment 'ep->value.loop=calloc(1,sizeof(struct Loop_t))', assigned value is 0 ksh-1.0.10/src/lib/libast/misc/magic.c:2048:16: note: Null pointer dereference ksh-1.0.10/src/lib/libast/port/astmath.c:46:16: style: Variable 'value' is assigned a value that is never used. [unreadVariable] ksh-1.0.10/src/lib/libast/port/astmath.c:49:11: style: Variable 'exp' is assigned a value that is never used. [unreadVariable] ksh-1.0.10/src/lib/libast/port/astmath.c:46:10: style: Variable 'value' is assigned a value that is never used. [unreadVariable] ksh-1.0.10/src/lib/libast/port/astmath.c:49:7: style: Variable 'exp' is assigned a value that is never used. [unreadVariable] ksh-1.0.10/src/lib/libast/misc/magic.c:1428:9: style: Checking if unsigned expression 'd' is less than zero. [unsignedLessThanZero] ksh-1.0.10/src/lib/libast/port/astquery.c:59:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/misc/magic.c:375:34: style: Parameter 're' can be declared as pointer to const [constParameterPointer] ksh-1.0.10/src/lib/libast/misc/magic.c:391:25: style: Parameter 'e' can be declared as pointer to const [constParameterPointer] ksh-1.0.10/src/lib/libast/misc/magic.c:391:61: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] ksh-1.0.10/src/lib/libast/misc/magic.c:393:17: style: Variable 'map' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/misc/magic.c:1593:9: style: Variable 'p3' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/port/astwinsize.c:102:10: style: Variable 's' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/port/iblocks.c:89:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LS_BLOCKSIZE [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/port/iblocks.c:68:23: style: Parameter 'st' can be declared as pointer to const [constParameterPointer] ksh-1.0.10/src/lib/libast/misc/magic.c:58:11: style: struct member 'Edit::from' is never used. [unusedStructMember] ksh-1.0.10/src/lib/libast/port/lc.c:125:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AST_LC_ALL [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/port/lc.c:162:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable info [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/port/lc.c:268:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_abbreviated [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/port/lc.c:378:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_local [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/port/lc.c:437:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/port/lc.c:842:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable code [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/port/lcgen.c:265:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/port/astconf.c:811:44: style: Suspicious condition (assignment + comparison); Clarify expression with parentheses. [clarifyCondition] ksh-1.0.10/src/lib/libast/port/astconf.c:290:14: style: Parameter 's' can be declared as pointer to const [constParameterPointer] ksh-1.0.10/src/lib/libast/port/astconf.c:308:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/port/astconf.c:1546:19: error: Uninitialized variable: re [legacyUninitvar] ksh-1.0.10/src/lib/libast/port/astconf.c:796:9: style: Variable 'v' is assigned a value that is never used. [unreadVariable] ksh-1.0.10/src/lib/libast/port/mc.c:65:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/port/mc.c:215:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MC_MAGIC_SIZE [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/port/mc.c:343:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable num [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/port/mc.c:376:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MC_SET_MAX [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/port/mc.c:517:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MC_MAGIC_SIZE [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/port/mc.c:619:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _Sfcv36 [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/port/mc.c:611:17: style: Variable 'cv' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/port/lcgen.c:330:13: style: Condition 'vp=ve' is not redundant ksh-1.0.10/src/lib/libast/port/lcgen.c:330:13: note: Condition 'vpenv->stats.re_record' is reassigned a value before the old one has been used. [redundantAssignment] ksh-1.0.10/src/lib/libast/regex/regstat.c:36:27: note: p->env->stats.re_record is assigned ksh-1.0.10/src/lib/libast/regex/regstat.c:47:26: note: p->env->stats.re_record is overwritten ksh-1.0.10/src/lib/libast/regex/regstat.c:29:9: style: Variable 'e' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/regex/regnexec.c:151:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STK_SMALL [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/regex/regnexec.c:255:73: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable regmatch_t [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/regex/regnexec.c:283:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_ESPACE [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/regex/regnexec.c:323:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_PANIC [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/regex/regnexec.c:406:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_MINIMAL [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/regex/regnexec.c:532:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_MINIMAL [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/regex/regnexec.c:659:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_ICASE [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/regex/regnexec.c:832:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_MINIMAL [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/regex/regnexec.c:1873:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_BADPAT [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/regex/regnexec.c:2048:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOFREE [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/regex/regnexec.c:2078:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable regmatch_t [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/regex/regsub.c:39:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_SUB_LOWER [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/regex/regsub.c:246:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOSUB [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/regex/regsub.c:35:9: style: Variable 'e' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/regex/regsubcomp.c:52:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_SUB_LAST [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/regex/regsubcomp.c:124:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOSUB [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/regex/regsubcomp.c:365:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOFREE [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/regex/regsubcomp.c:129:145: style: Argument '(nops=8)*sizeof(struct regsubop_t)' to function _reg_alloc is always 96. It does not matter what value 'nops' has. [knownArgument] ksh-1.0.10/src/lib/libast/regex/regsubexec.c:82:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_ESUBREG [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/regex/regsubexec.c:152:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NOSUB [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/regex/regsubexec.c:211:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable regmatch_t [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/regex/regsubexec.c:68:95: style: Parameter 'match' can be declared as pointer to const [constParameterPointer] ksh-1.0.10/src/lib/libast/regex/regsubexec.c:71:8: style: Variable 'e' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/misc/optget.c:1123:7: style: Suspicious condition (assignment + comparison); Clarify expression with parentheses. [clarifyCondition] ksh-1.0.10/src/lib/libast/misc/optget.c:1027:101: style: Condition 'l=1' is always true [knownConditionTrueFalse] ksh-1.0.10/src/lib/libast/misc/optget.c:1027:156: style: Condition 'l=1' is always true [knownConditionTrueFalse] ksh-1.0.10/src/lib/libast/misc/optget.c:1897:36: style: Condition 'bump=3' is always true [knownConditionTrueFalse] ksh-1.0.10/src/lib/libast/misc/optget.c:1248:2: warning: Either the condition 'tsp=newof(0,struct Push_t,1,n+1)' is redundant or there is possible null pointer dereference: tsp. [nullPointerRedundantCheck] ksh-1.0.10/src/lib/libast/misc/optget.c:1239:10: note: Assuming that condition 'tsp=newof(0,struct Push_t,1,n+1)' is not redundant ksh-1.0.10/src/lib/libast/misc/optget.c:1248:2: note: Null pointer dereference ksh-1.0.10/src/lib/libast/misc/optget.c:4145:3: warning:inconclusive: Possible null pointer dereference: e [nullPointer] ksh-1.0.10/src/lib/libast/misc/optget.c:5242:76: note: Calling function 'optnumber', 3rd argument 'NULL' value is 0 ksh-1.0.10/src/lib/libast/misc/optget.c:4145:3: note: Null pointer dereference ksh-1.0.10/src/lib/libast/misc/optget.c:845:29: style: Variable 'c' is reassigned a value before the old one has been used. [redundantAssignment] ksh-1.0.10/src/lib/libast/misc/optget.c:844:4: note: c is assigned ksh-1.0.10/src/lib/libast/misc/optget.c:845:29: note: c is overwritten ksh-1.0.10/src/lib/libast/misc/optget.c:3911:8: style: Variable 'ts' is assigned an expression that holds the same value. [redundantAssignment] ksh-1.0.10/src/lib/libast/misc/optget.c:3905:10: note: ts is assigned 'ip->stop' here. ksh-1.0.10/src/lib/libast/misc/optget.c:3911:8: note: Variable 'ts' is assigned an expression that holds the same value. ksh-1.0.10/src/lib/libast/misc/optget.c:335:17: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] ksh-1.0.10/src/lib/libast/misc/optget.c:661:8: style: Variable 'xw' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/misc/optget.c:662:8: style: Variable 'ww' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/misc/optget.c:778:8: style: Variable 'e' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/misc/optget.c:794:9: style: Variable 'e' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/misc/optget.c:837:23: style: Parameter 'e' can be declared as pointer to const [constParameterPointer] ksh-1.0.10/src/lib/libast/misc/optget.c:901:8: style: Variable 'u' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/misc/optget.c:1183:8: style: Variable 'b' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/misc/optget.c:1210:89: style: Parameter 'id' can be declared as pointer to const [constParameterPointer] ksh-1.0.10/src/lib/libast/misc/optget.c:1210:99: style: Parameter 'catalog' can be declared as pointer to const [constParameterPointer] ksh-1.0.10/src/lib/libast/misc/optget.c:1213:9: style: Variable 'u' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/misc/optget.c:1260:14: style: Variable 'save_s' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/misc/optget.c:1688:8: style: Variable 't' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/sfio/_sfopen.c:40:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_STRING [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/sfio/_sfopen.c:141:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_WRITE [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/misc/optget.c:4942:13: style: Variable 'psp' is assigned a value that is never used. [unreadVariable] ksh-1.0.10/src/lib/libast/sfio/_sfputd.c:32:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Sfdouble_t [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/regex/regnexec.c:775:10: style: Condition '!++n' is always false [knownConditionTrueFalse] ksh-1.0.10/src/lib/libast/regex/regnexec.c:1984:105: style: Condition '!(advance=0)' is always true [knownConditionTrueFalse] ksh-1.0.10/src/lib/libast/regex/regnexec.c:1925:15: style: Local variable 'm' shadows outer variable [shadowVariable] ksh-1.0.10/src/lib/libast/regex/regnexec.c:1865:7: note: Shadowed declaration ksh-1.0.10/src/lib/libast/regex/regnexec.c:1925:15: note: Shadow variable ksh-1.0.10/src/lib/libast/regex/regnexec.c:313:3: warning: Redundant code: Found a statement that begins with numeric constant. [constStatement] ksh-1.0.10/src/lib/libast/regex/regnexec.c:405:2: warning: Redundant code: Found a statement that begins with numeric constant. [constStatement] ksh-1.0.10/src/lib/libast/regex/regnexec.c:444:3: warning: Redundant code: Found a statement that begins with numeric constant. [constStatement] ksh-1.0.10/src/lib/libast/regex/regnexec.c:449:1: warning: Redundant code: Found a statement that begins with numeric constant. [constStatement] ksh-1.0.10/src/lib/libast/regex/regnexec.c:817:1: warning: Redundant code: Found a statement that begins with numeric constant. [constStatement] ksh-1.0.10/src/lib/libast/regex/regnexec.c:1041:4: warning: Redundant code: Found a statement that begins with numeric constant. [constStatement] ksh-1.0.10/src/lib/libast/regex/regnexec.c:1073:4: warning: Redundant code: Found a statement that begins with numeric constant. [constStatement] ksh-1.0.10/src/lib/libast/regex/regnexec.c:1182:1: warning: Redundant code: Found a statement that begins with numeric constant. [constStatement] ksh-1.0.10/src/lib/libast/regex/regnexec.c:1204:1: warning: Redundant code: Found a statement that begins with numeric constant. [constStatement] ksh-1.0.10/src/lib/libast/regex/regnexec.c:1691:4: warning: Redundant code: Found a statement that begins with numeric constant. [constStatement] ksh-1.0.10/src/lib/libast/regex/regnexec.c:1700:1: warning: Redundant code: Found a statement that begins with numeric constant. [constStatement] ksh-1.0.10/src/lib/libast/regex/regnexec.c:1717:1: warning: Redundant code: Found a statement that begins with numeric constant. [constStatement] ksh-1.0.10/src/lib/libast/regex/regnexec.c:1871:2: warning: Redundant code: Found a statement that begins with numeric constant. [constStatement] ksh-1.0.10/src/lib/libast/regex/regnexec.c:1878:3: warning: Redundant code: Found a statement that begins with numeric constant. [constStatement] ksh-1.0.10/src/lib/libast/regex/regnexec.c:1911:3: warning: Redundant code: Found a statement that begins with numeric constant. [constStatement] ksh-1.0.10/src/lib/libast/regex/regnexec.c:1914:4: warning: Redundant code: Found a statement that begins with numeric constant. [constStatement] ksh-1.0.10/src/lib/libast/regex/regnexec.c:1928:4: warning: Redundant code: Found a statement that begins with numeric constant. [constStatement] ksh-1.0.10/src/lib/libast/regex/regnexec.c:1935:6: warning: Redundant code: Found a statement that begins with numeric constant. [constStatement] ksh-1.0.10/src/lib/libast/regex/regnexec.c:1983:2: warning: Redundant code: Found a statement that begins with numeric constant. [constStatement] ksh-1.0.10/src/lib/libast/sfio/_sfputl.c:33:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Sflong_t [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/regex/regnexec.c:249:14: style: Variable 'e' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/regex/regnexec.c:277:28: style: Parameter 'rex' can be declared as pointer to const [constParameterPointer] ksh-1.0.10/src/lib/libast/regex/regnexec.c:302:49: style: Parameter 'oend' can be declared as pointer to const [constParameterPointer] ksh-1.0.10/src/lib/libast/regex/regnexec.c:302:62: style: Parameter 'nend' can be declared as pointer to const [constParameterPointer] ksh-1.0.10/src/lib/libast/regex/regnexec.c:498:17: style: Variable 'p' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/regex/regnexec.c:648:56: style: Parameter 'e' can be declared as pointer to const [constParameterPointer] ksh-1.0.10/src/lib/libast/regex/regnexec.c:803:8: style: Variable 'f' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/regex/regnexec.c:1036:11: style: Variable 'pos' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/regex/regnexec.c:1922:12: style: Variable 'skip' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/regex/regnexec.c:1923:12: style: Variable 'fail' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/sfio/_sfputm.c:34:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Sfulong_t [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/regex/regnexec.c:255:59: warning: Expression 'num-1' can have a negative value. That is converted to an unsigned value and used in an unsigned calculation. [signConversion] ksh-1.0.10/src/lib/libast/regex/regnexec.c:254:9: note: Assignment 'num=0', assigned value is 0 ksh-1.0.10/src/lib/libast/regex/regnexec.c:255:59: note: Negative value is converted to an unsigned value ksh-1.0.10/src/lib/libast/sfio/_sfputu.c:33:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Sfulong_t [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/sfio/sfclrlock.c:36:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_ERROR [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/sfio/sfcvt.c:44:0: error: #error "This is an invalid test for NaN" [preprocessorErrorDirective] ksh-1.0.10/src/lib/libast/sfio/sfclose.c:36:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_INIT [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/sfio/sfdlen.c:41:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Sfdouble_t [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/sfio/sfdisc.c:50:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_FINAL [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/sfio/sfdisc.c:103:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_READ [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/sfio/sfexcept.c:41:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_EOF [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/sfio/sffilbuf.c:50:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_READ [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/sfio/sfdisc.c:132:10: style: The comparison 'rv == 0' is always true. [knownConditionTrueFalse] ksh-1.0.10/src/lib/libast/sfio/sfdisc.c:131:14: note: 'rv' is assigned value '0' here. ksh-1.0.10/src/lib/libast/sfio/sfdisc.c:132:10: note: The comparison 'rv == 0' is always true. ksh-1.0.10/src/lib/libast/sfio/sfdisc.c:71:10: style: Checking if unsigned expression 'size' is less than zero. [unsignedLessThanZero] ksh-1.0.10/src/lib/libast/sfio/sfdisc.c:55:34: style: Parameter 'f' can be declared as pointer to const. However it seems that '_dccaread' is a callback function, if 'f' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ksh-1.0.10/src/lib/libast/sfio/sfdisc.c:152:23: note: You might need to cast the function pointer here ksh-1.0.10/src/lib/libast/sfio/sfdisc.c:55:34: note: Parameter 'f' can be declared as pointer to const ksh-1.0.10/src/lib/libast/sfio/sfgetd.c:35:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_READ [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/sfio/sfflsbuf.c:43:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_WRITE [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/sfio/sfgetd.c:28:14: style: Variable 'ends' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/sfio/sfgetl.c:32:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_READ [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/sfio/sfgetl.c:29:14: style: Variable 'ends' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/sfio/sfgetm.c:32:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_READ [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/sfio/sfgetm.c:29:14: style: Variable 'ends' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/sfio/sfgetr.c:36:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_READ [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/sfio/sfgetu.c:32:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_READ [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/sfio/sfgetu.c:29:14: style: Variable 'ends' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/sfio/sfllen.c:29:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_SBITS [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/sfio/sfgetr.c:126:3: style: Variable 's' is assigned a value that is never used. [unreadVariable] ksh-1.0.10/src/lib/libast/sfio/sfgetr.c:126:3: style: Variable 'ends' is assigned a value that is never used. [unreadVariable] ksh-1.0.10/src/lib/libast/sfio/sfmode.c:81:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_STRING [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/sfio/sfmode.c:190:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_WRITE [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/sfio/sfmode.c:221:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINTR [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/sfio/sfmode.c:253:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_WRITE [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/sfio/sfmode.c:302:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_READ [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/sfio/sfnew.c:38:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_RDWR [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/sfio/sfnew.c:52:4: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] ksh-1.0.10/src/lib/libast/sfio/sfnew.c:103:18: style: Checking if unsigned expression 'size' is less than zero. [unsignedLessThanZero] ksh-1.0.10/src/lib/libast/sfio/sfmove.c:70:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_READ [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/sfio/sfmode.c:59:12: style: Variable 'p' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/sfio/sfmode.c:64:4: style: Variable 'f' is assigned a value that is never used. [unreadVariable] ksh-1.0.10/src/lib/libast/sfio/sfnputc.c:39:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_WRITE [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/sfio/sfnputc.c:63:45: style: Checking if unsigned expression 'n-=p' is less than zero. [unsignedLessThanZero] ksh-1.0.10/src/lib/libast/sfio/sfpeek.c:35:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_INIT [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/sfio/sfpoll.c:58:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_IOINTR [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/sfio/sfpkrd.c:145:9: style: Condition 'r==-2' is always true [knownConditionTrueFalse] ksh-1.0.10/src/lib/libast/sfio/sfpkrd.c:114:10: note: Assignment 'r=-2', assigned value is -2 ksh-1.0.10/src/lib/libast/sfio/sfpkrd.c:145:9: note: Condition 'r==-2' is always true ksh-1.0.10/src/lib/libast/sfio/sfpkrd.c:149:9: style: Condition 'r>0' is always false [knownConditionTrueFalse] ksh-1.0.10/src/lib/libast/sfio/sfpkrd.c:114:10: note: Assignment 'r=-2', assigned value is -2 ksh-1.0.10/src/lib/libast/sfio/sfpkrd.c:149:9: note: Condition 'r>0' is always false ksh-1.0.10/src/lib/libast/sfio/sfpkrd.c:58:31: style: Variable 'endbuf' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/sfio/sfpkrd.c:206:10: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/sfio/sfpoll.c:223:2: style: Label 'report' is not used. [unusedLabel] ksh-1.0.10/src/lib/libast/sfio/sfpopen.c:50:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_READ [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/sfio/sfpool.c:69:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_SHARE [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/sfio/sfpool.c:96:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_SHARE [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/sfio/sfpool.c:162:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mode [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/sfio/sfpool.c:224:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_RDWR [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/sfio/sfpopen.c:42:10: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] ksh-1.0.10/src/lib/libast/sfio/sfprintf.c:44:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_UNBOUND [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/sfio/sfpool.c:223:5: style: Condition 'f' is always true [knownConditionTrueFalse] ksh-1.0.10/src/lib/libast/sfio/sfpool.c:50:11: style: Redundant initialization for 'last'. The initialized value is overwritten before it is read. [redundantInitialization] ksh-1.0.10/src/lib/libast/sfio/sfpool.c:47:21: note: last is initialized ksh-1.0.10/src/lib/libast/sfio/sfpool.c:50:11: note: last is overwritten ksh-1.0.10/src/lib/libast/sfio/sfprints.c:36:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_UNBOUND [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/sfio/sfprints.c:64:8: style: Variable 's' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/sfio/sfpurge.c:31:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_RDWR [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/sfio/sfputr.c:33:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_WRITE [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/sfio/sfraise.c:61:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_NEW [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/sfio/sfraise.c:52:26: style: Variable 'd' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/sfio/sfputr.c:31:9: style: Variable 'ss' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/sfio/sfrd.c:40:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_WRITE [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/sfio/sfrd.c:72:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_READ [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/sfio/sfread.c:45:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_READ [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/sfio/sfrd.c:87:22: style: Variable 'f->endb' is reassigned a value before the old one has been used. [redundantAssignment] ksh-1.0.10/src/lib/libast/sfio/sfrd.c:78:14: note: f->endb is assigned ksh-1.0.10/src/lib/libast/sfio/sfrd.c:87:22: note: f->endb is overwritten ksh-1.0.10/src/lib/libast/sfio/sfread.c:93:8: style: Checking if unsigned expression 'n' is less than zero. [unsignedLessThanZero] ksh-1.0.10/src/lib/libast/sfio/sfread.c:30:14: style: Variable 'begs' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/sfio/sfresize.c:29:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_WRITE [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/sfio/sfreserve.c:43:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_WRITE [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/sfio/sfscanf.c:45:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_STRING [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/sfio/sfseek.c:36:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_WRITE [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/sfio/sfseek.c:55:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_SHARE [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/sfio/sfset.c:35:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_FLAGS [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/sfio/sfmove.c:38:10: style: Variable 'endb' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/sfio/sfsetbuf.c:73:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_LINE [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/sfio/sfsetbuf.c:109:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _Sfi [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/sfio/sfsetfd.c:43:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINTR [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/sfio/sfsetfd.c:56:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_STRING [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/sfio/sfsize.c:31:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_RDWR [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/sfio/sfsk.c:37:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_RDWR [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/sfio/sfstack.c:34:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_RDWR [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/sfio/sfswap.c:57:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Sfio_t [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/sfio/sfsync.c:49:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_STRING [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/sfio/sfsync.c:94:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_READ [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/sfio/sftable.c:129:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fmt [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/sfio/sftell.c:32:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_RDWR [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/sfio/sfsetbuf.c:296:6: style: Variable 'errno' is assigned an expression that holds the same value. [redundantAssignment] ksh-1.0.10/src/lib/libast/sfio/sfsetbuf.c:270:18: note: oerrno is assigned 'errno' here. ksh-1.0.10/src/lib/libast/sfio/sfsetbuf.c:296:6: note: Variable 'errno' is assigned an expression that holds the same value. ksh-1.0.10/src/lib/libast/sfio/sftmp.c:122:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINTR [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/sfio/sftmp.c:169:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_DBUFFER [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/sfio/sftmp.c:248:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_STRING [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/sfio/sfungetc.c:35:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_CLOSING [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/sfio/sfungetc.c:46:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_READ [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/sfio/sfungetc.c:26:63: style: Parameter 'disc' can be declared as pointer to const. However it seems that '_uexcept' is a callback function, if 'disc' is declared with const you might also need to cast function pointer(s). [constParameterCallback] ksh-1.0.10/src/lib/libast/sfio/sfungetc.c:63:23: note: You might need to cast the function pointer here ksh-1.0.10/src/lib/libast/sfio/sfungetc.c:26:63: note: Parameter 'disc' can be declared as pointer to const ksh-1.0.10/src/lib/libast/sfio/sftmp.c:106:27: style: Parameter 'f' can be declared as pointer to const [constParameterPointer] ksh-1.0.10/src/lib/libast/sfio/sftmp.c:106:36: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] ksh-1.0.10/src/lib/libast/sfio/sftable.c:528:26: error: Buffer is accessed out of bounds: (char*)flt_nan [bufferAccessOutOfBounds] ksh-1.0.10/src/lib/libast/sfio/sftable.c:529:26: error: Buffer is accessed out of bounds: (char*)flt_inf [bufferAccessOutOfBounds] ksh-1.0.10/src/lib/libast/sfio/sftable.c:530:26: error: Buffer is accessed out of bounds: (char*)dbl_nan [bufferAccessOutOfBounds] ksh-1.0.10/src/lib/libast/sfio/sftable.c:531:26: error: Buffer is accessed out of bounds: (char*)dbl_inf [bufferAccessOutOfBounds] ksh-1.0.10/src/lib/libast/sfio/sftable.c:536:26: error: Buffer is accessed out of bounds: (char*)dbl_nan [bufferAccessOutOfBounds] ksh-1.0.10/src/lib/libast/sfio/sftable.c:537:26: error: Buffer is accessed out of bounds: (char*)dbl_inf [bufferAccessOutOfBounds] ksh-1.0.10/src/lib/libast/sfio/sftable.c:528:9: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] ksh-1.0.10/src/lib/libast/sfio/sftable.c:529:9: portability:inconclusive: Casting from float * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] ksh-1.0.10/src/lib/libast/sfio/sftable.c:530:9: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] ksh-1.0.10/src/lib/libast/sfio/sftable.c:531:9: portability:inconclusive: Casting from double * to char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] ksh-1.0.10/src/lib/libast/sfio/sftable.c:159:4: style: Variable 'lv' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/sfio/sfvprintf.c:157:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_WRITE [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/sfio/sfwalk.c:35:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mode [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/sfio/sfvprintf.c:1062:11: warning: Opposite inner 'if' condition leads to a dead code block. [oppositeInnerCondition] ksh-1.0.10/src/lib/libast/sfio/sfvprintf.c:1060:10: note: outer condition: v<0 ksh-1.0.10/src/lib/libast/sfio/sfvprintf.c:1062:11: note: opposite inner condition: v==(~((~((unsigned int)0))>>1)) ksh-1.0.10/src/lib/libast/sfio/sfwr.c:129:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_WRITE [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/regex/regcomp.c:1631:36: style: Condition '!(c=0)' is always true [knownConditionTrueFalse] ksh-1.0.10/src/lib/libast/regex/regcomp.c:1633:41: style: Condition '!(c=0)' is always true [knownConditionTrueFalse] ksh-1.0.10/src/lib/libast/regex/regcomp.c:2951:7: style: Condition '!(z=n-m-1)' is always true [knownConditionTrueFalse] ksh-1.0.10/src/lib/libast/regex/regcomp.c:2949:16: note: Assuming that condition 'm=(n-1)' is not redundant ksh-1.0.10/src/lib/libast/regex/regcomp.c:2984:21: note: Calling function 'bmstr', 4th argument 'n' value is 1 ksh-1.0.10/src/lib/libast/regex/regcomp.c:2949:11: note: Assignment 'm=0', assigned value is 0 ksh-1.0.10/src/lib/libast/regex/regcomp.c:2951:7: note: Condition '!(z=n-m-1)' is always true ksh-1.0.10/src/lib/libast/sfio/sfvprintf.c:135:13: style: Variable 'endd' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/sfio/sfvprintf.c:304:4: style: Variable 'lv' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/sfio/sfvprintf.c:309:4: style: Variable 'lv' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/sfio/sfvprintf.c:1234:4: style: Variable 'lv' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/sfio/sfvprintf.c:1276:4: style: Variable 'lv' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/sfio/sfvprintf.c:556:15: error: Overlapping read/write of union is undefined behavior [overlappingWriteUnion] ksh-1.0.10/src/lib/libast/sfio/sfvprintf.c:557:19: error: Overlapping read/write of union is undefined behavior [overlappingWriteUnion] ksh-1.0.10/src/lib/libast/sfio/sfvprintf.c:561:15: error: Overlapping read/write of union is undefined behavior [overlappingWriteUnion] ksh-1.0.10/src/lib/libast/sfio/sfvprintf.c:562:19: error: Overlapping read/write of union is undefined behavior [overlappingWriteUnion] ksh-1.0.10/src/lib/libast/sfio/sfvprintf.c:567:14: error: Overlapping read/write of union is undefined behavior [overlappingWriteUnion] ksh-1.0.10/src/lib/libast/sfio/sfvprintf.c:571:14: error: Overlapping read/write of union is undefined behavior [overlappingWriteUnion] ksh-1.0.10/src/lib/libast/sfio/sfvprintf.c:850:14: error: Overlapping read/write of union is undefined behavior [overlappingWriteUnion] ksh-1.0.10/src/lib/libast/sfio/sfwr.c:32:14: style: Variable 'wbuf' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/regex/regcomp.c:140:2: warning: Redundant code: Found a statement that begins with numeric constant. [constStatement] ksh-1.0.10/src/lib/libast/regex/regcomp.c:3101:5: warning: Redundant code: Found a statement that begins with numeric constant. [constStatement] ksh-1.0.10/src/lib/libast/regex/regcomp.c:3107:8: warning: Redundant code: Found a statement that begins with numeric constant. [constStatement] ksh-1.0.10/src/lib/libast/regex/regcomp.c:3119:6: warning: Redundant code: Found a statement that begins with numeric constant. [constStatement] ksh-1.0.10/src/lib/libast/regex/regcomp.c:640:9: style: Variable 'mp' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/regex/regcomp.c:1027:17: style: Variable 'e' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/regex/regcomp.c:1178:17: style: Variable 'start' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/regex/regcomp.c:1179:17: style: Variable 'begin' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/regex/regcomp.c:1423:13: style: Variable 'xc' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/regex/regcomp.c:1890:17: style: Parameter 'e' can be declared as pointer to const [constParameterPointer] ksh-1.0.10/src/lib/libast/regex/regcomp.c:1919:17: style: Variable 'e' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/regex/regcomp.c:2006:17: style: Variable 'p' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/regex/regcomp.c:2592:17: style: Variable 't' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/regex/regcomp.c:2593:17: style: Variable 'u' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/regex/regcomp.c:2943:45: style: Parameter 'v' can be declared as pointer to const [constParameterPointer] ksh-1.0.10/src/lib/libast/sfio/sfwrite.c:44:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_WRITE [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/regex/regcomp.c:3015:17: style: Variable 's' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/regex/regcomp.c:1937:28: warning: Uninitialized variable: *s [uninitvar] ksh-1.0.10/src/lib/libast/regex/regcomp.c:1927:9: note: Assignment 's=tmp', assigned value is ksh-1.0.10/src/lib/libast/regex/regcomp.c:1937:28: note: Uninitialized variable: *s ksh-1.0.10/src/lib/libast/sfio/sfstrtof.h:201:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AST_LC_NUMERIC [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/sfio/sfvscanf.c:141:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFFMT_LONG [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/sfio/sfvscanf.c:317:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_READ [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/stdio/_stdprintf.c:31:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sfstdout [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/stdio/_stdscanf.c:31:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sfstdin [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/sfio/sfwrite.c:135:15: style: Checking if unsigned expression 'n-=w' is less than zero. [unsignedLessThanZero] ksh-1.0.10/src/lib/libast/sfio/sfwrite.c:55:10: style: Local variable 'buf' shadows outer argument [shadowArgument] ksh-1.0.10/src/lib/libast/sfio/sfwrite.c:27:15: note: Shadowed declaration ksh-1.0.10/src/lib/libast/sfio/sfwrite.c:55:10: note: Shadow variable ksh-1.0.10/src/lib/libast/sfio/sfwrite.c:30:14: style: Variable 'begs' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/stdio/_stdsprnt.c:31:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_BUFSIZE [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/stdio/_stdvsscn.c:25:19: style: Parameter 's' can be declared as pointer to const [constParameterPointer] ksh-1.0.10/src/lib/libast/stdio/fcloseall.c:36:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _Sfpool [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/regex/regcomp.c:1922:16: style: Variable 'tmp' is not assigned a value. [unassignedVariable] ksh-1.0.10/src/lib/libast/stdio/fdopen.c:29:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_UNBOUND [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/stdio/fflush.c:33:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_PUBLIC [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/stdio/fgets.c:29:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_READ [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/stdio/fgets.c:83:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sfstdin [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/stdio/fmemopen.c:25:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_STRING [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/stdio/fseek.c:25:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_SHARE [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/stdio/fseeko.c:25:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_SHARE [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/stdio/fsetpos.c:25:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_PUBLIC [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/stdio/getdelim.c:35:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_READ [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/stdio/printf.c:29:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sfstdout [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/stdio/puts.c:25:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sfstdout [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/stdio/popen.c:25:17: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] ksh-1.0.10/src/lib/libast/stdio/getdelim.c:40:39: style: Condition '(n=*np)<0' is always false [knownConditionTrueFalse] ksh-1.0.10/src/lib/libast/stdio/getdelim.c:62:9: error: Common realloc mistake: 's' nulled but not freed upon failure [memleakOnRealloc] ksh-1.0.10/src/lib/libast/stdio/rewind.c:25:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_PUBLIC [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/stdio/scanf.c:29:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sfstdin [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/stdio/setlinebuf.c:25:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_LINE [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/stdio/setvbuf.c:26:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_LINE [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/stdio/stdio_c99.c:75:22: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] ksh-1.0.10/src/lib/libast/stdio/stdio_c99.c:87:23: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] ksh-1.0.10/src/lib/libast/stdio/vprintf.c:25:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sfstdout [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/stdio/vscanf.c:25:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sfstdin [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/stdio/vsprintf.c:25:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_BUFSIZE [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/stdio/vsnprintf.c:29:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_UNBOUND [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/string/ccmapid.c:144:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STR_MAXIMAL [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/string/chresc.c:60:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FMT_EXP_CHAR [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/string/chresc.c:230:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FMT_EXP_LINE [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/string/ccmap.c:648:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CC_NATIVE [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/string/chresc.c:197:58: style: Condition 'w=1' is always true [knownConditionTrueFalse] ksh-1.0.10/src/lib/libast/string/chresc.c:152:27: warning: Either the condition '!e' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] ksh-1.0.10/src/lib/libast/string/chresc.c:189:11: note: Assuming that condition '!e' is not redundant ksh-1.0.10/src/lib/libast/string/chresc.c:158:13: note: Assignment to 'e=s' ksh-1.0.10/src/lib/libast/string/chresc.c:152:27: note: Null pointer addition ksh-1.0.10/src/lib/libast/string/chresc.c:152:48: warning: Either the condition '!e' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] ksh-1.0.10/src/lib/libast/string/chresc.c:189:11: note: Assuming that condition '!e' is not redundant ksh-1.0.10/src/lib/libast/string/chresc.c:158:13: note: Assignment to 'e=s' ksh-1.0.10/src/lib/libast/string/chresc.c:152:48: note: Null pointer addition ksh-1.0.10/src/lib/libast/string/ccmap.c:626:17: style: Variable 'a' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/string/ccmap.c:628:17: style: Variable 'z' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/string/ccmap.c:678:26: style: Parameter 'm' can be declared as pointer to const [constParameterPointer] ksh-1.0.10/src/lib/libast/string/ccmap.c:681:17: style: Variable 'ue' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/string/ccmap.c:682:17: style: Variable 'ua' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/string/ccmap.c:698:26: style: Parameter 'm' can be declared as pointer to const [constParameterPointer] ksh-1.0.10/src/lib/libast/string/ccmap.c:701:17: style: Variable 'e' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/string/fmtclock.c:42:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CONF_CLK_TCK [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/string/fmtesc.c:74:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FMT_SHELL [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/string/fmtelapsed.c:36:8: style: Condition 'u==~0L' is always false [knownConditionTrueFalse] ksh-1.0.10/src/lib/libast/string/fmtelapsed.c:34:8: note: Assuming that condition 'u==0L' is not redundant ksh-1.0.10/src/lib/libast/string/fmtelapsed.c:36:8: note: Condition 'u==~0L' is always false ksh-1.0.10/src/lib/libast/string/base64.c:52:17: style: Variable 'te' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/string/base64.c:53:17: style: Variable 'tc' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/string/base64.c:162:17: style: Variable 'fe' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/string/base64.c:163:17: style: Variable 'te' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/string/base64.c:99:6: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] ksh-1.0.10/src/lib/libast/string/base64.c:128:5: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] ksh-1.0.10/src/lib/libast/string/fmtfs.c:69:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Dtset [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/string/fmtgid.c:63:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Dtset [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/string/fmtgid.c:67:11: portability: Non reentrant function 'getgrgid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrgid_r'. [prohibitedgetgrgidCalled] ksh-1.0.10/src/lib/libast/string/fmtgid.c:53:16: style: Variable 'gr' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/string/fmtident.c:34:8: style: Variable 't' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/string/fmtls.c:55:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LS_INUMBER [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/string/fmtip6.c:53:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IP6ADDR [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/string/fmtip6.c:31:20: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] ksh-1.0.10/src/lib/libast/string/fmtmatch.c:40:8: style: Variable 'z' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/string/fmtperm.c:43:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_ISVTX [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/string/fmtscale.c:40:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AST_LC_NUMERIC [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/string/fmtsignal.c:38:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sigmax [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/string/fmttmx.c:31:8: style: Variable 'e' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/string/fmttv.c:35:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TV_NSEC_IGNORE [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/string/fmtuid.c:63:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Dtset [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/string/fmtversion.c:32:8: style: Variable 'end' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/string/fmtuid.c:67:11: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] ksh-1.0.10/src/lib/libast/string/fmtuid.c:53:17: style: Variable 'pw' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/string/modex.c:54:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable X_IFREG [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/string/stracmp.c:38:17: style: Variable 'a' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/string/stracmp.c:39:17: style: Variable 'b' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/string/stracmp.c:40:17: style: Variable 'm' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/string/strerror.c:67:27: warning: Either the condition 'err>0' is redundant or the array 'sys_errlist[1]' is accessed at index 1, which is out of bounds. [arrayIndexOutOfBoundsCond] ksh-1.0.10/src/lib/libast/string/strerror.c:66:10: note: Assuming that condition 'err>0' is not redundant ksh-1.0.10/src/lib/libast/string/strerror.c:67:27: note: Array index out of bounds ksh-1.0.10/src/lib/libast/string/stresc.c:62:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FMT_EXP_CHAR [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/string/strgid.c:73:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Dtset [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/string/strgid.c:77:11: portability: Non reentrant function 'getgrnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrnam_r'. [prohibitedgetgrnamCalled] ksh-1.0.10/src/lib/libast/string/strgid.c:79:16: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] ksh-1.0.10/src/lib/libast/string/strgid.c:99:14: portability: Non reentrant function 'getgrgid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrgid_r'. [prohibitedgetgrgidCalled] ksh-1.0.10/src/lib/libast/string/strgid.c:62:16: style: Variable 'gr' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/string/strgid.c:63:17: style: Variable 'pw' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/string/strexpr.c:77:8: style: Variable 'pos' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/string/strexpr.c:129:5: warning: In expression like '*A++' the result of '*' is unused. Did you intend to write '(*A)++;'? [clarifyStatement] ksh-1.0.10/src/lib/libast/string/strexpr.c:210:6: warning: In expression like '*A++' the result of '*' is unused. Did you intend to write '(*A)++;'? [clarifyStatement] ksh-1.0.10/src/lib/libast/sfio/sfstrtof.h:256:9: style: Suspicious condition (assignment + comparison); Clarify expression with parentheses. [clarifyCondition] ksh-1.0.10/src/lib/libast/sfio/sfvscanf.c:321:2: style: Suspicious condition (assignment + comparison); Clarify expression with parentheses. [clarifyCondition] ksh-1.0.10/src/lib/libast/sfio/sfstrtof.h:394:26: style: Redundant condition: c==thousand. 'c!=thousand || (c==thousand && decimal==-1)' is equivalent to 'c!=thousand || decimal==-1' [redundantCondition] ksh-1.0.10/src/lib/libast/string/strlook.c:39:8: style: Variable 's' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/string/strmatch.c:96:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STR_INT [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/string/strmatch.c:174:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STR_MAXIMAL [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/string/strmatch.c:190:83: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STR_LEFT [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/sfio/sfvscanf.c:276:9: style: Variable 'sp' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/sfio/sfvscanf.c:333:2: style: Variable 'lv' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/sfio/sfstrtof.h:184:17: style: Variable 'cv' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/sfio/sfstrtof.h:201:2: style: Variable 'lv' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/string/strmatch.c:78:11: style: Variable 'end' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/string/strmatch.c:146:8: style: Variable 'endi' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/sfio/sfstrtof.h:337:6: style: Variable 'c' is assigned a value that is never used. [unreadVariable] ksh-1.0.10/src/lib/libast/string/strtoi.h:231:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_RADIX [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/string/strtoi.h:241:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_RADIX [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/string/fmtesc.c:48:17: style: Variable 'e' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/string/fmtesc.c:58:9: style: Variable 'f' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/string/strtoi.h:206:17: style: Variable 'z' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/string/strtoi.h:213:17: style: Variable 'cv' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/string/strtoi.h:214:17: style: Variable 'b' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/string/strtoi.h:210:9: style: Variable 'c' is assigned a value that is never used. [unreadVariable] ksh-1.0.10/src/lib/libast/string/strtoi.h:344:7: style: Variable 'c' is assigned a value that is never used. [unreadVariable] ksh-1.0.10/src/lib/libast/string/strtoi.h:412:5: style: Variable 'c' is assigned a value that is never used. [unreadVariable] ksh-1.0.10/src/lib/libast/string/strtoi.h:215:17: style: Variable 'k' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/string/strperm.c:67:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_ISVTX [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/string/strperm.c:42:8: style: Variable 'expr' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/string/strtoip6.c:40:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IP6ADDR [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/string/strpsearch.c:70:103: style: Condition 'v=1' is always true [knownConditionTrueFalse] ksh-1.0.10/src/lib/libast/string/strpsearch.c:52:9: style: Variable 'hi' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/string/strpsearch.c:57:17: style: Variable 's' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/string/strtoip4.c:91:5: style: Suspicious condition (assignment + comparison); Clarify expression with parentheses. [clarifyCondition] ksh-1.0.10/src/lib/libast/string/struid.c:67:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Dtset [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/string/struid.c:71:11: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] ksh-1.0.10/src/lib/libast/string/struid.c:87:14: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] ksh-1.0.10/src/lib/libast/string/struid.c:57:17: style: Variable 'pw' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/string/swapget.c:36:17: style: Variable 'p' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/string/tok.c:110:10: style: The statement 'if (*s!=p->chr) *s=p->chr' is logically equivalent to '*s=p->chr'. [duplicateConditionalAssign] ksh-1.0.10/src/lib/libast/string/tok.c:111:7: note: Assignment '*s=p->chr' ksh-1.0.10/src/lib/libast/string/tok.c:110:10: note: Condition '*s!=p->chr' is redundant ksh-1.0.10/src/lib/libast/string/tokline.c:128:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_STRING [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/string/tokline.c:172:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_STRING [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/string/tokscan.c:244:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable va_listarg [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/string/tokline.c:58:9: style: Variable 'b' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/string/tokline.c:63:9: style: Variable 'e' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/string/tokline.c:161:9: style: Variable 'e' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/string/tokscan.c:203:4: error: va_start() or va_copy() called subsequently on 'ap' without va_end() in between. [va_start_subsequentCalls] ksh-1.0.10/src/lib/libast/string/tokscan.c:203:4: error: va_list 'prv_ap' used before va_start() was called. [va_list_usedBeforeStarted] ksh-1.0.10/src/lib/libast/string/strtoi.h:275:39: style: Same expression '1' found multiple times in chain of '&&' operators. [duplicateExpression] ksh-1.0.10/src/lib/libast/tm/tmfix.c:67:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TMX_RESOLUTION [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/tm/tmlex.c:53:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable format [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/tm/tmfix.c:46:8: style: Variable 'p' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/tm/tminit.c:176:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable deformat [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/tm/tminit.c:249:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable zone [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/tm/tminit.c:448:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable env_serial [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/tm/tmpoff.c:42:8: style: Variable 'e' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/tm/tmlocale.c:50:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_debug [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/tm/tmlocale.c:101:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TM_NFORM [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/tm/tmlocale.c:560:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/tm/tmlocale.c:627:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable format [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/tm/tmtype.c:46:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable local [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/tm/tminit.c:128:13: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] ksh-1.0.10/src/lib/libast/tm/tminit.c:136:8: portability: Non reentrant function 'gmtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gmtime_r'. [prohibitedgmtimeCalled] ksh-1.0.10/src/lib/libast/tm/tminit.c:118:13: style: Variable 'tp' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/tm/tminit.c:206:14: style: Variable 'tp' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/tm/tmxduration.c:41:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TMX_NOW [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/tm/tmxfmt.c:127:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable deformat [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/tm/tmxleap.c:41:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable flags [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/tm/tmxleap.c:37:13: style: Variable 'lp' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/tm/tmxmake.c:54:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable flags [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/tm/tmxmake.c:39:14: style: Variable 'tp' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/tm/tmxmake.c:40:14: style: Variable 'lp' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/tm/tmxmake.c:103:4: style: Variable 'n' is assigned a value that is never used. [unreadVariable] ksh-1.0.10/src/lib/libast/tm/tmxfmt.c:706:3: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] ksh-1.0.10/src/lib/libast/tm/tmxfmt.c:43:23: style: Parameter 'e' can be declared as pointer to const [constParameterPointer] ksh-1.0.10/src/lib/libast/tm/tmxtime.c:61:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TMX_MAXYEAR [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/tm/tmxtouch.c:46:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TMX_NOTIME [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/tm/tmxtime.c:46:13: style: Variable 'lp' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/tm/tmxtime.c:51:13: style: Variable 'tl' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/tm/tvcmp.c:34:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TV_NSEC_IGNORE [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/tm/tmzone.c:59:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TM_LOCALZONE [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/tm/tvsettime.c:59:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/tm/tvsleep.c:147:13: style: Comparing expression of type 'unsigned int' against value 4294967295. Condition is always false. [compareValueOutOfTypeRangeError] ksh-1.0.10/src/lib/libast/tm/tmxscan.c:191:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TM_LOCALZONE [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/tm/tvtouch.c:95:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libcmd/basename.c:30:15: error: There is an unknown macro here somewhere. Configuration is required. If ERROR_CATALOG is a macro then please configure it. [unknownMacro] ksh-1.0.10/src/lib/libcmd/cat.c:32:15: error: There is an unknown macro here somewhere. Configuration is required. If ERROR_CATALOG is a macro then please configure it. [unknownMacro] ksh-1.0.10/src/lib/libcmd/chgrp.c:29:15: error: There is an unknown macro here somewhere. Configuration is required. If ERROR_CATALOG is a macro then please configure it. [unknownMacro] ksh-1.0.10/src/lib/libcmd/chmod.c:29:15: error: There is an unknown macro here somewhere. Configuration is required. If ERROR_CATALOG is a macro then please configure it. [unknownMacro] ksh-1.0.10/src/lib/libast/tm/tvtouch.c:253:4: error: Resource handle 'fd' freed twice. [doubleFree] ksh-1.0.10/src/lib/libast/tm/tvtouch.c:249:5: note: Resource handle 'fd' freed twice. ksh-1.0.10/src/lib/libast/tm/tvtouch.c:253:4: note: Resource handle 'fd' freed twice. ksh-1.0.10/src/lib/libast/tm/tvtouch.c:90:10: style: Unused variable: am [unusedVariable] ksh-1.0.10/src/lib/libcmd/cmdinit.c:34:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERROR_CALLBACK [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libcmd/cksum.c:28:15: error: There is an unknown macro here somewhere. Configuration is required. If ERROR_CATALOG is a macro then please configure it. [unknownMacro] ksh-1.0.10/src/lib/libcmd/comm.c:28:15: error: There is an unknown macro here somewhere. Configuration is required. If ERROR_CATALOG is a macro then please configure it. [unknownMacro] ksh-1.0.10/src/lib/libcmd/cmp.c:29:15: error: There is an unknown macro here somewhere. Configuration is required. If ERROR_CATALOG is a macro then please configure it. [unknownMacro] ksh-1.0.10/src/lib/libcmd/cp.c:28:15: error: There is an unknown macro here somewhere. Configuration is required. If ERROR_CATALOG is a macro then please configure it. [unknownMacro] ksh-1.0.10/src/lib/libcmd/cut.c:28:15: error: There is an unknown macro here somewhere. Configuration is required. If ERROR_CATALOG is a macro then please configure it. [unknownMacro] ksh-1.0.10/src/lib/libcmd/dirname.c:30:15: error: There is an unknown macro here somewhere. Configuration is required. If ERROR_CATALOG is a macro then please configure it. [unknownMacro] ksh-1.0.10/src/lib/libcmd/date.c:28:15: error: There is an unknown macro here somewhere. Configuration is required. If ERROR_CATALOG is a macro then please configure it. [unknownMacro] ksh-1.0.10/src/lib/libcmd/expr.c:28:15: error: There is an unknown macro here somewhere. Configuration is required. If ERROR_CATALOG is a macro then please configure it. [unknownMacro] ksh-1.0.10/src/lib/libcmd/fds.c:22:15: error: There is an unknown macro here somewhere. Configuration is required. If ERROR_CATALOG is a macro then please configure it. [unknownMacro] ksh-1.0.10/src/lib/libcmd/fold.c:28:15: error: There is an unknown macro here somewhere. Configuration is required. If ERROR_CATALOG is a macro then please configure it. [unknownMacro] ksh-1.0.10/src/lib/libcmd/fmt.c:22:15: error: There is an unknown macro here somewhere. Configuration is required. If ERROR_CATALOG is a macro then please configure it. [unknownMacro] ksh-1.0.10/src/lib/libcmd/getconf.c:28:15: error: There is an unknown macro here somewhere. Configuration is required. If ERROR_CATALOG is a macro then please configure it. [unknownMacro] ksh-1.0.10/src/lib/libcmd/head.c:28:15: error: There is an unknown macro here somewhere. Configuration is required. If ERROR_CATALOG is a macro then please configure it. [unknownMacro] ksh-1.0.10/src/lib/libcmd/id.c:29:15: error: There is an unknown macro here somewhere. Configuration is required. If ERROR_CATALOG is a macro then please configure it. [unknownMacro] ksh-1.0.10/src/lib/libcmd/join.c:29:15: error: There is an unknown macro here somewhere. Configuration is required. If ERROR_CATALOG is a macro then please configure it. [unknownMacro] ksh-1.0.10/src/lib/libcmd/logname.c:28:15: error: There is an unknown macro here somewhere. Configuration is required. If ERROR_CATALOG is a macro then please configure it. [unknownMacro] ksh-1.0.10/src/lib/libcmd/mkdir.c:28:15: error: There is an unknown macro here somewhere. Configuration is required. If ERROR_CATALOG is a macro then please configure it. [unknownMacro] ksh-1.0.10/src/lib/libcmd/mkfifo.c:28:15: error: There is an unknown macro here somewhere. Configuration is required. If ERROR_CATALOG is a macro then please configure it. [unknownMacro] ksh-1.0.10/src/lib/libcmd/mktemp.c:22:15: error: There is an unknown macro here somewhere. Configuration is required. If ERROR_CATALOG is a macro then please configure it. [unknownMacro] ksh-1.0.10/src/lib/libcmd/paste.c:30:15: error: There is an unknown macro here somewhere. Configuration is required. If ERROR_CATALOG is a macro then please configure it. [unknownMacro] ksh-1.0.10/src/lib/libcmd/pathchk.c:27:15: error: There is an unknown macro here somewhere. Configuration is required. If ERROR_CATALOG is a macro then please configure it. [unknownMacro] ksh-1.0.10/src/lib/libcmd/pids.c:24:15: error: There is an unknown macro here somewhere. Configuration is required. If ERROR_CATALOG is a macro then please configure it. [unknownMacro] ksh-1.0.10/src/lib/libcmd/rev.c:32:15: error: There is an unknown macro here somewhere. Configuration is required. If ERROR_CATALOG is a macro then please configure it. [unknownMacro] ksh-1.0.10/src/lib/libcmd/rm.c:28:15: error: There is an unknown macro here somewhere. Configuration is required. If ERROR_CATALOG is a macro then please configure it. [unknownMacro] ksh-1.0.10/src/lib/libcmd/revlib.c:36:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_BUFSIZE [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libcmd/rmdir.c:28:15: error: There is an unknown macro here somewhere. Configuration is required. If ERROR_CATALOG is a macro then please configure it. [unknownMacro] ksh-1.0.10/src/lib/libcmd/stty.c:27:15: error: There is an unknown macro here somewhere. Configuration is required. If ERROR_CATALOG is a macro then please configure it. [unknownMacro] ksh-1.0.10/src/lib/libcmd/revlib.c:34:13: style: Variable 'cpold' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libcmd/sync.c:27:15: error: There is an unknown macro here somewhere. Configuration is required. If ERROR_CATALOG is a macro then please configure it. [unknownMacro] ksh-1.0.10/src/lib/libcmd/tail.c:30:15: error: There is an unknown macro here somewhere. Configuration is required. If ERROR_CATALOG is a macro then please configure it. [unknownMacro] ksh-1.0.10/src/lib/libcmd/tee.c:28:15: error: There is an unknown macro here somewhere. Configuration is required. If ERROR_CATALOG is a macro then please configure it. [unknownMacro] ksh-1.0.10/src/lib/libast/tm/tmxdate.c:137:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TMX_RESOLUTION [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/tm/tmxdate.c:209:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable date [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libcmd/tty.c:28:15: error: There is an unknown macro here somewhere. Configuration is required. If ERROR_CATALOG is a macro then please configure it. [unknownMacro] ksh-1.0.10/src/lib/libcmd/uname.c:29:15: error: There is an unknown macro here somewhere. Configuration is required. If ERROR_CATALOG is a macro then please configure it. [unknownMacro] ksh-1.0.10/src/lib/libcmd/uniq.c:27:15: error: There is an unknown macro here somewhere. Configuration is required. If ERROR_CATALOG is a macro then please configure it. [unknownMacro] ksh-1.0.10/src/lib/libcmd/wc.c:28:15: error: There is an unknown macro here somewhere. Configuration is required. If ERROR_CATALOG is a macro then please configure it. [unknownMacro] ksh-1.0.10/src/lib/libdll/dlfcn.c:499:27: style: Parameter 'dll' can be declared as pointer to const [constParameterPointer] ksh-1.0.10/src/lib/libdll/dlfcn.c:505:27: style: Parameter 'handle' can be declared as pointer to const [constParameterPointer] ksh-1.0.10/src/lib/libdll/dll_lib.c:42:8: style: Variable 't' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libcmd/wclib.c:59:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Wc_t [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libcmd/wclib.c:100:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable file [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libcmd/wclib.c:178:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SFIO_WRITE [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libdll/dllfind.c:39:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable id [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/tm/tmxdate.c:1775:30: style: Condition 'j=1' is always true [knownConditionTrueFalse] ksh-1.0.10/src/lib/libast/tm/tmxdate.c:1775:61: style: Condition 'j=2' is always true [knownConditionTrueFalse] ksh-1.0.10/src/lib/libdll/dllnext.c:176:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _DLL_NEXT_PATH [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/tm/tmxdate.c:930:12: style: Variable 'i' is reassigned a value before the old one has been used. [redundantAssignment] ksh-1.0.10/src/lib/libast/tm/tmxdate.c:887:12: note: i is assigned ksh-1.0.10/src/lib/libast/tm/tmxdate.c:930:12: note: i is overwritten ksh-1.0.10/src/lib/libast/tm/tmxdate.c:930:12: style: Variable 'i' is reassigned a value before the old one has been used. [redundantAssignment] ksh-1.0.10/src/lib/libast/tm/tmxdate.c:905:12: note: i is assigned ksh-1.0.10/src/lib/libast/tm/tmxdate.c:930:12: note: i is overwritten ksh-1.0.10/src/lib/libast/tm/tmxdate.c:552:10: style: Local variable 'day' shadows outer variable [shadowVariable] ksh-1.0.10/src/lib/libast/tm/tmxdate.c:171:7: note: Shadowed declaration ksh-1.0.10/src/lib/libast/tm/tmxdate.c:552:10: note: Shadow variable ksh-1.0.10/src/lib/libast/tm/tmxdate.c:1359:26: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] ksh-1.0.10/src/lib/libdll/dllplug.c:51:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RTLD_PARENT [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libast/tm/tmxdate.c:746:6: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] ksh-1.0.10/src/lib/libast/tm/tmxdate.c:752:6: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] ksh-1.0.10/src/lib/libast/tm/tmxdate.c:788:10: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] ksh-1.0.10/src/lib/libast/tm/tmxdate.c:862:9: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] ksh-1.0.10/src/lib/libast/tm/tmxdate.c:866:17: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] ksh-1.0.10/src/lib/libast/tm/tmxdate.c:883:9: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] ksh-1.0.10/src/lib/libast/tm/tmxdate.c:889:10: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] ksh-1.0.10/src/lib/libast/tm/tmxdate.c:892:10: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] ksh-1.0.10/src/lib/libast/tm/tmxdate.c:900:14: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] ksh-1.0.10/src/lib/libast/tm/tmxdate.c:900:39: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] ksh-1.0.10/src/lib/libast/tm/tmxdate.c:900:63: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] ksh-1.0.10/src/lib/libast/tm/tmxdate.c:900:82: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] ksh-1.0.10/src/lib/libast/tm/tmxdate.c:900:101: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] ksh-1.0.10/src/lib/libast/tm/tmxdate.c:901:10: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] ksh-1.0.10/src/lib/libast/tm/tmxdate.c:907:10: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] ksh-1.0.10/src/lib/libast/tm/tmxdate.c:935:9: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] ksh-1.0.10/src/lib/libsum/sum-ast4.c:101:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SUM_TOTAL [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libsum/sum-ast4.c:82:17: style: Variable 'e' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libdll/dllscan.c:163:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DLL_INFO_PREVER [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libdll/dllscan.c:238:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Dllscan_t [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libdll/dllscan.c:417:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libsum/sum-att.c:109:17: style: Variable 'e' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libsum/sum-bsd.c:38:17: style: Variable 'e' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libast/tm/tmxscan.c:171:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libsum/sum-lmd.c:83:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SUM_TOTAL [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libsum/sum-lmd.c:92:10: style: Variable 'lmd' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libsum/sum-lmd.c:42:12: style: struct member 'Anonymous0::context' is never used. [unusedStructMember] ksh-1.0.10/src/lib/libsum/sum-crc.c:173:12: style: Local variable 't' shadows outer variable [shadowVariable] ksh-1.0.10/src/lib/libsum/sum-crc.c:120:14: note: Shadowed declaration ksh-1.0.10/src/lib/libsum/sum-crc.c:173:12: note: Shadow variable ksh-1.0.10/src/lib/libsum/sum-crc.c:297:17: style: Variable 'e' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libsum/sum-prng.c:81:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FNV_MULT [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libsum/sum-prng.c:70:53: style: Condition 't=v+1' is always true [knownConditionTrueFalse] ksh-1.0.10/src/lib/libsum/sum-prng.c:103:17: style: Variable 'e' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libsum/sum-md5.c:339:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SUM_TOTAL [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libsum/sum-md5.c:66:42: style: Parameter 'input' can be declared as pointer to const [constParameterPointer] ksh-1.0.10/src/lib/libsum/sum-md5.c:86:42: style: Parameter 'input' can be declared as pointer to const [constParameterPointer] ksh-1.0.10/src/lib/libdll/dllscan.c:85:10: style: Variable 'd' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libdll/dllscan.c:86:10: style: Variable 'v' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libdll/dllscan.c:87:10: style: Variable 'p' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libdll/dllscan.c:178:17: style: Variable 'a' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libsum/sum-sha1.c:307:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SUM_TOTAL [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libsum/sumlib.c:120:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SUM_TOTAL [valueFlowBailoutIncompleteVar] ksh-1.0.10/src/lib/libcmd/wclib.c:138:12: error: Invalid isspace() argument nr 1. The value is 8199 but the valid values are '0:255'. [invalidFunctionArg] ksh-1.0.10/src/lib/libcmd/wclib.c:142:22: error: Invalid isspace() argument nr 1. The value is 8239 but the valid values are '0:255'. [invalidFunctionArg] ksh-1.0.10/src/lib/libcmd/wclib.c:239:13: warning: Either the condition 'x==-1' is redundant or isspace() argument nr 1 can have invalid value. The value is -1 but the valid values are '0:255'. [invalidFunctionArg] ksh-1.0.10/src/lib/libcmd/wclib.c:226:11: note: Assuming that condition 'x==-1' is not redundant ksh-1.0.10/src/lib/libcmd/wclib.c:239:13: note: Invalid argument ksh-1.0.10/src/lib/libcmd/wclib.c:459:26: warning: Result of operator '|' is always true if one operand is non-zero. Did you intend to use '&'? [badBitmaskCheck] ksh-1.0.10/src/lib/libcmd/wclib.c:160:9: style: Variable 'type' can be declared as pointer to const [constVariablePointer] ksh-1.0.10/src/lib/libsum/sum-sha1.c:74:16: style: union member 'CHAR64LONG16::c' is never used. [unusedStructMember] ksh-1.0.10/src/lib/libsum/sum-sha1.c:203:4: style: Variable 'a' is assigned a value that is never used. [unreadVariable] ksh-1.0.10/src/lib/libsum/sum-sha1.c:203:8: style: Variable 'b' is assigned a value that is never used. [unreadVariable] ksh-1.0.10/src/lib/libsum/sum-sha1.c:203:12: style: Variable 'c' is assigned a value that is never used. [unreadVariable] ksh-1.0.10/src/lib/libsum/sum-sha1.c:203:16: style: Variable 'd' is assigned a value that is never used. [unreadVariable] ksh-1.0.10/src/lib/libsum/sum-sha1.c:203:20: style: Variable 'e' is assigned a value that is never used. [unreadVariable] ksh-1.0.10/src/lib/libsum/sumlib.c:137:14: style: Variable 'x' can be declared as pointer to const [constVariablePointer] diff: head ksh-1.0.10/src/cmd/ksh93/bltins/typeset.c:587:9: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] head ksh-1.0.10/src/cmd/ksh93/sh/array.c:255:13: style: Variable 'fp' can be declared as pointer to const [constVariablePointer] head ksh-1.0.10/src/cmd/ksh93/sh/io.c:1151:17: style: Variable 'i' can be declared as pointer to const [constVariablePointer] head ksh-1.0.10/src/cmd/ksh93/sh/jobs.c:1056:18: style: Variable 'px' can be declared as pointer to const [constVariablePointer] head ksh-1.0.10/src/cmd/ksh93/sh/jobs.c:632:18: style: Variable 'pw' can be declared as pointer to const [constVariablePointer] head ksh-1.0.10/src/cmd/ksh93/sh/macro.c:2760:16: style: Variable 'username' can be declared as pointer to const [constVariablePointer] head ksh-1.0.10/src/cmd/ksh93/sh/name.c:121:36: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] head ksh-1.0.10/src/cmd/ksh93/sh/nvdisc.c:1419:12: style: Variable 'fp' can be declared as pointer to const [constVariablePointer] head ksh-1.0.10/src/cmd/ksh93/sh/nvtree.c:698:13: style: Variable 'xp' can be declared as pointer to const [constVariablePointer] head ksh-1.0.10/src/cmd/ksh93/sh/parse.c:1568:22: style: Variable 'ap' can be declared as pointer to const [constVariablePointer] head ksh-1.0.10/src/lib/libast/cdt/dthash.c:226:25: style: Variable 'l' can be declared as pointer to const [constVariablePointer] head ksh-1.0.10/src/lib/libast/cdt/dttree.c:236:12: style: Variable 'l' can be declared as pointer to const [constVariablePointer] 2.18.0 ksh-1.0.10/src/lib/libast/features/limits.c:173:9: style: Condition 'ui==us' is always false [knownConditionTrueFalse] ksh-1.0.10/src/lib/libast/features/limits.c:113:7: note: Assignment 'ui=0', assigned value is 0 ksh-1.0.10/src/lib/libast/features/limits.c:114:7: note: Assignment 'ui=~ui', assigned value is 4294967295 ksh-1.0.10/src/lib/libast/features/limits.c:173:9: note: Condition 'ui==us' is always false head ksh-1.0.10/src/lib/libast/misc/fastfind.c:665:9: style: Variable 's' can be declared as pointer to const [constVariablePointer] head ksh-1.0.10/src/lib/libast/misc/magic.c:1593:9: style: Variable 'p3' can be declared as pointer to const [constVariablePointer] head ksh-1.0.10/src/lib/libast/misc/optget.c:1688:8: style: Variable 't' can be declared as pointer to const [constVariablePointer] head ksh-1.0.10/src/lib/libast/misc/optget.c:3911:8: style: Variable 'ts' is assigned an expression that holds the same value. [redundantAssignment] ksh-1.0.10/src/lib/libast/misc/optget.c:3905:10: note: ts is assigned 'ip->stop' here. ksh-1.0.10/src/lib/libast/misc/optget.c:3911:8: note: Variable 'ts' is assigned an expression that holds the same value. head ksh-1.0.10/src/lib/libast/misc/translate.c:302:15: style: Variable 'nlspath' can be declared as pointer to const [constVariablePointer] head ksh-1.0.10/src/lib/libast/path/pathfind.c:84:9: style: Variable 's' can be declared as pointer to const [constVariablePointer] head ksh-1.0.10/src/lib/libast/regex/regstat.c:29:9: style: Variable 'e' can be declared as pointer to const [constVariablePointer] head ksh-1.0.10/src/lib/libast/regex/regstat.c:47:26: style: Variable 'p->env->stats.re_record' is reassigned a value before the old one has been used. [redundantAssignment] ksh-1.0.10/src/lib/libast/regex/regstat.c:36:27: note: p->env->stats.re_record is assigned ksh-1.0.10/src/lib/libast/regex/regstat.c:47:26: note: p->env->stats.re_record is overwritten 2.18.0 ksh-1.0.10/src/lib/libast/sfio/sfcvt.c:44:2: error: #error "This is an invalid test for NaN" [preprocessorErrorDirective] head ksh-1.0.10/src/lib/libast/sfio/sfmode.c:59:12: style: Variable 'p' can be declared as pointer to const [constVariablePointer] head ksh-1.0.10/src/lib/libast/sfio/sfraise.c:52:26: style: Variable 'd' can be declared as pointer to const [constVariablePointer] 2.18.0 ksh-1.0.10/src/lib/libast/sfio/sftable.c:295:23: style: Same value in both branches of ternary operator. [duplicateValueTernary] 2.18.0 ksh-1.0.10/src/lib/libast/sfio/sfvprintf.c:512:23: style: Same value in both branches of ternary operator. [duplicateValueTernary] 2.18.0 ksh-1.0.10/src/lib/libast/sfio/sfvscanf.c:624:23: style: Same value in both branches of ternary operator. [duplicateValueTernary] head ksh-1.0.10/src/lib/libast/string/chresc.c:152:27: warning: Either the condition '!e' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] ksh-1.0.10/src/lib/libast/string/chresc.c:189:11: note: Assuming that condition '!e' is not redundant ksh-1.0.10/src/lib/libast/string/chresc.c:158:13: note: Assignment to 'e=s' ksh-1.0.10/src/lib/libast/string/chresc.c:152:27: note: Null pointer addition head ksh-1.0.10/src/lib/libast/string/chresc.c:152:48: warning: Either the condition '!e' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] ksh-1.0.10/src/lib/libast/string/chresc.c:189:11: note: Assuming that condition '!e' is not redundant ksh-1.0.10/src/lib/libast/string/chresc.c:158:13: note: Assignment to 'e=s' ksh-1.0.10/src/lib/libast/string/chresc.c:152:48: note: Null pointer addition head ksh-1.0.10/src/lib/libast/string/fmtident.c:34:8: style: Variable 't' can be declared as pointer to const [constVariablePointer] head ksh-1.0.10/src/lib/libast/string/fmtmatch.c:40:8: style: Variable 'z' can be declared as pointer to const [constVariablePointer] head ksh-1.0.10/src/lib/libast/tm/tmxleap.c:37:13: style: Variable 'lp' can be declared as pointer to const [constVariablePointer] head ksh-1.0.10/src/lib/libast/tm/tmxmake.c:40:14: style: Variable 'lp' can be declared as pointer to const [constVariablePointer] head ksh-1.0.10/src/lib/libast/tm/tmxtime.c:46:13: style: Variable 'lp' can be declared as pointer to const [constVariablePointer] DONE