2025-07-07 14:53 ftp://ftp.de.debian.org/debian/pool/main/d/dietlibc/dietlibc_0.34~cvs20160606.orig.tar.xz cppcheck-options: --library=posix --library=gnu --library=bsd --library=bsd --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j1 platform: Linux-6.8.0-63-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 cppcheck: head 2.17.0 head-info: 8833e3e (2025-07-07 13:50:36 +0200) count: 1433 1434 elapsed-time: 4.6 5.0 head-timing-info: old-timing-info: head results: dietlibc-0.34~cvs20160606/alpha/sigaction.c:10:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SA_SIGINFO [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/arm/__fadvise.c:9:78: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable len [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/contrib/debug-realloc.c:30:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAP_ANONYMOUS [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/contrib/debug-realloc.c:59:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_NONE [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/contrib/debug-realloc.c:92:16: warning: Either the condition 'ptr' is redundant or there is possible null pointer dereference: ptr. [nullPointerRedundantCheck] dietlibc-0.34~cvs20160606/contrib/debug-realloc.c:78:7: note: Assuming that condition 'ptr' is not redundant dietlibc-0.34~cvs20160606/contrib/debug-realloc.c:92:16: note: Null pointer dereference dietlibc-0.34~cvs20160606/contrib/debug-realloc.c:32:6: error: If memory allocation fails: overflow in pointer arithmetic, NULL pointer is subtracted. [nullPointerArithmeticOutOfMemory] dietlibc-0.34~cvs20160606/contrib/debug-realloc.c:30:9: note: Assuming allocation function fails dietlibc-0.34~cvs20160606/contrib/debug-realloc.c:30:9: note: Assignment 'n=mmap(0,s,PROT_NONE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0)', assigned value is 0 dietlibc-0.34~cvs20160606/contrib/debug-realloc.c:32:6: note: Null pointer subtraction dietlibc-0.34~cvs20160606/contrib/debug-realloc.c:92:16: error: Null pointer dereference [nullPointer] dietlibc-0.34~cvs20160606/contrib/dnsd.c:57:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IP_PKTINFO [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/contrib/dnsd.c:179:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIOCGIFNAME [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/contrib/dnsd.c:215:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IP_PKTINFO [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/contrib/dnsd.c:296:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PF_INET6 [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/contrib/dnsd.c:364:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable events [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/contrib/dnsd.c:119:12: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] dietlibc-0.34~cvs20160606/contrib/dnsd.c:66:10: style: Local variable 'buf' shadows outer variable [shadowVariable] dietlibc-0.34~cvs20160606/contrib/dnsd.c:210:6: note: Shadowed declaration dietlibc-0.34~cvs20160606/contrib/dnsd.c:66:10: note: Shadow variable dietlibc-0.34~cvs20160606/contrib/dnsd.c:72:13: style: Variable 'max' can be declared as pointer to const [constVariablePointer] dietlibc-0.34~cvs20160606/contrib/dnsd.c:283:63: style: Parameter 'v6ip' can be declared as pointer to const [constParameterPointer] dietlibc-0.34~cvs20160606/contrib/dnsd.c:283:74: style: Parameter 'v4ip' can be declared as pointer to const [constParameterPointer] dietlibc-0.34~cvs20160606/contrib/dnsd.c:67:11: style: Unused variable: j [unusedVariable] dietlibc-0.34~cvs20160606/contrib/dnsd.c:106:11: style: Variable 'olen' is assigned a value that is never used. [unreadVariable] dietlibc-0.34~cvs20160606/contrib/dnsd.c:119:15: style: Variable 'len' is assigned a value that is never used. [unreadVariable] dietlibc-0.34~cvs20160606/contrib/dnsd.c:105:9: style: Unused variable: after [unusedVariable] dietlibc-0.34~cvs20160606/contrib/dnsd.c:106:7: style: Variable 'olen' is assigned a value that is never used. [unreadVariable] dietlibc-0.34~cvs20160606/contrib/dprof.c:129:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHT_SYMTAB [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/contrib/dprof.c:162:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/contrib/dprof.c:189:5: warning: %ld in format string (no. 2) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] dietlibc-0.34~cvs20160606/contrib/dprof.c:248:4: warning: %ld in format string (no. 3) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] dietlibc-0.34~cvs20160606/contrib/dprof.c:248:4: warning: %ld in format string (no. 4) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] dietlibc-0.34~cvs20160606/contrib/dprof.c:248:4: warning: %ld in format string (no. 5) requires 'long' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] dietlibc-0.34~cvs20160606/contrib/dprof.c:95:2: warning: If memory allocation fails, then there is a possible null pointer dereference: sym [nullPointerOutOfMemory] dietlibc-0.34~cvs20160606/contrib/dprof.c:94:18: note: Assuming allocation function fails dietlibc-0.34~cvs20160606/contrib/dprof.c:94:18: note: Assignment 'sym=(struct symbol_t*)calloc(1,sizeof(struct symbol_t))', assigned value is 0 dietlibc-0.34~cvs20160606/contrib/dprof.c:95:2: note: Null pointer dereference dietlibc-0.34~cvs20160606/contrib/dprof.c:96:2: warning: If memory allocation fails, then there is a possible null pointer dereference: sym [nullPointerOutOfMemory] dietlibc-0.34~cvs20160606/contrib/dprof.c:94:18: note: Assuming allocation function fails dietlibc-0.34~cvs20160606/contrib/dprof.c:94:18: note: Assignment 'sym=(struct symbol_t*)calloc(1,sizeof(struct symbol_t))', assigned value is 0 dietlibc-0.34~cvs20160606/contrib/dprof.c:96:2: note: Null pointer dereference dietlibc-0.34~cvs20160606/contrib/dprof.c:97:2: warning: If memory allocation fails, then there is a possible null pointer dereference: sym [nullPointerOutOfMemory] dietlibc-0.34~cvs20160606/contrib/dprof.c:94:18: note: Assuming allocation function fails dietlibc-0.34~cvs20160606/contrib/dprof.c:94:18: note: Assignment 'sym=(struct symbol_t*)calloc(1,sizeof(struct symbol_t))', assigned value is 0 dietlibc-0.34~cvs20160606/contrib/dprof.c:97:2: note: Null pointer dereference dietlibc-0.34~cvs20160606/contrib/dprof.c:225:4: warning: Either the condition 'sym2' is redundant or there is possible null pointer dereference: sym2. [nullPointerRedundantCheck] dietlibc-0.34~cvs20160606/contrib/dprof.c:226:16: note: Assuming that condition 'sym2' is not redundant dietlibc-0.34~cvs20160606/contrib/dprof.c:225:4: note: Null pointer dereference dietlibc-0.34~cvs20160606/contrib/dprof.c:91:21: style: Parameter 'esym' can be declared as pointer to const [constParameterPointer] dietlibc-0.34~cvs20160606/contrib/dprof.c:124:14: style: Variable 'ehdr' can be declared as pointer to const [constVariablePointer] dietlibc-0.34~cvs20160606/contrib/dprof.c:151:15: style: Variable 'object' can be declared as pointer to const [constVariablePointer] dietlibc-0.34~cvs20160606/contrib/dprof.c:151:32: style: Variable 'monf' can be declared as pointer to const [constVariablePointer] dietlibc-0.34~cvs20160606/contrib/dprof.c:208:10: style: Variable 'buf' can be declared as pointer to const [constVariablePointer] dietlibc-0.34~cvs20160606/contrib/dprof.c:220:19: style: Variable 'arc' can be declared as pointer to const [constVariablePointer] dietlibc-0.34~cvs20160606/contrib/dprof.c:221:14: style: Variable 'sym1' can be declared as pointer to const [constVariablePointer] dietlibc-0.34~cvs20160606/contrib/dprof.c:125:42: portability: 'base' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dietlibc-0.34~cvs20160606/contrib/dprof.c:130:41: portability: 'base' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dietlibc-0.34~cvs20160606/contrib/dprof.c:138:24: portability: 'base' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dietlibc-0.34~cvs20160606/contrib/dprof.c:194:6: portability: 'gp' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dietlibc-0.34~cvs20160606/contrib/dprof.c:198:24: portability: 'gp' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dietlibc-0.34~cvs20160606/contrib/dprof.c:204:8: portability: 'gp' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dietlibc-0.34~cvs20160606/contrib/dprof.c:210:8: portability: 'gp' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dietlibc-0.34~cvs20160606/contrib/dprof.c:223:8: portability: 'gp' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dietlibc-0.34~cvs20160606/contrib/dprof.c:241:10: style: Variable 'dcount' is assigned a value that is never used. [unreadVariable] dietlibc-0.34~cvs20160606/contrib/elftrunc.c:60:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/contrib/elftrunc.c:114:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/contrib/elftrunc.c:137:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/contrib/elftrunc.c:130:26: style: Parameter 'argv' can be declared as const array [constParameter] dietlibc-0.34~cvs20160606/diet.c:55:21: error: There is an unknown macro here somewhere. Configuration is required. If VERSION is a macro then please configure it. [unknownMacro] dietlibc-0.34~cvs20160606/libdl/_dl_rel.h:24:0: error: #error "_dl_rel.h: NOT SUPPORTED" [preprocessorErrorDirective] dietlibc-0.34~cvs20160606/libdl/_dl_rel.h:24:2: error: #error "_dl_rel.h: NOT SUPPORTED" [preprocessorErrorDirective] dietlibc-0.34~cvs20160606/examples/sln.c:14:1: portability: Omitted return type of function 'main' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dietlibc-0.34~cvs20160606/examples/sln.c:9:16: style: Parameter 's' can be declared as pointer to const [constParameterPointer] dietlibc-0.34~cvs20160606/examples/sln.c:14:21: style: Parameter 'argv' can be declared as const array [constParameter] dietlibc-0.34~cvs20160606/i386/sigaction.c:16:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SA_RESTORER [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/i386/sigaction.c:14:14: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] dietlibc-0.34~cvs20160606/ldso.c:351:0: error: #error architecture not recognized, please add [preprocessorErrorDirective] dietlibc-0.34~cvs20160606/ldso.c:351:2: error: #error architecture not recognized, please add [preprocessorErrorDirective] dietlibc-0.34~cvs20160606/lib/__alarm.c:13:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ITIMER_REAL [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/lib/__alarm.c:8:16: style: Unused variable: ret [unusedVariable] dietlibc-0.34~cvs20160606/lib/__getcwd.c:9:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/lib/__mmap.c:15:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/lib/__ptrace.c:14:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/lib/__stime.c:7:19: style: Parameter 'when' can be declared as pointer to const [constParameterPointer] dietlibc-0.34~cvs20160606/lib/__sysctl.c:13:16: style: struct member '__sysctl_args::__unused' is never used. [unusedStructMember] dietlibc-0.34~cvs20160606/lib/__utime.c:13:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tv_sec [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/lib/__utime.c:10:12: style: Obsolescent function 'utimes' called. It is recommended to use 'utimensat' instead. [prohibitedutimesCalled] dietlibc-0.34~cvs20160606/lib/__utime.c:17:12: style: Obsolescent function 'utimes' called. It is recommended to use 'utimensat' instead. [prohibitedutimesCalled] dietlibc-0.34~cvs20160606/lib/__v_printf.c:186:10: style: Same expression on both sides of '^='. [duplicateExpression] dietlibc-0.34~cvs20160606/lib/__v_printf.c:193:6: style: Unused variable: vs [unusedVariable] dietlibc-0.34~cvs20160606/lib/__v_scanf.c:412:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/lib/__v_scanf.c:315:18: warning: Either the condition 'tpch==-1' is redundant or isspace() argument nr 1 can have invalid value. The value is -1 but the valid values are '0:255'. [invalidFunctionArg] dietlibc-0.34~cvs20160606/lib/__v_scanf.c:316:12: note: Assuming that condition 'tpch==-1' is not redundant dietlibc-0.34~cvs20160606/lib/__v_scanf.c:315:18: note: Invalid argument dietlibc-0.34~cvs20160606/lib/__v_scanf.c:189:23: style: Variable 'l' is assigned a value that is never used. [unreadVariable] dietlibc-0.34~cvs20160606/lib/__v_scanf.c:191:4: style: Variable 'l' is assigned a value that is never used. [unreadVariable] dietlibc-0.34~cvs20160606/lib/abort.c:17:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_UNBLOCK [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/lib/adjtime.c:8:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ADJ_OFFSET_SINGLESHOT [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/lib/alloc.c:53:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/lib/alloc.c:69:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAGE_SIZE [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/lib/alloc.c:74:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAGE_SIZE [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/lib/alloc.c:108:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAGE_SIZE [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/lib/alloc.c:135:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable size [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/lib/alloc.c:161:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAGE_SIZE [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/lib/alloc.c:190:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/lib/alloc.c:213:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAGE_SIZE [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/lib/alloc.c:218:26: style: Variable 'foo' can be declared as pointer to const [constVariablePointer] dietlibc-0.34~cvs20160606/lib/alloc.c:84:18: portability: '(void*)(_ptr)' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dietlibc-0.34~cvs20160606/lib/alloc.c:115:30: portability: '(void*)ptr' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dietlibc-0.34~cvs20160606/lib/alloc.c:135:23: portability: '(void*)(ptr)' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dietlibc-0.34~cvs20160606/lib/alloc.c:140:9: portability: '(void*)(ptr)' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dietlibc-0.34~cvs20160606/lib/alloc.c:171:10: portability: '(void*)(ptr)' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dietlibc-0.34~cvs20160606/lib/alloc.c:210:22: portability: '(void*)(ptr)' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dietlibc-0.34~cvs20160606/lib/alloc.c:218:30: portability: '(void*)(new)' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dietlibc-0.34~cvs20160606/lib/alloc.c:237:10: portability: '(void*)(foo)' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dietlibc-0.34~cvs20160606/lib/arc4random.c:20:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GRND_NONBLOCK [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/lib/arc4random.c:39:22: style: Opposite expression on both sides of '%'. [oppositeExpression] dietlibc-0.34~cvs20160606/lib/arc4random.c:61:42: style: Parameter 'dat' can be declared as pointer to const [constParameterPointer] dietlibc-0.34~cvs20160606/lib/assert_fail.c:14:20: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] dietlibc-0.34~cvs20160606/lib/assert_fail.c:12:28: warning: Either the condition 'file' is redundant or there is possible null pointer dereference: file. [nullPointerRedundantCheck] dietlibc-0.34~cvs20160606/lib/assert_fail.c:18:9: note: Assuming that condition 'file' is not redundant dietlibc-0.34~cvs20160606/lib/assert_fail.c:12:28: note: Null pointer dereference dietlibc-0.34~cvs20160606/lib/bsearch.c:14:13: portability: 'p' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dietlibc-0.34~cvs20160606/lib/btowc.c:6:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/lib/cfgetospeed.c:5:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CBAUD [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/lib/cfmakeraw.c:5:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IGNBRK [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/lib/cfsetispeed.c:9:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CBAUD [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/lib/cfsetospeed.c:6:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CBAUD [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/lib/closedir.c:9:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PAGE_SIZE [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/lib/closedir.c:7:20: style: Parameter 'd' can be declared as pointer to const [constParameterPointer] dietlibc-0.34~cvs20160606/lib/cnd_broadcast.c:6:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FUTEX_WAKE [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/lib/cnd_init.c:5:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable thrd_success [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/lib/cnd_signal.c:6:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FUTEX_WAKE [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/lib/cnd_timedwait.c:8:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FUTEX_WAIT [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/lib/cnd_timedwait.c:14:13: style: Condition 'r==0' is always false [knownConditionTrueFalse] dietlibc-0.34~cvs20160606/lib/cnd_timedwait.c:9:10: note: Assuming that condition 'r==-1' is not redundant dietlibc-0.34~cvs20160606/lib/cnd_timedwait.c:14:13: note: Condition 'r==0' is always false dietlibc-0.34~cvs20160606/lib/creat.c:5:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/lib/creat64.c:8:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/lib/errno_location.c:6:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/lib/eventfd.c:11:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/lib/eventfd.c:20:3: error: Returning/dereferencing 'r' after it is deallocated / released [deallocret] dietlibc-0.34~cvs20160606/lib/eventfd.c:17:2: note: Returning/dereferencing 'r' after it is deallocated / released dietlibc-0.34~cvs20160606/lib/eventfd.c:20:3: note: Returning/dereferencing 'r' after it is deallocated / released dietlibc-0.34~cvs20160606/lib/exec_lib.c:16:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _PATH_BSHELL [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/lib/exec_lib.c:15:14: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] dietlibc-0.34~cvs20160606/lib/execl.c:23:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable environ [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/lib/execl.c:18:22: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] dietlibc-0.34~cvs20160606/lib/execl.c:10:16: style: Variable 'tmp' can be declared as pointer to const [constVariablePointer] dietlibc-0.34~cvs20160606/lib/execle.c:26:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/lib/execle.c:17:22: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] dietlibc-0.34~cvs20160606/lib/execle.c:10:16: style: Variable 'tmp' can be declared as pointer to const [constVariablePointer] dietlibc-0.34~cvs20160606/lib/execlp.c:25:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/lib/execlp.c:17:22: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] dietlibc-0.34~cvs20160606/lib/execlp.c:10:16: style: Variable 'tmp' can be declared as pointer to const [constVariablePointer] dietlibc-0.34~cvs20160606/lib/execv.c:10:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable environ [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/lib/execvp.c:12:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/lib/fdopendir.c:13:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAP_ANONYMOUS [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/lib/fdopendir.c:15:7: warning: If memory allocation fails, then there is a possible null pointer dereference: t [nullPointerOutOfMemory] dietlibc-0.34~cvs20160606/lib/fdopendir.c:12:22: note: Assuming allocation function fails dietlibc-0.34~cvs20160606/lib/fdopendir.c:12:9: note: Assignment 't=(DIR*)mmap(NULL,PAGE_SIZE,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0)', assigned value is 0 dietlibc-0.34~cvs20160606/lib/fdopendir.c:15:7: note: Null pointer dereference dietlibc-0.34~cvs20160606/lib/ftw.c:27:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/lib/ftw.c:32:6: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] dietlibc-0.34~cvs20160606/lib/ftw.c:50:16: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] dietlibc-0.34~cvs20160606/lib/ftw.c:31:19: error: Resource leak: previous [resourceLeak] dietlibc-0.34~cvs20160606/lib/ftw.c:41:18: error: Resource leak: previous [resourceLeak] dietlibc-0.34~cvs20160606/lib/ftw64.c:32:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/lib/ftw64.c:37:6: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] dietlibc-0.34~cvs20160606/lib/ftw64.c:55:16: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] dietlibc-0.34~cvs20160606/lib/ftw64.c:36:19: error: Resource leak: previous [resourceLeak] dietlibc-0.34~cvs20160606/lib/ftw64.c:46:18: error: Resource leak: previous [resourceLeak] dietlibc-0.34~cvs20160606/lib/getdomainname.c:12:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _UTSNAME_DOMAIN_LENGTH [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/lib/getentropy.c:9:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/lib/getenv.c:9:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable environ [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/lib/gethostname.c:12:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _UTSNAME_NODENAME_LENGTH [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/lib/getopt.c:7:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable opterr [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/lib/getopt.c:21:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optind [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/lib/getopt.c:20:9: style: Variable 'tmp' can be declared as pointer to const [constVariablePointer] dietlibc-0.34~cvs20160606/lib/hcreate_r.c:13:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AT_RANDOM [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/lib/hcreate_r.c:13:11: style: Variable 'rnd' can be declared as pointer to const [constVariablePointer] dietlibc-0.34~cvs20160606/lib/hsearch_r.c:24:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FIND [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/lib/hsearch_r.c:35:13: error: Array 'primes[16]' accessed at index 16, which is out of bounds. [arrayIndexOutOfBounds] dietlibc-0.34~cvs20160606/lib/hsearch_r.c:33:16: note: Assuming that condition 'i dietlibc-0.34~cvs20160606/libcrypt/sha256crypt.c:219:10: note: Uninitialized variable: resbuf dietlibc-0.34~cvs20160606/libcrypt/sha512crypt.c:574:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/libcrypt/sha512crypt.c:391:28: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] dietlibc-0.34~cvs20160606/libcrypt/sha512crypt.c:400:28: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] dietlibc-0.34~cvs20160606/libcrypt/sha512crypt.c:463:18: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] dietlibc-0.34~cvs20160606/libcrypt/sha512crypt.c:479:18: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] dietlibc-0.34~cvs20160606/libcrypt/sha512crypt.c:247:10: warning: Uninitialized variable: resbuf [uninitvar] dietlibc-0.34~cvs20160606/libcrypt/sha512crypt.c:434:32: note: Calling function 'sha512_finish_ctx', 2nd argument 'alt_result' value is dietlibc-0.34~cvs20160606/libcrypt/sha512crypt.c:247:10: note: Uninitialized variable: resbuf dietlibc-0.34~cvs20160606/libm/bessel.c:39:41: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] dietlibc-0.34~cvs20160606/libm/bessel.c:55:41: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] dietlibc-0.34~cvs20160606/libm/bessel.c:57:24: style: double result is assigned to long double variable. If the variable is long double to avoid loss of information, then you have loss of information. [truncLongCastAssignment] dietlibc-0.34~cvs20160606/libm/bessel.c:94:10: style: double result is assigned to long double variable. If the variable is long double to avoid loss of information, then you have loss of information. [truncLongCastAssignment] dietlibc-0.34~cvs20160606/libm/bessel.c:135:11: style: double result is assigned to long double variable. If the variable is long double to avoid loss of information, then you have loss of information. [truncLongCastAssignment] dietlibc-0.34~cvs20160606/libpthread/thread_internal.h:13:0: error: #error "the diet libc is not compiled with thread safeness enabled!" [preprocessorErrorDirective] dietlibc-0.34~cvs20160606/libpthread/thread_internal.h:13:2: error: #error "the diet libc is not compiled with thread safeness enabled!" [preprocessorErrorDirective] dietlibc-0.34~cvs20160606/libpthread/pthread_fdglue2.c:13:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTHREAD_MUTEX_RECURSIVE_NP [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/libregex/rx.c:100:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_ICASE [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/libregex/rx.c:140:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ILLEGAL [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/libregex/rx.c:248:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_EXTENDED [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/libregex/rx.c:260:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_EXTENDED [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/libregex/rx.c:390:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RE_DUP_MAX [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/libregex/rx.c:450:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EMPTY [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/libregex/rx.c:483:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/libregex/rx.c:521:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable m [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/libregex/rx.c:541:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REGEX [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/libregex/rx.c:589:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rm_so [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/libregex/rx.c:628:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable num [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/libregex/rx.c:348:11: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] dietlibc-0.34~cvs20160606/libregex/rx.c:593:23: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] dietlibc-0.34~cvs20160606/libregex/rx.c:495:106: style:inconclusive: Function 'parseregex' argument 3 names different: declaration 'rx' definition 'p'. [funcArgNamesDifferent] dietlibc-0.34~cvs20160606/libregex/rx.c:111:70: note: Function 'parseregex' argument 3 names different: declaration 'rx' definition 'p'. dietlibc-0.34~cvs20160606/libregex/rx.c:495:106: note: Function 'parseregex' argument 3 names different: declaration 'rx' definition 'p'. dietlibc-0.34~cvs20160606/libregex/rx.c:100:37: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] dietlibc-0.34~cvs20160606/libregex/rx.c:102:66: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] dietlibc-0.34~cvs20160606/libregex/rx.c:167:56: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] dietlibc-0.34~cvs20160606/libregex/rx.c:87:34: style: Parameter 'x' can be declared as pointer to const [constParameterPointer] dietlibc-0.34~cvs20160606/libregex/rx.c:91:114: style: Parameter 'rx' can be declared as pointer to const [constParameterPointer] dietlibc-0.34~cvs20160606/librpc/auth_none.c:82:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _null_auth [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/auth_none.c:118:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/auth_none.c:124:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/auth_unix.c:95:35: debug: Function::addArguments found argument 'machname' with varid 0. [varid0] dietlibc-0.34~cvs20160606/librpc/auth_unix.c:100:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_AUTH_BYTES [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/auth_unix.c:172:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_MACHINE_NAME [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/auth_unix.c:214:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AUTH_SHORT [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/auth_unix.c:246:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/authunix_prot.c:59:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_MACHINE_NAME [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/bindresvport.c:61:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/clnt_generic.c:47:39: debug: Function::addArguments found argument 'hostname' with varid 0. [varid0] dietlibc-0.34~cvs20160606/librpc/clnt_generic.c:57:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable hostname [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/clnt_generic.c:57:6: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] dietlibc-0.34~cvs20160606/librpc/clnt_generic.c:79:6: portability: Non reentrant function 'getprotobyname' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getprotobyname_r'. [prohibitedgetprotobynameCalled] dietlibc-0.34~cvs20160606/librpc/clnt_generic.c:51:19: style: Variable 'p' can be declared as pointer to const [constVariablePointer] dietlibc-0.34~cvs20160606/librpc/clnt_perror.c:68:34: debug: Function::addArguments found argument 'rpch' with varid 0. [varid0] dietlibc-0.34~cvs20160606/librpc/clnt_perror.c:151:32: debug: Function::addArguments found argument 'rpch' with varid 0. [varid0] dietlibc-0.34~cvs20160606/librpc/clnt_perror.c:229:46: debug: Function::addArguments found argument 's' with varid 0. [varid0] dietlibc-0.34~cvs20160606/librpc/clnt_perror.c:264:51: debug: Function::addArguments found argument 's' with varid 0. [varid0] dietlibc-0.34~cvs20160606/librpc/clnt_perror.c:70:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rpch [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/clnt_perror.c:153:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/clnt_perror.c:225:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/clnt_perror.c:231:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable s [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/clnt_perror.c:266:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/clnt_perror.c:159:8: style: struct member 'rpc_errtab::message' is never used. [unusedStructMember] dietlibc-0.34~cvs20160606/librpc/clnt_perror.c:271:8: style: struct member 'auth_errtab::message' is never used. [unusedStructMember] dietlibc-0.34~cvs20160606/librpc/clnt_raw.c:100:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CALL [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/clnt_raw.c:143:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RPC_FAILED [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/clnt_raw.c:219:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RPC_FAILED [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/clnt_raw.c:235:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/clnt_simple.c:82:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RPC_ANYSOCK [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/clnt_simple.c:95:13: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] dietlibc-0.34~cvs20160606/librpc/clnt_tcp.c:124:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/clnt_tcp.c:250:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/clnt_tcp.c:340:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XDR_FREE [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/clnt_tcp.c:358:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/clnt_tcp.c:384:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLIENT [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/clnt_tcp.c:414:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/clnt_tcp.c:460:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/clnt_tcp.c:327:27: style: Variable 'ct' can be declared as pointer to const [constVariablePointer] dietlibc-0.34~cvs20160606/librpc/clnt_udp.c:126:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLIENT [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/clnt_udp.c:255:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XDR_ENCODE [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/clnt_udp.c:396:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XDR_FREE [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/clnt_udp.c:429:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/clnt_udp.c:444:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLIENT [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/clnt_udp.c:382:27: style: Variable 'cu' can be declared as pointer to const [constVariablePointer] dietlibc-0.34~cvs20160606/librpc/get_myaddress.c:67:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/get_myaddress.c:63:12: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] dietlibc-0.34~cvs20160606/librpc/getrpcent.c:125:1: portability: Omitted return type of function 'setrpcent' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dietlibc-0.34~cvs20160606/librpc/getrpcent.c:145:1: portability: Omitted return type of function 'endrpcent' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dietlibc-0.34~cvs20160606/librpc/getrpcent.c:169:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/getrpcent.c:84:27: style: Variable 'd' can be declared as pointer to const [constVariablePointer] dietlibc-0.34~cvs20160606/librpc/getrpcent.c:103:7: style: Parameter 'name' can be declared as pointer to const [constParameterPointer] dietlibc-0.34~cvs20160606/librpc/getrpcport.c:54:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/getrpcport.c:51:12: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] dietlibc-0.34~cvs20160606/librpc/pmap_clnt.c:68:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/pmap_clnt.c:102:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/pmap_getmaps.c:72:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PMAPPORT [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/pmap_getport.c:69:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PMAPPORT [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/pmap_prot.c:57:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/pmap_prot2.c:94:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XDR_FREE [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/pmap_rmt.c:82:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PMAPPORT [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/pmap_rmt.c:117:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/pmap_rmt.c:142:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xdr_u_long [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/pmap_rmt.c:180:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UDPMSGSIZE [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/pmap_rmt.c:253:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/pmap_rmt.c:177:22: style: Variable 'sin' can be declared as pointer to const [constVariablePointer] dietlibc-0.34~cvs20160606/librpc/pmap_rmt.c:243:6: style: Variable 'on' is assigned a value that is never used. [unreadVariable] dietlibc-0.34~cvs20160606/librpc/rpc_callmsg.c:58:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XDR_ENCODE [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/rpc_prot.c:64:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_AUTH_BYTES [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/rpc_prot.c:75:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable des_block [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/rpc_prot.c:90:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/rpc_prot.c:116:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/rpc_prot.c:145:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REPLY [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/rpc_prot.c:163:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CALL [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/rpc_prot.c:185:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RPC_PROGUNAVAIL [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/rpc_prot.c:222:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RPC_VERSMISMATCH [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/rpc_prot.c:247:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SUCCESS [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/svc.c:103:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable svc_fds [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/svc.c:125:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable svc_fds [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/svc.c:229:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REPLY [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/svc.c:246:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REPLY [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/svc.c:261:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REPLY [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/svc.c:276:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REPLY [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/svc.c:292:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REPLY [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/svc.c:306:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AUTH_TOOWEAK [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/svc.c:317:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REPLY [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/svc.c:334:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REPLY [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/svc.c:376:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable svc_fds [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/svc.c:403:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_AUTH_BYTES [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/svc.c:113:10: style: Parameter 'xprt' can be declared as pointer to const [constParameterPointer] dietlibc-0.34~cvs20160606/librpc/svc.c:387:6: style: Parameter 'readfds' can be declared as pointer to const [constParameterPointer] dietlibc-0.34~cvs20160606/librpc/svc.c:103:17: warning: Shifting signed 32-bit value by 31 bits is undefined behaviour. See condition at line 101. [shiftTooManyBitsSigned] dietlibc-0.34~cvs20160606/librpc/svc.c:101:11: note: Assuming that condition 'sock<32' is not redundant dietlibc-0.34~cvs20160606/librpc/svc.c:103:17: note: Shift dietlibc-0.34~cvs20160606/librpc/svc.c:125:18: warning: Shifting signed 32-bit value by 31 bits is undefined behaviour. See condition at line 123. [shiftTooManyBitsSigned] dietlibc-0.34~cvs20160606/librpc/svc.c:123:12: note: Assuming that condition 'sock<32' is not redundant dietlibc-0.34~cvs20160606/librpc/svc.c:125:18: note: Shift dietlibc-0.34~cvs20160606/librpc/svc.c:398:25: style: Unused variable: mask [unusedVariable] dietlibc-0.34~cvs20160606/librpc/svc.c:399:15: style: Unused variable: bit [unusedVariable] dietlibc-0.34~cvs20160606/librpc/svc.c:400:26: style: Unused variable: maskp [unusedVariable] dietlibc-0.34~cvs20160606/librpc/svc.c:401:15: style: Unused variable: setsize [unusedVariable] dietlibc-0.34~cvs20160606/librpc/svc_auth.c:99:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable oa_flavor [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/svc_auth.c:114:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AUTH_OK [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/svc_auth_unix.c:79:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XDR_DECODE [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/svc_auth_unix.c:141:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AUTH_REJECTEDCRED [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/svc_auth_unix.c:109:11: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] dietlibc-0.34~cvs20160606/librpc/svc_auth_unix.c:109:11: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] dietlibc-0.34~cvs20160606/librpc/svc_auth_unix.c:109:11: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] dietlibc-0.34~cvs20160606/librpc/svc_raw.c:95:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XPRT_IDLE [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/svc_raw.c:110:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XDR_DECODE [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/svc_raw.c:127:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/svc_raw.c:147:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/svc_raw.c:162:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/svc_raw.c:99:10: style:inconclusive: Function 'svcraw_recv' argument 1 names different: declaration '__xprt' definition 'xprt'. [funcArgNamesDifferent] dietlibc-0.34~cvs20160606/librpc/svc_raw.c:56:36: note: Function 'svcraw_recv' argument 1 names different: declaration '__xprt' definition 'xprt'. dietlibc-0.34~cvs20160606/librpc/svc_raw.c:99:10: note: Function 'svcraw_recv' argument 1 names different: declaration '__xprt' definition 'xprt'. dietlibc-0.34~cvs20160606/librpc/svc_raw.c:100:17: style:inconclusive: Function 'svcraw_recv' argument 2 names different: declaration '__msg' definition 'msg'. [funcArgNamesDifferent] dietlibc-0.34~cvs20160606/librpc/svc_raw.c:56:60: note: Function 'svcraw_recv' argument 2 names different: declaration '__msg' definition 'msg'. dietlibc-0.34~cvs20160606/librpc/svc_raw.c:100:17: note: Function 'svcraw_recv' argument 2 names different: declaration '__msg' definition 'msg'. dietlibc-0.34~cvs20160606/librpc/svc_raw.c:118:10: style:inconclusive: Function 'svcraw_reply' argument 1 names different: declaration '__xprt' definition 'xprt'. [funcArgNamesDifferent] dietlibc-0.34~cvs20160606/librpc/svc_raw.c:60:37: note: Function 'svcraw_reply' argument 1 names different: declaration '__xprt' definition 'xprt'. dietlibc-0.34~cvs20160606/librpc/svc_raw.c:118:10: note: Function 'svcraw_reply' argument 1 names different: declaration '__xprt' definition 'xprt'. dietlibc-0.34~cvs20160606/librpc/svc_raw.c:119:17: style:inconclusive: Function 'svcraw_reply' argument 2 names different: declaration '__msg' definition 'msg'. [funcArgNamesDifferent] dietlibc-0.34~cvs20160606/librpc/svc_raw.c:60:61: note: Function 'svcraw_reply' argument 2 names different: declaration '__msg' definition 'msg'. dietlibc-0.34~cvs20160606/librpc/svc_raw.c:119:17: note: Function 'svcraw_reply' argument 2 names different: declaration '__msg' definition 'msg'. dietlibc-0.34~cvs20160606/librpc/svc_raw.c:138:10: style:inconclusive: Function 'svcraw_getargs' argument 1 names different: declaration '__xprt' definition 'xprt'. [funcArgNamesDifferent] dietlibc-0.34~cvs20160606/librpc/svc_raw.c:58:39: note: Function 'svcraw_getargs' argument 1 names different: declaration '__xprt' definition 'xprt'. dietlibc-0.34~cvs20160606/librpc/svc_raw.c:138:10: note: Function 'svcraw_getargs' argument 1 names different: declaration '__xprt' definition 'xprt'. dietlibc-0.34~cvs20160606/librpc/svc_raw.c:139:11: style:inconclusive: Function 'svcraw_getargs' argument 2 names different: declaration '__xdr_args' definition 'xdr_args'. [funcArgNamesDifferent] dietlibc-0.34~cvs20160606/librpc/svc_raw.c:58:57: note: Function 'svcraw_getargs' argument 2 names different: declaration '__xdr_args' definition 'xdr_args'. dietlibc-0.34~cvs20160606/librpc/svc_raw.c:139:11: note: Function 'svcraw_getargs' argument 2 names different: declaration '__xdr_args' definition 'xdr_args'. dietlibc-0.34~cvs20160606/librpc/svc_raw.c:152:10: style:inconclusive: Function 'svcraw_freeargs' argument 1 names different: declaration '__xprt' definition 'xprt'. [funcArgNamesDifferent] dietlibc-0.34~cvs20160606/librpc/svc_raw.c:61:40: note: Function 'svcraw_freeargs' argument 1 names different: declaration '__xprt' definition 'xprt'. dietlibc-0.34~cvs20160606/librpc/svc_raw.c:152:10: note: Function 'svcraw_freeargs' argument 1 names different: declaration '__xprt' definition 'xprt'. dietlibc-0.34~cvs20160606/librpc/svc_raw.c:153:11: style:inconclusive: Function 'svcraw_freeargs' argument 2 names different: declaration '__xdr_args' definition 'xdr_args'. [funcArgNamesDifferent] dietlibc-0.34~cvs20160606/librpc/svc_raw.c:61:58: note: Function 'svcraw_freeargs' argument 2 names different: declaration '__xdr_args' definition 'xdr_args'. dietlibc-0.34~cvs20160606/librpc/svc_raw.c:153:11: note: Function 'svcraw_freeargs' argument 2 names different: declaration '__xdr_args' definition 'xdr_args'. dietlibc-0.34~cvs20160606/librpc/svc_run.c:56:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable svc_fds [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/svc_simple.c:64:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NULLPROC [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/svc_simple.c:105:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UDPMSGSIZE [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/svc_simple.c:101:10: style:inconclusive: Function 'universal' argument 2 names different: declaration 'transp' definition 'mytransp'. [funcArgNamesDifferent] dietlibc-0.34~cvs20160606/librpc/svc_simple.c:57:55: note: Function 'universal' argument 2 names different: declaration 'transp' definition 'mytransp'. dietlibc-0.34~cvs20160606/librpc/svc_simple.c:101:10: note: Function 'universal' argument 2 names different: declaration 'transp' definition 'mytransp'. dietlibc-0.34~cvs20160606/librpc/svc_simple.c:100:17: style: Parameter 'rqstp' can be declared as pointer to const. However it seems that 'universal' is a callback function, if 'rqstp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] dietlibc-0.34~cvs20160606/librpc/svc_simple.c:78:8: note: You might need to cast the function pointer here dietlibc-0.34~cvs20160606/librpc/svc_simple.c:100:17: note: Parameter 'rqstp' can be declared as pointer to const dietlibc-0.34~cvs20160606/librpc/svc_tcp.c:128:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/svc_tcp.c:201:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SVCXPRT [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/svc_tcp.c:240:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr_in [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/svc_tcp.c:260:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XPRT_IDLE [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/svc_tcp.c:279:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SVCXPRT [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/svc_tcp.c:315:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/svc_tcp.c:346:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable strm_stat [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/svc_tcp.c:358:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XPRT_DIED [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/svc_tcp.c:372:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XDR_DECODE [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/svc_tcp.c:388:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xdrs [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/svc_tcp.c:396:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xdrs [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/svc_tcp.c:410:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XDR_ENCODE [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/svc_tcp.c:264:19: style:inconclusive: Function 'svctcp_destroy' argument 1 names different: declaration '__xprt' definition 'xprt'. [funcArgNamesDifferent] dietlibc-0.34~cvs20160606/librpc/svc_tcp.c:61:37: note: Function 'svctcp_destroy' argument 1 names different: declaration '__xprt' definition 'xprt'. dietlibc-0.34~cvs20160606/librpc/svc_tcp.c:264:19: note: Function 'svctcp_destroy' argument 1 names different: declaration '__xprt' definition 'xprt'. dietlibc-0.34~cvs20160606/librpc/svc_tcp.c:232:25: style: Variable 'r' can be declared as pointer to const [constVariablePointer] dietlibc-0.34~cvs20160606/librpc/svc_udp.c:101:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/svc_udp.c:167:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XPRT_IDLE [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/svc_udp.c:182:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr_in [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/svc_udp.c:215:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/svc_udp.c:240:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable su_xdrs [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/svc_udp.c:248:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable su_xdrs [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/svc_udp.c:265:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SVCXPRT [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/svc_udp.c:346:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/svc_udp.c:394:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable su_cache [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/svc_udp.c:452:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable su_cache [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/svc_udp.c:372:2: error: Memory leak: uc.uc_entries [memleak] dietlibc-0.34~cvs20160606/librpc/xdr.c:70:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XDR_FREE [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/xdr.c:82:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/xdr.c:100:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/xdr.c:126:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/xdr.c:144:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XDR_ENCODE [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/xdr.c:165:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable XDR_DECODE [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/xdr.c:202:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/xdr.c:228:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/xdr.c:249:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/xdr.c:264:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/xdr.c:287:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/xdr.c:320:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/xdr.c:344:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BYTES_PER_XDR_UNIT [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/xdr.c:402:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/xdr.c:448:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_NETOBJ_SZ [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/xdr.c:470:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/xdr.c:520:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/xdr.c:573:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/xdr_array.c:72:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/xdr_array.c:157:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/xdr_float.c:113:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sgl_limits [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/xdr_float.c:226:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dbl_limits [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/xdr_float.c:115:28: style: Same expression on both sides of '/' because 'sizeof(sgl_limits)' and 'sizeof(struct sgl_limits)' represent the same value. [duplicateExpression] dietlibc-0.34~cvs20160606/librpc/xdr_float.c:140:28: style: Same expression on both sides of '/' because 'sizeof(sgl_limits)' and 'sizeof(struct sgl_limits)' represent the same value. [duplicateExpression] dietlibc-0.34~cvs20160606/librpc/xdr_float.c:228:28: style: Same expression on both sides of '/' because 'sizeof(dbl_limits)' and 'sizeof(struct dbl_limits)' represent the same value. [duplicateExpression] dietlibc-0.34~cvs20160606/librpc/xdr_float.c:259:28: style: Same expression on both sides of '/' because 'sizeof(dbl_limits)' and 'sizeof(struct dbl_limits)' represent the same value. [duplicateExpression] dietlibc-0.34~cvs20160606/librpc/xdr_mem.c:100:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/xdr_mem.c:111:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/xdr_mem.c:122:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/xdr_mem.c:132:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/xdr_mem.c:154:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/xdr_rec.c:143:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/xdr_rec.c:199:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BYTES_PER_XDR_UNIT [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/xdr_rec.c:218:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/xdr_rec.c:243:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BYTES_PER_XDR_UNIT [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/xdr_rec.c:267:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/xdr_rec.c:287:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/xdr_rec.c:318:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/xdr_rec.c:343:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BYTES_PER_XDR_UNIT [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/xdr_rec.c:370:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/xdr_rec.c:399:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/xdr_rec.c:448:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/xdr_rec.c:498:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BYTES_PER_XDR_UNIT [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/xdr_rec.c:518:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/xdr_rec.c:539:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/xdr_rec.c:563:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BYTES_PER_XDR_UNIT [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/xdr_rec.c:410:22: style: Variable 'rstrm' can be declared as pointer to const [constVariablePointer] dietlibc-0.34~cvs20160606/librpc/xdr_rec.c:218:51: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] dietlibc-0.34~cvs20160606/librpc/xdr_rec.c:289:32: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] dietlibc-0.34~cvs20160606/librpc/xdr_rec.c:302:28: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] dietlibc-0.34~cvs20160606/librpc/xdr_rec.c:569:54: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] dietlibc-0.34~cvs20160606/librpc/xdr_reference.c:71:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/xdr_reference.c:123:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/xdr_stdio.c:111:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/xdr_stdio.c:130:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/xdr_stdio.c:143:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/xdr_stdio.c:155:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FALSE [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/librpc/xdr_stdio.c:172:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/libshell/fnmatch.c:44:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FNM_CASEFOLD [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/libshell/fnmatch.c:55:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FNM_PERIOD [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/libshell/glob.c:84:35: debug: Function::addArguments found argument 'epath' with varid 0. [varid0] dietlibc-0.34~cvs20160606/libshell/glob.c:142:67: debug: Function::addArguments found argument 'epath' with varid 0. [varid0] dietlibc-0.34~cvs20160606/libshell/glob.c:52:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/libshell/glob.c:94:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/libshell/glob.c:154:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __GLOB_FLAGS [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/libshell/glob.c:104:19: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] dietlibc-0.34~cvs20160606/libshell/glob.c:124:18: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] dietlibc-0.34~cvs20160606/libshell/glob.c:166:13: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] dietlibc-0.34~cvs20160606/libshell/glob.c:178:11: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] dietlibc-0.34~cvs20160606/libshell/glob.c:183:14: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] dietlibc-0.34~cvs20160606/libshell/glob.c:188:10: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] dietlibc-0.34~cvs20160606/libshell/glob.c:101:18: style: Variable 'ep' can be declared as pointer to const [constVariablePointer] dietlibc-0.34~cvs20160606/libshell/glob.c:146:9: style: Variable 'dirname' can be declared as pointer to const [constVariablePointer] dietlibc-0.34~cvs20160606/libshell/glob.c:171:10: style: Variable 'home_dir' can be declared as pointer to const [constVariablePointer] dietlibc-0.34~cvs20160606/libshell/glob.c:177:20: style: Variable 'p' can be declared as pointer to const [constVariablePointer] dietlibc-0.34~cvs20160606/libshell/glob.c:267:19: warning: Uninitialized variable: dirs [uninitvar] dietlibc-0.34~cvs20160606/libshell/glob.c:261:9: note: Assuming condition is false dietlibc-0.34~cvs20160606/libshell/glob.c:267:19: note: Uninitialized variable: dirs dietlibc-0.34~cvs20160606/libshell/realpath.c:12:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/libshell/realpath.c:42:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/libshell/realpath.c:45:14: error: Resource leak: fd [resourceLeak] dietlibc-0.34~cvs20160606/libstdio/__fbufsize.c:4:25: style: Parameter 'stream' can be declared as pointer to const [constParameterPointer] dietlibc-0.34~cvs20160606/libstdio/__flbf.c:5:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFLINEWISE [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/libstdio/__flbf.c:4:18: style: Parameter 'stream' can be declared as pointer to const [constParameterPointer] dietlibc-0.34~cvs20160606/libstdio/__fpending.c:4:25: style: Parameter 'stream' can be declared as pointer to const [constParameterPointer] dietlibc-0.34~cvs20160606/libstdio/__freadable.c:5:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CANREAD [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/libstdio/__freadable.c:4:23: style: Parameter 'stream' can be declared as pointer to const [constParameterPointer] dietlibc-0.34~cvs20160606/libstdio/__freading.c:5:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CANWRITE [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/libstdio/__freading.c:4:22: style: Parameter 'stream' can be declared as pointer to const [constParameterPointer] dietlibc-0.34~cvs20160606/libstdio/__fwritable.c:5:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CANWRITE [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/libstdio/__fwritable.c:4:23: style: Parameter 'stream' can be declared as pointer to const [constParameterPointer] dietlibc-0.34~cvs20160606/libstdio/clearerr.c:4:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERRORINDICATOR [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/libstdio/fclose.c:10:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __stdio_root [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/libstdio/fdglue.c:16:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/libstdio/fdglue2.c:16:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZE [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/libstdio/fdopen.c:11:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/libstdio/feof.c:6:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOFINDICATOR [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/libstdio/feof.c:3:24: style: Parameter 'stream' can be declared as pointer to const [constParameterPointer] dietlibc-0.34~cvs20160606/libstdio/ferror.c:4:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERRORINDICATOR [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/libstdio/ferror.c:3:26: style: Parameter 'stream' can be declared as pointer to const [constParameterPointer] dietlibc-0.34~cvs20160606/libstdio/fflush.c:28:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFINPUT [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/libstdio/fflush.c:51:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFINPUT [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/libstdio/fflush.c:64:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/libstdio/fflush.c:31:11: style: Condition 'tmp' is always true [knownConditionTrueFalse] dietlibc-0.34~cvs20160606/libstdio/fgetc_unlocked.c:6:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CANREAD [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/libstdio/fgets.c:13:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/libstdio/fileno.c:3:26: style: Parameter 'stream' can be declared as pointer to const [constParameterPointer] dietlibc-0.34~cvs20160606/libstdio/fputc_unlocked.c:6:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CANWRITE [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/libstdio/fread.c:10:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CANREAD [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/libstdio/fread.c:63:1: style: Label 'exit' is not used. [unusedLabel] dietlibc-0.34~cvs20160606/libstdio/freopen.c:20:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CANWRITE [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/libstdio/fseek.c:7:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERRORINDICATOR [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/libstdio/fseeko.c:7:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERRORINDICATOR [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/libstdio/fseeko64.c:9:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ERRORINDICATOR [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/libstdio/fsetpos.c:3:35: style: Parameter 'pos' can be declared as pointer to const [constParameterPointer] dietlibc-0.34~cvs20160606/libstdio/ftell.c:8:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFINPUT [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/libstdio/ftell.c:5:27: style: Parameter 'stream' can be declared as pointer to const [constParameterPointer] dietlibc-0.34~cvs20160606/libstdio/fwrite.c:10:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CANWRITE [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/libstdio/fwrite.c:54:7: portability: 'ptr' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dietlibc-0.34~cvs20160606/libstdio/putchar.c:5:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/libstdio/scanf.c:11:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/libstdio/setvbuf.c:9:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFLINEWISE [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/libstdio/setvbuf.c:19:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATICBUF [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/libstdio/stdin.c:28:10: portability: fflush() called on input stream 'stdin' may result in undefined behaviour on non-linux systems. [fflushOnInputStream] dietlibc-0.34~cvs20160606/libstdio/tmpfile.c:15:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/libstdio/ungetc.c:5:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/libstdio/vfdprintf.c:7:26: style: Parameter 'ptr' can be declared as pointer to const. However it seems that '__fwrite' is a callback function, if 'ptr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] dietlibc-0.34~cvs20160606/libstdio/vfdprintf.c:13:74: note: You might need to cast the function pointer here dietlibc-0.34~cvs20160606/libstdio/vfdprintf.c:7:26: note: Parameter 'ptr' can be declared as pointer to const dietlibc-0.34~cvs20160606/libstdio/vfprintf.c:7:26: style: Parameter 'ptr' can be declared as pointer to const. However it seems that '__fwrite' is a callback function, if 'ptr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] dietlibc-0.34~cvs20160606/libstdio/vfprintf.c:13:65: note: You might need to cast the function pointer here dietlibc-0.34~cvs20160606/libstdio/vfprintf.c:7:26: note: Parameter 'ptr' can be declared as pointer to const dietlibc-0.34~cvs20160606/libstdio/vscanf.c:9:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/libugly/__utmp_block_signals.c:41:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_BLOCK [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/libugly/__utmp_io.c:20:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_SETLKW [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/libugly/addmntent.c:18:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/libugly/asctime.c:6:10: style: Obsolescent function 'asctime_r' called. It is recommended to use 'strftime' instead. [prohibitedasctime_rCalled] dietlibc-0.34~cvs20160606/libugly/asprintf.c:13:3: error: va_start() or va_copy() called subsequently on 'arg_ptr' without va_end() in between. [va_start_subsequentCalls] dietlibc-0.34~cvs20160606/libugly/asprintf.c:16:13: error: va_list 'arg_ptr' was opened but not closed by va_end(). [va_end_missing] dietlibc-0.34~cvs20160606/libugly/ctime.c:4:10: style: Obsolete function 'asctime' called. It is recommended to use 'strftime' instead. [prohibitedasctimeCalled] dietlibc-0.34~cvs20160606/libugly/ctime.c:4:18: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] dietlibc-0.34~cvs20160606/libugly/ctime_r.c:4:10: style: Obsolescent function 'asctime_r' called. It is recommended to use 'strftime' instead. [prohibitedasctime_rCalled] dietlibc-0.34~cvs20160606/libugly/ctime_r.c:4:20: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] dietlibc-0.34~cvs20160606/libugly/dirfd.c:6:16: style: Parameter 'dirp' can be declared as pointer to const [constParameterPointer] dietlibc-0.34~cvs20160606/libugly/getaddrinfo.c:20:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EAI_NONAME [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/libugly/getaddrinfo.c:128:9: portability: Non reentrant function 'getservbyname' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getservbyname_r'. [prohibitedgetservbynameCalled] dietlibc-0.34~cvs20160606/libugly/getaddrinfo.c:32:23: style: Variable 'H' can be declared as pointer to const [constVariablePointer] dietlibc-0.34~cvs20160606/libugly/getaddrinfo.c:114:12: style: Variable 'type' can be declared as pointer to const [constVariablePointer] dietlibc-0.34~cvs20160606/libugly/getaddrinfo.c:126:24: style: Variable 'se' can be declared as pointer to const [constVariablePointer] dietlibc-0.34~cvs20160606/libugly/getaddrinfo.c:47:48: error: Uninitialized variable: &H [uninitvar] dietlibc-0.34~cvs20160606/libugly/gethostent.c:30:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/libugly/gethostent.c:35:15: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] dietlibc-0.34~cvs20160606/libugly/gethostent.c:30:17: note: Assuming allocation function fails dietlibc-0.34~cvs20160606/libugly/gethostent.c:30:17: note: Assignment 'hostmap=mmap(0,hostlen,PROT_READ|PROT_WRITE,MAP_PRIVATE,hostfd,0)', assigned value is 0 dietlibc-0.34~cvs20160606/libugly/gethostent.c:35:15: note: Null pointer addition dietlibc-0.34~cvs20160606/libugly/gethostent.c:23:9: style: Variable 'last' can be declared as pointer to const [constVariablePointer] dietlibc-0.34~cvs20160606/libugly/gethostent.c:24:9: style: Variable 'max' can be declared as pointer to const [constVariablePointer] dietlibc-0.34~cvs20160606/libugly/getnameinfo.c:13:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET6 [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/libugly/getnameinfo.c:40:15: portability: Non reentrant function 'getservbyport' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getservbyport_r'. [prohibitedgetservbyportCalled] dietlibc-0.34~cvs20160606/libugly/getnameinfo.c:19:12: style: Variable 'buf' can be declared as const array [constVariable] dietlibc-0.34~cvs20160606/libugly/getnameinfo.c:21:23: style: Variable 'H' can be declared as pointer to const [constVariablePointer] dietlibc-0.34~cvs20160606/libugly/getnameinfo.c:39:23: style: Variable 's' can be declared as pointer to const [constVariablePointer] dietlibc-0.34~cvs20160606/libugly/getnameinfo.c:23:54: error: Uninitialized variable: buf [uninitvar] dietlibc-0.34~cvs20160606/libugly/getnameinfo.c:23:63: error: Uninitialized variable: &H [uninitvar] dietlibc-0.34~cvs20160606/libugly/getnameinfo.c:23:66: error: Uninitialized variable: &herrno [uninitvar] dietlibc-0.34~cvs20160606/libugly/getprotoent_r.c:12:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _PATH_PROTOCOLS [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/libugly/getservbyname_r.c:5:34: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] dietlibc-0.34~cvs20160606/libugly/getservbyport_r.c:5:34: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] dietlibc-0.34~cvs20160606/libugly/getservent.c:8:3: warning: Return value of function getservent_r() is not used. [ignoredReturnValue] dietlibc-0.34~cvs20160606/libugly/getservent.c:8:66: error: Uninitialized variable: &tmp [uninitvar] dietlibc-0.34~cvs20160606/libugly/getservent_r.c:13:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _PATH_SERVICES [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/libugly/grantpt.c:10:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRUSR [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/libugly/iconv.c:26:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/libugly/iconv_open.c:9:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UTF_8 [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/libugly/iconv_open.c:26:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INVALID [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/libugly/logging.c:52:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_DGRAM [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/libugly/logging.c:59:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOG_FACMASK [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/libugly/logging.c:123:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/libugly/netent.c:31:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/libugly/netent.c:71:10: error: Array 'aliases[10]' accessed at index 10, which is out of bounds. [arrayIndexOutOfBounds] dietlibc-0.34~cvs20160606/libugly/netent.c:63:3: note: After for loop, aliasidx has value 10 dietlibc-0.34~cvs20160606/libugly/netent.c:71:10: note: Array index out of bounds dietlibc-0.34~cvs20160606/libugly/netent.c:35:14: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] dietlibc-0.34~cvs20160606/libugly/netent.c:31:16: note: Assuming allocation function fails dietlibc-0.34~cvs20160606/libugly/netent.c:31:16: note: Assignment 'netmap=mmap(0,netlen,PROT_READ|PROT_WRITE,MAP_PRIVATE,netfd,0)', assigned value is 0 dietlibc-0.34~cvs20160606/libugly/netent.c:35:14: note: Null pointer addition dietlibc-0.34~cvs20160606/libugly/openpty.c:28:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/libugly/openpty.c:11:7: style: Parameter 'termp' can be declared as pointer to const [constParameterPointer] dietlibc-0.34~cvs20160606/libugly/popen.c:23:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __sh [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/libugly/ptsname.c:14:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TIOCGPTN [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/libugly/putpwent.c:15:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/libugly/setenv.c:14:12: warning: If memory allocation fails, then there is a possible null pointer dereference: c [nullPointerOutOfMemory] dietlibc-0.34~cvs20160606/libugly/setenv.c:13:19: note: Assuming allocation function fails dietlibc-0.34~cvs20160606/libugly/setenv.c:13:19: note: Assignment 'c=malloc(strlen(name)+strlen(value)+2)', assigned value is 0 dietlibc-0.34~cvs20160606/libugly/setenv.c:14:12: note: Null pointer dereference dietlibc-0.34~cvs20160606/libugly/setenv.c:15:12: warning: If memory allocation fails, then there is a possible null pointer dereference: c [nullPointerOutOfMemory] dietlibc-0.34~cvs20160606/libugly/setenv.c:13:19: note: Assuming allocation function fails dietlibc-0.34~cvs20160606/libugly/setenv.c:13:19: note: Assignment 'c=malloc(strlen(name)+strlen(value)+2)', assigned value is 0 dietlibc-0.34~cvs20160606/libugly/setenv.c:15:12: note: Null pointer dereference dietlibc-0.34~cvs20160606/libugly/setenv.c:16:12: warning: If memory allocation fails, then there is a possible null pointer dereference: c [nullPointerOutOfMemory] dietlibc-0.34~cvs20160606/libugly/setenv.c:13:19: note: Assuming allocation function fails dietlibc-0.34~cvs20160606/libugly/setenv.c:13:19: note: Assignment 'c=malloc(strlen(name)+strlen(value)+2)', assigned value is 0 dietlibc-0.34~cvs20160606/libugly/setenv.c:16:12: note: Null pointer dereference dietlibc-0.34~cvs20160606/libugly/setenv.c:17:19: warning: If memory allocation fails, then there is a possible null pointer dereference: c [nullPointerOutOfMemory] dietlibc-0.34~cvs20160606/libugly/setenv.c:13:19: note: Assuming allocation function fails dietlibc-0.34~cvs20160606/libugly/setenv.c:13:19: note: Assignment 'c=malloc(strlen(name)+strlen(value)+2)', assigned value is 0 dietlibc-0.34~cvs20160606/libugly/setenv.c:17:19: note: Null pointer dereference dietlibc-0.34~cvs20160606/libugly/strsignal.c:6:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIGRTMAX [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/libugly/system.c:21:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/libugly/timegm.c:20:20: style: Condition 't->tm_mon==31+29' is always false [knownConditionTrueFalse] dietlibc-0.34~cvs20160606/libugly/timegm.c:19:18: note: Assuming that condition 't->tm_mon==1' is not redundant dietlibc-0.34~cvs20160606/libugly/timegm.c:20:20: note: Condition 't->tm_mon==31+29' is always false dietlibc-0.34~cvs20160606/libugly/unlockpt.c:9:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TIOCSPTLCK [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/libugly/utent.c:14:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable utmp [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/libugly/utent.c:23:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable utmp [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/libugly/utent.c:34:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _PATH_UTMP [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/libugly/utent.c:38:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/libugly/utent.c:59:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_RDLCK [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/libugly/utent.c:70:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OLD_TIME [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/libugly/utent.c:84:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USER_PROCESS [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/libugly/utent.c:97:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable utmp [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/libugly/utent.c:66:35: style: Parameter 'ut' can be declared as pointer to const [constParameterPointer] dietlibc-0.34~cvs20160606/libugly/utent.c:80:37: style: Parameter 'ut' can be declared as pointer to const [constParameterPointer] dietlibc-0.34~cvs20160606/libugly/utent.c:92:16: style: Variable 'tmp' can be declared as pointer to const [constVariablePointer] dietlibc-0.34~cvs20160606/libugly/utent.c:96:12: style: Variable 'tmp' is assigned a value that is never used. [unreadVariable] dietlibc-0.34~cvs20160606/libugly/utxent.c:22:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _PATH_UTMPX [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/libugly/utxent.c:29:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/libugly/utxent.c:54:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable utmpx [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/libugly/utxent.c:67:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable OLD_TIME [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/libugly/utxent.c:81:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable USER_PROCESS [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/libugly/utxent.c:97:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable utmpx [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/libugly/utxent.c:26:21: style: Variable 'savedset' can be declared as pointer to const [constVariablePointer] dietlibc-0.34~cvs20160606/libugly/utxent.c:46:21: style: Variable 'savedset' can be declared as pointer to const [constVariablePointer] dietlibc-0.34~cvs20160606/libugly/utxent.c:63:38: style: Parameter 'ut' can be declared as pointer to const [constParameterPointer] dietlibc-0.34~cvs20160606/libugly/utxent.c:77:40: style: Parameter 'ut' can be declared as pointer to const [constParameterPointer] dietlibc-0.34~cvs20160606/libugly/utxent.c:89:17: style: Variable 'tmp' can be declared as pointer to const [constVariablePointer] dietlibc-0.34~cvs20160606/libugly/utxent.c:89:45: style: Variable 'result' can be declared as pointer to const [constVariablePointer] dietlibc-0.34~cvs20160606/libugly/utxent.c:92:21: style: Variable 'savedset' can be declared as pointer to const [constVariablePointer] dietlibc-0.34~cvs20160606/libugly/utxent.c:45:11: style: Unused variable: ret [unusedVariable] dietlibc-0.34~cvs20160606/libugly/utxent.c:103:12: style: Variable 'tmp' is assigned a value that is never used. [unreadVariable] dietlibc-0.34~cvs20160606/libugly/utxent.c:91:11: style: Unused variable: bytes_written [unusedVariable] dietlibc-0.34~cvs20160606/libugly/wtent.c:7:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/libugly/wtent.c:17:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable utmp [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/parisc/__fadvise.c:9:107: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable advice [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/ppc/__fadvise.c:11:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable len [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/ppc/mmap.c:9:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __sc_0 [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/ppc/softfpu/atomic-feclearexcept.c:33:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SPEFSCR_ALL_EXCEPT [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/ppc/softfpu/atomic-feholdexcept.c:31:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PR_GET_FPEXC [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/ppc/softfpu/atomic-feupdateenv.c:32:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SPEFSCR_ALL_EXCEPT [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/ppc/softfpu/atomic-feupdateenv.c:34:10: style: Variable 'u.fenv' is assigned a value that is never used. [unreadVariable] dietlibc-0.34~cvs20160606/ppc/softfpu/flt-rounds.c:26:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SPEFSCR_FRMC [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/ppc/softfpu/spe-raise.c:27:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SPEFSCR_ALL_EXCEPT [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/profiling/__mcount.c:15:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable raw_frompc [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/profiling/monitor.c:37:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAXARCS [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/profiling/monitor.c:53:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/profiling/monitor.c:60:24: style: Local variable 'ghdr' shadows outer variable [shadowVariable] dietlibc-0.34~cvs20160606/profiling/monitor.c:52:18: note: Shadowed declaration dietlibc-0.34~cvs20160606/profiling/monitor.c:60:24: note: Shadow variable dietlibc-0.34~cvs20160606/profiling/monitor.c:64:16: style: Variable 'iov' can be declared as const array [constVariable] dietlibc-0.34~cvs20160606/profiling/profil.c:65:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sighandler_t [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/s390/__fadvise.c:18:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable args [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/softfpu/double.h:37:0: error: #error "Here's a nickel kid. Go buy yourself a real computer." [preprocessorErrorDirective] dietlibc-0.34~cvs20160606/softfpu/double.h:37:3: error: #error "Here's a nickel kid. Go buy yourself a real computer." [preprocessorErrorDirective] dietlibc-0.34~cvs20160606/softfpu/single.h:37:0: error: #error "Here's a nickel kid. Go buy yourself a real computer." [preprocessorErrorDirective] dietlibc-0.34~cvs20160606/softfpu/single.h:37:3: error: #error "Here's a nickel kid. Go buy yourself a real computer." [preprocessorErrorDirective] dietlibc-0.34~cvs20160606/sparc/shmat.c:15:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHMAT [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/sparc/sigaction.c:7:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _NSIG [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/sparc64/sigaction.c:17:89: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _NSIG [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/t.c:111:25: style: Parameter 'argv' can be declared as const array [constParameter] dietlibc-0.34~cvs20160606/t.c:96:1: error: va_list 'va' was opened but not closed by va_end(). [va_end_missing] dietlibc-0.34~cvs20160606/test/alarm.c:24:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_ERR [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/test/argv.c:6:25: style: Parameter 'argv' can be declared as const array [constParameter] dietlibc-0.34~cvs20160606/test/asprintf.c:16:23: error: Memory leak: path [memleak] dietlibc-0.34~cvs20160606/test/asprintf.c:20:1: error: Memory leak: path [memleak] dietlibc-0.34~cvs20160606/test/bsearch.c:22:8: style: Variable 'k' can be declared as pointer to const [constVariablePointer] dietlibc-0.34~cvs20160606/test/calloc.c:8:3: error: Memory leak: c [memleak] dietlibc-0.34~cvs20160606/test/calloc.c:6:9: style: Variable 'c' can be declared as pointer to const [constVariablePointer] dietlibc-0.34~cvs20160606/test/checkssp.c:4:10: error: Buffer is accessed out of bounds: arr [bufferAccessOutOfBounds] dietlibc-0.34~cvs20160606/test/confstr.c:16:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _CS_PATH [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/test/crypt.c:20:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/test/crypt.c:14:18: warning: Assert statement calls a function which may have desired side effects: 'crypt'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/crypt.c:14:18: portability: Non reentrant function 'crypt' called. For threadsafe applications it is recommended to use the reentrant replacement function 'crypt_r'. [prohibitedcryptCalled] dietlibc-0.34~cvs20160606/test/crypt.c:26:73: portability: Non reentrant function 'crypt' called. For threadsafe applications it is recommended to use the reentrant replacement function 'crypt_r'. [prohibitedcryptCalled] dietlibc-0.34~cvs20160606/test/crypt.c:27:45: portability: Non reentrant function 'crypt' called. For threadsafe applications it is recommended to use the reentrant replacement function 'crypt_r'. [prohibitedcryptCalled] dietlibc-0.34~cvs20160606/test/crypt.c:28:48: portability: Non reentrant function 'crypt' called. For threadsafe applications it is recommended to use the reentrant replacement function 'crypt_r'. [prohibitedcryptCalled] dietlibc-0.34~cvs20160606/test/crypt.c:29:48: portability: Non reentrant function 'crypt' called. For threadsafe applications it is recommended to use the reentrant replacement function 'crypt_r'. [prohibitedcryptCalled] dietlibc-0.34~cvs20160606/test/cuserid.c:8:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable L_cuserid [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/test/cycles.c:28:0: error: #error "Unimplemented rdtsc" [preprocessorErrorDirective] dietlibc-0.34~cvs20160606/test/cycles.c:28:2: error: #error "Unimplemented rdtsc" [preprocessorErrorDirective] dietlibc-0.34~cvs20160606/test/dirent/opendir-tst1.c:55:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/test/dirent/opendir-tst1.c:76:7: warning: Obsolete function 'mktemp' called. It is recommended to use 'mkstemp' or 'mkdtemp' instead. [prohibitedmktempCalled] dietlibc-0.34~cvs20160606/test/dirent/tst-seekdir.c:16:22: warning: If resource allocation fails, then there is a possible null pointer dereference: dirp [nullPointerOutOfResources] dietlibc-0.34~cvs20160606/test/dirent/tst-seekdir.c:15:18: note: Assuming allocation function fails dietlibc-0.34~cvs20160606/test/dirent/tst-seekdir.c:15:18: note: Assignment 'dirp=opendir(".")', assigned value is 0 dietlibc-0.34~cvs20160606/test/dirent/tst-seekdir.c:16:22: note: Null pointer dereference dietlibc-0.34~cvs20160606/test/dirent/tst-seekdir.c:16:55: warning: If resource allocation fails, then there is a possible null pointer dereference: dirp [nullPointerOutOfResources] dietlibc-0.34~cvs20160606/test/dirent/tst-seekdir.c:15:18: note: Assuming allocation function fails dietlibc-0.34~cvs20160606/test/dirent/tst-seekdir.c:15:18: note: Assignment 'dirp=opendir(".")', assigned value is 0 dietlibc-0.34~cvs20160606/test/dirent/tst-seekdir.c:26:13: note: Assuming condition is false dietlibc-0.34~cvs20160606/test/dirent/tst-seekdir.c:16:55: note: Null pointer dereference dietlibc-0.34~cvs20160606/test/dirent/tst-seekdir.c:33:12: warning: If resource allocation fails, then there is a possible null pointer dereference: dirp [nullPointerOutOfResources] dietlibc-0.34~cvs20160606/test/dirent/tst-seekdir.c:15:18: note: Assuming allocation function fails dietlibc-0.34~cvs20160606/test/dirent/tst-seekdir.c:15:18: note: Assignment 'dirp=opendir(".")', assigned value is 0 dietlibc-0.34~cvs20160606/test/dirent/tst-seekdir.c:26:13: note: Assuming condition is false dietlibc-0.34~cvs20160606/test/dirent/tst-seekdir.c:33:12: note: Null pointer dereference dietlibc-0.34~cvs20160606/test/dirent/tst-seekdir.c:36:18: warning: If resource allocation fails, then there is a possible null pointer dereference: dirp [nullPointerOutOfResources] dietlibc-0.34~cvs20160606/test/dirent/tst-seekdir.c:15:18: note: Assuming allocation function fails dietlibc-0.34~cvs20160606/test/dirent/tst-seekdir.c:15:18: note: Assignment 'dirp=opendir(".")', assigned value is 0 dietlibc-0.34~cvs20160606/test/dirent/tst-seekdir.c:26:13: note: Assuming condition is false dietlibc-0.34~cvs20160606/test/dirent/tst-seekdir.c:36:18: note: Null pointer dereference dietlibc-0.34~cvs20160606/test/dirent/tst-seekdir.c:13:18: style: Variable 'dp' can be declared as pointer to const [constVariablePointer] dietlibc-0.34~cvs20160606/test/explicit_bzero.c:45:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLOCK_MONOTONIC [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/test/explicit_bzero.c:92:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLOCK_MONOTONIC [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/test/explicit_bzero.c:45:10: warning: Assert statement calls a function which may have desired side effects: 'clock_gettime'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/explicit_bzero.c:49:10: warning: Assert statement calls a function which may have desired side effects: 'clock_gettime'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/explicit_bzero.c:53:10: warning: Assert statement calls a function which may have desired side effects: 'clock_gettime'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/explicit_bzero.c:55:12: warning: Assert statement calls a function which may have desired side effects: 'bcmp'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/explicit_bzero.c:57:10: warning: Assert statement calls a function which may have desired side effects: 'clock_gettime'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/explicit_bzero.c:63:10: warning: Assert statement calls a function which may have desired side effects: 'clock_gettime'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/explicit_bzero.c:67:10: warning: Assert statement calls a function which may have desired side effects: 'clock_gettime'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/explicit_bzero.c:71:10: warning: Assert statement calls a function which may have desired side effects: 'clock_gettime'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/explicit_bzero.c:73:12: warning: Assert statement calls a function which may have desired side effects: 'bcmp'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/explicit_bzero.c:75:10: warning: Assert statement calls a function which may have desired side effects: 'clock_gettime'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/explicit_bzero.c:92:10: warning: Assert statement calls a function which may have desired side effects: 'clock_gettime'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/explicit_bzero.c:96:10: warning: Assert statement calls a function which may have desired side effects: 'clock_gettime'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/explicit_bzero.c:100:10: warning: Assert statement calls a function which may have desired side effects: 'clock_gettime'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/explicit_bzero.c:104:10: warning: Assert statement calls a function which may have desired side effects: 'clock_gettime'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/explicit_bzero.c:110:10: warning: Assert statement calls a function which may have desired side effects: 'clock_gettime'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/explicit_bzero.c:114:10: warning: Assert statement calls a function which may have desired side effects: 'clock_gettime'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/explicit_bzero.c:118:10: warning: Assert statement calls a function which may have desired side effects: 'clock_gettime'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/explicit_bzero.c:122:10: warning: Assert statement calls a function which may have desired side effects: 'clock_gettime'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/explicit_bzero.c:137:12: warning: Assert statement modifies 'fd'. [assignmentInAssert] dietlibc-0.34~cvs20160606/test/explicit_bzero.c:137:13: warning: Assert statement calls a function which may have desired side effects: 'mkstemp'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/explicit_bzero.c:55:12: style: Obsolescent function 'bcmp' called. It is recommended to use 'memcmp' instead. [prohibitedbcmpCalled] dietlibc-0.34~cvs20160606/test/explicit_bzero.c:73:12: style: Obsolescent function 'bcmp' called. It is recommended to use 'memcmp' instead. [prohibitedbcmpCalled] dietlibc-0.34~cvs20160606/test/explicit_bzero.c:51:3: warning: %lu in format string (no. 5) requires 'unsigned long' but the argument type is 'long'. [invalidPrintfArgType_uint] dietlibc-0.34~cvs20160606/test/explicit_bzero.c:59:3: warning: %lu in format string (no. 5) requires 'unsigned long' but the argument type is 'long'. [invalidPrintfArgType_uint] dietlibc-0.34~cvs20160606/test/explicit_bzero.c:69:3: warning: %lu in format string (no. 5) requires 'unsigned long' but the argument type is 'long'. [invalidPrintfArgType_uint] dietlibc-0.34~cvs20160606/test/explicit_bzero.c:77:3: warning: %lu in format string (no. 5) requires 'unsigned long' but the argument type is 'long'. [invalidPrintfArgType_uint] dietlibc-0.34~cvs20160606/test/explicit_bzero.c:98:3: warning: %lu in format string (no. 5) requires 'unsigned long' but the argument type is 'long'. [invalidPrintfArgType_uint] dietlibc-0.34~cvs20160606/test/explicit_bzero.c:106:3: warning: %lu in format string (no. 5) requires 'unsigned long' but the argument type is 'long'. [invalidPrintfArgType_uint] dietlibc-0.34~cvs20160606/test/explicit_bzero.c:116:3: warning: %lu in format string (no. 5) requires 'unsigned long' but the argument type is 'long'. [invalidPrintfArgType_uint] dietlibc-0.34~cvs20160606/test/explicit_bzero.c:124:3: warning: %lu in format string (no. 5) requires 'unsigned long' but the argument type is 'long'. [invalidPrintfArgType_uint] dietlibc-0.34~cvs20160606/test/explicit_bzero.c:20:8: style: Variable 'buf' can be declared as const array [constVariable] dietlibc-0.34~cvs20160606/test/explicit_bzero.c:24:12: error: Uninitialized variable: buf[i] [legacyUninitvar] dietlibc-0.34~cvs20160606/test/explicit_bzero.c:135:9: style: Unused variable: c [unusedVariable] dietlibc-0.34~cvs20160606/test/explicit_bzero.c:136:10: style: Unused variable: i [unusedVariable] dietlibc-0.34~cvs20160606/test/fadvise.c:17:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POSIX_FADV_RANDOM [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/test/ffs.c:7:10: warning: Assert statement calls a function which may have desired side effects: 'ffs'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/ffs.c:8:10: warning: Assert statement calls a function which may have desired side effects: 'ffs'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/ffs.c:9:10: warning: Assert statement calls a function which may have desired side effects: 'ffs'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/ffs.c:10:10: warning: Assert statement calls a function which may have desired side effects: 'ffs'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/ffs.c:11:10: warning: Assert statement calls a function which may have desired side effects: 'ffs'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/ffs.c:12:10: warning: Assert statement calls a function which may have desired side effects: 'ffsll'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/ffs.c:13:10: warning: Assert statement calls a function which may have desired side effects: 'ffsll'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/ffs.c:14:10: warning: Assert statement calls a function which may have desired side effects: 'ffsll'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/flush.c:6:3: error: Resource leak: f [resourceLeak] dietlibc-0.34~cvs20160606/test/flush.c:5:19: warning: If resource allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfResources] dietlibc-0.34~cvs20160606/test/flush.c:4:16: note: Assuming allocation function fails dietlibc-0.34~cvs20160606/test/flush.c:4:16: note: Assignment 'f=fopen("testing","w")', assigned value is 0 dietlibc-0.34~cvs20160606/test/flush.c:5:19: note: Null pointer dereference dietlibc-0.34~cvs20160606/test/fnmatch.c:15:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FNM_PERIOD [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/test/fputc.c:5:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/test/fputc.c:5:10: warning: Assert statement calls a function which may have desired side effects: 'fputc'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/fputc.c:7:10: warning: Assert statement calls a function which may have desired side effects: 'ferror'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/ftell.c:7:10: warning: Assert statement calls a function which may have desired side effects: 'ftell'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/ftell.c:8:10: warning: Assert statement calls a function which may have desired side effects: 'getc'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/ftell.c:11:10: warning: Assert statement calls a function which may have desired side effects: 'ftell'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/ftell.c:13:10: warning: Assert statement calls a function which may have desired side effects: 'ftell'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/ftell.c:16:10: warning: Assert statement calls a function which may have desired side effects: 'ftell'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/ftell.c:18:10: warning: Assert statement calls a function which may have desired side effects: 'ftell'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/ftell.c:20:10: warning: Assert statement calls a function which may have desired side effects: 'ftell'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/ftell.c:23:10: warning: Assert statement calls a function which may have desired side effects: 'ftell'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/ftell.c:6:14: warning: If resource allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfResources] dietlibc-0.34~cvs20160606/test/ftell.c:5:18: note: Assuming allocation function fails dietlibc-0.34~cvs20160606/test/ftell.c:5:18: note: Assignment 'f=popen("/bin/echo testing","r")', assigned value is 0 dietlibc-0.34~cvs20160606/test/ftell.c:6:14: note: Null pointer dereference dietlibc-0.34~cvs20160606/test/ftell.c:7:16: warning: If resource allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfResources] dietlibc-0.34~cvs20160606/test/ftell.c:5:18: note: Assuming allocation function fails dietlibc-0.34~cvs20160606/test/ftell.c:5:18: note: Assignment 'f=popen("/bin/echo testing","r")', assigned value is 0 dietlibc-0.34~cvs20160606/test/ftell.c:7:16: note: Null pointer dereference dietlibc-0.34~cvs20160606/test/ftell.c:8:15: warning: If resource allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfResources] dietlibc-0.34~cvs20160606/test/ftell.c:5:18: note: Assuming allocation function fails dietlibc-0.34~cvs20160606/test/ftell.c:5:18: note: Assignment 'f=popen("/bin/echo testing","r")', assigned value is 0 dietlibc-0.34~cvs20160606/test/ftell.c:8:15: note: Null pointer dereference dietlibc-0.34~cvs20160606/test/ftell.c:9:10: warning: If resource allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfResources] dietlibc-0.34~cvs20160606/test/ftell.c:5:18: note: Assuming allocation function fails dietlibc-0.34~cvs20160606/test/ftell.c:5:18: note: Assignment 'f=popen("/bin/echo testing","r")', assigned value is 0 dietlibc-0.34~cvs20160606/test/ftell.c:9:10: note: Null pointer dereference dietlibc-0.34~cvs20160606/test/ftell.c:11:16: warning: If resource allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfResources] dietlibc-0.34~cvs20160606/test/ftell.c:10:10: note: Assuming allocation function fails dietlibc-0.34~cvs20160606/test/ftell.c:10:10: note: Assignment 'f=fopen("/tmp/test","w")', assigned value is 0 dietlibc-0.34~cvs20160606/test/ftell.c:11:16: note: Null pointer dereference dietlibc-0.34~cvs20160606/test/ftell.c:12:16: warning: If resource allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfResources] dietlibc-0.34~cvs20160606/test/ftell.c:10:10: note: Assuming allocation function fails dietlibc-0.34~cvs20160606/test/ftell.c:10:10: note: Assignment 'f=fopen("/tmp/test","w")', assigned value is 0 dietlibc-0.34~cvs20160606/test/ftell.c:12:16: note: Null pointer dereference dietlibc-0.34~cvs20160606/test/ftell.c:13:16: warning: If resource allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfResources] dietlibc-0.34~cvs20160606/test/ftell.c:10:10: note: Assuming allocation function fails dietlibc-0.34~cvs20160606/test/ftell.c:10:10: note: Assignment 'f=fopen("/tmp/test","w")', assigned value is 0 dietlibc-0.34~cvs20160606/test/ftell.c:13:16: note: Null pointer dereference dietlibc-0.34~cvs20160606/test/ftell.c:14:10: warning: If resource allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfResources] dietlibc-0.34~cvs20160606/test/ftell.c:10:10: note: Assuming allocation function fails dietlibc-0.34~cvs20160606/test/ftell.c:10:10: note: Assignment 'f=fopen("/tmp/test","w")', assigned value is 0 dietlibc-0.34~cvs20160606/test/ftell.c:14:10: note: Null pointer dereference dietlibc-0.34~cvs20160606/test/ftell.c:16:16: warning: If resource allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfResources] dietlibc-0.34~cvs20160606/test/ftell.c:15:10: note: Assuming allocation function fails dietlibc-0.34~cvs20160606/test/ftell.c:15:10: note: Assignment 'f=fopen("/tmp/test","r")', assigned value is 0 dietlibc-0.34~cvs20160606/test/ftell.c:16:16: note: Null pointer dereference dietlibc-0.34~cvs20160606/test/ftell.c:17:10: warning: If resource allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfResources] dietlibc-0.34~cvs20160606/test/ftell.c:15:10: note: Assuming allocation function fails dietlibc-0.34~cvs20160606/test/ftell.c:15:10: note: Assignment 'f=fopen("/tmp/test","r")', assigned value is 0 dietlibc-0.34~cvs20160606/test/ftell.c:17:10: note: Null pointer dereference dietlibc-0.34~cvs20160606/test/ftell.c:18:16: warning: If resource allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfResources] dietlibc-0.34~cvs20160606/test/ftell.c:15:10: note: Assuming allocation function fails dietlibc-0.34~cvs20160606/test/ftell.c:15:10: note: Assignment 'f=fopen("/tmp/test","r")', assigned value is 0 dietlibc-0.34~cvs20160606/test/ftell.c:18:16: note: Null pointer dereference dietlibc-0.34~cvs20160606/test/ftell.c:19:12: warning: If resource allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfResources] dietlibc-0.34~cvs20160606/test/ftell.c:15:10: note: Assuming allocation function fails dietlibc-0.34~cvs20160606/test/ftell.c:15:10: note: Assignment 'f=fopen("/tmp/test","r")', assigned value is 0 dietlibc-0.34~cvs20160606/test/ftell.c:19:12: note: Null pointer dereference dietlibc-0.34~cvs20160606/test/ftell.c:20:16: warning: If resource allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfResources] dietlibc-0.34~cvs20160606/test/ftell.c:15:10: note: Assuming allocation function fails dietlibc-0.34~cvs20160606/test/ftell.c:15:10: note: Assignment 'f=fopen("/tmp/test","r")', assigned value is 0 dietlibc-0.34~cvs20160606/test/ftell.c:20:16: note: Null pointer dereference dietlibc-0.34~cvs20160606/test/ftell.c:21:10: warning: If resource allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfResources] dietlibc-0.34~cvs20160606/test/ftell.c:15:10: note: Assuming allocation function fails dietlibc-0.34~cvs20160606/test/ftell.c:15:10: note: Assignment 'f=fopen("/tmp/test","r")', assigned value is 0 dietlibc-0.34~cvs20160606/test/ftell.c:21:10: note: Null pointer dereference dietlibc-0.34~cvs20160606/test/ftell.c:22:10: warning: If resource allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfResources] dietlibc-0.34~cvs20160606/test/ftell.c:15:10: note: Assuming allocation function fails dietlibc-0.34~cvs20160606/test/ftell.c:15:10: note: Assignment 'f=fopen("/tmp/test","r")', assigned value is 0 dietlibc-0.34~cvs20160606/test/ftell.c:22:10: note: Null pointer dereference dietlibc-0.34~cvs20160606/test/ftell.c:23:16: warning: If resource allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfResources] dietlibc-0.34~cvs20160606/test/ftell.c:15:10: note: Assuming allocation function fails dietlibc-0.34~cvs20160606/test/ftell.c:15:10: note: Assignment 'f=fopen("/tmp/test","r")', assigned value is 0 dietlibc-0.34~cvs20160606/test/ftell.c:23:16: note: Null pointer dereference dietlibc-0.34~cvs20160606/test/ftell.c:24:10: warning: If resource allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfResources] dietlibc-0.34~cvs20160606/test/ftell.c:15:10: note: Assuming allocation function fails dietlibc-0.34~cvs20160606/test/ftell.c:15:10: note: Assignment 'f=fopen("/tmp/test","r")', assigned value is 0 dietlibc-0.34~cvs20160606/test/ftell.c:24:10: note: Null pointer dereference dietlibc-0.34~cvs20160606/test/ftell.c:17:4: style: Redundant initialization for 'i'. The initialized value is overwritten before it is read. [redundantInitialization] dietlibc-0.34~cvs20160606/test/ftell.c:6:8: note: i is initialized dietlibc-0.34~cvs20160606/test/ftell.c:17:4: note: i is overwritten dietlibc-0.34~cvs20160606/test/ftell.c:22:4: style: Variable 'i' is reassigned a value before the old one has been used. [redundantAssignment] dietlibc-0.34~cvs20160606/test/ftell.c:21:4: note: i is assigned dietlibc-0.34~cvs20160606/test/ftell.c:22:4: note: i is overwritten dietlibc-0.34~cvs20160606/test/fwrite.c:6:29: error: Resource leak: f [resourceLeak] dietlibc-0.34~cvs20160606/test/fwrite.c:6:22: warning: If resource allocation fails, then there is a possible null pointer dereference: f [nullPointerOutOfResources] dietlibc-0.34~cvs20160606/test/fwrite.c:4:16: note: Assuming allocation function fails dietlibc-0.34~cvs20160606/test/fwrite.c:4:16: note: Assignment 'f=fopen("test","wb")', assigned value is 0 dietlibc-0.34~cvs20160606/test/fwrite.c:6:22: note: Null pointer dereference dietlibc-0.34~cvs20160606/test/fwrite.c:5:8: style: Variable 'buf' can be declared as const array [constVariable] dietlibc-0.34~cvs20160606/test/getaddrinfo.c:14:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNSPEC [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/test/getaddrinfo.c:11:27: style: Variable 'ai' can be declared as pointer to const [constVariablePointer] dietlibc-0.34~cvs20160606/test/getdelim.c:15:4: portability: %zu in format string (no. 1) requires 'size_t' but the argument type is 'ssize_t {aka signed long}'. [invalidPrintfArgType_uint] dietlibc-0.34~cvs20160606/test/getenv.c:6:10: warning: Assert statement calls a function which may have desired side effects: 'getenv'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/getenv.c:8:18: warning: Assert statement calls a function which may have desired side effects: 'getenv'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/getgrnam.c:6:20: portability: Non reentrant function 'getgrnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrnam_r'. [prohibitedgetgrnamCalled] dietlibc-0.34~cvs20160606/test/getgrnam.c:7:15: portability: Non reentrant function 'getgrnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getgrnam_r'. [prohibitedgetgrnamCalled] dietlibc-0.34~cvs20160606/test/getgrnam.c:6:17: style: Variable 'gr' can be declared as pointer to const [constVariablePointer] dietlibc-0.34~cvs20160606/test/gethostbyaddr.c:11:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/test/gethostbyaddr.c:11:7: style: Obsolescent function 'gethostbyaddr' called. It is recommended to use 'getnameinfo' instead. [prohibitedgethostbyaddrCalled] dietlibc-0.34~cvs20160606/test/gethostbyaddr.c:9:19: style: Variable 'foo' can be declared as pointer to const [constVariablePointer] dietlibc-0.34~cvs20160606/test/gethostbyname.c:9:7: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] dietlibc-0.34~cvs20160606/test/gethostbyname.c:8:19: style: Variable 'foo' can be declared as pointer to const [constVariablePointer] dietlibc-0.34~cvs20160606/test/gethostbyname_r.c:17:25: warning: Assert statement calls a function which may have desired side effects: 'inet_ntoa'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/gethostbyname_r.c:9:24: style: Variable 'res' can be declared as pointer to const [constVariablePointer] dietlibc-0.34~cvs20160606/test/gethostbyname_r.c:10:8: style: Variable 'buf' can be declared as const array [constVariable] dietlibc-0.34~cvs20160606/test/gethostbyname_r.c:12:41: error: Uninitialized variable: buf [uninitvar] dietlibc-0.34~cvs20160606/test/gethostbyname_r.c:12:50: error: Uninitialized variable: &res [uninitvar] dietlibc-0.34~cvs20160606/test/gethostbyname_r.c:12:55: error: Uninitialized variable: &fnord [uninitvar] dietlibc-0.34~cvs20160606/test/gethostent.c:8:7: portability: Non reentrant function 'gethostent' called. For threadsafe applications it is recommended to use the reentrant replacement function 'gethostent_r'. [prohibitedgethostentCalled] dietlibc-0.34~cvs20160606/test/gethostent.c:7:19: style: Variable 'foo' can be declared as pointer to const [constVariablePointer] dietlibc-0.34~cvs20160606/test/getmntent.c:8:17: style: Variable 'e' can be declared as pointer to const [constVariablePointer] dietlibc-0.34~cvs20160606/test/getopt.c:11:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optind [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/test/getopt.c:13:26: style: Variable 'long_options' can be declared as const array [constVariable] dietlibc-0.34~cvs20160606/test/getpwnam.c:5:21: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] dietlibc-0.34~cvs20160606/test/getpwnam.c:6:15: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] dietlibc-0.34~cvs20160606/test/getpwnam.c:7:15: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] dietlibc-0.34~cvs20160606/test/getpwnam.c:8:15: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] dietlibc-0.34~cvs20160606/test/getpwnam.c:18:6: portability: Non reentrant function 'getpwnam' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwnam_r'. [prohibitedgetpwnamCalled] dietlibc-0.34~cvs20160606/test/getpwnam.c:5:18: style: Variable 'pw' can be declared as pointer to const [constVariablePointer] dietlibc-0.34~cvs20160606/test/getservbyname.c:6:11: portability: Non reentrant function 'getservbyname' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getservbyname_r'. [prohibitedgetservbynameCalled] dietlibc-0.34~cvs20160606/test/getservbyname.c:4:25: style: Parameter 'argv' can be declared as const array [constParameter] dietlibc-0.34~cvs20160606/test/getservbyname.c:5:19: style: Variable 'se' can be declared as pointer to const [constVariablePointer] dietlibc-0.34~cvs20160606/test/getservbyport.c:7:11: portability: Non reentrant function 'getservbyport' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getservbyport_r'. [prohibitedgetservbyportCalled] dietlibc-0.34~cvs20160606/test/getservbyport.c:5:25: style: Parameter 'argv' can be declared as const array [constParameter] dietlibc-0.34~cvs20160606/test/getservbyport.c:6:19: style: Variable 'se' can be declared as pointer to const [constVariablePointer] dietlibc-0.34~cvs20160606/test/gettimeofday.c:5:1: portability: Omitted return type of function 'main' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dietlibc-0.34~cvs20160606/test/getusershell.c:6:9: style: Variable 'c' can be declared as pointer to const [constVariablePointer] dietlibc-0.34~cvs20160606/test/hasmntopt.c:12:9: style: Variable 'c' can be declared as pointer to const [constVariablePointer] dietlibc-0.34~cvs20160606/test/hasmntopt.c:15:10: style: Variable 'c' is assigned a value that is never used. [unreadVariable] dietlibc-0.34~cvs20160606/test/hello.c:13:11: warning: Assert statement calls a function which may have desired side effects: 'printf'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/inet/test_ifindex.c:34:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/test/inet/test_ifindex.c:51:7: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] dietlibc-0.34~cvs20160606/test/inet/tst-gethnm.c:21:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/test/inet/tst-gethnm.c:21:9: style: Obsolescent function 'gethostbyaddr' called. It is recommended to use 'getnameinfo' instead. [prohibitedgethostbyaddrCalled] dietlibc-0.34~cvs20160606/test/inet/tst-gethnm.c:35:9: style: Obsolescent function 'gethostbyname' called. It is recommended to use 'getaddrinfo' instead. [prohibitedgethostbynameCalled] dietlibc-0.34~cvs20160606/test/inet/tst-network.c:72:17: style: The comparison 'errors != 0' is always false. [knownConditionTrueFalse] dietlibc-0.34~cvs20160606/test/inet/tst-network.c:53:16: note: 'errors' is assigned value '0' here. dietlibc-0.34~cvs20160606/test/inet/tst-network.c:72:17: note: The comparison 'errors != 0' is always false. dietlibc-0.34~cvs20160606/test/inet/tst-ntoa.c:30:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INADDR_LOOPBACK [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/test/inet/tst-ntoa.c:11:9: style: Variable 'res' can be declared as pointer to const [constVariablePointer] dietlibc-0.34~cvs20160606/test/malloc-debugger.c:7:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/test/malloc-debugger.c:8:3: warning: If memory allocation fails, then there is a possible null pointer dereference: c [nullPointerOutOfMemory] dietlibc-0.34~cvs20160606/test/malloc-debugger.c:5:17: note: Assuming allocation function fails dietlibc-0.34~cvs20160606/test/malloc-debugger.c:5:17: note: Assignment 'c=malloc(13)', assigned value is 0 dietlibc-0.34~cvs20160606/test/malloc-debugger.c:8:3: note: Null pointer dereference dietlibc-0.34~cvs20160606/test/mbrlen.c:6:1: portability: Omitted return type of function 'main' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dietlibc-0.34~cvs20160606/test/mbrlen.c:8:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_CTYPE [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/test/mbrlen.c:10:10: warning: Assert statement calls a function which may have desired side effects: 'mbrlen'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/mbrlen.c:12:10: warning: Assert statement calls a function which may have desired side effects: 'mbrlen'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/mbrlen.c:17:10: warning: Assert statement calls a function which may have desired side effects: 'mbrlen'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/mbrlen.c:14:3: portability: %d in format string (no. 1) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] dietlibc-0.34~cvs20160606/test/mbrlen.c:15:3: portability: %d in format string (no. 1) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] dietlibc-0.34~cvs20160606/test/mbtowc.c:13:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_CTYPE [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/test/mbtowc.c:16:10: warning: Assert statement calls a function which may have desired side effects: 'mbtowc'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/mbtowc.c:17:10: warning: Assert statement calls a function which may have desired side effects: 'mbtowc'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/mbtowc.c:18:10: warning: Assert statement calls a function which may have desired side effects: 'mbtowc'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/mbtowc.c:19:10: warning: Assert statement calls a function which may have desired side effects: 'mbtowc'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/mbtowc.c:20:10: warning: Assert statement calls a function which may have desired side effects: 'mbtowc'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/mbtowc.c:21:10: warning: Assert statement calls a function which may have desired side effects: 'mbtowc'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/mbtowc.c:25:10: warning: Assert statement calls a function which may have desired side effects: 'mbtowc'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/mbtowc.c:26:10: warning: Assert statement calls a function which may have desired side effects: 'mbtowc'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/mbtowc.c:27:10: warning: Assert statement calls a function which may have desired side effects: 'mbtowc'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/mbtowc.c:11:9: style: Variable 'c' can be declared as pointer to const [constVariablePointer] dietlibc-0.34~cvs20160606/test/mbtowc.c:12:11: style: Variable 'n' is assigned a value that is never used. [unreadVariable] dietlibc-0.34~cvs20160606/test/mbtowc.c:12:10: style: Variable 'n' is assigned a value that is never used. [unreadVariable] dietlibc-0.34~cvs20160606/test/memccpy.c:9:10: warning: Assert statement calls a function which may have desired side effects: 'memccpy'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/memccpy.c:11:22: warning: Assert statement calls a function which may have desired side effects: 'memccpy'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/memccpy.c:13:11: warning: Assert statement calls a function which may have desired side effects: 'memccpy'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/memccpy.c:11:68: portability: 'memccpy(buf,"Hello, World",0,sizeof(buf))' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dietlibc-0.34~cvs20160606/test/memchr.c:7:17: error: Null pointer dereference [nullPointer] dietlibc-0.34~cvs20160606/test/memcmp.c:11:22: error: Null pointer dereference [nullPointer] dietlibc-0.34~cvs20160606/test/memcmp.c:10:10: warning: Unnecessary comparison of static strings. [staticStringCompare] dietlibc-0.34~cvs20160606/test/memcpy.c:15:12: warning: Assert statement calls a function which may have desired side effects: 'memcpy'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/memrchr.c:7:10: warning: Assert statement calls a function which may have desired side effects: 'memrchr'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/memrchr.c:8:10: warning: Assert statement calls a function which may have desired side effects: 'memrchr'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/memrchr.c:9:10: warning: Assert statement calls a function which may have desired side effects: 'memrchr'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/memrchr.c:10:10: warning: Assert statement calls a function which may have desired side effects: 'memrchr'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/memrchr.c:11:10: warning: Assert statement calls a function which may have desired side effects: 'memrchr'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/memrchr.c:8:18: error: Null pointer dereference [nullPointer] dietlibc-0.34~cvs20160606/test/memusage.c:10:3: error: Resource leak: f [resourceLeak] dietlibc-0.34~cvs20160606/test/mmap_test.c:18:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/test/mmap_test.c:41:7: error: Resource leak: fd [resourceLeak] dietlibc-0.34~cvs20160606/test/mmap_test.c:53:7: error: Resource leak: fd [resourceLeak] dietlibc-0.34~cvs20160606/test/mmap_test.c:53:7: error: Memory leak: filememory_1 [memleak] dietlibc-0.34~cvs20160606/test/mmap_test.c:53:7: error: Memory leak: filememory_2 [memleak] dietlibc-0.34~cvs20160606/test/mmap_test.c:63:7: error: Resource leak: fd [resourceLeak] dietlibc-0.34~cvs20160606/test/mmap_test.c:63:7: error: Memory leak: filememory_1 [memleak] dietlibc-0.34~cvs20160606/test/mmap_test.c:70:8: error: Resource leak: fd [resourceLeak] dietlibc-0.34~cvs20160606/test/mmap_test.c:70:8: error: Memory leak: filememory_1 [memleak] dietlibc-0.34~cvs20160606/test/mmap_test.c:74:8: error: Resource leak: fd [resourceLeak] dietlibc-0.34~cvs20160606/test/mmap_test.c:74:8: error: Memory leak: filememory_1 [memleak] dietlibc-0.34~cvs20160606/test/mmap_test.c:74:8: error: Memory leak: c [memleak] dietlibc-0.34~cvs20160606/test/mmap_test.c:84:4: error: Memory leak: filememory_1 [memleak] dietlibc-0.34~cvs20160606/test/mmap_test.c:84:4: error: Memory leak: c [memleak] dietlibc-0.34~cvs20160606/test/mmap_test.c:60:10: warning: If memory allocation fails, then there is a possible null pointer dereference: (unsigned char*)filememory_1 [nullPointerOutOfMemory] dietlibc-0.34~cvs20160606/test/mmap_test.c:36:24: note: Assuming allocation function fails dietlibc-0.34~cvs20160606/test/mmap_test.c:36:24: note: Assignment 'filememory_1=mmap(NULL,0x0100,PROT_READ,MAP_PRIVATE,fd,0)', assigned value is 0 dietlibc-0.34~cvs20160606/test/mmap_test.c:50:38: note: Assuming condition is false dietlibc-0.34~cvs20160606/test/mmap_test.c:60:10: note: Null pointer dereference dietlibc-0.34~cvs20160606/test/mmap_test.c:72:17: warning: If memory allocation fails, then there is a possible null pointer dereference: c [nullPointerOutOfMemory] dietlibc-0.34~cvs20160606/test/mmap_test.c:67:18: note: Assuming allocation function fails dietlibc-0.34~cvs20160606/test/mmap_test.c:67:18: note: Assignment 'c=mmap(NULL,5,PROT_READ,MAP_PRIVATE,fd,64*1024)', assigned value is 0 dietlibc-0.34~cvs20160606/test/mmap_test.c:72:17: note: Null pointer dereference dietlibc-0.34~cvs20160606/test/mmap_test.c:16:10: style: Variable 'filememory_2' can be declared as pointer to const [constVariablePointer] dietlibc-0.34~cvs20160606/test/mmap_test.c:67:12: style: Variable 'c' can be declared as pointer to const [constVariablePointer] dietlibc-0.34~cvs20160606/test/pipe.c:8:11: warning: Assert statement calls a function which may have desired side effects: 'pipe'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/popen.c:7:11: warning: Assert statement modifies 'f'. [assignmentInAssert] dietlibc-0.34~cvs20160606/test/popen.c:7:12: warning: Assert statement calls a function which may have desired side effects: 'popen'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/popen.c:8:10: warning: Assert statement calls a function which may have desired side effects: 'fgets'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/popen.c:9:10: warning: Assert statement calls a function which may have desired side effects: 'fclose'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/printf.c:92:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] dietlibc-0.34~cvs20160606/test/printf.c:93:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] dietlibc-0.34~cvs20160606/test/printf.c:119:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] dietlibc-0.34~cvs20160606/test/printf.c:121:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] dietlibc-0.34~cvs20160606/test/printf.c:123:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] dietlibc-0.34~cvs20160606/test/printf.c:125:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] dietlibc-0.34~cvs20160606/test/printf.c:130:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] dietlibc-0.34~cvs20160606/test/printf2.c:10:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] dietlibc-0.34~cvs20160606/test/printf2.c:11:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] dietlibc-0.34~cvs20160606/test/printf2.c:12:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] dietlibc-0.34~cvs20160606/test/printf2.c:13:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] dietlibc-0.34~cvs20160606/test/printf2.c:14:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] dietlibc-0.34~cvs20160606/test/printftest.c:103:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] dietlibc-0.34~cvs20160606/test/printftest.c:104:3: warning: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'signed int'. [invalidPrintfArgType_uint] dietlibc-0.34~cvs20160606/test/printftest.c:105:3: warning: %li in format string (no. 1) requires 'long' but the argument type is 'signed int'. [invalidPrintfArgType_sint] dietlibc-0.34~cvs20160606/test/printftest.c:144:7: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] dietlibc-0.34~cvs20160606/test/printftest.c:145:5: portability: %i in format string (no. 2) requires 'int' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] dietlibc-0.34~cvs20160606/test/printftest.c:148:10: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] dietlibc-0.34~cvs20160606/test/printftest.c:136:10: style: Local variable 'buf' shadows outer variable [shadowVariable] dietlibc-0.34~cvs20160606/test/printftest.c:67:8: note: Shadowed declaration dietlibc-0.34~cvs20160606/test/printftest.c:136:10: note: Shadow variable dietlibc-0.34~cvs20160606/test/printftest.c:138:9: style: Local variable 'i' shadows outer variable [shadowVariable] dietlibc-0.34~cvs20160606/test/printftest.c:68:7: note: Shadowed declaration dietlibc-0.34~cvs20160606/test/printftest.c:138:9: note: Shadow variable dietlibc-0.34~cvs20160606/test/protoent.c:18:14: portability: Non reentrant function 'getprotoent' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getprotoent_r'. [prohibitedgetprotoentCalled] dietlibc-0.34~cvs20160606/test/protoent.c:4:25: style: Parameter 'argv' can be declared as const array [constParameter] dietlibc-0.34~cvs20160606/test/protoent.c:17:20: style: Variable 'se' can be declared as pointer to const [constVariablePointer] dietlibc-0.34~cvs20160606/test/putenv.c:9:10: warning: Assert statement calls a function which may have desired side effects: 'putenv'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/putenv.c:10:19: warning: Assert statement calls a function which may have desired side effects: 'getenv'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/putenv.c:11:10: warning: Assert statement calls a function which may have desired side effects: 'putenv'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/putenv.c:12:19: warning: Assert statement calls a function which may have desired side effects: 'getenv'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/putenv.c:14:19: warning: Assert statement calls a function which may have desired side effects: 'getenv'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/putenv.c:16:19: warning: Assert statement calls a function which may have desired side effects: 'getenv'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/pwent.c:8:21: error: Uninitialized variable: &pw [uninitvar] dietlibc-0.34~cvs20160606/test/qsort.c:31:0: error: #error "Unimplemented rdtsc" [preprocessorErrorDirective] dietlibc-0.34~cvs20160606/test/qsort.c:31:2: error: #error "Unimplemented rdtsc" [preprocessorErrorDirective] dietlibc-0.34~cvs20160606/test/rand48.c:9:3: portability: %X in format string (no. 1) requires 'unsigned int' but the argument type is 'long int {aka signed long}'. [invalidPrintfArgType_uint] dietlibc-0.34~cvs20160606/test/rand48.c:10:3: portability: %X in format string (no. 1) requires 'unsigned int' but the argument type is 'long int {aka signed long}'. [invalidPrintfArgType_uint] dietlibc-0.34~cvs20160606/test/rand48.c:11:3: portability: %X in format string (no. 1) requires 'unsigned int' but the argument type is 'long int {aka signed long}'. [invalidPrintfArgType_uint] dietlibc-0.34~cvs20160606/test/rand48.c:16:3: portability: %X in format string (no. 1) requires 'unsigned int' but the argument type is 'long int {aka signed long}'. [invalidPrintfArgType_uint] dietlibc-0.34~cvs20160606/test/rand48.c:17:3: portability: %X in format string (no. 1) requires 'unsigned int' but the argument type is 'long int {aka signed long}'. [invalidPrintfArgType_uint] dietlibc-0.34~cvs20160606/test/rand48.c:18:3: portability: %X in format string (no. 1) requires 'unsigned int' but the argument type is 'long int {aka signed long}'. [invalidPrintfArgType_uint] dietlibc-0.34~cvs20160606/test/rand48.c:7:26: style: Variable 'data' can be declared as const array [constVariable] dietlibc-0.34~cvs20160606/test/readdir.c:10:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/test/readdir.c:31:3: error: Resource leak: D [resourceLeak] dietlibc-0.34~cvs20160606/test/readdir.c:13:18: style: Variable 'd' can be declared as pointer to const [constVariablePointer] dietlibc-0.34~cvs20160606/test/readdir.c:22:9: style: Variable 'd' is assigned a value that is never used. [unreadVariable] dietlibc-0.34~cvs20160606/test/realpath.c:5:1: portability: Omitted return type of function 'main' defaults to int, this is not supported by ISO C99 and later standards. [returnImplicitInt] dietlibc-0.34~cvs20160606/test/realpath.c:12:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/test/regex.c:14:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_EXTENDED [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/test/regex.c:14:10: warning: Assert statement calls a function which may have desired side effects: 'regcomp'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/regex.c:15:10: warning: Assert statement calls a function which may have desired side effects: 'regexec'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/regex.c:21:10: warning: Assert statement calls a function which may have desired side effects: 'regcomp'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/regex.c:22:10: warning: Assert statement calls a function which may have desired side effects: 'regexec'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/regex.c:25:10: warning: Assert statement calls a function which may have desired side effects: 'regcomp'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/regex.c:26:10: warning: Assert statement calls a function which may have desired side effects: 'regexec'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/regex.c:29:10: warning: Assert statement calls a function which may have desired side effects: 'regcomp'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/regex.c:30:10: warning: Assert statement calls a function which may have desired side effects: 'regexec'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/regex.c:33:10: warning: Assert statement calls a function which may have desired side effects: 'regcomp'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/regex.c:34:10: warning: Assert statement calls a function which may have desired side effects: 'regexec'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/regex.c:37:10: warning: Assert statement calls a function which may have desired side effects: 'regcomp'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/regex.c:38:10: warning: Assert statement calls a function which may have desired side effects: 'regexec'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/regex.c:41:10: warning: Assert statement calls a function which may have desired side effects: 'regcomp'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/regex.c:42:10: warning: Assert statement calls a function which may have desired side effects: 'regexec'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/regex.c:46:10: warning: Assert statement calls a function which may have desired side effects: 'regcomp'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/regex.c:47:10: warning: Assert statement calls a function which may have desired side effects: 'regexec'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/regex.c:51:10: warning: Assert statement calls a function which may have desired side effects: 'regcomp'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/regex.c:52:10: warning: Assert statement calls a function which may have desired side effects: 'regexec'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/regex.c:56:10: warning: Assert statement calls a function which may have desired side effects: 'regcomp'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/regex.c:57:10: warning: Assert statement calls a function which may have desired side effects: 'regexec'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/regex.c:61:10: warning: Assert statement calls a function which may have desired side effects: 'regcomp'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/regex.c:62:10: warning: Assert statement calls a function which may have desired side effects: 'regexec'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/regex.c:66:10: warning: Assert statement calls a function which may have desired side effects: 'regcomp'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/regex.c:67:10: warning: Assert statement calls a function which may have desired side effects: 'regexec'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/regex.c:71:10: warning: Assert statement calls a function which may have desired side effects: 'regcomp'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/regex.c:72:10: warning: Assert statement calls a function which may have desired side effects: 'regexec'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/regex.c:76:10: warning: Assert statement calls a function which may have desired side effects: 'regcomp'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/regex.c:77:10: warning: Assert statement calls a function which may have desired side effects: 'regexec'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/regex.c:81:10: warning: Assert statement calls a function which may have desired side effects: 'regcomp'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/regex.c:82:10: warning: Assert statement calls a function which may have desired side effects: 'regexec'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/regex.c:86:10: warning: Assert statement calls a function which may have desired side effects: 'regcomp'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/regex.c:87:10: warning: Assert statement calls a function which may have desired side effects: 'regexec'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/regex.c:91:10: warning: Assert statement calls a function which may have desired side effects: 'regcomp'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/regex.c:92:10: warning: Assert statement calls a function which may have desired side effects: 'regexec'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/regex.c:96:10: warning: Assert statement calls a function which may have desired side effects: 'regcomp'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/regex.c:97:10: warning: Assert statement calls a function which may have desired side effects: 'regexec'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/regex.c:101:10: warning: Assert statement calls a function which may have desired side effects: 'regcomp'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/regex.c:102:10: warning: Assert statement calls a function which may have desired side effects: 'regexec'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/regex.c:106:10: warning: Assert statement calls a function which may have desired side effects: 'regcomp'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/regex.c:107:10: warning: Assert statement calls a function which may have desired side effects: 'regexec'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/regex.c:111:10: warning: Assert statement calls a function which may have desired side effects: 'regcomp'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/regex.c:112:10: warning: Assert statement calls a function which may have desired side effects: 'regexec'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/regex.c:115:10: warning: Assert statement calls a function which may have desired side effects: 'regcomp'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/regex.c:116:10: warning: Assert statement calls a function which may have desired side effects: 'regexec'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/regex.c:119:10: warning: Assert statement calls a function which may have desired side effects: 'regcomp'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/regex.c:120:10: warning: Assert statement calls a function which may have desired side effects: 'regexec'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/regex.c:123:10: warning: Assert statement calls a function which may have desired side effects: 'regcomp'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/regex.c:124:10: warning: Assert statement calls a function which may have desired side effects: 'regexec'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/regex.c:127:10: warning: Assert statement calls a function which may have desired side effects: 'regcomp'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/regex.c:128:10: warning: Assert statement calls a function which may have desired side effects: 'regexec'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/regex.c:9:7: style: Unused variable: i [unusedVariable] dietlibc-0.34~cvs20160606/test/servent.c:19:14: portability: Non reentrant function 'getservent' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getservent_r'. [prohibitedgetserventCalled] dietlibc-0.34~cvs20160606/test/servent.c:5:25: style: Parameter 'argv' can be declared as const array [constParameter] dietlibc-0.34~cvs20160606/test/servent.c:18:19: style: Variable 'se' can be declared as pointer to const [constVariablePointer] dietlibc-0.34~cvs20160606/test/speed.c:12:6: style: Variable 't' is assigned a value that is never used. [unreadVariable] dietlibc-0.34~cvs20160606/test/sprintf.c:24:10: warning: Assert statement calls a function which may have desired side effects: 'snprintf'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/sprintf.c:26:10: warning: Assert statement calls a function which may have desired side effects: 'snprintf'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/sprintf.c:28:10: warning: Assert statement calls a function which may have desired side effects: 'sprintf'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/sscanf.c:14:7: warning: %lx in format string (no. 1) requires 'unsigned long *' but the argument type is 'signed long *'. [invalidScanfArgType_int] dietlibc-0.34~cvs20160606/test/sscanf.c:14:7: warning: %lx in format string (no. 2) requires 'unsigned long *' but the argument type is 'signed long *'. [invalidScanfArgType_int] dietlibc-0.34~cvs20160606/test/sscanf.c:14:7: warning: %lx in format string (no. 3) requires 'unsigned long *' but the argument type is 'signed long *'. [invalidScanfArgType_int] dietlibc-0.34~cvs20160606/test/sscanf.c:9:7: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] dietlibc-0.34~cvs20160606/test/sscanf.c:5:8: style: Variable 'server_version_string' can be declared as const array [constVariable] dietlibc-0.34~cvs20160606/test/stat.c:11:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/test/stat.c:25:7: style: Obsolescent function 'utimes' called. It is recommended to use 'utimensat' instead. [prohibitedutimesCalled] dietlibc-0.34~cvs20160606/test/stdarg.c:17:25: style: Parameter 'argv' can be declared as const array [constParameter] dietlibc-0.34~cvs20160606/test/stdarg.c:15:1: error: va_list 'v' was opened but not closed by va_end(). [va_end_missing] dietlibc-0.34~cvs20160606/test/stdio.c:6:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/test/stdio/tst-fdopen.c:28:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/test/stdio/tst-fdopen.c:26:10: style: Obsolescent function 'tmpnam' called. It is recommended to use 'tmpfile', 'mkstemp' or 'mkdtemp' instead. [prohibitedtmpnamCalled] dietlibc-0.34~cvs20160606/test/stdio/tst-fdopen.c:21:9: style: Variable 'name' can be declared as pointer to const [constVariablePointer] dietlibc-0.34~cvs20160606/test/stdio/tst-ferror.c:9:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/test/stdio/tst-fileno.c:35:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/test/stdio/tst-fseek.c:52:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/test/stdio/tst-fseek.c:440:7: portability: %zd in format string (no. 2) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] dietlibc-0.34~cvs20160606/test/stdio/tst-fseek.c:440:7: portability: %zd in format string (no. 3) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] dietlibc-0.34~cvs20160606/test/stdio/tst-fseek.c:472:7: portability: %zd in format string (no. 2) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] dietlibc-0.34~cvs20160606/test/stdio/tst-fseek.c:472:7: portability: %zd in format string (no. 3) requires 'ssize_t' but the argument type is 'size_t {aka unsigned long}'. [invalidPrintfArgType_sint] dietlibc-0.34~cvs20160606/test/stdio/tst-fseek.c:78:7: error: Read and write operations without a call to a positioning function (fseek, fsetpos or rewind) or fflush in between result in undefined behaviour. [IOWithoutPositioning] dietlibc-0.34~cvs20160606/test/stdio/tst-fseek.c:60:5: error: Memory leak: fname [memleak] dietlibc-0.34~cvs20160606/test/stdio/tst-fseek.c:66:5: error: Memory leak: fname [memleak] dietlibc-0.34~cvs20160606/test/stdio/tst-printf.c:35:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/test/stdio/tst-printf.c:44:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/test/stdio/tst-printf.c:53:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/test/stdio/tst-printf.c:190:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FLT_MIN [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/test/stdio/tst-printf.c:147:3: error: printf format string requires 1 parameter but only 0 are given. [wrongPrintfScanfArgNum] dietlibc-0.34~cvs20160606/test/stdio/tst-printf.c:155:3: warning: %lu in format string (no. 1) requires 'unsigned long' but the argument type is 'signed long'. [invalidPrintfArgType_uint] dietlibc-0.34~cvs20160606/test/stdio/tst-printf.c:219:6: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] dietlibc-0.34~cvs20160606/test/stdio/tst-printf.c:256:5: warning: %Lo in format string (no. 1) requires 'unsigned long long' but the argument type is 'signed long long'. [invalidPrintfArgType_uint] dietlibc-0.34~cvs20160606/test/stdio/tst-printf.c:267:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] dietlibc-0.34~cvs20160606/test/stdio/tst-printf.c:267:3: warning: %hhu in format string (no. 2) requires 'unsigned char' but the argument type is 'signed int'. [invalidPrintfArgType_uint] dietlibc-0.34~cvs20160606/test/stdio/tst-printf.c:268:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] dietlibc-0.34~cvs20160606/test/stdio/tst-printf.c:268:3: warning: %hu in format string (no. 2) requires 'unsigned short' but the argument type is 'signed int'. [invalidPrintfArgType_uint] dietlibc-0.34~cvs20160606/test/stdio/tst-printf.c:345:3: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] dietlibc-0.34~cvs20160606/test/stdio/tst-printf.c:369:3: warning: %hi in format string (no. 4) requires 'short' but the argument type is 'double'. [invalidPrintfArgType_sint] dietlibc-0.34~cvs20160606/test/stdio/tst-printf.c:369:3: warning: %lo in format string (no. 6) requires 'unsigned long' but the argument type is 'signed int'. [invalidPrintfArgType_uint] dietlibc-0.34~cvs20160606/test/stdio/tst-printf.c:369:3: warning: %f in format string (no. 8) requires 'double' but the argument type is 'signed int'. [invalidPrintfArgType_float] dietlibc-0.34~cvs20160606/test/stdio/tst-printf.c:369:3: warning: %g in format string (no. 12) requires 'double' but the argument type is 'signed int'. [invalidPrintfArgType_float] dietlibc-0.34~cvs20160606/test/stdio/tst-printf.c:369:3: warning: %s in format string (no. 14) requires 'char *' but the argument type is 'signed int'. [invalidPrintfArgType_s] dietlibc-0.34~cvs20160606/test/stdio/tst-printf.c:123:20: error: Null pointer dereference [nullPointer] dietlibc-0.34~cvs20160606/test/stdio/tst-printf.c:124:21: error: Null pointer dereference [nullPointer] dietlibc-0.34~cvs20160606/test/stdio/tst-printf.c:165:36: error: Null pointer dereference [nullPointer] dietlibc-0.34~cvs20160606/test/stdio/tst-printf.c:130:15: style: Variable 'shortstr' can be declared as const array [constVariable] dietlibc-0.34~cvs20160606/test/stdio/tst-printf.c:131:15: style: Variable 'longstr' can be declared as const array [constVariable] dietlibc-0.34~cvs20160606/test/stdio/tst-printfsz.c:22:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/test/stdio/tst-printfsz.c:20:3: warning: sprintf format string requires 9 parameters but 10 are given. [wrongPrintfScanfArgNum] dietlibc-0.34~cvs20160606/test/stdio/tst-printfsz.c:32:3: warning: sprintf format string requires 6 parameters but 11 are given. [wrongPrintfScanfArgNum] dietlibc-0.34~cvs20160606/test/stdio/tst-sscanf.c:73:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/test/stdio/tst-sscanf.c:72:7: style: Condition 'tst_locale' is always true [knownConditionTrueFalse] dietlibc-0.34~cvs20160606/test/stdio/tst-sscanf.c:71:16: note: Assignment 'tst_locale=1', assigned value is 1 dietlibc-0.34~cvs20160606/test/stdio/tst-sscanf.c:72:7: note: Condition 'tst_locale' is always true dietlibc-0.34~cvs20160606/test/stdio/tst-tmpnam.c:44:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable P_tmpdir [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/test/stdio/tst-tmpnam.c:32:10: style: Obsolescent function 'tmpnam' called. It is recommended to use 'tmpfile', 'mkstemp' or 'mkdtemp' instead. [prohibitedtmpnamCalled] dietlibc-0.34~cvs20160606/test/stdio/tst-unbputc.c:7:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/test/stdio/tst-ungetc.c:26:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/test/stdio/tst-ungetc.c:24:10: style: Obsolescent function 'tmpnam' called. It is recommended to use 'tmpfile', 'mkstemp' or 'mkdtemp' instead. [prohibitedtmpnamCalled] dietlibc-0.34~cvs20160606/test/stdio/tst-ungetc.c:18:9: style: Variable 'name' can be declared as pointer to const [constVariablePointer] dietlibc-0.34~cvs20160606/test/stdio/tstdiomisc.c:55:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable DBL_MAX [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/test/stdio/tstdiomisc.c:88:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/test/stdio/tstdiomisc.c:31:3: warning: %llllld in format string (no. 1) requires 'long long *' but the argument type is 'signed long *'. [invalidScanfArgType_int] dietlibc-0.34~cvs20160606/test/stdio/tstdiomisc.c:32:3: warning: %LLLLLd in format string (no. 1) requires 'long long *' but the argument type is 'signed long *'. [invalidScanfArgType_int] dietlibc-0.34~cvs20160606/test/stdio/tstdiomisc.c:35:3: warning: 'l' in format string (no. 1) is a length modifier and cannot be used without a conversion specifier. [invalidLengthModifierError] dietlibc-0.34~cvs20160606/test/stdio/tstdiomisc.c:52:11: style: Unused variable: wbuf [unusedVariable] dietlibc-0.34~cvs20160606/test/stdio/tstgetln.c:29:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/test/stdio/tstscanf.c:32:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/test/stdio/tstscanf.c:194:11: warning: %o in format string (no. 1) requires 'unsigned int *' but the argument type is 'signed int *'. [invalidScanfArgType_int] dietlibc-0.34~cvs20160606/test/stdio/tstscanf.c:314:11: warning:inconclusive: Width 31 given in format string (no. 1) is smaller than destination buffer 'uart[50]'. [invalidScanfFormatWidth_smaller] dietlibc-0.34~cvs20160606/test/stdio/tstscanf.c:327:11: warning:inconclusive: Width 31 given in format string (no. 1) is smaller than destination buffer 'uart[50]'. [invalidScanfFormatWidth_smaller] dietlibc-0.34~cvs20160606/test/stdio/tstscanf.c:56:3: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] dietlibc-0.34~cvs20160606/test/stdio/tstscanf.c:87:7: warning: sscanf() without field width limits can crash with huge input data. [invalidscanf] dietlibc-0.34~cvs20160606/test/stdio/tstscanf.c:103:9: warning: fscanf() without field width limits can crash with huge input data. [invalidscanf] dietlibc-0.34~cvs20160606/test/stdio/tstscanf.c:123:12: warning: fscanf() without field width limits can crash with huge input data. [invalidscanf] dietlibc-0.34~cvs20160606/test/stdio/tstscanf.c:85:14: warning: If resource allocation fails, then there is a possible null pointer dereference: out [nullPointerOutOfResources] dietlibc-0.34~cvs20160606/test/stdio/tstscanf.c:65:19: note: Assuming allocation function fails dietlibc-0.34~cvs20160606/test/stdio/tstscanf.c:65:19: note: Assignment 'out=popen("/bin/cat","w")', assigned value is 0 dietlibc-0.34~cvs20160606/test/stdio/tstscanf.c:85:14: note: Null pointer dereference dietlibc-0.34~cvs20160606/test/stdio/tstscanf.c:101:11: style: Local variable 'x' shadows outer variable [shadowVariable] dietlibc-0.34~cvs20160606/test/stdio/tstscanf.c:34:7: note: Shadowed declaration dietlibc-0.34~cvs20160606/test/stdio/tstscanf.c:101:11: note: Shadow variable dietlibc-0.34~cvs20160606/test/stdio/tstscanf.c:121:11: style: Local variable 'x' shadows outer variable [shadowVariable] dietlibc-0.34~cvs20160606/test/stdio/tstscanf.c:34:7: note: Shadowed declaration dietlibc-0.34~cvs20160606/test/stdio/tstscanf.c:121:11: note: Shadow variable dietlibc-0.34~cvs20160606/test/stdlib/test-canon.c:116:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/test/stdlib/test-canon.c:114:10: style: Variable 'result' can be declared as pointer to const [constVariablePointer] dietlibc-0.34~cvs20160606/test/stdlib/testdiv.c:32:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/test/stdlib/tst-calloc.c:49:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/test/stdlib/tst-calloc.c:83:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/test/stdlib/tst-calloc.c:101:3: error: Return value of allocation function 'calloc' is not stored. [leakReturnValNotUsed] dietlibc-0.34~cvs20160606/test/stdlib/tst-calloc.c:102:3: error: Return value of allocation function 'calloc' is not stored. [leakReturnValNotUsed] dietlibc-0.34~cvs20160606/test/stdlib/tst-calloc.c:103:3: error: Return value of allocation function 'calloc' is not stored. [leakReturnValNotUsed] dietlibc-0.34~cvs20160606/test/stdlib/tst-calloc.c:104:3: error: Return value of allocation function 'calloc' is not stored. [leakReturnValNotUsed] dietlibc-0.34~cvs20160606/test/stdlib/tst-calloc.c:105:3: error: Return value of allocation function 'calloc' is not stored. [leakReturnValNotUsed] dietlibc-0.34~cvs20160606/test/stdlib/tst-environ.c:85:49: warning: Either the condition 'valp==NULL' is redundant or there is possible null pointer dereference: valp. [nullPointerRedundantCheck] dietlibc-0.34~cvs20160606/test/stdlib/tst-environ.c:83:12: note: Assuming that condition 'valp==NULL' is not redundant dietlibc-0.34~cvs20160606/test/stdlib/tst-environ.c:85:49: note: Null pointer dereference dietlibc-0.34~cvs20160606/test/stdlib/tst-limits.c:32:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/test/stdlib/tst-limits.c:43:3: warning: %u in format string (no. 3) requires 'unsigned int' but the argument type is 'signed long'. [invalidPrintfArgType_uint] dietlibc-0.34~cvs20160606/test/stdlib/tst-limits.c:13:16: error: Shifting signed 64-bit value by 63 bits is undefined behaviour [shiftTooManyBitsSigned] dietlibc-0.34~cvs20160606/test/stdlib/tst-limits.c:49:3: note: Calling function 'bitval', 1st argument 'sizeof(unsigned long)*8' value is 64 dietlibc-0.34~cvs20160606/test/stdlib/tst-limits.c:12:10: note: bits is decremented', new value is 63 dietlibc-0.34~cvs20160606/test/stdlib/tst-limits.c:13:16: note: Shift dietlibc-0.34~cvs20160606/test/stdlib/tst-malloc.c:39:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/test/stdlib/tst-malloc.c:41:16: error: Invalid malloc() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] dietlibc-0.34~cvs20160606/test/stdlib/tst-malloc.c:50:3: error: Memory leak: p [memleak] dietlibc-0.34~cvs20160606/test/stdlib/tst-malloc.c:59:3: error: Memory leak: p [memleak] dietlibc-0.34~cvs20160606/test/stdlib/tst-malloc.c:67:3: error: Memory leak: p [memleak] dietlibc-0.34~cvs20160606/test/stdlib/tst-malloc.c:55:3: error: Common realloc mistake: 'p' nulled but not freed upon failure [memleakOnRealloc] dietlibc-0.34~cvs20160606/test/stdlib/tst-malloc.c:63:3: error: Common realloc mistake: 'p' nulled but not freed upon failure [memleakOnRealloc] dietlibc-0.34~cvs20160606/test/stdlib/tst-rand48.c:29:7: warning: %hx in format string (no. 1) requires 'unsigned short' but the argument type is 'signed int'. [invalidPrintfArgType_uint] dietlibc-0.34~cvs20160606/test/stdlib/tst-rand48.c:29:7: warning: %hx in format string (no. 2) requires 'unsigned short' but the argument type is 'signed int'. [invalidPrintfArgType_uint] dietlibc-0.34~cvs20160606/test/stdlib/tst-rand48.c:29:7: warning: %hx in format string (no. 3) requires 'unsigned short' but the argument type is 'signed int'. [invalidPrintfArgType_uint] dietlibc-0.34~cvs20160606/test/stdlib/tst-rand48.c:79:7: warning: %hx in format string (no. 1) requires 'unsigned short' but the argument type is 'signed int'. [invalidPrintfArgType_uint] dietlibc-0.34~cvs20160606/test/stdlib/tst-rand48.c:79:7: warning: %hx in format string (no. 2) requires 'unsigned short' but the argument type is 'signed int'. [invalidPrintfArgType_uint] dietlibc-0.34~cvs20160606/test/stdlib/tst-rand48.c:79:7: warning: %hx in format string (no. 3) requires 'unsigned short' but the argument type is 'signed int'. [invalidPrintfArgType_uint] dietlibc-0.34~cvs20160606/test/stdlib/tst-rand48.c:218:7: warning: %hx in format string (no. 1) requires 'unsigned short' but the argument type is 'signed int'. [invalidPrintfArgType_uint] dietlibc-0.34~cvs20160606/test/stdlib/tst-rand48.c:218:7: warning: %hx in format string (no. 2) requires 'unsigned short' but the argument type is 'signed int'. [invalidPrintfArgType_uint] dietlibc-0.34~cvs20160606/test/stdlib/tst-rand48.c:218:7: warning: %hx in format string (no. 3) requires 'unsigned short' but the argument type is 'signed int'. [invalidPrintfArgType_uint] dietlibc-0.34~cvs20160606/test/stdlib/tst-rand48.c:16:23: style: Variable 'xsp' can be declared as pointer to const [constVariablePointer] dietlibc-0.34~cvs20160606/test/stdlib/tst-strtod.c:94:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/test/stdlib/tst-strtod.c:232:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/test/stdlib/tst-strtod.c:214:5: style: Local variable 'tests' shadows outer variable [shadowVariable] dietlibc-0.34~cvs20160606/test/stdlib/tst-strtod.c:35:27: note: Shadowed declaration dietlibc-0.34~cvs20160606/test/stdlib/tst-strtod.c:214:5: note: Shadow variable dietlibc-0.34~cvs20160606/test/stdlib/tst-strtol.c:111:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/test/stdlib/tst-strtoll.c:99:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/test/strcasecmp.c:11:8: style: Variable 'buf' can be declared as const array [constVariable] dietlibc-0.34~cvs20160606/test/strcasecmp.c:12:8: style: Variable 'buf2' can be declared as const array [constVariable] dietlibc-0.34~cvs20160606/test/strcasecmp.c:13:7: warning: Comparison of identical string variables. [stringCompare] dietlibc-0.34~cvs20160606/test/strcasecmp.c:16:7: warning: Unnecessary comparison of static strings. [staticStringCompare] dietlibc-0.34~cvs20160606/test/strchr.c:9:18: warning: Assert statement modifies 'p'. [assignmentInAssert] dietlibc-0.34~cvs20160606/test/strcmp.c:11:8: style: Variable 'buf' can be declared as const array [constVariable] dietlibc-0.34~cvs20160606/test/strcmp.c:12:8: style: Variable 'buf2' can be declared as const array [constVariable] dietlibc-0.34~cvs20160606/test/strcmp.c:13:7: warning: Comparison of identical string variables. [stringCompare] dietlibc-0.34~cvs20160606/test/strcmp.c:19:7: warning: Unnecessary comparison of static strings. [staticStringCompare] dietlibc-0.34~cvs20160606/test/strcmp.c:20:7: warning: Unnecessary comparison of static strings. [staticStringCompare] dietlibc-0.34~cvs20160606/test/strcmp.c:21:7: warning: Unnecessary comparison of static strings. [staticStringCompare] dietlibc-0.34~cvs20160606/test/string/memccpy.c:9:10: warning: Assert statement calls a function which may have desired side effects: 'memccpy'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/string/memccpy.c:11:22: warning: Assert statement calls a function which may have desired side effects: 'memccpy'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/string/memccpy.c:13:11: warning: Assert statement calls a function which may have desired side effects: 'memccpy'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/string/memccpy.c:11:68: portability: 'memccpy(buf,"Hello, World",0,sizeof(buf))' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] dietlibc-0.34~cvs20160606/test/string/memchr.c:7:17: error: Null pointer dereference [nullPointer] dietlibc-0.34~cvs20160606/test/string/memcmp.c:8:22: error: Null pointer dereference [nullPointer] dietlibc-0.34~cvs20160606/test/string/memcpy.c:10:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __WORDSIZE [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/test/string/memcpy.c:19:10: warning: Assert statement calls a function which may have desired side effects: 'memcpy'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/string/memcpy.c:21:10: warning: Assert statement calls a function which may have desired side effects: 'memcpy'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/string/memcpy.c:22:10: warning: Assert statement calls a function which may have desired side effects: 'memcpy'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/string/memcpy.c:43:9: warning: Assert statement calls a function which may have desired side effects: 'memcpy'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/string/memcpy.c:21:17: error: Null pointer dereference [nullPointer] dietlibc-0.34~cvs20160606/test/string/memcpy.c:21:19: error: Null pointer dereference [nullPointer] dietlibc-0.34~cvs20160606/test/string/mempcpy.c:9:10: warning: Assert statement calls a function which may have desired side effects: 'mempcpy'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/string/mempcpy.c:10:10: warning: Assert statement calls a function which may have desired side effects: 'mempcpy'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/string/mempcpy.c:12:10: warning: Assert statement calls a function which may have desired side effects: 'stpcpy'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/string/mempcpy.c:15:10: warning: Assert statement calls a function which may have desired side effects: 'stpncpy'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/string/mempcpy.c:16:10: warning: Assert statement calls a function which may have desired side effects: 'stpncpy'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/string/memrchr.c:7:10: warning: Assert statement calls a function which may have desired side effects: 'memrchr'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/string/memrchr.c:8:10: warning: Assert statement calls a function which may have desired side effects: 'memrchr'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/string/memrchr.c:9:10: warning: Assert statement calls a function which may have desired side effects: 'memrchr'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/string/memrchr.c:10:10: warning: Assert statement calls a function which may have desired side effects: 'memrchr'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/string/memrchr.c:11:10: warning: Assert statement calls a function which may have desired side effects: 'memrchr'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/string/memrchr.c:8:18: error: Null pointer dereference [nullPointer] dietlibc-0.34~cvs20160606/test/string/strcasecmp.c:11:8: style: Variable 'buf' can be declared as const array [constVariable] dietlibc-0.34~cvs20160606/test/string/strcasecmp.c:12:8: style: Variable 'buf2' can be declared as const array [constVariable] dietlibc-0.34~cvs20160606/test/string/strcasecmp.c:13:7: warning: Comparison of identical string variables. [stringCompare] dietlibc-0.34~cvs20160606/test/string/strcasecmp.c:16:7: warning: Unnecessary comparison of static strings. [staticStringCompare] dietlibc-0.34~cvs20160606/test/string/strcmp.c:11:8: style: Variable 'buf' can be declared as const array [constVariable] dietlibc-0.34~cvs20160606/test/string/strcmp.c:12:8: style: Variable 'buf2' can be declared as const array [constVariable] dietlibc-0.34~cvs20160606/test/string/strcmp.c:13:7: warning: Comparison of identical string variables. [stringCompare] dietlibc-0.34~cvs20160606/test/string/strlen.c:11:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __WORDSIZE [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/test/string/strncpy.c:7:10: warning: Assert statement calls a function which may have desired side effects: 'strncpy'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/string/strncpy.c:10:10: warning: Assert statement calls a function which may have desired side effects: 'strncpy'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/string/strpbrk.c:7:33: warning: Assert statement calls a function which may have desired side effects: 'strpbrk'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/string/strpbrk.c:8:33: warning: Assert statement calls a function which may have desired side effects: 'strpbrk'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/string/strspn.c:6:10: warning: Assert statement calls a function which may have desired side effects: 'strspn'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/string/strspn.c:7:10: warning: Assert statement calls a function which may have desired side effects: 'strspn'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/strncpy.c:7:10: warning: Assert statement calls a function which may have desired side effects: 'strncpy'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/strncpy.c:10:10: warning: Assert statement calls a function which may have desired side effects: 'strncpy'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/strnlen.c:6:10: warning: Assert statement calls a function which may have desired side effects: 'strnlen'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/strnlen.c:7:10: warning: Assert statement calls a function which may have desired side effects: 'strnlen'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/strptime.c:9:5: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] dietlibc-0.34~cvs20160606/test/strtol.c:53:82: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/test/strtol.c:11:10: warning: Assert statement calls a function which may have desired side effects: 'strtol'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/strtol.c:11:18: warning: Assert statement modifies 's'. [assignmentInAssert] dietlibc-0.34~cvs20160606/test/strtol.c:12:10: warning: Assert statement calls a function which may have desired side effects: 'strtol'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/strtol.c:12:18: warning: Assert statement modifies 's'. [assignmentInAssert] dietlibc-0.34~cvs20160606/test/strtol.c:13:10: warning: Assert statement calls a function which may have desired side effects: 'strtol'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/strtol.c:13:18: warning: Assert statement modifies 's'. [assignmentInAssert] dietlibc-0.34~cvs20160606/test/strtol.c:14:10: warning: Assert statement calls a function which may have desired side effects: 'strtol'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/strtol.c:14:18: warning: Assert statement modifies 's'. [assignmentInAssert] dietlibc-0.34~cvs20160606/test/strtol.c:15:10: warning: Assert statement calls a function which may have desired side effects: 'strtol'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/strtol.c:15:18: warning: Assert statement modifies 's'. [assignmentInAssert] dietlibc-0.34~cvs20160606/test/strtol.c:17:10: warning: Assert statement calls a function which may have desired side effects: 'strtol'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/strtol.c:17:18: warning: Assert statement modifies 's'. [assignmentInAssert] dietlibc-0.34~cvs20160606/test/strtol.c:18:10: warning: Assert statement calls a function which may have desired side effects: 'strtol'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/strtol.c:18:18: warning: Assert statement modifies 's'. [assignmentInAssert] dietlibc-0.34~cvs20160606/test/strtol.c:19:10: warning: Assert statement calls a function which may have desired side effects: 'strtol'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/strtol.c:19:18: warning: Assert statement modifies 's'. [assignmentInAssert] dietlibc-0.34~cvs20160606/test/strtol.c:20:10: warning: Assert statement calls a function which may have desired side effects: 'strtol'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/strtol.c:20:18: warning: Assert statement modifies 's'. [assignmentInAssert] dietlibc-0.34~cvs20160606/test/strtol.c:21:10: warning: Assert statement calls a function which may have desired side effects: 'strtol'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/strtol.c:21:18: warning: Assert statement modifies 's'. [assignmentInAssert] dietlibc-0.34~cvs20160606/test/strtol.c:22:10: warning: Assert statement calls a function which may have desired side effects: 'strtol'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/strtol.c:22:18: warning: Assert statement modifies 's'. [assignmentInAssert] dietlibc-0.34~cvs20160606/test/strtol.c:23:10: warning: Assert statement calls a function which may have desired side effects: 'strtol'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/strtol.c:23:18: warning: Assert statement modifies 's'. [assignmentInAssert] dietlibc-0.34~cvs20160606/test/strtol.c:25:10: warning: Assert statement calls a function which may have desired side effects: 'strtol'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/strtol.c:25:18: warning: Assert statement modifies 's'. [assignmentInAssert] dietlibc-0.34~cvs20160606/test/strtol.c:26:10: warning: Assert statement calls a function which may have desired side effects: 'strtol'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/strtol.c:26:18: warning: Assert statement modifies 's'. [assignmentInAssert] dietlibc-0.34~cvs20160606/test/strtol.c:27:10: warning: Assert statement calls a function which may have desired side effects: 'strtol'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/strtol.c:27:18: warning: Assert statement modifies 's'. [assignmentInAssert] dietlibc-0.34~cvs20160606/test/strtol.c:28:10: warning: Assert statement calls a function which may have desired side effects: 'strtol'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/strtol.c:28:18: warning: Assert statement modifies 's'. [assignmentInAssert] dietlibc-0.34~cvs20160606/test/strtol.c:29:10: warning: Assert statement calls a function which may have desired side effects: 'strtol'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/strtol.c:29:18: warning: Assert statement modifies 's'. [assignmentInAssert] dietlibc-0.34~cvs20160606/test/strtol.c:30:10: warning: Assert statement calls a function which may have desired side effects: 'strtol'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/strtol.c:30:18: warning: Assert statement modifies 's'. [assignmentInAssert] dietlibc-0.34~cvs20160606/test/strtol.c:32:10: warning: Assert statement calls a function which may have desired side effects: 'strtol'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/strtol.c:32:18: warning: Assert statement modifies 's'. [assignmentInAssert] dietlibc-0.34~cvs20160606/test/strtol.c:33:10: warning: Assert statement calls a function which may have desired side effects: 'strtol'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/strtol.c:33:18: warning: Assert statement modifies 's'. [assignmentInAssert] dietlibc-0.34~cvs20160606/test/strtol.c:34:10: warning: Assert statement calls a function which may have desired side effects: 'strtol'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/strtol.c:34:18: warning: Assert statement modifies 's'. [assignmentInAssert] dietlibc-0.34~cvs20160606/test/strtol.c:35:10: warning: Assert statement calls a function which may have desired side effects: 'strtol'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/strtol.c:35:18: warning: Assert statement modifies 's'. [assignmentInAssert] dietlibc-0.34~cvs20160606/test/strtol.c:37:10: warning: Assert statement calls a function which may have desired side effects: 'strtol'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/strtol.c:37:18: warning: Assert statement modifies 's'. [assignmentInAssert] dietlibc-0.34~cvs20160606/test/strtol.c:38:10: warning: Assert statement calls a function which may have desired side effects: 'strtol'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/strtol.c:38:18: warning: Assert statement modifies 's'. [assignmentInAssert] dietlibc-0.34~cvs20160606/test/strtol.c:39:10: warning: Assert statement calls a function which may have desired side effects: 'strtol'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/strtol.c:39:18: warning: Assert statement modifies 's'. [assignmentInAssert] dietlibc-0.34~cvs20160606/test/strtol.c:40:10: warning: Assert statement calls a function which may have desired side effects: 'strtol'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/strtol.c:40:18: warning: Assert statement modifies 's'. [assignmentInAssert] dietlibc-0.34~cvs20160606/test/strtol.c:53:10: warning: Assert statement calls a function which may have desired side effects: 'strtol'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/strtol.c:53:18: warning: Assert statement modifies 's'. [assignmentInAssert] dietlibc-0.34~cvs20160606/test/strtol.c:54:10: warning: Assert statement calls a function which may have desired side effects: 'strtol'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/strtol.c:54:18: warning: Assert statement modifies 's'. [assignmentInAssert] dietlibc-0.34~cvs20160606/test/strtol.c:55:10: warning: Assert statement calls a function which may have desired side effects: 'strtol'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/strtol.c:55:18: warning: Assert statement modifies 's'. [assignmentInAssert] dietlibc-0.34~cvs20160606/test/strtol.c:56:10: warning: Assert statement calls a function which may have desired side effects: 'strtol'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/strtol.c:56:18: warning: Assert statement modifies 's'. [assignmentInAssert] dietlibc-0.34~cvs20160606/test/strtol.c:60:19: warning: Assert statement calls a function which may have desired side effects: 'strtol'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/strtol.c:60:27: warning: Assert statement modifies 's'. [assignmentInAssert] dietlibc-0.34~cvs20160606/test/strtol.c:61:10: warning: Assert statement calls a function which may have desired side effects: 'strtol'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/strtol.c:61:18: warning: Assert statement modifies 's'. [assignmentInAssert] dietlibc-0.34~cvs20160606/test/strtol.c:62:10: warning: Assert statement calls a function which may have desired side effects: 'strtol'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/strtol.c:62:18: warning: Assert statement modifies 's'. [assignmentInAssert] dietlibc-0.34~cvs20160606/test/strtol.c:63:10: warning: Assert statement calls a function which may have desired side effects: 'strtol'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/strtol.c:63:18: warning: Assert statement modifies 's'. [assignmentInAssert] dietlibc-0.34~cvs20160606/test/strtol.c:64:10: warning: Assert statement calls a function which may have desired side effects: 'strtol'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/strtol.c:64:18: warning: Assert statement modifies 's'. [assignmentInAssert] dietlibc-0.34~cvs20160606/test/strtol.c:67:10: warning: Assert statement calls a function which may have desired side effects: 'strtoul'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/strtol.c:67:19: warning: Assert statement modifies 's'. [assignmentInAssert] dietlibc-0.34~cvs20160606/test/strtol.c:68:19: warning: Assert statement calls a function which may have desired side effects: 'strtoul'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/strtol.c:68:28: warning: Assert statement modifies 's'. [assignmentInAssert] dietlibc-0.34~cvs20160606/test/strtol.c:74:10: warning: Assert statement calls a function which may have desired side effects: 'strtoul'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/strtol.c:74:19: warning: Assert statement modifies 's'. [assignmentInAssert] dietlibc-0.34~cvs20160606/test/strtol.c:75:10: warning: Assert statement calls a function which may have desired side effects: 'strtoul'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/strtol.c:75:19: warning: Assert statement modifies 's'. [assignmentInAssert] dietlibc-0.34~cvs20160606/test/strtol.c:76:10: warning: Assert statement calls a function which may have desired side effects: 'strtoul'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/strtol.c:76:19: warning: Assert statement modifies 's'. [assignmentInAssert] dietlibc-0.34~cvs20160606/test/strtol.c:77:10: warning: Assert statement calls a function which may have desired side effects: 'strtoul'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/strtol.c:77:19: warning: Assert statement modifies 's'. [assignmentInAssert] dietlibc-0.34~cvs20160606/test/strtol.c:80:10: warning: Assert statement calls a function which may have desired side effects: 'strtoul'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/strtol.c:80:19: warning: Assert statement modifies 's'. [assignmentInAssert] dietlibc-0.34~cvs20160606/test/strverscmp.c:8:10: warning: Unnecessary comparison of static strings. [staticStringCompare] dietlibc-0.34~cvs20160606/test/strverscmp.c:9:10: warning: Unnecessary comparison of static strings. [staticStringCompare] dietlibc-0.34~cvs20160606/test/strverscmp.c:10:10: warning: Unnecessary comparison of static strings. [staticStringCompare] dietlibc-0.34~cvs20160606/test/strverscmp.c:11:10: warning: Unnecessary comparison of static strings. [staticStringCompare] dietlibc-0.34~cvs20160606/test/strverscmp.c:7:7: style: Unused variable: r [unusedVariable] dietlibc-0.34~cvs20160606/test/syscall.c:8:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __NR_write [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/test/sysenter.c:15:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AT_PAGESZ [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/test/sysenter.c:14:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] dietlibc-0.34~cvs20160606/test/sysenter.c:14:5: warning: %x in format string (no. 2) requires 'unsigned int' but the argument type is 'unsigned long'. [invalidPrintfArgType_uint] dietlibc-0.34~cvs20160606/test/sysenter.c:16:7: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned long'. [invalidPrintfArgType_sint] dietlibc-0.34~cvs20160606/test/sysenter.c:18:7: warning: %p in format string (no. 1) requires an address but the argument type is 'unsigned long'. [invalidPrintfArgType_p] dietlibc-0.34~cvs20160606/test/test-getlongopt.c:31:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optarg [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/test/test-getlongopt.c:19:8: style: Variable 'b' can be declared as pointer to const [constVariablePointer] dietlibc-0.34~cvs20160606/test/test-getlongopt.c:20:8: style: Variable 'c' can be declared as pointer to const [constVariablePointer] dietlibc-0.34~cvs20160606/test/test-newfnmatch.c:26:10: style: Variable 'sep' can be declared as pointer to const [constVariablePointer] dietlibc-0.34~cvs20160606/test/thread.c:68:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/test/thread.c:77:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mtx_plain [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/test/thread.c:69:10: warning: Assert statement calls a function which may have desired side effects: 'write'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/thread.c:81:12: warning: Assert statement calls a function which may have desired side effects: 'thrd_create'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/thread.c:85:12: warning: Assert statement calls a function which may have desired side effects: 'thrd_join'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/thread.c:90:10: warning: Assert statement calls a function which may have desired side effects: 'thrd_create'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/thread.c:96:12: warning: Assert statement calls a function which may have desired side effects: 'mtx_timedlock'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/thread.c:100:12: warning: Assert statement calls a function which may have desired side effects: 'thrd_join'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/thread.c:106:10: warning: Assert statement calls a function which may have desired side effects: 'thrd_create'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/thread.c:114:12: warning: Assert statement calls a function which may have desired side effects: 'mtx_trylock'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/thread.c:118:12: warning: Assert statement calls a function which may have desired side effects: 'thrd_join'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/thread.c:123:12: warning: Assert statement calls a function which may have desired side effects: 'thrd_create'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/thread.c:127:12: warning: Assert statement calls a function which may have desired side effects: 'thrd_join'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/thread.c:134:12: warning: Assert statement calls a function which may have desired side effects: 'thrd_create'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/thread.c:135:12: warning: Assert statement calls a function which may have desired side effects: 'thrd_detach'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/thread.c:155:10: warning: Assert statement calls a function which may have desired side effects: 'write'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/thread.c:158:10: warning: Assert statement calls a function which may have desired side effects: 'thrd_create'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/thread.c:159:10: warning: Assert statement calls a function which may have desired side effects: 'thrd_join'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/thread.c:38:5: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn] dietlibc-0.34~cvs20160606/test/thread.c:69:17: error: Invalid write() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] dietlibc-0.34~cvs20160606/test/thread.c:155:17: error: Invalid write() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] dietlibc-0.34~cvs20160606/test/thread.c:42:19: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'thread3' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] dietlibc-0.34~cvs20160606/test/thread.c:106:30: note: You might need to cast the function pointer here dietlibc-0.34~cvs20160606/test/thread.c:42:19: note: Parameter 'arg' can be declared as pointer to const dietlibc-0.34~cvs20160606/test/thread.c:67:19: style: Parameter 'arg' can be declared as pointer to const. However it seems that 'thread6' is a callback function, if 'arg' is declared with const you might also need to cast function pointer(s). [constParameterCallback] dietlibc-0.34~cvs20160606/test/thread.c:158:30: note: You might need to cast the function pointer here dietlibc-0.34~cvs20160606/test/thread.c:67:19: note: Parameter 'arg' can be declared as pointer to const dietlibc-0.34~cvs20160606/test/thread.c:16:8: style: Unused variable: buf [unusedVariable] dietlibc-0.34~cvs20160606/test/time/tst-mktime.c:37:8: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] dietlibc-0.34~cvs20160606/test/time/tst-mktime.c:9:24: style: Variable 'tm' can be declared as pointer to const [constVariablePointer] dietlibc-0.34~cvs20160606/test/time/tst-posixtz.c:39:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/test/time/tst-posixtz.c:63:3: warning: Return value of function localtime() is not used. [ignoredReturnValue] dietlibc-0.34~cvs20160606/test/time/tst-posixtz.c:43:13: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] dietlibc-0.34~cvs20160606/test/time/tst-posixtz.c:63:3: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] dietlibc-0.34~cvs20160606/test/time/tst-strftime.c:26:20: portability: Non reentrant function 'localtime' called. For threadsafe applications it is recommended to use the reentrant replacement function 'localtime_r'. [prohibitedlocaltimeCalled] dietlibc-0.34~cvs20160606/test/time/tst-strftime.c:26:14: style: Variable 'now' can be declared as pointer to const [constVariablePointer] dietlibc-0.34~cvs20160606/test/time/tst-strptime.c:123:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/test/ungetc.c:4:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/test/utime.c:21:10: warning: Assert statement calls a function which may have desired side effects: 'utime'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/utime.c:27:10: warning: Assert statement calls a function which may have desired side effects: 'utime'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/utime.c:21:10: style: Obsolescent function 'utime' called. It is recommended to use 'utimensat' instead. [prohibitedutimeCalled] dietlibc-0.34~cvs20160606/test/utime.c:27:10: style: Obsolescent function 'utime' called. It is recommended to use 'utimensat' instead. [prohibitedutimeCalled] dietlibc-0.34~cvs20160606/test/waitpid.c:14:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/test/wcsrtombs.c:14:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_ALL [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/test/wcsrtombs.c:19:3: style: Variable 'b' is assigned an expression that holds the same value. [redundantAssignment] dietlibc-0.34~cvs20160606/test/wcsrtombs.c:10:19: note: b is assigned 'a' here. dietlibc-0.34~cvs20160606/test/wcsrtombs.c:19:3: note: Variable 'b' is assigned an expression that holds the same value. dietlibc-0.34~cvs20160606/test/wctomb.c:19:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LC_CTYPE [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/test/wctomb.c:21:10: warning: Assert statement calls a function which may have desired side effects: 'wctomb'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/wctomb.c:22:10: warning: Assert statement calls a function which may have desired side effects: 'wctomb'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/wctomb.c:23:10: warning: Assert statement calls a function which may have desired side effects: 'wctomb'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/wctomb.c:24:10: warning: Assert statement calls a function which may have desired side effects: 'wctomb'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/wctomb.c:25:10: warning: Assert statement calls a function which may have desired side effects: 'wctomb'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/wctomb.c:12:11: style: Variable 'n' is assigned a value that is never used. [unreadVariable] dietlibc-0.34~cvs20160606/test/wctomb.c:12:10: style: Variable 'n' is assigned a value that is never used. [unreadVariable] dietlibc-0.34~cvs20160606/test/wctype.c:7:11: warning: Assert statement modifies 'x'. [assignmentInAssert] dietlibc-0.34~cvs20160606/test/wmem.c:9:10: warning: Assert statement calls a function which may have desired side effects: 'wmemset'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/wmem.c:13:10: warning: Assert statement calls a function which may have desired side effects: 'wcscpy'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/wmem.c:14:10: warning: Assert statement calls a function which may have desired side effects: 'wcscat'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/wmem.c:23:10: warning: Assert statement calls a function which may have desired side effects: 'wmemcpy'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/wmem.c:27:10: warning: Assert statement calls a function which may have desired side effects: 'wmemmove'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/wmem.c:29:10: warning: Assert statement calls a function which may have desired side effects: 'wmemmove'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/wmem.c:33:10: warning: Assert statement calls a function which may have desired side effects: 'wcsncpy'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/wmem.c:36:10: warning: Assert statement calls a function which may have desired side effects: 'wcsncpy'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/wmem.c:42:10: warning: Assert statement calls a function which may have desired side effects: 'wcsncat'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/test/wmem.c:44:10: warning: Assert statement calls a function which may have desired side effects: 'wcsncat'. [assertWithSideEffect] dietlibc-0.34~cvs20160606/x86_64/sigaction.c:31:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SA_RESTORER [valueFlowBailoutIncompleteVar] dietlibc-0.34~cvs20160606/x86_64/sigaction.c:29:11: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] diff: 2.17.0 dietlibc-0.34~cvs20160606/contrib/debug-realloc.c:32:6: error: If memory allocation fail: overflow in pointer arithmetic, NULL pointer is subtracted. [nullPointerArithmeticOutOfMemory] dietlibc-0.34~cvs20160606/contrib/debug-realloc.c:30:9: note: Assuming allocation function fails dietlibc-0.34~cvs20160606/contrib/debug-realloc.c:30:9: note: Assignment 'n=mmap(0,s,PROT_NONE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0)', assigned value is 0 dietlibc-0.34~cvs20160606/contrib/debug-realloc.c:32:6: note: Null pointer subtraction head dietlibc-0.34~cvs20160606/contrib/debug-realloc.c:32:6: error: If memory allocation fails: overflow in pointer arithmetic, NULL pointer is subtracted. [nullPointerArithmeticOutOfMemory] dietlibc-0.34~cvs20160606/contrib/debug-realloc.c:30:9: note: Assuming allocation function fails dietlibc-0.34~cvs20160606/contrib/debug-realloc.c:30:9: note: Assignment 'n=mmap(0,s,PROT_NONE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0)', assigned value is 0 dietlibc-0.34~cvs20160606/contrib/debug-realloc.c:32:6: note: Null pointer subtraction head dietlibc-0.34~cvs20160606/contrib/dnsd.c:106:7: style: Variable 'olen' is assigned a value that is never used. [unreadVariable] head dietlibc-0.34~cvs20160606/ldso.c:351:2: error: #error architecture not recognized, please add [preprocessorErrorDirective] 2.17.0 dietlibc-0.34~cvs20160606/lib/ftw.c:44:13: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] 2.17.0 dietlibc-0.34~cvs20160606/lib/ftw64.c:49:13: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] head dietlibc-0.34~cvs20160606/lib/if_nametoindex.c:18:12: error: Uninitialized variable: ifr [uninitvar] head dietlibc-0.34~cvs20160606/lib/strlen.c:20:2: error: #error unsupported __WORDSIZE [preprocessorErrorDirective] 2.17.0 dietlibc-0.34~cvs20160606/lib/thrd_create.c:36:21: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] dietlibc-0.34~cvs20160606/lib/thrd_create.c:31:19: note: Assuming allocation function fails dietlibc-0.34~cvs20160606/lib/thrd_create.c:31:19: note: Assignment 'stack=mmap(0,stacksize+4096+__tmemsize+sizeof(tcbhead_t)+sizeof(**thr),PROT_NONE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK|MAP_GROWSDOWN,-1,0)', assigned value is 0 dietlibc-0.34~cvs20160606/lib/thrd_create.c:36:21: note: Null pointer addition head dietlibc-0.34~cvs20160606/lib/thrd_create.c:36:21: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] dietlibc-0.34~cvs20160606/lib/thrd_create.c:31:19: note: Assuming allocation function fails dietlibc-0.34~cvs20160606/lib/thrd_create.c:31:19: note: Assignment 'stack=mmap(0,stacksize+4096+__tmemsize+sizeof(tcbhead_t)+sizeof(**thr),PROT_NONE,MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK|MAP_GROWSDOWN,-1,0)', assigned value is 0 dietlibc-0.34~cvs20160606/lib/thrd_create.c:36:21: note: Null pointer addition 2.17.0 dietlibc-0.34~cvs20160606/lib/vsnprintf.c:14:24: style: Parameter 'ptr' can be declared as pointer to const [constParameterPointer] head dietlibc-0.34~cvs20160606/lib/vsnprintf.c:14:24: style: Parameter 'ptr' can be declared as pointer to const. However it seems that 'swrite' is a callback function, if 'ptr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] dietlibc-0.34~cvs20160606/lib/vsnprintf.c:31:62: note: You might need to cast the function pointer here dietlibc-0.34~cvs20160606/lib/vsnprintf.c:14:24: note: Parameter 'ptr' can be declared as pointer to const 2.17.0 dietlibc-0.34~cvs20160606/lib/vsnprintf.c:31:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable swrite [valueFlowBailoutIncompleteVar] 2.17.0 dietlibc-0.34~cvs20160606/lib/vsscanf.c:23:84: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sputc [valueFlowBailoutIncompleteVar] head dietlibc-0.34~cvs20160606/libcruft/clock.c:14:2: error: failed to evaluate #elif condition, division/modulo by zero [preprocessorErrorDirective] 2.17.0 dietlibc-0.34~cvs20160606/libcruft/scandir.c:14:13: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] head dietlibc-0.34~cvs20160606/libdl/_dl_rel.h:24:2: error: #error "_dl_rel.h: NOT SUPPORTED" [preprocessorErrorDirective] head dietlibc-0.34~cvs20160606/libpthread/thread_internal.h:13:2: error: #error "the diet libc is not compiled with thread safeness enabled!" [preprocessorErrorDirective] 2.17.0 dietlibc-0.34~cvs20160606/libshell/glob.c:102:16: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] head dietlibc-0.34~cvs20160606/libshell/glob.c:267:19: warning: Uninitialized variable: dirs [uninitvar] dietlibc-0.34~cvs20160606/libshell/glob.c:261:9: note: Assuming condition is false dietlibc-0.34~cvs20160606/libshell/glob.c:267:19: note: Uninitialized variable: dirs 2.17.0 dietlibc-0.34~cvs20160606/libstdio/vfdprintf.c:13:74: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __fwrite [valueFlowBailoutIncompleteVar] 2.17.0 dietlibc-0.34~cvs20160606/libstdio/vfdprintf.c:7:26: style: Parameter 'ptr' can be declared as pointer to const [constParameterPointer] head dietlibc-0.34~cvs20160606/libstdio/vfdprintf.c:7:26: style: Parameter 'ptr' can be declared as pointer to const. However it seems that '__fwrite' is a callback function, if 'ptr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] dietlibc-0.34~cvs20160606/libstdio/vfdprintf.c:13:74: note: You might need to cast the function pointer here dietlibc-0.34~cvs20160606/libstdio/vfdprintf.c:7:26: note: Parameter 'ptr' can be declared as pointer to const 2.17.0 dietlibc-0.34~cvs20160606/libstdio/vfprintf.c:13:65: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __fwrite [valueFlowBailoutIncompleteVar] 2.17.0 dietlibc-0.34~cvs20160606/libstdio/vfprintf.c:7:26: style: Parameter 'ptr' can be declared as pointer to const [constParameterPointer] head dietlibc-0.34~cvs20160606/libstdio/vfprintf.c:7:26: style: Parameter 'ptr' can be declared as pointer to const. However it seems that '__fwrite' is a callback function, if 'ptr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] dietlibc-0.34~cvs20160606/libstdio/vfprintf.c:13:65: note: You might need to cast the function pointer here dietlibc-0.34~cvs20160606/libstdio/vfprintf.c:7:26: note: Parameter 'ptr' can be declared as pointer to const 2.17.0 dietlibc-0.34~cvs20160606/libstdio/vprintf.c:12:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __stdio_outs [valueFlowBailoutIncompleteVar] 2.17.0 dietlibc-0.34~cvs20160606/libugly/gethostent.c:35:15: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] dietlibc-0.34~cvs20160606/libugly/gethostent.c:30:17: note: Assuming allocation function fails dietlibc-0.34~cvs20160606/libugly/gethostent.c:30:17: note: Assignment 'hostmap=mmap(0,hostlen,PROT_READ|PROT_WRITE,MAP_PRIVATE,hostfd,0)', assigned value is 0 dietlibc-0.34~cvs20160606/libugly/gethostent.c:35:15: note: Null pointer addition head dietlibc-0.34~cvs20160606/libugly/gethostent.c:35:15: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] dietlibc-0.34~cvs20160606/libugly/gethostent.c:30:17: note: Assuming allocation function fails dietlibc-0.34~cvs20160606/libugly/gethostent.c:30:17: note: Assignment 'hostmap=mmap(0,hostlen,PROT_READ|PROT_WRITE,MAP_PRIVATE,hostfd,0)', assigned value is 0 dietlibc-0.34~cvs20160606/libugly/gethostent.c:35:15: note: Null pointer addition 2.17.0 dietlibc-0.34~cvs20160606/libugly/netent.c:35:14: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] dietlibc-0.34~cvs20160606/libugly/netent.c:31:16: note: Assuming allocation function fails dietlibc-0.34~cvs20160606/libugly/netent.c:31:16: note: Assignment 'netmap=mmap(0,netlen,PROT_READ|PROT_WRITE,MAP_PRIVATE,netfd,0)', assigned value is 0 dietlibc-0.34~cvs20160606/libugly/netent.c:35:14: note: Null pointer addition head dietlibc-0.34~cvs20160606/libugly/netent.c:35:14: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] dietlibc-0.34~cvs20160606/libugly/netent.c:31:16: note: Assuming allocation function fails dietlibc-0.34~cvs20160606/libugly/netent.c:31:16: note: Assignment 'netmap=mmap(0,netlen,PROT_READ|PROT_WRITE,MAP_PRIVATE,netfd,0)', assigned value is 0 dietlibc-0.34~cvs20160606/libugly/netent.c:35:14: note: Null pointer addition head dietlibc-0.34~cvs20160606/softfpu/double.h:37:3: error: #error "Here's a nickel kid. Go buy yourself a real computer." [preprocessorErrorDirective] head dietlibc-0.34~cvs20160606/softfpu/single.h:37:3: error: #error "Here's a nickel kid. Go buy yourself a real computer." [preprocessorErrorDirective] head dietlibc-0.34~cvs20160606/test/cycles.c:28:2: error: #error "Unimplemented rdtsc" [preprocessorErrorDirective] 2.17.0 dietlibc-0.34~cvs20160606/test/dirent/tst-seekdir.c:16:13: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] 2.17.0 dietlibc-0.34~cvs20160606/test/dirent/tst-seekdir.c:44:13: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] head dietlibc-0.34~cvs20160606/test/mbtowc.c:12:10: style: Variable 'n' is assigned a value that is never used. [unreadVariable] head dietlibc-0.34~cvs20160606/test/qsort.c:31:2: error: #error "Unimplemented rdtsc" [preprocessorErrorDirective] 2.17.0 dietlibc-0.34~cvs20160606/test/readdir.c:18:11: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] 2.17.0 dietlibc-0.34~cvs20160606/test/readdir.c:19:11: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] 2.17.0 dietlibc-0.34~cvs20160606/test/readdir.c:20:11: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] 2.17.0 dietlibc-0.34~cvs20160606/test/readdir.c:21:11: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] 2.17.0 dietlibc-0.34~cvs20160606/test/readdir.c:22:10: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] head dietlibc-0.34~cvs20160606/test/string/memcpy.c:21:19: error: Null pointer dereference [nullPointer] head dietlibc-0.34~cvs20160606/test/wctomb.c:12:10: style: Variable 'n' is assigned a value that is never used. [unreadVariable] DONE