2025-05-05 12:00 ftp://ftp.de.debian.org/debian/pool/main/l/linux86/linux86_0.16.21.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=bsd --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j1 platform: Linux-6.8.0-59-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04) 14.2.0 cppcheck: head 2.17.0 head-info: fcc0493 (2025-05-05 13:08:11 +0200) count: 880 888 elapsed-time: 15.8 16.5 head-timing-info: old-timing-info: head results: dev86-0.16.21/ar/ar.c:688:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tv_sec [valueFlowBailoutIncompleteVar] dev86-0.16.21/ar/ar.c:718:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] dev86-0.16.21/ar/ar.c:838:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] dev86-0.16.21/ar/ar.c:956:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] dev86-0.16.21/ar/ar.c:1729:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable nlist [valueFlowBailoutIncompleteVar] dev86-0.16.21/ar/ar.c:1809:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable N_EXT [valueFlowBailoutIncompleteVar] dev86-0.16.21/ar/ar.c:1909:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SARMAG [valueFlowBailoutIncompleteVar] dev86-0.16.21/ar/ar.c:1997:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dev86-0.16.21/ar/ar.c:2019:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dev86-0.16.21/ar/ar.c:2028:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dev86-0.16.21/ar/ar.c:2038:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dev86-0.16.21/ar/ar.c:2051:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dev86-0.16.21/ar/ar.c:2058:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dev86-0.16.21/ar/ar.c:692:7: style: Obsolescent function 'utimes' called. It is recommended to use 'utimensat' instead. [prohibitedutimesCalled] dev86-0.16.21/ar/ar.c:1070:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] dev86-0.16.21/ar/ar.c:1206:3: style: Obsolescent function 'bzero' called. It is recommended to use 'memset' instead. [prohibitedbzeroCalled] dev86-0.16.21/ar/ar.c:1532:3: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] dev86-0.16.21/ar/ar.c:616:3: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] dev86-0.16.21/ar/ar.c:1100:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] dev86-0.16.21/ar/ar.c:1786:4: portability: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_uint] dev86-0.16.21/ar/ar.c:2020:3: warning: fprintf format string requires 0 parameters but 1 is given. [wrongPrintfScanfArgNum] dev86-0.16.21/ar/ar.c:1633:1: error: Memory leak: data [memleak] dev86-0.16.21/ar/ar.c:1765:7: error: Memory leak: strings [memleak] dev86-0.16.21/ar/ar.c:1614:19: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: (unsigned long*)data [nullPointerOutOfMemory] dev86-0.16.21/ar/ar.c:1606:28: note: Assuming allocation function fails dev86-0.16.21/ar/ar.c:1606:11: note: Assignment 'data=(char*)xmalloc(mapelt->info.size)', assigned value is 0 dev86-0.16.21/ar/ar.c:1614:19: note: Null pointer dereference dev86-0.16.21/ar/ar.c:1617:41: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] dev86-0.16.21/ar/ar.c:1606:28: note: Assuming allocation function fails dev86-0.16.21/ar/ar.c:1606:11: note: Assignment 'data=(char*)xmalloc(mapelt->info.size)', assigned value is 0 dev86-0.16.21/ar/ar.c:1617:41: note: Null pointer addition dev86-0.16.21/ar/ar.c:345:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] dev86-0.16.21/ar/ar.c:606:13: style: Parameter 'instream' can be declared as pointer to const. However it seems that 'print_descr' is a callback function, if 'instream' is declared with const you might also need to cast function pointer(s). [constParameterCallback] dev86-0.16.21/ar/ar.c:475:19: note: You might need to cast the function pointer here dev86-0.16.21/ar/ar.c:606:13: note: Parameter 'instream' can be declared as pointer to const dev86-0.16.21/ar/ar.c:608:9: style: Variable 'timestring' can be declared as pointer to const [constVariablePointer] dev86-0.16.21/ar/ar.c:770:27: style: Parameter 'elt' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/ar/ar.c:805:14: style: Variable 'p' can be declared as pointer to const [constVariablePointer] dev86-0.16.21/ar/ar.c:1067:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] dev86-0.16.21/ar/ar.c:1108:11: style: Variable 'end' can be declared as pointer to const [constVariablePointer] dev86-0.16.21/ar/ar.c:1597:18: style: Variable 'mapelt' can be declared as pointer to const [constVariablePointer] dev86-0.16.21/ar/ar.c:1691:9: style: Variable 'name' can be declared as pointer to const [constVariablePointer] dev86-0.16.21/ar/ar.c:1806:17: style: Variable 'end' can be declared as pointer to const [constVariablePointer] dev86-0.16.21/ar/ar.c:2017:12: style: Parameter 's1' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/ar/ar.c:2017:17: style: Parameter 's2' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/ar/ar.c:2026:12: style: Parameter 's1' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/ar/ar.c:2026:17: style: Parameter 's2' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/ar/ar.c:2026:22: style: Parameter 's3' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/ar/ar.c:2035:12: style: Parameter 'string' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/ar/ar.c:2036:21: style: Parameter 'mapelt' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/ar/ar.c:2066:18: style: Parameter 's1' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/ar/ar.c:2066:23: style: Parameter 's2' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/ar/ar.c:2066:28: style: Parameter 's3' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/ar/ar.c:1608:7: style: Variable 'val' is assigned a value that is never used. [unreadVariable] dev86-0.16.21/as/as.c:66:7: style: Parameter 'message' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/as/as.c:142:7: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/as/as.c:160:11: style: Variable 'arg' can be declared as pointer to const [constVariablePointer] dev86-0.16.21/as/express.c:380:17: style: Variable 'string1' can be declared as pointer to const [constVariablePointer] dev86-0.16.21/as/genbin.c:89:23: style: Variable 'adrptr' can be declared as pointer to const [constVariablePointer] dev86-0.16.21/as/genbin.c:90:11: style: Variable 'bufptr' can be declared as pointer to const [constVariablePointer] dev86-0.16.21/as/genlist.c:122:48: portability: Undefined behaviour, pointer arithmetic 'powers_of_10-1' is out of bounds. [pointerOutOfBounds] dev86-0.16.21/as/genlist.c:360:18: warning: Either the condition 'errptr' is redundant or there is possible null pointer dereference: errptr. [nullPointerRedundantCheck] dev86-0.16.21/as/genlist.c:370:9: note: Assuming that condition 'errptr' is not redundant dev86-0.16.21/as/genlist.c:360:18: note: Null pointer dereference dev86-0.16.21/as/genlist.c:399:2: warning: Either the condition 'errptr' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] dev86-0.16.21/as/genlist.c:370:9: note: Assuming that condition 'errptr' is not redundant dev86-0.16.21/as/genlist.c:399:2: note: Null pointer addition dev86-0.16.21/as/genlist.c:114:21: style: Variable 'powers_of_10' can be declared as const array [constVariable] dev86-0.16.21/as/genlist.c:338:11: style: Variable 'errmsg' can be declared as pointer to const [constVariablePointer] dev86-0.16.21/as/genlist.c:340:11: style: Variable 'linep' can be declared as pointer to const [constVariablePointer] dev86-0.16.21/as/genlist.c:460:7: style: Parameter 's' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/as/genlist.c:33:11: style: struct member 'Anonymous6::pad' is never used. [unusedStructMember] dev86-0.16.21/as/genlist.c:349:12: style: Variable 'column' is assigned a value that is never used. [unreadVariable] dev86-0.16.21/as/genlist.c:350:13: style: Variable 'errcolw' is assigned a value that is never used. [unreadVariable] dev86-0.16.21/as/genlist.c:352:11: style: Variable 'linep' is assigned a value that is never used. [unreadVariable] dev86-0.16.21/as/genobj.c:577:25: style: Operator '|' with one operand equal to zero is redundant. [badBitmaskCheck] dev86-0.16.21/as/genobj.c:128:11: style: Variable 'bufptr' can be declared as pointer to const [constVariablePointer] dev86-0.16.21/as/genobj.c:678:7: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/as/gensym.c:147:11: style: Variable 'symname' can be declared as pointer to const [constVariablePointer] dev86-0.16.21/as/macro.c:155:13: style: Variable 'p' can be declared as pointer to const [constVariablePointer] dev86-0.16.21/as/mops.c:2215:24: portability: Undefined behaviour, pointer arithmetic 'segoverride-CSREG' is out of bounds. [pointerOutOfBounds] dev86-0.16.21/as/mops.c:1812:19: style: Variable 'source2.size' is reassigned a value before the old one has been used. [redundantAssignment] dev86-0.16.21/as/mops.c:1809:15: note: source2.size is assigned dev86-0.16.21/as/mops.c:1812:19: note: source2.size is overwritten dev86-0.16.21/as/mops.c:590:23: style: Parameter 'eap' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/as/mops.c:657:23: style: Parameter 'eap' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/as/mops.c:1128:28: style: Variable 'symptr' can be declared as pointer to const [constVariablePointer] dev86-0.16.21/as/mops.c:2318:23: style: Parameter 'eap' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/as/mops.c:2325:23: style: Parameter 'eap' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/as/mops.c:2332:23: style: Parameter 'eap' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/as/mops.c:2339:23: style: Parameter 'eap' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/as/pops.c:991:32: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] dev86-0.16.21/as/pops.c:74:24: style: Parameter 'symptr' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/as/pops.c:672:28: style: Variable 'labptr' can be declared as pointer to const [constVariablePointer] dev86-0.16.21/as/pops.c:984:28: style: Variable 'labptr' can be declared as pointer to const [constVariablePointer] dev86-0.16.21/as/readsrc.c:390:16: style: Variable 'linebuf' is reassigned a value before the old one has been used. [redundantAssignment] dev86-0.16.21/as/readsrc.c:376:10: note: linebuf is assigned dev86-0.16.21/as/readsrc.c:390:16: note: linebuf is overwritten dev86-0.16.21/as/readsrc.c:390:26: style: Variable 'lineptr' is reassigned a value before the old one has been used. [redundantAssignment] dev86-0.16.21/as/readsrc.c:377:10: note: lineptr is assigned dev86-0.16.21/as/readsrc.c:390:26: note: lineptr is overwritten dev86-0.16.21/as/readsrc.c:91:7: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/as/table.c:58:11: style: Variable 'namend' can be declared as pointer to const [constVariablePointer] dev86-0.16.21/as/table.c:99:20: style: Variable 'nameptr' can be declared as pointer to const [constVariablePointer] dev86-0.16.21/as/typeconv.c:14:22: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/bcc/proto.h:205:6: error: syntax error: !() [syntaxError] dev86-0.16.21/bcc/bcc.c:256:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dev86-0.16.21/bcc/bcc.c:579:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dev86-0.16.21/bcc/bcc.c:603:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dev86-0.16.21/bcc/bcc.c:663:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dev86-0.16.21/bcc/bcc.c:771:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dev86-0.16.21/bcc/bcc.c:1266:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dev86-0.16.21/bcc/bcc.c:1274:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dev86-0.16.21/bcc/bcc.c:1393:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dev86-0.16.21/bcc/bcc.c:663:6: portability: %d in format string (no. 1) requires 'int' but the argument type is 'ptrdiff_t {aka signed int}'. [invalidPrintfArgType_sint] dev86-0.16.21/bcc/bcc.c:281:8: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/bcc/bcc.c:288:8: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/bcc/bcc.c:288:15: style: Parameter 'str2' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/bcc/bcc.c:543:8: style: Parameter 'option' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/bcc/bcc.c:647:10: style: Variable 'p' can be declared as pointer to const [constVariablePointer] dev86-0.16.21/bcc/bcc.c:790:11: style: Variable 'pflag' can be declared as pointer to const [constVariablePointer] dev86-0.16.21/bcc/bcc.c:1121:8: style: Parameter 'path1' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/bcc/bcc.c:1121:17: style: Parameter 'path2' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/bcc/bcc.c:1121:26: style: Parameter 'path3' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/bcc/bcc.c:1234:8: style: Parameter 'opt' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/bcc/bcc.c:1234:15: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/bcc/bcc.c:1234:22: style: Parameter 'suffix' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/bcc/bcc.c:1272:8: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/bcc/bcc.c:1147:40: warning:inconclusive: Division of result of sizeof() on pointer type. [divideSizeof] dev86-0.16.21/bcc/dbprintf.c:34:24: style: Parameter 'fmt' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/bcc/dbprintf.c:41:11: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] dev86-0.16.21/bcc/dbprintf.c:42:14: style: Variable 'padch' is assigned a value that is never used. [unreadVariable] dev86-0.16.21/bcc/debug.c:208:35: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/bootblocks/boot_win.c:188:12: error: There is an unknown macro here somewhere. Configuration is required. If the is a macro then please configure it. [unknownMacro] dev86-0.16.21/bootblocks/buffer.c:122:3: warning: %x in format string (no. 7) requires 'unsigned int' but the argument type is 'char *'. [invalidPrintfArgType_uint] dev86-0.16.21/bootblocks/bzimage.c:308:38: error: syntax error [syntaxError] dev86-0.16.21/bootblocks/commands.c:83:1: portability: Omitted return type of function 'more_char' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/bootblocks/commands.c:106:1: portability: Omitted return type of function 'more_strn' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/bootblocks/commands.c:120:1: portability: Omitted return type of function 'cmd_monhelp' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/bootblocks/commands.c:152:1: portability: Omitted return type of function 'cmd_regs' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/bootblocks/commands.c:95:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] dev86-0.16.21/bootblocks/commands.c:217:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ptr [valueFlowBailoutIncompleteVar] dev86-0.16.21/bootblocks/commands.c:13:15: style:inconclusive: Boolean expression '*ptr!=' '' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] dev86-0.16.21/bootblocks/commands.c:63:15: style:inconclusive: Boolean expression '*ptr!=' '' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] dev86-0.16.21/bootblocks/commands.c:43:1: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] dev86-0.16.21/bootblocks/commands.c:242:7: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] dev86-0.16.21/bootblocks/commands.c:13:15: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] dev86-0.16.21/bootblocks/commands.c:63:15: style: Boolean result is used in bitwise operation. Clarify expression with parentheses. [clarifyCondition] dev86-0.16.21/bootblocks/commands.c:34:8: style: Parameter 'args' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/bootblocks/commands.c:41:8: style: Parameter 'ptr' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/bootblocks/commands.c:46:8: style: Parameter 'ptr' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/bootblocks/fs.c:8:1: portability: Omitted return type of function 'open_file' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/bootblocks/fs.c:25:1: portability: Omitted return type of function 'rewind_file' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/bootblocks/fs.c:39:1: portability: Omitted return type of function 'close_file' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/bootblocks/fs.c:70:1: portability: Omitted return type of function 'read_block' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/bootblocks/fs_dos.c:58:1: portability: Omitted return type of function 'dos_open_file' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/bootblocks/fs_dos.c:196:1: portability: Omitted return type of function 'dos_rewind_file' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/bootblocks/fs_dos.c:206:1: portability: Omitted return type of function 'dos_close_file' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/bootblocks/fs_dos.c:227:1: portability: Omitted return type of function 'dos_read_block' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/bootblocks/fs_dos.c:379:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] dev86-0.16.21/bootblocks/fs_dos.c:326:8: style: Unused variable: rv [unusedVariable] dev86-0.16.21/bootblocks/fs_min.c:32:1: portability: Omitted return type of function 'min_open_file' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/bootblocks/fs_min.c:147:1: portability: Omitted return type of function 'min_rewind_file' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/bootblocks/fs_min.c:153:1: portability: Omitted return type of function 'min_close_file' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/bootblocks/fs_min.c:169:1: portability: Omitted return type of function 'min_read_block' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/bootblocks/fs_min.c:216:1: portability: Omitted return type of function 'read_fs_block' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/bootblocks/fs_min.c:43:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s_magic [valueFlowBailoutIncompleteVar] dev86-0.16.21/bootblocks/fs_min.c:85:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_inum [valueFlowBailoutIncompleteVar] dev86-0.16.21/bootblocks/fs_min.c:81:34: style: Condition 'min_read_block(dirbuf)<0' is always false [knownConditionTrueFalse] dev86-0.16.21/bootblocks/fs_min.c:81:25: note: Calling function 'min_read_block' returns 0 dev86-0.16.21/bootblocks/fs_min.c:81:34: note: Condition 'min_read_block(dirbuf)<0' is always false dev86-0.16.21/bootblocks/fs_min.c:65:8: style: Parameter 'fname' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/bootblocks/fs_min.c:221:11: style: Variable 'sptr' can be declared as pointer to const [constVariablePointer] dev86-0.16.21/bootblocks/fs_tar.c:48:1: portability: Omitted return type of function 'tar_open_file' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/bootblocks/fs_tar.c:115:1: portability: Omitted return type of function 'tar_rewind_file' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/bootblocks/fs_tar.c:127:1: portability: Omitted return type of function 'tar_close_file' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/bootblocks/fs_tar.c:146:1: portability: Omitted return type of function 'tar_read_block' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/bootblocks/fs_tar.c:232:1: portability: Omitted return type of function 'valid_tar_checksum' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/bootblocks/fs_tar.c:170:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] dev86-0.16.21/bootblocks/fs_tar.c:149:11: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] dev86-0.16.21/bootblocks/fs_tar.c:215:7: style: Parameter 'str' can be declared as const array [constParameter] dev86-0.16.21/bootblocks/fs_tar.c:12:7: style: struct member 'm::m_mode' is never used. [unusedStructMember] dev86-0.16.21/bootblocks/fs_tar.c:13:7: style: struct member 'm::m_uid' is never used. [unusedStructMember] dev86-0.16.21/bootblocks/fs_tar.c:14:7: style: struct member 'm::m_gid' is never used. [unusedStructMember] dev86-0.16.21/bootblocks/fs_tar.c:16:7: style: struct member 'm::m_time' is never used. [unusedStructMember] dev86-0.16.21/bootblocks/fs_tar.c:19:7: style: struct member 'm::m_link' is never used. [unusedStructMember] dev86-0.16.21/bootblocks/fs_tar.c:20:7: style: struct member 'm::m_ustar' is never used. [unusedStructMember] dev86-0.16.21/bootblocks/fs_tar.c:21:7: style: struct member 'm::m_uname' is never used. [unusedStructMember] dev86-0.16.21/bootblocks/fs_tar.c:22:7: style: struct member 'm::m_gname' is never used. [unusedStructMember] dev86-0.16.21/bootblocks/fs_tar.c:24:7: style: struct member 'm::m_major' is never used. [unusedStructMember] dev86-0.16.21/bootblocks/fs_tar.c:25:7: style: struct member 'm::m_minor' is never used. [unusedStructMember] dev86-0.16.21/bootblocks/fs_tar.c:26:7: style: struct member 'm::m_atime' is never used. [unusedStructMember] dev86-0.16.21/bootblocks/fs_tar.c:27:7: style: struct member 'm::m_ctime' is never used. [unusedStructMember] dev86-0.16.21/bootblocks/help.c:35:1: portability: Omitted return type of function 'cmd_help' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/bootblocks/help.c:45:1: portability: Omitted return type of function 'help_key' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/bootblocks/help.c:69:1: portability: Omitted return type of function 'display_help' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/bootblocks/i86_funcs.c:80:29: error: syntax error [syntaxError] dev86-0.16.21/bootblocks/lsys.c:104:36: error: syntax error [syntaxError] dev86-0.16.21/bootblocks/makeboot.c:186:1: portability: Omitted return type of function 'main' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/bootblocks/makeboot.c:369:1: portability: Omitted return type of function 'Usage' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/bootblocks/makeboot.c:424:1: portability: Omitted return type of function 'close_disk' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/bootblocks/makeboot.c:710:1: portability: Omitted return type of function 'check_zapped' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/bootblocks/makeboot.c:757:1: portability: Omitted return type of function 'check_tar' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/bootblocks/makeboot.c:800:1: portability: Omitted return type of function 'copy_tarblock' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/bootblocks/makeboot.c:932:1: portability: Omitted return type of function 'print_super' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/bootblocks/makeboot.c:1021:1: portability: Omitted return type of function 'decode_super' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/bootblocks/makeboot.c:1055:1: portability: Omitted return type of function 'save_super' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/bootblocks/makeboot.c:1068:1: portability: Omitted return type of function 'set_superfield' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/bootblocks/makeboot.c:1088:1: portability: Omitted return type of function 'copy_superfields' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/bootblocks/makeboot.c:1125:1: portability: Omitted return type of function 'check_msdos' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/bootblocks/makeboot.c:1151:1: portability: Omitted return type of function 'check_simpledos' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/bootblocks/makeboot.c:1227:1: portability: Omitted return type of function 'set_dosname' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/bootblocks/makeboot.c:1249:1: portability: Omitted return type of function 'set_asciz' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/bootblocks/makeboot.c:1291:1: portability: Omitted return type of function 'check_mbr' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/bootblocks/makeboot.c:1322:1: portability: Omitted return type of function 'copy_mbr' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/bootblocks/makeboot.c:279:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dev86-0.16.21/bootblocks/makeboot.c:380:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dev86-0.16.21/bootblocks/makeboot.c:418:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dev86-0.16.21/bootblocks/makeboot.c:476:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dev86-0.16.21/bootblocks/makeboot.c:533:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dev86-0.16.21/bootblocks/makeboot.c:719:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dev86-0.16.21/bootblocks/makeboot.c:778:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dev86-0.16.21/bootblocks/makeboot.c:809:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tarboot_data [valueFlowBailoutIncompleteVar] dev86-0.16.21/bootblocks/makeboot.c:1134:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dev86-0.16.21/bootblocks/makeboot.c:1208:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable msdos_start [valueFlowBailoutIncompleteVar] dev86-0.16.21/bootblocks/makeboot.c:1260:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dev86-0.16.21/bootblocks/makeboot.c:1305:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mbr_data [valueFlowBailoutIncompleteVar] dev86-0.16.21/bootblocks/makeboot.c:999:13: warning: %x in format string (no. 2) requires 'unsigned int' but the argument type is 'signed long'. [invalidPrintfArgType_uint] dev86-0.16.21/bootblocks/makeboot.c:1260:7: warning: %s in format string (no. 1) requires 'char *' but the argument type is 'signed int'. [invalidPrintfArgType_s] dev86-0.16.21/bootblocks/makeboot.c:1064:30: warning: If resource allocation fails, then there is a possible null pointer dereference: fd [nullPointerOutOfResources] dev86-0.16.21/bootblocks/makeboot.c:1063:14: note: Assuming allocation function fails dev86-0.16.21/bootblocks/makeboot.c:1063:14: note: Assignment 'fd=fopen(fname,"wb")', assigned value is 0 dev86-0.16.21/bootblocks/makeboot.c:1064:30: note: Null pointer dereference dev86-0.16.21/bootblocks/makeboot.c:1065:11: warning: If resource allocation fails, then there is a possible null pointer dereference: fd [nullPointerOutOfResources] dev86-0.16.21/bootblocks/makeboot.c:1063:14: note: Assuming allocation function fails dev86-0.16.21/bootblocks/makeboot.c:1063:14: note: Assignment 'fd=fopen(fname,"wb")', assigned value is 0 dev86-0.16.21/bootblocks/makeboot.c:1065:11: note: Null pointer dereference dev86-0.16.21/bootblocks/makeboot.c:195:11: style: Variable 'bbname' can be declared as pointer to const [constVariablePointer] dev86-0.16.21/bootblocks/makeboot.c:394:8: style: Parameter 'diskname' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/bootblocks/makeboot.c:434:8: style: Parameter 'loadaddr' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/bootblocks/makeboot.c:748:7: style: Parameter 's' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/bootblocks/makeboot.c:933:8: style: Parameter 'bootsect' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/bootblocks/makeboot.c:935:15: style: Variable 'fieldnames' can be declared as const array [constVariable] dev86-0.16.21/bootblocks/makeboot.c:1022:8: style: Parameter 'bootsect' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/bootblocks/makeboot.c:1056:8: style: Parameter 'bootsect' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/bootblocks/makeboot.c:1059:11: style: Variable 'fname' can be declared as pointer to const [constVariablePointer] dev86-0.16.21/bootblocks/makeboot.c:1069:8: style: Parameter 'setstr' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/bootblocks/makeboot.c:1114:10: style: Variable 'p' can be declared as pointer to const [constVariablePointer] dev86-0.16.21/bootblocks/makeboot.c:1155:11: style: Variable 'err' can be declared as pointer to const [constVariablePointer] dev86-0.16.21/bootblocks/makeboot.c:1323:8: style: Parameter 'boot_data' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/bootblocks/makeboot.c:190:11: style: Unused variable: fd [unusedVariable] dev86-0.16.21/bootblocks/makeboot.c:802:9: style: Unused variable: lbuf [unusedVariable] dev86-0.16.21/bootblocks/makeboot.c:974:9: style: Variable 'numclust' is assigned a value that is never used. [unreadVariable] dev86-0.16.21/bootblocks/makeboot.c:975:8: style: Variable 'fatbits' is assigned a value that is never used. [unreadVariable] dev86-0.16.21/bootblocks/minix.c:69:10: error: No pair for character ('). Can't process file. File is either invalid or unicode, which is currently not supported. [syntaxError] dev86-0.16.21/bootblocks/minix_elks.c:79:25: error: syntax error [syntaxError] dev86-0.16.21/bootblocks/monitor.c:23:1: portability: Omitted return type of function 'main' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/bootblocks/monitor.c:72:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] dev86-0.16.21/bootblocks/monitor.c:147:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VERSION [valueFlowBailoutIncompleteVar] dev86-0.16.21/bootblocks/monitor.c:160:4: portability: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'ptrdiff_t {aka signed int}'. [invalidPrintfArgType_uint] dev86-0.16.21/bootblocks/monitor.c:161:4: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] dev86-0.16.21/bootblocks/monitor.c:26:14: style: Unused variable: i [unusedVariable] dev86-0.16.21/bootblocks/unix.c:137:1: portability: Omitted return type of function 'reset_crc' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/bootblocks/unix.c:142:1: portability: Omitted return type of function 'addcrc' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/bootblocks/unix.c:153:1: portability: Omitted return type of function 'display_crc' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/bootblocks/unix.c:143:17: style: Parameter 'buffer' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/bootblocks/unix.c:154:8: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/copt/copt.c:101:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dev86-0.16.21/copt/copt.c:235:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dev86-0.16.21/copt/copt.c:314:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] dev86-0.16.21/copt/copt.c:579:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dev86-0.16.21/copt/copt.c:800:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] dev86-0.16.21/copt/copt.c:822:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dev86-0.16.21/copt/copt.c:315:31: style: Variable 'fp' is reassigned a value before the old one has been used. [redundantAssignment] dev86-0.16.21/copt/copt.c:314:6: note: fp is assigned dev86-0.16.21/copt/copt.c:315:31: note: fp is overwritten dev86-0.16.21/copt/copt.c:801:31: style: Variable 'fp' is reassigned a value before the old one has been used. [redundantAssignment] dev86-0.16.21/copt/copt.c:800:6: note: fp is assigned dev86-0.16.21/copt/copt.c:801:31: note: fp is overwritten dev86-0.16.21/copt/copt.c:568:8: style: Local variable 'num' shadows outer variable [shadowVariable] dev86-0.16.21/copt/copt.c:333:8: note: Shadowed declaration dev86-0.16.21/copt/copt.c:568:8: note: Shadow variable dev86-0.16.21/copt/copt.c:113:28: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/copt/copt.c:223:31: style: Parameter 'rulesdir' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/copt/copt.c:223:47: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/copt/copt.c:310:30: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/copt/copt.c:567:26: style: Variable 'varptr' can be declared as pointer to const [constVariablePointer] dev86-0.16.21/copt/copt.c:795:29: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/copt/copt.c:795:45: style: Parameter 'headstr' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/cpp/cpp.c:149:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] dev86-0.16.21/cpp/cpp.c:217:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] dev86-0.16.21/cpp/cpp.c:459:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] dev86-0.16.21/cpp/cpp.c:553:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ch [valueFlowBailoutIncompleteVar] dev86-0.16.21/cpp/cpp.c:595:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] dev86-0.16.21/cpp/cpp.c:1291:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] dev86-0.16.21/cpp/cpp.c:1460:32: error: Common realloc mistake: 'rv' nulled but not freed upon failure [memleakOnRealloc] dev86-0.16.21/cpp/cpp.c:1485:34: error: Common realloc mistake: 'rv' nulled but not freed upon failure [memleakOnRealloc] dev86-0.16.21/cpp/cpp.c:1507:56: error: Common realloc mistake: 'rv' nulled but not freed upon failure [memleakOnRealloc] dev86-0.16.21/cpp/cpp.c:802:7: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: ptr [nullPointerOutOfMemory] dev86-0.16.21/cpp/cpp.c:800:19: note: Assuming allocation function fails dev86-0.16.21/cpp/cpp.c:800:19: note: Assignment 'ptr=malloc(sizeof(struct define_item)+128)', assigned value is 0 dev86-0.16.21/cpp/cpp.c:802:7: note: Null pointer dereference dev86-0.16.21/cpp/cpp.c:1275:11: warning: If memory allocation fails, then there is a possible null pointer dereference: arg_list [nullPointerOutOfMemory] dev86-0.16.21/cpp/cpp.c:1274:21: note: Assuming allocation function fails dev86-0.16.21/cpp/cpp.c:1274:21: note: Assignment 'arg_list=malloc(sizeof(struct arg_store)*arg_count)', assigned value is 0 dev86-0.16.21/cpp/cpp.c:1275:11: note: Null pointer dereference dev86-0.16.21/cpp/cpp.c:1406:21: warning: If memory allocation fails, then there is a possible null pointer dereference: rv [nullPointerOutOfMemory] dev86-0.16.21/cpp/cpp.c:1406:15: note: Assuming allocation function fails dev86-0.16.21/cpp/cpp.c:1406:15: note: Assignment 'rv=malloc(4)', assigned value is 0 dev86-0.16.21/cpp/cpp.c:1406:21: note: Null pointer dereference dev86-0.16.21/cpp/cpp.c:434:27: style: Variable 'tt' can be declared as pointer to const [constVariablePointer] dev86-0.16.21/cpp/cpp.c:528:18: style: Variable 'trig1' can be declared as const array [constVariable] dev86-0.16.21/cpp/cpp.c:530:13: style: Variable 's' can be declared as pointer to const [constVariablePointer] dev86-0.16.21/cpp/cpp.c:298:26: style: Variable 'cc' is assigned a value that is never used. [unreadVariable] dev86-0.16.21/cpp/hash.c:103:11: warning: If memory allocation fails, then there is a possible null pointer dereference: hashline [nullPointerOutOfMemory] dev86-0.16.21/cpp/hash.c:93:21: note: Assuming allocation function fails dev86-0.16.21/cpp/hash.c:93:21: note: Assignment 'hashline=malloc(sizeof(struct hashentry)+strlen(word))', assigned value is 0 dev86-0.16.21/cpp/hash.c:103:11: note: Null pointer dereference dev86-0.16.21/cpp/hash.c:111:10: style: Variable 'p' can be declared as pointer to const [constVariablePointer] dev86-0.16.21/cpp/main.c:128:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dev86-0.16.21/cpp/main.c:255:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dev86-0.16.21/cpp/main.c:332:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] dev86-0.16.21/cpp/main.c:392:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] dev86-0.16.21/cpp/main.c:202:4: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: ptr [nullPointerOutOfMemory] dev86-0.16.21/cpp/main.c:201:16: note: Assuming allocation function fails dev86-0.16.21/cpp/main.c:201:16: note: Assignment 'ptr=malloc(sizeof(struct define_item)+strlen(value))', assigned value is 0 dev86-0.16.21/cpp/main.c:202:4: note: Null pointer dereference dev86-0.16.21/cpp/main.c:203:11: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: ptr [nullPointerOutOfMemory] dev86-0.16.21/cpp/main.c:201:16: note: Assuming allocation function fails dev86-0.16.21/cpp/main.c:201:16: note: Assignment 'ptr=malloc(sizeof(struct define_item)+strlen(value))', assigned value is 0 dev86-0.16.21/cpp/main.c:203:11: note: Null pointer dereference dev86-0.16.21/cpp/main.c:204:4: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: ptr [nullPointerOutOfMemory] dev86-0.16.21/cpp/main.c:201:16: note: Assuming allocation function fails dev86-0.16.21/cpp/main.c:201:16: note: Assignment 'ptr=malloc(sizeof(struct define_item)+strlen(value))', assigned value is 0 dev86-0.16.21/cpp/main.c:204:4: note: Null pointer dereference dev86-0.16.21/cpp/main.c:205:4: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: ptr [nullPointerOutOfMemory] dev86-0.16.21/cpp/main.c:201:16: note: Assuming allocation function fails dev86-0.16.21/cpp/main.c:201:16: note: Assignment 'ptr=malloc(sizeof(struct define_item)+strlen(value))', assigned value is 0 dev86-0.16.21/cpp/main.c:205:4: note: Null pointer dereference dev86-0.16.21/cpp/main.c:206:4: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: ptr [nullPointerOutOfMemory] dev86-0.16.21/cpp/main.c:201:16: note: Assuming allocation function fails dev86-0.16.21/cpp/main.c:201:16: note: Assignment 'ptr=malloc(sizeof(struct define_item)+strlen(value))', assigned value is 0 dev86-0.16.21/cpp/main.c:206:4: note: Null pointer dereference dev86-0.16.21/cpp/main.c:145:14: style: Variable 'timep' can be declared as pointer to const [constVariablePointer] dev86-0.16.21/cpp/main.c:190:11: style: Variable 'value' can be declared as pointer to const [constVariablePointer] dev86-0.16.21/cpp/main.c:211:8: style: Parameter 'fname' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/cpp/main.c:212:8: style: Parameter 'mode' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/cpp/main.c:251:8: style: Parameter 'mtype' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/cpp/main.c:252:8: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/cpp/token1.h:19:24: style: Variable 'asso_values' can be declared as const array [constVariable] dev86-0.16.21/cpp/token2.h:19:24: style: Variable 'asso_values' can be declared as const array [constVariable] dev86-0.16.21/cpp/torture.c:11:7: error: Unmatched ')'. Configuration: '__GNUC__=1'. [syntaxError] dev86-0.16.21/dis88/disfp.c:114:11: style: Variable 'k' is reassigned a value before the old one has been used. [redundantAssignment] dev86-0.16.21/dis88/disfp.c:109:4: note: k is assigned dev86-0.16.21/dis88/disfp.c:114:11: note: k is overwritten dev86-0.16.21/dis88/dishand.c:240:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable N_TEXT [valueFlowBailoutIncompleteVar] dev86-0.16.21/dis88/dishand.c:352:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable N_DATA [valueFlowBailoutIncompleteVar] dev86-0.16.21/dis88/dishand.c:630:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable N_DATA [valueFlowBailoutIncompleteVar] dev86-0.16.21/dis88/dishand.c:920:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable N_TEXT [valueFlowBailoutIncompleteVar] dev86-0.16.21/dis88/dismain.c:409:1: portability: Omitted return type of function 'Fetch' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/dis88/dismain.c:71:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dev86-0.16.21/dis88/dismain.c:79:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dev86-0.16.21/dis88/dismain.c:225:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable N_TEXT [valueFlowBailoutIncompleteVar] dev86-0.16.21/dis88/dismain.c:267:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] dev86-0.16.21/dis88/dismain.c:373:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable A_EXEC [valueFlowBailoutIncompleteVar] dev86-0.16.21/dis88/dismain.c:413:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable N_TEXT [valueFlowBailoutIncompleteVar] dev86-0.16.21/dis88/dismain.c:452:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable A_SEP [valueFlowBailoutIncompleteVar] dev86-0.16.21/dis88/dismain.c:503:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable A_SEP [valueFlowBailoutIncompleteVar] dev86-0.16.21/dis88/dismain.c:590:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] dev86-0.16.21/dis88/dismain.c:596:9: style: Condition '!cpuid' is always false [knownConditionTrueFalse] dev86-0.16.21/dis88/dismain.c:89:7: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] dev86-0.16.21/dis88/dismain.c:157:7: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] dev86-0.16.21/dis88/dismain.c:69:19: style: Parameter 's' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/dis88/dismain.c:77:19: style: Parameter 's' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/dis88/dismain.c:77:23: style: Parameter 't' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/dis88/dismain.c:134:19: style: Parameter 'c' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/dis88/dismain.c:277:19: style: Variable 'c' can be declared as pointer to const [constVariablePointer] dev86-0.16.21/dis88/dismain.c:292:22: style: Variable 'c' can be declared as pointer to const [constVariablePointer] dev86-0.16.21/dis88/dismain.c:308:16: style: Variable 'c' can be declared as pointer to const [constVariablePointer] dev86-0.16.21/dis88/dismain.c:324:16: style: Variable 'c' can be declared as pointer to const [constVariablePointer] dev86-0.16.21/dis88/dismain.c:355:10: style: Variable 'c' can be declared as pointer to const [constVariablePointer] dev86-0.16.21/dis88/dismain.c:496:19: style: Variable 'c' can be declared as pointer to const [constVariablePointer] dev86-0.16.21/dis88/dismain.c:138:19: style: Unused variable: j [unusedVariable] dev86-0.16.21/dis88/dismain.c:495:17: style: Unused variable: j [unusedVariable] dev86-0.16.21/dis88/distabs.c:372:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable n_name [valueFlowBailoutIncompleteVar] dev86-0.16.21/dis88/distabs.c:420:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable r_vaddr [valueFlowBailoutIncompleteVar] dev86-0.16.21/dis88/distabs.c:496:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable N_TEXT [valueFlowBailoutIncompleteVar] dev86-0.16.21/dis88/distabs.c:619:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable N_DATA [valueFlowBailoutIncompleteVar] dev86-0.16.21/dis88/distabs.c:504:20: style: Variable 'best.t' is assigned a value that is never used. [unreadVariable] dev86-0.16.21/doselks/coroutine.c:27:29: error: syntax error [syntaxError] dev86-0.16.21/doselks/doselks.c:13:1: portability: Omitted return type of function 'main' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/doselks/doselks.c:252:1: portability: Omitted return type of function 'dump_core' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/doselks/doselks.c:280:1: portability: Omitted return type of function 'seg_allocate' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/doselks/doselks.c:294:1: portability: Omitted return type of function 'seg_free' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/doselks/doselks.c:53:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] dev86-0.16.21/doselks/doselks.c:70:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOEXEC [valueFlowBailoutIncompleteVar] dev86-0.16.21/doselks/doselks.c:287:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable size [valueFlowBailoutIncompleteVar] dev86-0.16.21/doselks/doselks.c:62:8: style: Parameter 'fname' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/doselks/doselks.c:254:7: style: Unused variable: bbuf [unusedVariable] dev86-0.16.21/doselks/doselks.c:255:6: style: Unused variable: i [unusedVariable] dev86-0.16.21/doselks/doselks.c:255:9: style: Unused variable: fd [unusedVariable] dev86-0.16.21/doselks/doselks.c:256:11: style: Unused variable: destseg [unusedVariable] dev86-0.16.21/doselks/syscalls.c:17:1: portability: Omitted return type of function 'elks_exit' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/doselks/syscalls.c:41:1: portability: Omitted return type of function 'elks_fork' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/doselks/syscalls.c:115:1: portability: Omitted return type of function 'elks_wait4' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/doselks/syscalls.c:447:1: portability: Omitted return type of function 'run_executable' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/doselks/syscalls.c:47:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] dev86-0.16.21/doselks/syscalls.c:122:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ECHILD [valueFlowBailoutIncompleteVar] dev86-0.16.21/doselks/syscalls.c:187:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EBADF [valueFlowBailoutIncompleteVar] dev86-0.16.21/doselks/syscalls.c:206:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EBADF [valueFlowBailoutIncompleteVar] dev86-0.16.21/doselks/syscalls.c:231:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EMFILE [valueFlowBailoutIncompleteVar] dev86-0.16.21/doselks/syscalls.c:262:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bx [valueFlowBailoutIncompleteVar] dev86-0.16.21/doselks/syscalls.c:272:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bx [valueFlowBailoutIncompleteVar] dev86-0.16.21/doselks/syscalls.c:293:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bx [valueFlowBailoutIncompleteVar] dev86-0.16.21/doselks/syscalls.c:300:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bx [valueFlowBailoutIncompleteVar] dev86-0.16.21/doselks/syscalls.c:307:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bx [valueFlowBailoutIncompleteVar] dev86-0.16.21/doselks/syscalls.c:315:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bx [valueFlowBailoutIncompleteVar] dev86-0.16.21/doselks/syscalls.c:329:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bx [valueFlowBailoutIncompleteVar] dev86-0.16.21/doselks/syscalls.c:342:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cx [valueFlowBailoutIncompleteVar] dev86-0.16.21/doselks/syscalls.c:361:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable bx [valueFlowBailoutIncompleteVar] dev86-0.16.21/doselks/syscalls.c:392:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOENT [valueFlowBailoutIncompleteVar] dev86-0.16.21/doselks/syscalls.c:436:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOSYS [valueFlowBailoutIncompleteVar] dev86-0.16.21/doselks/syscalls.c:480:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINTR [valueFlowBailoutIncompleteVar] dev86-0.16.21/doselks/syscalls.c:187:37: warning: Either the condition 'bx>20' is redundant or the array 'tty_file[20]' is accessed at index 20, which is out of bounds. [arrayIndexOutOfBoundsCond] dev86-0.16.21/doselks/syscalls.c:187:18: note: Assuming that condition 'bx>20' is not redundant dev86-0.16.21/doselks/syscalls.c:187:37: note: Array index out of bounds dev86-0.16.21/doselks/syscalls.c:206:37: warning: Either the condition 'bx>20' is redundant or the array 'tty_file[20]' is accessed at index 20, which is out of bounds. [arrayIndexOutOfBoundsCond] dev86-0.16.21/doselks/syscalls.c:206:18: note: Assuming that condition 'bx>20' is not redundant dev86-0.16.21/doselks/syscalls.c:206:37: note: Array index out of bounds dev86-0.16.21/doselks/syscalls.c:318:0: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] dev86-0.16.21/doselks/syscalls.c:332:0: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] dev86-0.16.21/doselks/syscalls.c:434:4: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] dev86-0.16.21/doselks/syscalls.c:460:10: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] dev86-0.16.21/doselks/syscalls.c:460:10: warning: %x in format string (no. 3) requires 'unsigned int' but the argument type is 'process *'. [invalidPrintfArgType_uint] dev86-0.16.21/doselks/syscalls.c:469:3: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] dev86-0.16.21/doselks/syscalls.c:490:3: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] dev86-0.16.21/doselks/syscalls.c:206:10: style: Checking if unsigned expression 'bx' is less than zero. [unsignedLessThanZero] dev86-0.16.21/doselks/syscalls.c:222:10: style: Variable 'mode' can be declared as pointer to const [constVariablePointer] dev86-0.16.21/doselks/syscalls.c:21:8: style: Unused variable: x [unusedVariable] dev86-0.16.21/doselks/syscalls.c:204:9: style: Unused variable: ch [unusedVariable] dev86-0.16.21/doselks/syscalls.c:360:8: style: Unused variable: rv [unusedVariable] dev86-0.16.21/doselks/syscalls.c:451:20: style: Unused variable: ptr [unusedVariable] dev86-0.16.21/elksemu/binfmt_elks.c:28:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOEXEC [valueFlowBailoutIncompleteVar] dev86-0.16.21/elksemu/binfmt_elks.c:86:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MOD_INC_USE_COUNT [valueFlowBailoutIncompleteVar] dev86-0.16.21/elksemu/elks.c:38:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CPU_286 [valueFlowBailoutIncompleteVar] dev86-0.16.21/elksemu/elks.c:53:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dev86-0.16.21/elksemu/elks.c:77:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOEXEC [valueFlowBailoutIncompleteVar] dev86-0.16.21/elksemu/elks.c:157:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dev86-0.16.21/elksemu/elks.c:238:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dev86-0.16.21/elksemu/elks.c:129:49: style: Parameter 'v86' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/elksemu/elks_signal.c:27:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSIG [valueFlowBailoutIncompleteVar] dev86-0.16.21/elksemu/elks_sys.c:150:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] dev86-0.16.21/elksemu/elks_sys.c:250:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dev86-0.16.21/elksemu/elks_sys.c:441:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] dev86-0.16.21/elksemu/elks_sys.c:512:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFD [valueFlowBailoutIncompleteVar] dev86-0.16.21/elksemu/elks_sys.c:653:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dev86-0.16.21/elksemu/elks_sys.c:678:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dev86-0.16.21/elksemu/elks_sys.c:693:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dev86-0.16.21/elksemu/elks_sys.c:721:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCGETS [valueFlowBailoutIncompleteVar] dev86-0.16.21/elksemu/elks_sys.c:744:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dev86-0.16.21/elksemu/elks_sys.c:770:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dev86-0.16.21/elksemu/elks_sys.c:345:9: style: Obsolescent function 'utime' called. It is recommended to use 'utimensat' instead. [prohibitedutimeCalled] dev86-0.16.21/elksemu/elks_sys.c:696:8: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] dev86-0.16.21/elksemu/elks_sys.c:57:38: style: Parameter 's' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/elksemu/elks_sys.c:341:17: style: Variable 'up' can be declared as pointer to const [constVariablePointer] dev86-0.16.21/elksemu/elks_sys.c:430:17: style: Variable 'base' can be declared as pointer to const [constVariablePointer] dev86-0.16.21/elksemu/elks_sys.c:431:18: style: Variable 'tmp' can be declared as pointer to const [constVariablePointer] dev86-0.16.21/elksemu/elks_sys.c:593:22: style: Variable 'pv' can be declared as pointer to const [constVariablePointer] dev86-0.16.21/elksemu/elks_sys.c:594:23: style: Variable 'pz' can be declared as pointer to const [constVariablePointer] dev86-0.16.21/elksemu/elks_sys.c:688:18: style: Variable 'ent' can be declared as pointer to const [constVariablePointer] dev86-0.16.21/elksemu/elks_sys.c:437:6: style: Variable 'base' is assigned a value that is never used. [unreadVariable] dev86-0.16.21/elksemu/minix.c:64:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dev86-0.16.21/elksemu/minix.c:52:11: style: Condition 'sr<0' is always false [knownConditionTrueFalse] dev86-0.16.21/elksemu/minix.c:48:16: note: Assignment 'sr=(unsigned short)elks_cpu.regs.ecx', assigned value is greater than -1 dev86-0.16.21/elksemu/minix.c:52:11: note: Condition 'sr<0' is always false dev86-0.16.21/elksemu/minix.c:45:17: style: Variable 'nm' can be declared as const array [constVariable] dev86-0.16.21/ifdef.c:112:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dev86-0.16.21/ifdef.c:389:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dev86-0.16.21/ifdef.c:402:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dev86-0.16.21/ifdef.c:150:4: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] dev86-0.16.21/ifdef.c:191:0: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] dev86-0.16.21/ifdef.c:201:0: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] dev86-0.16.21/ifdef.c:234:11: style: Condition 'iflevel' is always true [knownConditionTrueFalse] dev86-0.16.21/ifdef.c:110:8: style: Parameter 'prog' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/ifdef.c:130:8: style: Parameter 'varname' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/ifdef.c:171:14: style: Variable 'p' can be declared as pointer to const [constVariablePointer] dev86-0.16.21/ifdef.c:376:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] dev86-0.16.21/ifdef.c:377:11: style: Variable 's' can be declared as pointer to const [constVariablePointer] dev86-0.16.21/ifdef.c:400:8: style: Parameter 'msg' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/ld/catimage.c:42:1: portability: Omitted return type of function 'main' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/ld/catimage.c:103:1: portability: Omitted return type of function 'open_obj' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/ld/catimage.c:120:1: portability: Omitted return type of function 'copy_segment' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/ld/catimage.c:146:1: portability: Omitted return type of function 'patch_bin' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/ld/catimage.c:166:1: portability: Omitted return type of function 'read_symtable' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/ld/catimage.c:237:1: portability: Omitted return type of function 'fatal' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/ld/catimage.c:240:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dev86-0.16.21/ld/catimage.c:65:7: portability: %lx in format string (no. 3) requires 'unsigned long' but the argument type is 'Long {aka signed int}'. [invalidPrintfArgType_uint] dev86-0.16.21/ld/catimage.c:65:7: portability: %lx in format string (no. 4) requires 'unsigned long' but the argument type is 'Long {aka signed int}'. [invalidPrintfArgType_uint] dev86-0.16.21/ld/catimage.c:156:15: style: Variable 'wbuf[0]' is reassigned a value before the old one has been used. [redundantAssignment] dev86-0.16.21/ld/catimage.c:155:15: note: wbuf[0] is assigned dev86-0.16.21/ld/catimage.c:156:15: note: wbuf[0] is overwritten dev86-0.16.21/ld/catimage.c:238:8: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/ld/io.c:81:24: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] dev86-0.16.21/ld/io.c:79:20: note: Assuming allocation function fails dev86-0.16.21/ld/io.c:79:20: note: Assignment 'errbuf=malloc(1024)', assigned value is 0 dev86-0.16.21/ld/io.c:81:24: note: Null pointer addition dev86-0.16.21/ld/io.c:85:24: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] dev86-0.16.21/ld/io.c:83:20: note: Assuming allocation function fails dev86-0.16.21/ld/io.c:83:20: note: Assignment 'outbuf=malloc(2048)', assigned value is 0 dev86-0.16.21/ld/io.c:85:24: note: Null pointer addition dev86-0.16.21/ld/io.c:298:7: style: Parameter 'message' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/ld/io.c:425:16: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/ld/ld.c:166:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dev86-0.16.21/ld/ld.c:43:7: style: Parameter 'pre' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/ld/ld.c:44:7: style: Parameter 'mid' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/ld/ld.c:45:7: style: Parameter 'suf' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/ld/ld.c:57:7: style: Parameter 'fn' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/ld/ld86r.c:27:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dev86-0.16.21/ld/ld86r.c:62:20: error: Buffer is accessed out of bounds: arbuf.ar_date [bufferAccessOutOfBounds] dev86-0.16.21/ld/ld86r.c:63:20: error: Buffer is accessed out of bounds: arbuf.ar_uid [bufferAccessOutOfBounds] dev86-0.16.21/ld/ld86r.c:64:20: error: Buffer is accessed out of bounds: arbuf.ar_gid [bufferAccessOutOfBounds] dev86-0.16.21/ld/ld86r.c:65:20: error: Buffer is accessed out of bounds: arbuf.ar_mode [bufferAccessOutOfBounds] dev86-0.16.21/ld/ld86r.c:66:20: error: Buffer is accessed out of bounds: arbuf.ar_size [bufferAccessOutOfBounds] dev86-0.16.21/ld/ld86r.c:27:14: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/ld/mkar.c:22:1: portability: Omitted return type of function 'ld86r' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/ld/mkar.c:45:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARMAG [valueFlowBailoutIncompleteVar] dev86-0.16.21/ld/mkar.c:68:7: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: ptr [nullPointerOutOfMemory] dev86-0.16.21/ld/mkar.c:66:19: note: Assuming allocation function fails dev86-0.16.21/ld/mkar.c:66:19: note: Assignment 'ptr=malloc(st.st_size+2)', assigned value is 0 dev86-0.16.21/ld/mkar.c:68:7: note: Null pointer dereference dev86-0.16.21/ld/mkar.c:70:17: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: ptr [nullPointerOutOfMemory] dev86-0.16.21/ld/mkar.c:66:19: note: Assuming allocation function fails dev86-0.16.21/ld/mkar.c:66:19: note: Assignment 'ptr=malloc(st.st_size+2)', assigned value is 0 dev86-0.16.21/ld/mkar.c:70:17: note: Null pointer dereference dev86-0.16.21/ld/objchop.c:22:1: portability: Omitted return type of function 'main' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/ld/objchop.c:59:1: portability: Omitted return type of function 'write_file' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/ld/objchop.c:84:1: portability: Omitted return type of function 'fatal' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/ld/objchop.c:87:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dev86-0.16.21/ld/objchop.c:51:4: portability: %ld in format string (no. 1) requires 'long' but the argument type is 'Long {aka signed int}'. [invalidPrintfArgType_sint] dev86-0.16.21/ld/objchop.c:51:4: portability: %ld in format string (no. 2) requires 'long' but the argument type is 'Long {aka signed int}'. [invalidPrintfArgType_sint] dev86-0.16.21/ld/objchop.c:51:4: portability: %ld in format string (no. 3) requires 'long' but the argument type is 'Long {aka signed int}'. [invalidPrintfArgType_sint] dev86-0.16.21/ld/objchop.c:51:4: portability: %ld in format string (no. 4) requires 'long' but the argument type is 'Long {aka signed int}'. [invalidPrintfArgType_sint] dev86-0.16.21/ld/objchop.c:60:8: style: Parameter 'fname' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/ld/objchop.c:85:8: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/ld/objdump86.c:100:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] dev86-0.16.21/ld/objdump86.c:146:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ar_hdr [valueFlowBailoutIncompleteVar] dev86-0.16.21/ld/objdump86.c:312:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dev86-0.16.21/ld/objdump86.c:556:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] dev86-0.16.21/ld/objdump86.c:634:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] dev86-0.16.21/ld/objdump86.c:648:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] dev86-0.16.21/ld/objdump86.c:661:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] dev86-0.16.21/ld/objdump86.c:769:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] dev86-0.16.21/ld/objdump86.c:827:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] dev86-0.16.21/ld/objdump86.c:958:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] dev86-0.16.21/ld/objdump86.c:230:25: style: Condition 'read_sectheader()<0' is always false [knownConditionTrueFalse] dev86-0.16.21/ld/objdump86.c:230:22: note: Calling function 'read_sectheader' returns 0 dev86-0.16.21/ld/objdump86.c:230:25: note: Condition 'read_sectheader()<0' is always false dev86-0.16.21/ld/objdump86.c:398:4: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] dev86-0.16.21/ld/objdump86.c:453:40: style: Checking if unsigned expression 'nameoff' is less than zero. [unsignedLessThanZero] dev86-0.16.21/ld/objdump86.c:98:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] dev86-0.16.21/ld/objdump86.c:207:8: style: Parameter 'fname' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/ld/objdump86.c:208:8: style: Parameter 'archive' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/ld/objdump86.c:308:8: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/ld/objdump86.c:513:15: style: Variable 'relstr' can be declared as const array [constVariable] dev86-0.16.21/ld/objdump86.c:716:15: style: Variable 'cpu' can be declared as const array [constVariable] dev86-0.16.21/ld/objdump86.c:717:15: style: Variable 'byteord' can be declared as const array [constVariable] dev86-0.16.21/ld/readobj.c:58:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SARMAG [valueFlowBailoutIncompleteVar] dev86-0.16.21/ld/readobj.c:153:24: style: Variable 'endsymdptr' can be declared as pointer to const [constVariablePointer] dev86-0.16.21/ld/readobj.c:333:7: style: Parameter 'string' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/ld/readobj.c:362:7: style: Parameter 'sizedesc' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/ld/readobj.c:129:7: style: struct member 'Anonymous0::magic' is never used. [unusedStructMember] dev86-0.16.21/ld/readobj.c:252:7: style: struct member 'Anonymous1::htextsize' is never used. [unusedStructMember] dev86-0.16.21/ld/readobj.c:253:7: style: struct member 'Anonymous1::stringssize' is never used. [unusedStructMember] dev86-0.16.21/ld/readobj.c:255:7: style: struct member 'Anonymous1::revision' is never used. [unusedStructMember] dev86-0.16.21/ld/table.c:94:16: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/ld/table.c:227:7: style: Parameter 's' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/ld/typeconv.c:14:22: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/ld/writebin.c:1061:12: style: Variable 's' can be declared as pointer to const [constVariablePointer] dev86-0.16.21/ld/writebin.c:560:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable a_syms [valueFlowBailoutIncompleteVar] dev86-0.16.21/ld/writebin.c:999:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable reloc_output [valueFlowBailoutIncompleteVar] dev86-0.16.21/ld/writebin.c:377:11: style: Array index 'seg' is used before limits check. [arrayIndexThenCheck] dev86-0.16.21/ld/writex86.c:448:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable a_syms [valueFlowBailoutIncompleteVar] dev86-0.16.21/ld/writex86.c:298:11: style: Array index 'seg' is used before limits check. [arrayIndexThenCheck] dev86-0.16.21/libbsd/login_tty.c:43:1: portability: Omitted return type of function 'login_tty' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/libbsd/login_tty.c:47:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TIOCSCTTY [valueFlowBailoutIncompleteVar] dev86-0.16.21/libbsd/logout.c:48:1: portability: Omitted return type of function 'logout' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/libbsd/logout.c:61:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UT_LINESIZE [valueFlowBailoutIncompleteVar] dev86-0.16.21/libbsd/logout.c:49:17: style: Parameter 'line' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/libbsd/logwtmp.c:46:1: portability: Omitted return type of function 'logwtmp' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/libbsd/logwtmp.c:55:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_APPEND [valueFlowBailoutIncompleteVar] dev86-0.16.21/libbsd/logwtmp.c:47:8: style: Parameter 'line' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/libbsd/logwtmp.c:47:15: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/libbsd/logwtmp.c:47:22: style: Parameter 'host' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/libbsd/pty.c:49:1: portability: Omitted return type of function 'openpty' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/libbsd/pty.c:99:1: portability: Omitted return type of function 'forkpty' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/libbsd/pty.c:69:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] dev86-0.16.21/libbsd/pty.c:60:12: portability: Non reentrant function 'getgrnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrnam_r'. [prohibitedgetgrnamCalled] dev86-0.16.21/libbsd/pty.c:52:18: style: Parameter 'termp' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/libbsd/pty.c:58:16: style: Variable 'gr' can be declared as pointer to const [constVariablePointer] dev86-0.16.21/libbsd/revoke.c:5:7: style: Parameter 'line' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/libbsd/sgtty.c:46:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _POSIX_VDISABLE [valueFlowBailoutIncompleteVar] dev86-0.16.21/libbsd/sgtty.c:64:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCGETS [valueFlowBailoutIncompleteVar] dev86-0.16.21/libbsd/sgtty.c:93:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCGETS [valueFlowBailoutIncompleteVar] dev86-0.16.21/libbsd/sgtty.c:129:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCSETSF [valueFlowBailoutIncompleteVar] dev86-0.16.21/libbsd/sgtty.c:137:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCSETS [valueFlowBailoutIncompleteVar] dev86-0.16.21/libbsd/sgtty.c:147:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCGETS [valueFlowBailoutIncompleteVar] dev86-0.16.21/libbsd/sgtty.c:165:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCGETS [valueFlowBailoutIncompleteVar] dev86-0.16.21/libbsd/sgtty.c:183:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCGETS [valueFlowBailoutIncompleteVar] dev86-0.16.21/libbsd/sgtty.c:201:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCGETS [valueFlowBailoutIncompleteVar] dev86-0.16.21/libbsd/sgtty.c:87:16: style: Parameter 'sg' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/libbsd/sgtty.c:161:16: style: Parameter 'tc' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/libbsd/sgtty.c:197:17: style: Parameter 'tc' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/libbsd/sgtty.c:228:6: style: Parameter 'lflagsp' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/libbsd/sgtty.c:236:6: style: Parameter 'arg' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/libbsd/sgtty.c:218:19: style: Unused variable: t [unusedVariable] dev86-0.16.21/libc/bios/bios.c:70:46: error: No pair for character ('). Can't process file. File is either invalid or unicode, which is currently not supported. [syntaxError] dev86-0.16.21/libc/bios/fileops.c:21:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __files [valueFlowBailoutIncompleteVar] dev86-0.16.21/libc/bios/fileops.c:44:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dev86-0.16.21/libc/bios/fileops.c:63:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dev86-0.16.21/libc/bios/fileops.c:120:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] dev86-0.16.21/libc/bios/fileops.c:162:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dev86-0.16.21/libc/bios/fileops.c:58:8: style: Unused variable: amount_left_in_buffer [unusedVariable] dev86-0.16.21/libc/bios/fs_dos.c:52:1: portability: Omitted return type of function 'fsdos_open_file' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/libc/bios/fs_dos.c:135:1: portability: Omitted return type of function 'fsdos_rewind_file' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/libc/bios/fs_dos.c:103:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dev86-0.16.21/libc/bios/fs_dos.c:142:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dev86-0.16.21/libc/bios/fs_dos.c:162:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dev86-0.16.21/libc/bios/fs_dos.c:181:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dev86-0.16.21/libc/bios/fs_dos.c:212:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dev86-0.16.21/libc/bios/fs_dos.c:177:23: style: Variable 'cur_file' can be declared as pointer to const [constVariablePointer] dev86-0.16.21/libc/bios/fs_dos.c:306:8: style: Unused variable: rv [unusedVariable] dev86-0.16.21/libc/bios/rawio.c:168:1: portability: Omitted return type of function 'rawio_fetch_track_buf' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/libc/bios/rawio.c:107:21: warning: Either the condition 'rawio_disk_spt<0' is redundant or there is division by zero at line 107. [zerodivcond] dev86-0.16.21/libc/bios/rawio.c:95:23: note: Assuming that condition 'rawio_disk_spt<0' is not redundant dev86-0.16.21/libc/bios/rawio.c:107:21: note: Division by zero dev86-0.16.21/libc/bios/rawio.c:108:21: warning: Either the condition 'rawio_disk_spt<0' is redundant or there is division by zero at line 108. [zerodivcond] dev86-0.16.21/libc/bios/rawio.c:95:23: note: Assuming that condition 'rawio_disk_spt<0' is not redundant dev86-0.16.21/libc/bios/rawio.c:108:21: note: Division by zero dev86-0.16.21/libc/bios/rawio.c:109:21: warning: Either the condition 'rawio_disk_spt<0' is redundant or there is division by zero at line 109. [zerodivcond] dev86-0.16.21/libc/bios/rawio.c:95:23: note: Assuming that condition 'rawio_disk_spt<0' is not redundant dev86-0.16.21/libc/bios/rawio.c:109:21: note: Division by zero dev86-0.16.21/libc/bios/time.c:123:8: error: There is an unknown macro here somewhere. Configuration is required. If $1A is a macro then please configure it. [unknownMacro] dev86-0.16.21/libc/conio/cprintf.c:18:14: style: Variable 'padch' is assigned a value that is never used. [unreadVariable] dev86-0.16.21/libc/crt0.c:62:0: error: #error You are not going to get far without crt0.o! [preprocessorErrorDirective] dev86-0.16.21/libc/crt0.c:62:2: error: #error You are not going to get far without crt0.o! [preprocessorErrorDirective] dev86-0.16.21/libc/error/error2.c:15:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sys_nerr [valueFlowBailoutIncompleteVar] dev86-0.16.21/libc/error/perror.c:16:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dev86-0.16.21/libc/error/perror.c:6:16: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/libc/error/perror.c:8:20: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] dev86-0.16.21/libc/getent/__getgrent.c:80:3: error: Common realloc mistake: 'line_buff' nulled but not freed upon failure [memleakOnRealloc] dev86-0.16.21/libc/getent/__getgrent.c:101:4: error: Common realloc mistake: 'line_buff' nulled but not freed upon failure [memleakOnRealloc] dev86-0.16.21/libc/getent/__getgrent.c:155:7: error: Common realloc mistake: 'members' nulled but not freed upon failure [memleakOnRealloc] dev86-0.16.21/libc/getent/__getpwent.c:42:10: style: Variable 'gid_ptr' can be declared as pointer to const [constVariablePointer] dev86-0.16.21/libc/getent/__getpwent.c:43:10: style: Variable 'uid_ptr' can be declared as pointer to const [constVariablePointer] dev86-0.16.21/libc/getent/fgetgrent.c:30:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dev86-0.16.21/libc/getent/fgetpwent.c:30:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dev86-0.16.21/libc/getent/getgrgid.c:32:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] dev86-0.16.21/libc/getent/getgrnam.c:35:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dev86-0.16.21/libc/getent/getpw.c:33:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dev86-0.16.21/libc/getent/getpw.c:36:15: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] dev86-0.16.21/libc/getent/getpw.c:29:19: style: Variable 'passwd' can be declared as pointer to const [constVariablePointer] dev86-0.16.21/libc/getent/getpwnam.c:36:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dev86-0.16.21/libc/getent/getpwuid.c:32:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] dev86-0.16.21/libc/getent/grent.c:38:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] dev86-0.16.21/libc/getent/initgroups.c:41:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] dev86-0.16.21/libc/getent/initgroups.c:56:7: warning: Suspicious use of ; at the end of 'if' statement. [suspiciousSemicolon] dev86-0.16.21/libc/getent/initgroups.c:28:27: style: Parameter 'user' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/libc/getent/initgroups.c:30:27: style: Variable 'group' can be declared as pointer to const [constVariablePointer] dev86-0.16.21/libc/getent/putpwent.c:30:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dev86-0.16.21/libc/getent/pwent.c:42:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] dev86-0.16.21/libc/getent/test_grp.c:33:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dev86-0.16.21/libc/getent/test_grp.c:40:17: portability: Non reentrant function 'getgrent' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrent_r'. [prohibitedgetgrentCalled] dev86-0.16.21/libc/getent/test_grp.c:64:13: portability: Non reentrant function 'getgrgid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrgid_r'. [prohibitedgetgrgidCalled] dev86-0.16.21/libc/getent/test_grp.c:82:9: portability: Non reentrant function 'getgrnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrnam_r'. [prohibitedgetgrnamCalled] dev86-0.16.21/libc/getent/test_grp.c:29:18: style: Variable 'group' can be declared as pointer to const [constVariablePointer] dev86-0.16.21/libc/getent/test_pwd.c:32:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dev86-0.16.21/libc/getent/test_pwd.c:39:18: portability: Non reentrant function 'getpwent' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwent_r'. [prohibitedgetpwentCalled] dev86-0.16.21/libc/getent/test_pwd.c:59:14: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] dev86-0.16.21/libc/getent/test_pwd.c:73:10: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] dev86-0.16.21/libc/getent/test_pwd.c:29:19: style: Variable 'passwd' can be declared as pointer to const [constVariablePointer] dev86-0.16.21/libc/getent/utent.c:28:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable utmp [valueFlowBailoutIncompleteVar] dev86-0.16.21/libc/getent/utent.c:36:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dev86-0.16.21/libc/getent/utent.c:67:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RUN_LVL [valueFlowBailoutIncompleteVar] dev86-0.16.21/libc/getent/utent.c:97:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USER_PROCESS [valueFlowBailoutIncompleteVar] dev86-0.16.21/libc/getent/utent.c:110:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dev86-0.16.21/libc/getent/utent.c:109:17: style: Variable 'ut' can be declared as pointer to const [constVariablePointer] dev86-0.16.21/libc/getent/utent.c:119:10: style: Variable 'ut' is assigned a value that is never used. [unreadVariable] dev86-0.16.21/libc/gtermcap/termcap.c:760:4: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] dev86-0.16.21/libc/gtermcap/termcap.c:128:26: style: Parameter 'cap' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/libc/gtermcap/termcap.c:142:18: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] dev86-0.16.21/libc/gtermcap/termcap.c:152:18: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] dev86-0.16.21/libc/gtermcap/termcap.c:194:18: style: Variable 'p' can be declared as pointer to const [constVariablePointer] dev86-0.16.21/libc/gtermcap/termcap.c:478:9: style: Variable 'tcenv' can be declared as pointer to const [constVariablePointer] dev86-0.16.21/libc/gtermcap/termcap.c:684:21: style: Parameter 'str1' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/libc/gtermcap/termcap.c:684:28: style: Parameter 'str2' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/libc/gtermcap/tparam.c:162:8: style: Obsolescent function 'bcopy' called. It is recommended to use 'memcpy' or 'memmove' instead. [prohibitedbcopyCalled] dev86-0.16.21/libc/gtermcap/tparam.c:170:14: error: If memory allocation fails: overflow in pointer arithmetic, NULL pointer is subtracted. [nullPointerArithmeticOutOfMemory] dev86-0.16.21/libc/gtermcap/tparam.c:160:31: note: Assuming allocation function fails dev86-0.16.21/libc/gtermcap/tparam.c:160:14: note: Assignment 'new=(char*)xmalloc(outlen)', assigned value is 0 dev86-0.16.21/libc/gtermcap/tparam.c:170:14: note: Null pointer subtraction dev86-0.16.21/libc/gtermcap/tparam.c:171:18: error: If memory allocation fails: overflow in pointer arithmetic, NULL pointer is subtracted. [nullPointerArithmeticOutOfMemory] dev86-0.16.21/libc/gtermcap/tparam.c:160:31: note: Assuming allocation function fails dev86-0.16.21/libc/gtermcap/tparam.c:160:14: note: Assignment 'new=(char*)xmalloc(outlen)', assigned value is 0 dev86-0.16.21/libc/gtermcap/tparam.c:171:18: note: Null pointer subtraction dev86-0.16.21/libc/gtermcap/tparam.c:135:12: style: Parameter 'up' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/libc/gtermcap/tparam.c:135:17: style: Parameter 'left' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/libc/gtermcap/tparam.c:145:8: style: Variable 'old_argp' can be declared as pointer to const [constVariablePointer] dev86-0.16.21/libc/i386fp/test.c:55:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLOCKS_PER_SEC [valueFlowBailoutIncompleteVar] dev86-0.16.21/libc/i386fp/test.c:61:6: style: Variable 'cto' is assigned a value that is never used. [unreadVariable] dev86-0.16.21/libc/malloc/malloc.c:31:20: style: union member 'mem_cell::next' is never used. [unusedStructMember] dev86-0.16.21/libc/malloc/malloc.c:32:17: style: union member 'mem_cell::size' is never used. [unusedStructMember] dev86-0.16.21/libc/malloc/malloc.c:33:10: style: union member 'mem_cell::depth' is never used. [unusedStructMember] dev86-0.16.21/libc/misc/atof.c:11:7: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/libc/misc/atoi.c:8:17: style: Parameter 'number' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/libc/misc/atol.c:8:17: style: Parameter 'number' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/libc/misc/crypt.c:41:13: error: Buffer is accessed out of bounds: rkey [bufferAccessOutOfBounds] dev86-0.16.21/libc/misc/crypt.c:65:18: style: Condition 'rkey[i]>=0' is always true [knownConditionTrueFalse] dev86-0.16.21/libc/misc/crypt.c:59:19: note: Assignment 'rkey[i]=sum&0x3F', assigned value is greater than -1 dev86-0.16.21/libc/misc/crypt.c:65:18: note: Condition 'rkey[i]>=0' is always true dev86-0.16.21/libc/misc/getcwd.c:30:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dev86-0.16.21/libc/misc/getcwd.c:54:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dev86-0.16.21/libc/misc/getcwd.c:80:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dev86-0.16.21/libc/misc/getcwd.c:89:14: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] dev86-0.16.21/libc/misc/getcwd.c:67:20: style: Variable 'd' can be declared as pointer to const [constVariablePointer] dev86-0.16.21/libc/misc/getenv.c:10:8: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/libc/misc/getopt.c:31:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dev86-0.16.21/libc/misc/getopt.c:61:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] dev86-0.16.21/libc/misc/getopt.c:25:7: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/libc/misc/getopt.c:26:7: style: Parameter 'mess' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/libc/misc/getopt.c:44:7: style: Parameter 'optstring' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/libc/misc/getopt.c:52:19: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] dev86-0.16.21/libc/misc/getopt.c:69:8: style: Variable 'osp' is assigned a value that is never used. [unreadVariable] dev86-0.16.21/libc/misc/popen.c:39:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] dev86-0.16.21/libc/misc/popen.c:39:0: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] dev86-0.16.21/libc/misc/popen.c:15:10: style: Obsolescent function 'vfork' called. It is recommended to use 'fork' instead. [prohibitedvforkCalled] dev86-0.16.21/libc/misc/putenv.c:50:7: portability: Assigning an integer to a pointer is not portable. [AssignmentIntegerToAddress] dev86-0.16.21/libc/misc/putenv.c:19:11: style: Variable 'r' can be declared as pointer to const [constVariablePointer] dev86-0.16.21/libc/misc/rand.c:44:20: style: Unused variable: z [unusedVariable] dev86-0.16.21/libc/misc/setenv.c:19:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __const [valueFlowBailoutIncompleteVar] dev86-0.16.21/libc/misc/setenv.c:88:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __const [valueFlowBailoutIncompleteVar] dev86-0.16.21/libc/misc/setenv.c:13:15: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/libc/misc/setenv.c:14:15: style: Parameter 'value' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/libc/misc/setenv.c:84:15: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/libc/misc/strtod.c:87:10: warning: Uninitialized variable: exponent [uninitvar] dev86-0.16.21/libc/misc/strtod.c:66:18: note: Assuming condition is false dev86-0.16.21/libc/misc/strtod.c:87:10: note: Uninitialized variable: exponent dev86-0.16.21/libc/misc/strtod.c:89:11: warning: Uninitialized variable: exp_negative [uninitvar] dev86-0.16.21/libc/misc/strtod.c:66:18: note: Assuming condition is false dev86-0.16.21/libc/misc/strtod.c:89:11: note: Uninitialized variable: exp_negative dev86-0.16.21/libc/misc/system.c:15:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] dev86-0.16.21/libc/misc/system.c:18:13: style: Obsolescent function 'vfork' called. It is recommended to use 'fork' instead. [prohibitedvforkCalled] dev86-0.16.21/libc/misc/tmpnam.c:36:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dev86-0.16.21/libc/misc/tmpnam.c:24:17: style: Variable 'uniq_ch' can be declared as const array [constVariable] dev86-0.16.21/libc/msdos/dosound.c:3:1: portability: Omitted return type of function 'nosound' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/libc/msdos/i86.c:263:16: error: No pair for character ('). Can't process file. File is either invalid or unicode, which is currently not supported. [syntaxError] dev86-0.16.21/libc/msdos/intr.c:11:1: error: syntax error: ; . text [syntaxError] dev86-0.16.21/libc/msdos/mslib.c:22:14: error: No pair for character ('). Can't process file. File is either invalid or unicode, which is currently not supported. [syntaxError] dev86-0.16.21/libc/msdos/new86.c:5:1: portability: Omitted return type of function '_enable' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/libc/msdos/new86.c:12:1: portability: Omitted return type of function '_disable' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/libc/msdos/new86.c:19:1: portability: Omitted return type of function 'geninterrupt' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/libc/msdos/new86.c:24:1: portability: Omitted return type of function 'inp' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/libc/msdos/new86.c:29:1: portability: Omitted return type of function 'inpw' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/libc/msdos/new86.c:34:1: portability: Omitted return type of function 'outp' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/libc/msdos/new86.c:38:1: portability: Omitted return type of function 'outpw' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/libc/msdos/new86.c:42:1: portability: Omitted return type of function 'peek' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/libc/msdos/new86.c:47:1: portability: Omitted return type of function 'peekb' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/libc/msdos/new86.c:52:1: portability: Omitted return type of function 'poke' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/libc/msdos/new86.c:57:1: portability: Omitted return type of function 'pokeb' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/libc/msdos/new86.c:8:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sti [valueFlowBailoutIncompleteVar] dev86-0.16.21/libc/msdos/new86.c:15:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cli [valueFlowBailoutIncompleteVar] dev86-0.16.21/libc/msdos/sound.c:6:1: portability: Omitted return type of function 'sound' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/libc/msdos/sound.c:20:1: portability: Omitted return type of function 'nosound' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/libc/msdos/time.c:29:15: error: syntax error [syntaxError] dev86-0.16.21/libc/regexp/regerror.c:10:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dev86-0.16.21/libc/regexp/regerror.c:5:7: style: Parameter 's' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/libc/regexp/regexp.c:217:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable regexp [valueFlowBailoutIncompleteVar] dev86-0.16.21/libc/regexp/regexp.c:292:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSUBEXP [valueFlowBailoutIncompleteVar] dev86-0.16.21/libc/regexp/regexp.c:777:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSUBEXP [valueFlowBailoutIncompleteVar] dev86-0.16.21/libc/regexp/regexp.c:227:3: error: Memory leak: r [memleak] dev86-0.16.21/libc/regexp/regexp.c:517:3: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] dev86-0.16.21/libc/regexp/regexp.c:522:3: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] dev86-0.16.21/libc/regexp/regexp.c:963:4: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak] dev86-0.16.21/libc/regexp/regexp.c:633:7: style: Parameter 'val' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/libc/regexp/regexp.c:835:20: style: Variable 'opnd' can be declared as pointer to const [constVariablePointer] dev86-0.16.21/libc/regexp/regexp.c:993:17: style: Variable 'opnd' can be declared as pointer to const [constVariablePointer] dev86-0.16.21/libc/regexp/regsub.c:40:17: style: Variable 'src' can be declared as pointer to const [constVariablePointer] dev86-0.16.21/libc/regexp/timer.c:48:1: portability: Omitted return type of function 'main' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/libc/regexp/timer.c:99:1: portability: Omitted return type of function 'error' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/libc/regexp/timer.c:112:1: portability: Omitted return type of function 'multiple' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/libc/regexp/timer.c:125:1: portability: Omitted return type of function 'try' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/libc/regexp/timer.c:175:1: portability: Omitted return type of function 'complain' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/libc/regexp/timer.c:103:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dev86-0.16.21/libc/regexp/timer.c:130:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] dev86-0.16.21/libc/regexp/timer.c:179:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dev86-0.16.21/libc/regexp/timer.c:100:7: style: Parameter 's1' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/libc/regexp/timer.c:101:7: style: Parameter 's2' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/libc/regexp/timer.c:176:7: style: Parameter 's1' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/libc/regexp/timer.c:177:7: style: Parameter 's2' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/libc/regexp/timer.c:54:7: style: Unused variable: dummy [unusedVariable] dev86-0.16.21/libc/regexp/try.c:51:1: portability: Omitted return type of function 'main' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/libc/regexp/try.c:101:1: portability: Omitted return type of function 'error' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/libc/regexp/try.c:116:1: portability: Omitted return type of function 'multiple' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/libc/regexp/try.c:189:1: portability: Omitted return type of function 'try' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/libc/regexp/try.c:230:1: portability: Omitted return type of function 'complain' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/libc/regexp/try.c:78:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NSUBEXP [valueFlowBailoutIncompleteVar] dev86-0.16.21/libc/regexp/try.c:105:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dev86-0.16.21/libc/regexp/try.c:118:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] dev86-0.16.21/libc/regexp/try.c:193:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] dev86-0.16.21/libc/regexp/try.c:234:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dev86-0.16.21/libc/regexp/try.c:106:2: warning: fprintf format string requires 0 parameters but 1 is given. [wrongPrintfScanfArgNum] dev86-0.16.21/libc/regexp/try.c:102:7: style: Parameter 's1' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/libc/regexp/try.c:103:7: style: Parameter 's2' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/libc/regexp/try.c:231:7: style: Parameter 's1' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/libc/regexp/try.c:232:7: style: Parameter 's2' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/libc/string/strcasecmp.c:11:7: style: Parameter 's' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/libc/string/strcasecmp.c:12:7: style: Parameter 'd' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/libc/string/strcspn.c:17:20: style: Variable 'setptr' can be declared as pointer to const [constVariablePointer] dev86-0.16.21/libc/string/strcspn.c:18:11: style: Variable 'start' can be declared as pointer to const [constVariablePointer] dev86-0.16.21/libc/string/strncasecmp.c:11:7: style: Parameter 's' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/libc/string/strncasecmp.c:12:7: style: Parameter 'd' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/libc/string/strpbrk.c:12:7: style: Parameter 'set' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/libc/string/strsep.c:24:7: style: Parameter 'delim' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/libc/string/strstr.c:13:17: style: Parameter 's2' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/libc/string/strtok.c:36:16: style: Parameter 'delim' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/libc/termios/ttyname.c:15:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dev86-0.16.21/libc/termios/ttyname.c:31:16: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] dev86-0.16.21/libc/termios/ttyname.c:13:19: style: Variable 'd' can be declared as pointer to const [constVariablePointer] dev86-0.16.21/libc/time/asc_conv.c:20:13: style: Parameter 'ptm' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/libc/time/tm_conv.c:89:9: style: Parameter 't' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/libc/time/tm_conv.c:94:32: style: Variable 'ip' can be declared as pointer to const [constVariablePointer] dev86-0.16.21/tests/compr.c:39:1: portability: Omitted return type of function 'main' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/tests/compr.c:96:1: portability: Omitted return type of function 'scan_min' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/tests/compr.c:119:1: portability: Omitted return type of function 'compress' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/tests/compr.c:268:1: portability: Omitted return type of function 'slo_compress' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/tests/compr.c:43:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dev86-0.16.21/tests/compr.c:113:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dev86-0.16.21/tests/compr.c:204:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dev86-0.16.21/tests/compr.c:339:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dev86-0.16.21/tests/compr.c:74:52: style: Condition '(size=fread(fptr,1,(int)maxno,fd))<0' is always false [knownConditionTrueFalse] dev86-0.16.21/tests/compr.c:79:17: style: Condition 'fl==0' is always true [knownConditionTrueFalse] dev86-0.16.21/tests/compr.c:72:9: note: Assignment 'fl=0', assigned value is 0 dev86-0.16.21/tests/compr.c:79:17: note: Condition 'fl==0' is always true dev86-0.16.21/tests/compr.c:236:50: style: Condition '(cnt=fread(ptr+size,1,(int)maxno,fd))<0' is always false [knownConditionTrueFalse] dev86-0.16.21/tests/compr.c:356:50: style: Condition '(cnt=fread(ptr+size,1,(int)maxno,fd))<0' is always false [knownConditionTrueFalse] dev86-0.16.21/tests/compr.c:204:6: warning: %ld in format string (no. 3) requires 'long' but the argument type is 'signed int'. [invalidPrintfArgType_sint] dev86-0.16.21/tests/compr.c:217:11: style: Local variable 'cnt' shadows outer variable [shadowVariable] dev86-0.16.21/tests/compr.c:25:13: note: Shadowed declaration dev86-0.16.21/tests/compr.c:217:11: note: Shadow variable dev86-0.16.21/tests/compr.c:343:11: style: Local variable 'cnt' shadows outer variable [shadowVariable] dev86-0.16.21/tests/compr.c:25:13: note: Shadowed declaration dev86-0.16.21/tests/compr.c:343:11: note: Shadow variable dev86-0.16.21/tests/compr.c:113:87: warning: Uninitialized variable: n [uninitvar] dev86-0.16.21/tests/compr.c:107:20: note: Assuming condition is false dev86-0.16.21/tests/compr.c:113:87: note: Uninitialized variable: n dev86-0.16.21/tests/env.c:5:1: portability: Omitted return type of function 'main' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/tests/env.c:58:1: portability: Omitted return type of function 'phex' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/tests/env.c:64:1: portability: Omitted return type of function 'putstr' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/tests/env.c:61:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable val [valueFlowBailoutIncompleteVar] dev86-0.16.21/tests/env.c:66:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable str [valueFlowBailoutIncompleteVar] dev86-0.16.21/tests/env.c:10:19: style: Variable 'p' can be declared as pointer to const [constVariablePointer] dev86-0.16.21/tests/env.c:34:6: style: Variable 'p' is assigned a value that is never used. [unreadVariable] dev86-0.16.21/tests/env.c:10:29: style: Unused variable: str [unusedVariable] dev86-0.16.21/tests/env.c:60:8: style: Unused variable: i [unusedVariable] dev86-0.16.21/tests/ft.c:393:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dev86-0.16.21/tests/ft.c:454:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dev86-0.16.21/tests/ft.c:503:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] dev86-0.16.21/tests/ft.c:546:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] dev86-0.16.21/tests/ft.c:653:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] dev86-0.16.21/tests/ft.c:768:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dev86-0.16.21/tests/ft.c:784:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNIX [valueFlowBailoutIncompleteVar] dev86-0.16.21/tests/ft.c:808:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EISDIR [valueFlowBailoutIncompleteVar] dev86-0.16.21/tests/ft.c:879:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EEXIST [valueFlowBailoutIncompleteVar] dev86-0.16.21/tests/ft.c:905:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EEXIST [valueFlowBailoutIncompleteVar] dev86-0.16.21/tests/ft.c:942:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EPERM [valueFlowBailoutIncompleteVar] dev86-0.16.21/tests/ft.c:994:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dev86-0.16.21/tests/ft.c:1028:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] dev86-0.16.21/tests/ft.c:1162:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dev86-0.16.21/tests/ft.c:1207:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dev86-0.16.21/tests/ft.c:1226:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dev86-0.16.21/tests/ft.c:469:3: warning: Return value of function alloca() is not used. [ignoredReturnValue] dev86-0.16.21/tests/ft.c:390:13: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] dev86-0.16.21/tests/ft.c:464:18: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] dev86-0.16.21/tests/ft.c:469:3: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] dev86-0.16.21/tests/ft.c:529:14: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] dev86-0.16.21/tests/ft.c:541:13: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] dev86-0.16.21/tests/ft.c:562:16: portability: Non reentrant function 'getgrnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrnam_r'. [prohibitedgetgrnamCalled] dev86-0.16.21/tests/ft.c:707:13: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] dev86-0.16.21/tests/ft.c:716:13: portability: Non reentrant function 'getgrgid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrgid_r'. [prohibitedgetgrgidCalled] dev86-0.16.21/tests/ft.c:783:10: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] dev86-0.16.21/tests/ft.c:823:10: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] dev86-0.16.21/tests/ft.c:874:15: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] dev86-0.16.21/tests/ft.c:899:15: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] dev86-0.16.21/tests/ft.c:933:15: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] dev86-0.16.21/tests/ft.c:993:9: style: Obsolescent function 'utime' called. It is recommended to use 'utimensat' instead. [prohibitedutimeCalled] dev86-0.16.21/tests/ft.c:1070:10: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] dev86-0.16.21/tests/ft.c:789:10: style: The if condition is the same as the previous if condition [duplicateCondition] dev86-0.16.21/tests/ft.c:788:10: note: First condition dev86-0.16.21/tests/ft.c:789:10: note: Second condition dev86-0.16.21/tests/ft.c:1071:19: error: Resource leak: dfd [resourceLeak] dev86-0.16.21/tests/ft.c:175:17: style: Variable 'ap' can be declared as pointer to const [constVariablePointer] dev86-0.16.21/tests/ft.c:271:14: style: Variable 's' can be declared as pointer to const [constVariablePointer] dev86-0.16.21/tests/ft.c:380:22: style: Parameter 'fname' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/tests/ft.c:520:8: style: Parameter 'prefix' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/tests/ft.c:520:23: style: Parameter 'ustring' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/tests/ft.c:526:20: style: Variable 'pwd' can be declared as pointer to const [constVariablePointer] dev86-0.16.21/tests/ft.c:527:20: style: Variable 'grp' can be declared as pointer to const [constVariablePointer] dev86-0.16.21/tests/ft.c:661:8: style: Parameter 'fname' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/tests/ft.c:665:20: style: Variable 'pptr' can be declared as pointer to const [constVariablePointer] dev86-0.16.21/tests/ft.c:666:20: style: Variable 'gptr' can be declared as pointer to const [constVariablePointer] dev86-0.16.21/tests/ft.c:843:21: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/tests/ft.c:843:34: style: Parameter 'newpath' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/tests/ft.c:845:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] dev86-0.16.21/tests/ft.c:1224:21: style: Parameter 'estr' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/tests/ft.c:1224:34: style: Parameter 'eobj' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/tests/ft.c:491:25: style: Variable 'rv' is assigned a value that is never used. [unreadVariable] dev86-0.16.21/tests/ft.c:493:25: style: Variable 'rv' is assigned a value that is never used. [unreadVariable] dev86-0.16.21/tests/ft.c:497:25: style: Variable 'rv' is assigned a value that is never used. [unreadVariable] dev86-0.16.21/tests/ft.c:499:25: style: Variable 'rv' is assigned a value that is never used. [unreadVariable] dev86-0.16.21/tests/ft.c:500:25: style: Variable 'rv' is assigned a value that is never used. [unreadVariable] dev86-0.16.21/tests/ft.c:501:25: style: Variable 'rv' is assigned a value that is never used. [unreadVariable] dev86-0.16.21/tests/ft.c:506:25: style: Variable 'rv' is assigned a value that is never used. [unreadVariable] dev86-0.16.21/tests/ft.c:510:25: style: Variable 'rv' is assigned a value that is never used. [unreadVariable] dev86-0.16.21/tests/ft.c:511:25: style: Variable 'rv' is assigned a value that is never used. [unreadVariable] dev86-0.16.21/tests/ft.c:513:25: style: Variable 'rv' is assigned a value that is never used. [unreadVariable] dev86-0.16.21/tests/grab.c:14:1: portability: Omitted return type of function 'main' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/tests/grab.c:27:3: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] dev86-0.16.21/tests/grab.c:46:3: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] dev86-0.16.21/tests/grab.c:60:2: warning: %ld in format string (no. 1) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] dev86-0.16.21/tests/grab.c:68:2: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] dev86-0.16.21/tests/grab.c:70:2: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] dev86-0.16.21/tests/grab.c:72:2: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] dev86-0.16.21/tests/grab.c:77:5: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] dev86-0.16.21/tests/hd.c:36:1: portability: Omitted return type of function 'main' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/tests/hd.c:123:1: portability: Omitted return type of function 'Usage' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/tests/hd.c:129:1: portability: Omitted return type of function 'do_fd' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/tests/hd.c:159:1: portability: Omitted return type of function 'printline' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/tests/hd.c:206:1: portability: Omitted return type of function 'do_rev_fd' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/tests/hd.c:46:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_CTYPE [valueFlowBailoutIncompleteVar] dev86-0.16.21/tests/hd.c:125:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dev86-0.16.21/tests/hd.c:138:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] dev86-0.16.21/tests/hd.c:150:15: warning: Invalid isprint() argument nr 1. The value is -1 but the valid values are '0:255'. [invalidFunctionArg] dev86-0.16.21/tests/hd.c:143:16: note: Assignment 'j=0', assigned value is 0 dev86-0.16.21/tests/hd.c:146:10: note: Assuming condition is false dev86-0.16.21/tests/hd.c:149:10: note: num[j] is assigned 'ch' here. dev86-0.16.21/tests/hd.c:150:15: note: Invalid argument dev86-0.16.21/tests/hd.c:162:7: style: Parameter 'chr' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/tests/line2.c:6:1: portability: Omitted return type of function 'main' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/tests/line2.c:11:34: warning: If resource allocation fails, then there is a possible null pointer dereference: fd [nullPointerOutOfResources] dev86-0.16.21/tests/line2.c:9:14: note: Assuming allocation function fails dev86-0.16.21/tests/line2.c:9:14: note: Assignment 'fd=fopen("/etc/passwd","r")', assigned value is 0 dev86-0.16.21/tests/line2.c:11:34: note: Null pointer dereference dev86-0.16.21/tests/lines.c:24:1: portability: Omitted return type of function 'main' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/tests/lines.c:12:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fd [valueFlowBailoutIncompleteVar] dev86-0.16.21/tests/lines.c:26:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] dev86-0.16.21/tests/lines.c:27:11: style: Variable 'p' can be declared as pointer to const [constVariablePointer] dev86-0.16.21/tests/ouch.c:11:1: portability: Omitted return type of function 'main' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/tests/ouch.c:17:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dev86-0.16.21/tests/rand.c:5:1: portability: Omitted return type of function 'main' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/tests/rand.c:13:20: warning: If resource allocation fails, then there is a possible null pointer dereference: fd [nullPointerOutOfResources] dev86-0.16.21/tests/rand.c:7:21: note: Assuming allocation function fails dev86-0.16.21/tests/rand.c:7:21: note: Assignment 'fd=popen("./hd","w")', assigned value is 0 dev86-0.16.21/tests/rand.c:13:20: note: Null pointer dereference dev86-0.16.21/tests/rand.c:15:11: warning: If resource allocation fails, then there is a possible null pointer dereference: fd [nullPointerOutOfResources] dev86-0.16.21/tests/rand.c:7:21: note: Assuming allocation function fails dev86-0.16.21/tests/rand.c:7:21: note: Assignment 'fd=popen("./hd","w")', assigned value is 0 dev86-0.16.21/tests/rand.c:15:11: note: Null pointer dereference dev86-0.16.21/tests/ucomp.c:26:1: portability: Omitted return type of function 'main' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/tests/ucomp.c:61:1: portability: Omitted return type of function 'uncompress' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/tests/ucomp.c:42:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] dev86-0.16.21/tests/ucomp.c:75:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] dev86-0.16.21/tests/ucomp.c:66:29: style: Variable 'eptr' can be declared as pointer to const [constVariablePointer] dev86-0.16.21/tests/ucomp.c:106:54: style: Variable 'mainscan' is assigned a value that is never used. [unreadVariable] dev86-0.16.21/tests/wc.c:86:1: portability: Omitted return type of function 'count' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/tests/wc.c:129:1: portability: Omitted return type of function 'Usage' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/tests/wc.c:55:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] dev86-0.16.21/tests/wc.c:97:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] dev86-0.16.21/tests/wc.c:131:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dev86-0.16.21/tests/wc.c:88:7: style: Parameter 'fname' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/unproto/error.c:85:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dev86-0.16.21/unproto/error.c:76:9: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/unproto/error.c:78:9: style: Parameter 'text' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/unproto/example.c:44:34: error: syntax error: Unexpected token '(' [syntaxError] dev86-0.16.21/unproto/hash.c:35:16: style: Parameter 's' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/unproto/tok_class.c:370:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] dev86-0.16.21/unproto/tok_class.c:392:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] dev86-0.16.21/unproto/tok_class.c:124:29: style: Variable 's' can be declared as pointer to const [constVariablePointer] dev86-0.16.21/unproto/tok_class.c:369:13: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] dev86-0.16.21/unproto/tok_class.c:391:13: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] dev86-0.16.21/unproto/tok_io.c:218:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] dev86-0.16.21/unproto/tok_io.c:279:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] dev86-0.16.21/unproto/tok_io.c:302:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] dev86-0.16.21/unproto/tok_io.c:384:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] dev86-0.16.21/unproto/tok_io.c:428:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] dev86-0.16.21/unproto/tok_io.c:458:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] dev86-0.16.21/unproto/tok_io.c:512:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] dev86-0.16.21/unproto/tok_io.c:610:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] dev86-0.16.21/unproto/tok_io.c:598:17: style: Variable 'cp' can be declared as pointer to const [constVariablePointer] dev86-0.16.21/unproto/unproto.c:638:24: style: Parameter 't' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/unproto/varargs.c:12:1: portability: Omitted return type of function 'main' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/unproto/varargs.c:17:1: portability: Omitted return type of function 'varargs_test' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dev86-0.16.21/unproto/varargs.c:24:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] dev86-0.16.21/unproto/varargs.c:12:22: style: Parameter 'argv' can be declared as const array [constParameter] dev86-0.16.21/unproto/vstring.c:96:9: style: Parameter 'cp' can be declared as pointer to const [constParameterPointer] dev86-0.16.21/unproto/vstring.c:112:16: style: Parameter 'src' can be declared as pointer to const [constParameterPointer] diff: 2.17.0 dev86-0.16.21/ar/ar.c:1452:3: warning: If memory allocation fails, then there is a possible null pointer dereference: this [nullPointerOutOfMemory] dev86-0.16.21/ar/ar.c:1451:36: note: Assuming allocation function fails dev86-0.16.21/ar/ar.c:1451:10: note: Assignment 'this=(struct mapelt*)xmalloc(sizeof(struct mapelt))', assigned value is 0 dev86-0.16.21/ar/ar.c:1452:3: note: Null pointer dereference 2.17.0 dev86-0.16.21/ar/ar.c:1617:41: error:inconclusive: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] dev86-0.16.21/ar/ar.c:1606:28: note: Assuming allocation function fails dev86-0.16.21/ar/ar.c:1606:11: note: Assignment 'data=(char*)xmalloc(mapelt->info.size)', assigned value is 0 dev86-0.16.21/ar/ar.c:1617:41: note: Null pointer addition head dev86-0.16.21/ar/ar.c:1617:41: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] dev86-0.16.21/ar/ar.c:1606:28: note: Assuming allocation function fails dev86-0.16.21/ar/ar.c:1606:11: note: Assignment 'data=(char*)xmalloc(mapelt->info.size)', assigned value is 0 dev86-0.16.21/ar/ar.c:1617:41: note: Null pointer addition 2.17.0 dev86-0.16.21/ar/ar.c:1952:27: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] dev86-0.16.21/ar/ar.c:1945:34: note: Assuming allocation function fails dev86-0.16.21/ar/ar.c:1945:17: note: Assignment 'new_strings=(char*)xmalloc(new_strings_size)', assigned value is 0 dev86-0.16.21/ar/ar.c:1952:27: note: Null pointer addition 2.17.0 dev86-0.16.21/ar/ar.c:1954:34: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] dev86-0.16.21/ar/ar.c:1945:34: note: Assuming allocation function fails dev86-0.16.21/ar/ar.c:1945:17: note: Assignment 'new_strings=(char*)xmalloc(new_strings_size)', assigned value is 0 dev86-0.16.21/ar/ar.c:1954:34: note: Null pointer addition 2.17.0 dev86-0.16.21/ar/ar.c:2071:11: warning: If memory allocation fails, then there is a possible null pointer dereference: result [nullPointerOutOfMemory] dev86-0.16.21/ar/ar.c:2069:35: note: Assuming allocation function fails dev86-0.16.21/ar/ar.c:2069:18: note: Assignment 'result=(char*)xmalloc(len1+len2+len3+1)', assigned value is 0 dev86-0.16.21/ar/ar.c:2071:11: note: Null pointer dereference 2.17.0 dev86-0.16.21/ar/ar.c:748:3: warning: If memory allocation fails, then there is a possible null pointer dereference: mapelt [nullPointerOutOfMemory] dev86-0.16.21/ar/ar.c:747:53: note: Assuming allocation function fails dev86-0.16.21/ar/ar.c:747:27: note: Assignment 'mapelt=(struct mapelt*)xmalloc(sizeof(struct mapelt))', assigned value is 0 dev86-0.16.21/ar/ar.c:748:3: note: Null pointer dereference 2.17.0 dev86-0.16.21/ar/ar.c:749:3: warning: If memory allocation fails, then there is a possible null pointer dereference: mapelt [nullPointerOutOfMemory] dev86-0.16.21/ar/ar.c:747:53: note: Assuming allocation function fails dev86-0.16.21/ar/ar.c:747:27: note: Assignment 'mapelt=(struct mapelt*)xmalloc(sizeof(struct mapelt))', assigned value is 0 dev86-0.16.21/ar/ar.c:749:3: note: Null pointer dereference 2.17.0 dev86-0.16.21/ar/ar.c:751:3: warning: If memory allocation fails, then there is a possible null pointer dereference: mapelt [nullPointerOutOfMemory] dev86-0.16.21/ar/ar.c:747:53: note: Assuming allocation function fails dev86-0.16.21/ar/ar.c:747:27: note: Assignment 'mapelt=(struct mapelt*)xmalloc(sizeof(struct mapelt))', assigned value is 0 dev86-0.16.21/ar/ar.c:751:3: note: Null pointer dereference 2.17.0 dev86-0.16.21/ar/ar.c:983:4: warning: If memory allocation fails, then there is a possible null pointer dereference: this [nullPointerOutOfMemory] dev86-0.16.21/ar/ar.c:982:14: note: Assuming allocation function fails dev86-0.16.21/ar/ar.c:981:26: note: Assignment 'this=(struct mapelt*)xmalloc(sizeof(struct mapelt))', assigned value is 0 dev86-0.16.21/ar/ar.c:983:4: note: Null pointer dereference head dev86-0.16.21/bootblocks/boot_win.c:188:12: error: There is an unknown macro here somewhere. Configuration is required. If the is a macro then please configure it. [unknownMacro] 2.17.0 dev86-0.16.21/bootblocks/boot_win.c:188:16: error: syntax error: ! .. return [syntaxError] 2.17.0 dev86-0.16.21/ld/io.c:81:24: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] dev86-0.16.21/ld/io.c:79:20: note: Assuming allocation function fails dev86-0.16.21/ld/io.c:79:20: note: Assignment 'errbuf=malloc(1024)', assigned value is 0 dev86-0.16.21/ld/io.c:81:24: note: Null pointer addition head dev86-0.16.21/ld/io.c:81:24: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] dev86-0.16.21/ld/io.c:79:20: note: Assuming allocation function fails dev86-0.16.21/ld/io.c:79:20: note: Assignment 'errbuf=malloc(1024)', assigned value is 0 dev86-0.16.21/ld/io.c:81:24: note: Null pointer addition 2.17.0 dev86-0.16.21/ld/io.c:85:24: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] dev86-0.16.21/ld/io.c:83:20: note: Assuming allocation function fails dev86-0.16.21/ld/io.c:83:20: note: Assignment 'outbuf=malloc(2048)', assigned value is 0 dev86-0.16.21/ld/io.c:85:24: note: Null pointer addition head dev86-0.16.21/ld/io.c:85:24: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] dev86-0.16.21/ld/io.c:83:20: note: Assuming allocation function fails dev86-0.16.21/ld/io.c:83:20: note: Assignment 'outbuf=malloc(2048)', assigned value is 0 dev86-0.16.21/ld/io.c:85:24: note: Null pointer addition head dev86-0.16.21/libc/bios/time.c:123:8: error: There is an unknown macro here somewhere. Configuration is required. If $1A is a macro then please configure it. [unknownMacro] 2.17.0 dev86-0.16.21/libc/bios/time.c:126:4: error: syntax error: "1" .. return [syntaxError] head dev86-0.16.21/libc/crt0.c:62:2: error: #error You are not going to get far without crt0.o! [preprocessorErrorDirective] 2.17.0 dev86-0.16.21/libc/gtermcap/tparam.c:162:26: warning: If memory allocation fails, then there is a possible null pointer dereference: new [nullPointerOutOfMemory] dev86-0.16.21/libc/gtermcap/tparam.c:160:31: note: Assuming allocation function fails dev86-0.16.21/libc/gtermcap/tparam.c:160:14: note: Assignment 'new=(char*)xmalloc(outlen)', assigned value is 0 dev86-0.16.21/libc/gtermcap/tparam.c:162:26: note: Null pointer dereference 2.17.0 dev86-0.16.21/libc/gtermcap/tparam.c:170:14: error: If memory allocation fail: overflow in pointer arithmetic, NULL pointer is subtracted. [nullPointerArithmeticOutOfMemory] dev86-0.16.21/libc/gtermcap/tparam.c:160:31: note: Assuming allocation function fails dev86-0.16.21/libc/gtermcap/tparam.c:160:14: note: Assignment 'new=(char*)xmalloc(outlen)', assigned value is 0 dev86-0.16.21/libc/gtermcap/tparam.c:170:14: note: Null pointer subtraction head dev86-0.16.21/libc/gtermcap/tparam.c:170:14: error: If memory allocation fails: overflow in pointer arithmetic, NULL pointer is subtracted. [nullPointerArithmeticOutOfMemory] dev86-0.16.21/libc/gtermcap/tparam.c:160:31: note: Assuming allocation function fails dev86-0.16.21/libc/gtermcap/tparam.c:160:14: note: Assignment 'new=(char*)xmalloc(outlen)', assigned value is 0 dev86-0.16.21/libc/gtermcap/tparam.c:170:14: note: Null pointer subtraction 2.17.0 dev86-0.16.21/libc/gtermcap/tparam.c:171:18: error: If memory allocation fail: overflow in pointer arithmetic, NULL pointer is subtracted. [nullPointerArithmeticOutOfMemory] dev86-0.16.21/libc/gtermcap/tparam.c:160:31: note: Assuming allocation function fails dev86-0.16.21/libc/gtermcap/tparam.c:160:14: note: Assignment 'new=(char*)xmalloc(outlen)', assigned value is 0 dev86-0.16.21/libc/gtermcap/tparam.c:171:18: note: Null pointer subtraction head dev86-0.16.21/libc/gtermcap/tparam.c:171:18: error: If memory allocation fails: overflow in pointer arithmetic, NULL pointer is subtracted. [nullPointerArithmeticOutOfMemory] dev86-0.16.21/libc/gtermcap/tparam.c:160:31: note: Assuming allocation function fails dev86-0.16.21/libc/gtermcap/tparam.c:160:14: note: Assignment 'new=(char*)xmalloc(outlen)', assigned value is 0 dev86-0.16.21/libc/gtermcap/tparam.c:171:18: note: Null pointer subtraction DONE