2026-04-30 12:53 ftp://ftp.de.debian.org/debian/pool/main/s/stress-ng/stress-ng_0.21.00.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-1047-aws-aarch64-with-glibc2.35 python: 3.10.12 client-version: 1.4.0 compiler: g++ (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0 cppcheck: head 2.20.0 head-info: 9305216 (2026-04-30 09:52:46 +0200) count: 1070 1074 elapsed-time: 172.5 164.9 head-timing-info: old-timing-info: head results: stress-ng-0.21.00/core-mwc.h:110:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE_MAX [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/core-affinity.c:380:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-ng.h:912:70: style: Parameter 'args' can be declared as pointer to const [constParameterPointer] stress-ng-0.21.00/core-stack.h:27:78: style: Parameter 'stack_top' can be declared as pointer to const [constParameterPointer] stress-ng-0.21.00/core-sync.h:61:71: style: Parameter 's_pid' can be declared as pointer to const [constParameterPointer] stress-ng-0.21.00/core-cpu-cache.c:138:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/core-cpu-cache.c:169:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/core-cpu.c:412:49: style: Assigned value 'stress_cpu_is_x86_test()' is always false [knownConditionTrueFalse] stress-ng-0.21.00/core-cpu.c:412:49: note: Calling function 'stress_cpu_is_x86_test' returns 0 stress-ng-0.21.00/core-cpu.c:412:49: note: Assigned value 'stress_cpu_is_x86_test()' is always false stress-ng-0.21.00/core-cpuidle.c:196:16: style: Variable 'cc' can be declared as pointer to const [constVariablePointer] stress-ng-0.21.00/core-cpuidle.c:353:16: style: Variable 'cc' can be declared as pointer to const [constVariablePointer] stress-ng-0.21.00/core-filesystem.c:382:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/core-filesystem.c:509:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FIOBIO [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/core-filesystem.c:651:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRWXU [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/core-filesystem.c:686:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/core-filesystem.c:716:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/core-filesystem.c:741:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/core-filesystem.c:764:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/core-filesystem.c:799:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE_MAX [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/core-filesystem.c:868:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RLIMIT_NOFILE [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/core-filesystem.c:1059:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_name [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/core-filesystem.c:1110:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/core-filesystem.c:1141:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/core-filesystem.c:1530:81: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/core-filesystem.c:484:20: style: Condition 'total_fs_size>0' is always false [knownConditionTrueFalse] stress-ng-0.21.00/core-filesystem.c:481:55: note: Calling function 'stress_fs_size_get' returns 0 stress-ng-0.21.00/core-filesystem.c:481:30: note: Assignment 'total_fs_size=(off_t)stress_fs_size_get()', assigned value is 0 stress-ng-0.21.00/core-filesystem.c:484:20: note: Condition 'total_fs_size>0' is always false stress-ng-0.21.00/core-filesystem.c:874:13: style: Condition 'opened==0' is always true [knownConditionTrueFalse] stress-ng-0.21.00/core-filesystem.c:873:35: note: Calling function 'static_fs_open_count_get' returns 0 stress-ng-0.21.00/core-filesystem.c:873:35: note: Assignment 'opened=static_fs_open_count_get()', assigned value is 0 stress-ng-0.21.00/core-filesystem.c:874:13: note: Condition 'opened==0' is always true stress-ng-0.21.00/core-filesystem.c:1364:6: style: Condition 'fs_name' is always false [knownConditionTrueFalse] stress-ng-0.21.00/core-filesystem.c:1361:42: note: Calling function 'stress_fs_info_get' returns 0 stress-ng-0.21.00/core-filesystem.c:1361:42: note: Assignment 'fs_name=stress_fs_info_get(filename,&blocks)', assigned value is 0 stress-ng-0.21.00/core-filesystem.c:1364:6: note: Condition 'fs_name' is always false stress-ng-0.21.00/core-filesystem.c:823:9: style: The comparison 'max_rlim < max_sysconf' is always false because 'max_rlim' and 'max_sysconf' represent the same value. [knownConditionTrueFalse] stress-ng-0.21.00/core-filesystem.c:799:20: note: 'max_rlim' is assigned value 'SIZE_MAX' here. stress-ng-0.21.00/core-filesystem.c:819:16: note: 'max_sysconf' is assigned value 'SIZE_MAX' here. stress-ng-0.21.00/core-filesystem.c:823:9: note: The comparison 'max_rlim < max_sysconf' is always false because 'max_rlim' and 'max_sysconf' represent the same value. stress-ng-0.21.00/core-filesystem.c:823:9: style: Same expression in both branches of ternary operator. [duplicateExpressionTernary] stress-ng-0.21.00/core-filesystem.c:799:20: note: 'max_rlim' is assigned value 'SIZE_MAX' here. stress-ng-0.21.00/core-filesystem.c:819:16: note: 'max_sysconf' is assigned value 'SIZE_MAX' here. stress-ng-0.21.00/core-filesystem.c:823:9: note: Same expression in both branches of ternary operator. stress-ng-0.21.00/core-filesystem.c:592:17: style: Parameter 'args' can be declared as pointer to const [constParameterPointer] stress-ng-0.21.00/core-filesystem.c:630:17: style: Parameter 'args' can be declared as pointer to const [constParameterPointer] stress-ng-0.21.00/core-filesystem.c:666:49: style: Parameter 'args' can be declared as pointer to const [constParameterPointer] stress-ng-0.21.00/core-filesystem.c:698:47: style: Parameter 'args' can be declared as pointer to const [constParameterPointer] stress-ng-0.21.00/core-filesystem.c:1522:14: style: Variable 'end' can be declared as pointer to const [constVariablePointer] stress-ng-0.21.00/core-filesystem.c:70:26: style: struct member 'stress_fs_name_t::fs_magic' is never used. [unusedStructMember] stress-ng-0.21.00/core-filesystem.c:71:16: style: struct member 'stress_fs_name_t::fs_name' is never used. [unusedStructMember] stress-ng-0.21.00/core-helper.c:823:45: error: There is an unknown macro here somewhere. Configuration is required. If VERSION is a macro then please configure it. [unknownMacro] stress-ng-0.21.00/core-ignite-cpu.c:158:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/core-io-priority.c:44:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/core-job.c:81:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/core-job.c:95:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/core-job.c:121:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optind [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/core-job.c:36:42: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] stress-ng-0.21.00/core-killpid.c:94:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/core-lock.c:644:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/core-lock.c:659:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/core-lock.c:674:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/core-lock.c:689:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/core-lock.c:755:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/core-log.c:50:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/core-log.c:208:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/core-log.c:237:3: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] stress-ng-0.21.00/core-log.c:239:5: note: Found duplicate branches for 'if' and 'else'. stress-ng-0.21.00/core-log.c:237:3: note: Found duplicate branches for 'if' and 'else'. stress-ng-0.21.00/core-memory.c:458:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/core-memory.c:232:73: style: Condition 'stress_memory_info_get(&freemem,&totalmem,&freeswap,&totalswap)<0' is always true [knownConditionTrueFalse] stress-ng-0.21.00/core-memory.c:232:28: note: Calling function 'stress_memory_info_get' returns -1 stress-ng-0.21.00/core-memory.c:232:73: note: Condition 'stress_memory_info_get(&freemem,&totalmem,&freeswap,&totalswap)<0' is always true stress-ng-0.21.00/core-memory.c:283:73: style: Condition 'stress_memory_info_get(&freemem,&totalmem,&freeswap,&totalswap)==0' is always false [knownConditionTrueFalse] stress-ng-0.21.00/core-memory.c:283:28: note: Calling function 'stress_memory_info_get' returns -1 stress-ng-0.21.00/core-memory.c:283:73: note: Condition 'stress_memory_info_get(&freemem,&totalmem,&freeswap,&totalswap)==0' is always false stress-ng-0.21.00/core-mmap.c:277:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/core-mmap.c:360:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/core-mmap.c:602:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/core-mmap.c:638:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/core-mmap.c:220:8: style: Parameter 'addr' can be declared as pointer to const [constParameterPointer] stress-ng-0.21.00/core-mmap.c:344:31: style: Parameter 'addr' can be declared as pointer to const [constParameterPointer] stress-ng-0.21.00/core-mmap.c:410:37: style: Parameter 'addr' can be declared as pointer to const [constParameterPointer] stress-ng-0.21.00/core-mwc.c:154:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RUSAGE_SELF [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/core-mwc.c:505:41: warning: Either the condition '!data' is redundant or there is pointer arithmetic with NULL pointer. [nullPointerArithmeticRedundantCheck] stress-ng-0.21.00/core-mwc.c:507:6: note: Assuming that condition '!data' is not redundant stress-ng-0.21.00/core-mwc.c:505:41: note: Null pointer addition stress-ng-0.21.00/core-mwc.c:503:29: style: Variable 'ptr32end' can be declared as pointer to const [constVariablePointer] stress-ng-0.21.00/core-net.c:149:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/core-net.c:284:19: style: Parameter 'sockaddr' can be declared as pointer to const [constParameterPointer] stress-ng-0.21.00/core-numa.c:547:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/core-numa.c:222:48: style:inconclusive: Function 'stress_numa_mask_free' argument 1 names different: declaration 'mask' definition 'numa_mask'. [funcArgNamesDifferent] stress-ng-0.21.00/core-numa.h:100:55: note: Function 'stress_numa_mask_free' argument 1 names different: declaration 'mask' definition 'numa_mask'. stress-ng-0.21.00/core-numa.c:222:48: note: Function 'stress_numa_mask_free' argument 1 names different: declaration 'mask' definition 'numa_mask'. stress-ng-0.21.00/core-numa.c:555:14: style:inconclusive: Function 'stress_numa_mask_and_node_alloc' argument 4 names different: declaration 'option' definition 'numa_option'. [funcArgNamesDifferent] stress-ng-0.21.00/core-numa.h:99:14: note: Function 'stress_numa_mask_and_node_alloc' argument 4 names different: declaration 'option' definition 'numa_option'. stress-ng-0.21.00/core-numa.c:555:14: note: Function 'stress_numa_mask_and_node_alloc' argument 4 names different: declaration 'option' definition 'numa_option'. stress-ng-0.21.00/core-out-of-memory.c:278:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/core-out-of-memory.c:338:38: style: Assigned value 'stress_process_oomed(pid)' is always false [knownConditionTrueFalse] stress-ng-0.21.00/core-out-of-memory.c:338:38: note: Calling function 'stress_process_oomed' returns 0 stress-ng-0.21.00/core-out-of-memory.c:338:38: note: Assigned value 'stress_process_oomed(pid)' is always false stress-ng-0.21.00/core-out-of-memory.c:356:8: style: Condition 'oomed' is always false [knownConditionTrueFalse] stress-ng-0.21.00/core-out-of-memory.c:338:38: note: Calling function 'stress_process_oomed' returns 0 stress-ng-0.21.00/core-out-of-memory.c:338:38: note: Assignment 'oomed=stress_process_oomed(pid)', assigned value is 0 stress-ng-0.21.00/core-out-of-memory.c:356:8: note: Condition 'oomed' is always false stress-ng-0.21.00/core-out-of-memory.c:368:8: style: Condition 'oomed' is always false [knownConditionTrueFalse] stress-ng-0.21.00/core-out-of-memory.c:338:38: note: Calling function 'stress_process_oomed' returns 0 stress-ng-0.21.00/core-out-of-memory.c:338:38: note: Assignment 'oomed=stress_process_oomed(pid)', assigned value is 0 stress-ng-0.21.00/core-out-of-memory.c:368:8: note: Condition 'oomed' is always false stress-ng-0.21.00/core-parse-opts.c:41:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/core-parse-opts.c:59:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/core-parse-opts.c:78:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/core-parse-opts.c:99:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/core-parse-opts.c:127:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/core-parse-opts.c:152:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/core-parse-opts.c:170:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/core-parse-opts.c:192:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/core-parse-opts.c:220:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/core-parse-opts.c:242:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/core-parse-opts.c:270:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/core-parse-opts.c:292:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/core-parse-opts.c:320:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/core-parse-opts.c:337:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/core-parse-opts.c:355:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/core-parse-opts.c:377:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/core-parse-opts.c:410:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/core-parse-opts.c:455:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/core-parse-opts.c:501:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/core-parse-opts.c:536:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/core-parse-opts.c:585:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/core-parse-opts.c:742:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/core-parse-opts.c:44:3: style: Statements following noreturn function 'longjmp()' will never be executed. [unreachableCode] stress-ng-0.21.00/core-parse-opts.c:63:3: style: Statements following noreturn function 'longjmp()' will never be executed. [unreachableCode] stress-ng-0.21.00/core-parse-opts.c:82:3: style: Statements following noreturn function 'longjmp()' will never be executed. [unreachableCode] stress-ng-0.21.00/core-parse-opts.c:106:3: style: Statements following noreturn function 'longjmp()' will never be executed. [unreachableCode] stress-ng-0.21.00/core-parse-opts.c:130:2: style: Statements following noreturn function 'longjmp()' will never be executed. [unreachableCode] stress-ng-0.21.00/core-parse-opts.c:154:4: style: Statements following noreturn function 'longjmp()' will never be executed. [unreachableCode] stress-ng-0.21.00/core-parse-opts.c:172:3: style: Statements following noreturn function 'longjmp()' will never be executed. [unreachableCode] stress-ng-0.21.00/core-parse-opts.c:177:3: style: Statements following noreturn function 'longjmp()' will never be executed. [unreachableCode] stress-ng-0.21.00/core-parse-opts.c:194:3: style: Statements following noreturn function 'longjmp()' will never be executed. [unreachableCode] stress-ng-0.21.00/core-parse-opts.c:199:3: style: Statements following noreturn function 'longjmp()' will never be executed. [unreachableCode] stress-ng-0.21.00/core-parse-opts.c:204:3: style: Statements following noreturn function 'longjmp()' will never be executed. [unreachableCode] stress-ng-0.21.00/core-parse-opts.c:222:3: style: Statements following noreturn function 'longjmp()' will never be executed. [unreachableCode] stress-ng-0.21.00/core-parse-opts.c:227:3: style: Statements following noreturn function 'longjmp()' will never be executed. [unreachableCode] stress-ng-0.21.00/core-parse-opts.c:244:3: style: Statements following noreturn function 'longjmp()' will never be executed. [unreachableCode] stress-ng-0.21.00/core-parse-opts.c:249:3: style: Statements following noreturn function 'longjmp()' will never be executed. [unreachableCode] stress-ng-0.21.00/core-parse-opts.c:254:3: style: Statements following noreturn function 'longjmp()' will never be executed. [unreachableCode] stress-ng-0.21.00/core-parse-opts.c:272:3: style: Statements following noreturn function 'longjmp()' will never be executed. [unreachableCode] stress-ng-0.21.00/core-parse-opts.c:277:3: style: Statements following noreturn function 'longjmp()' will never be executed. [unreachableCode] stress-ng-0.21.00/core-parse-opts.c:294:3: style: Statements following noreturn function 'longjmp()' will never be executed. [unreachableCode] stress-ng-0.21.00/core-parse-opts.c:299:3: style: Statements following noreturn function 'longjmp()' will never be executed. [unreachableCode] stress-ng-0.21.00/core-parse-opts.c:304:3: style: Statements following noreturn function 'longjmp()' will never be executed. [unreachableCode] stress-ng-0.21.00/core-parse-opts.c:322:3: style: Statements following noreturn function 'longjmp()' will never be executed. [unreachableCode] stress-ng-0.21.00/core-parse-opts.c:339:3: style: Statements following noreturn function 'longjmp()' will never be executed. [unreachableCode] stress-ng-0.21.00/core-parse-opts.c:357:3: style: Statements following noreturn function 'longjmp()' will never be executed. [unreachableCode] stress-ng-0.21.00/core-parse-opts.c:362:3: style: Statements following noreturn function 'longjmp()' will never be executed. [unreachableCode] stress-ng-0.21.00/core-parse-opts.c:379:3: style: Statements following noreturn function 'longjmp()' will never be executed. [unreachableCode] stress-ng-0.21.00/core-parse-opts.c:384:3: style: Statements following noreturn function 'longjmp()' will never be executed. [unreachableCode] stress-ng-0.21.00/core-parse-opts.c:389:3: style: Statements following noreturn function 'longjmp()' will never be executed. [unreachableCode] stress-ng-0.21.00/core-parse-opts.c:433:2: style: Statements following noreturn function 'longjmp()' will never be executed. [unreachableCode] stress-ng-0.21.00/core-parse-opts.c:475:2: style: Statements following noreturn function 'longjmp()' will never be executed. [unreachableCode] stress-ng-0.21.00/core-parse-opts.c:503:4: style: Statements following noreturn function 'longjmp()' will never be executed. [unreachableCode] stress-ng-0.21.00/core-parse-opts.c:512:3: style: Statements following noreturn function 'longjmp()' will never be executed. [unreachableCode] stress-ng-0.21.00/core-parse-opts.c:538:4: style: Statements following noreturn function 'longjmp()' will never be executed. [unreachableCode] stress-ng-0.21.00/core-parse-opts.c:545:4: style: Statements following noreturn function 'longjmp()' will never be executed. [unreachableCode] stress-ng-0.21.00/core-parse-opts.c:550:4: style: Statements following noreturn function 'longjmp()' will never be executed. [unreachableCode] stress-ng-0.21.00/core-parse-opts.c:555:4: style: Statements following noreturn function 'longjmp()' will never be executed. [unreachableCode] stress-ng-0.21.00/core-parse-opts.c:563:4: style: Statements following noreturn function 'longjmp()' will never be executed. [unreachableCode] stress-ng-0.21.00/core-parse-opts.c:587:4: style: Statements following noreturn function 'longjmp()' will never be executed. [unreachableCode] stress-ng-0.21.00/core-parse-opts.c:600:5: style: Statements following noreturn function 'longjmp()' will never be executed. [unreachableCode] stress-ng-0.21.00/core-parse-opts.c:744:4: style: Statements following noreturn function 'longjmp()' will never be executed. [unreachableCode] stress-ng-0.21.00/core-parse-opts.c:759:3: style: Statements following noreturn function 'longjmp()' will never be executed. [unreachableCode] stress-ng-0.21.00/core-parse-opts.c:777:4: style: Statements following noreturn function 'longjmp()' will never be executed. [unreachableCode] stress-ng-0.21.00/core-parse-opts.c:801:4: style: Statements following noreturn function 'longjmp()' will never be executed. [unreachableCode] stress-ng-0.21.00/core-parse-opts.c:662:61: style:inconclusive: Function 'stress_parse_opt' argument 2 names different: declaration 'optarg' definition 'opt_arg'. [funcArgNamesDifferent] stress-ng-0.21.00/core-parse-opts.h:75:80: note: Function 'stress_parse_opt' argument 2 names different: declaration 'optarg' definition 'opt_arg'. stress-ng-0.21.00/core-parse-opts.c:662:61: note: Function 'stress_parse_opt' argument 2 names different: declaration 'optarg' definition 'opt_arg'. stress-ng-0.21.00/core-resctrl.c:99:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/core-resctrl.c:121:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/core-resctrl.c:143:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/core-resctrl.c:206:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/core-resctrl.c:324:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/core-resctrl.c:363:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/core-resctrl.c:483:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/core-resctrl.c:477:32: style:inconclusive: Function 'stress_resctrl_parse' argument 1 names different: declaration 'opt' definition 'opt_resctrl'. [funcArgNamesDifferent] stress-ng-0.21.00/core-resctrl.h:24:51: note: Function 'stress_resctrl_parse' argument 1 names different: declaration 'opt' definition 'opt_resctrl'. stress-ng-0.21.00/core-resctrl.c:477:32: note: Function 'stress_resctrl_parse' argument 1 names different: declaration 'opt' definition 'opt_resctrl'. stress-ng-0.21.00/core-resctrl.c:234:9: style: Variable 'numptr' can be declared as pointer to const [constVariablePointer] stress-ng-0.21.00/core-resctrl.c:357:21: style: Variable 'tmp' can be declared as pointer to const [constVariablePointer] stress-ng-0.21.00/core-resctrl.c:477:32: style: Parameter 'opt_resctrl' can be declared as pointer to const [constParameterPointer] stress-ng-0.21.00/core-resctrl.c:488:9: style: Variable 'name' can be declared as pointer to const [constVariablePointer] stress-ng-0.21.00/core-resctrl.c:489:9: style: Variable 'partition_name' can be declared as pointer to const [constVariablePointer] stress-ng-0.21.00/core-resources.c:172:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/core-resources.c:437:39: warning: Division by result of sizeof(). socket() expects a size in bytes, did you intend to multiply instead? [sizeofDivisionMemfunc] stress-ng-0.21.00/core-resources.c:438:37: warning: Division by result of sizeof(). socket() expects a size in bytes, did you intend to multiply instead? [sizeofDivisionMemfunc] stress-ng-0.21.00/core-sched.c:284:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/core-setting.c:229:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/core-shared-cache.c:123:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/core-shared-heap.c:51:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/core-shared-heap.c:33:33: style: struct member 'stress_shared_heap_str::next' is never used. [unusedStructMember] stress-ng-0.21.00/core-shared-heap.c:34:7: style: struct member 'stress_shared_heap_str::str' is never used. [unusedStructMember] stress-ng-0.21.00/core-shim.c:157:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/core-shim.c:370:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/core-shim.c:961:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/core-shim.c:1377:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/core-shim.c:1421:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable E2BIG [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/core-shim.c:1657:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/core-shim.c:2417:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/core-shim.c:2914:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/core-shim.c:3173:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/core-shim.c:962:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] stress-ng-0.21.00/core-shim.c:1008:9: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] stress-ng-0.21.00/core-shim.c:1035:28: portability: Non reentrant function 'getpwuid' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwuid_r'. [prohibitedgetpwuidCalled] stress-ng-0.21.00/core-shim.c:1376:6: style: Condition 'newbrk==(void*)-1' is always true [knownConditionTrueFalse] stress-ng-0.21.00/core-shim.c:1405:38: note: Calling function 'shim_enosys' returns -1 stress-ng-0.21.00/core-shim.c:1374:32: note: Calling function 'shim_sbrk' returns -1 stress-ng-0.21.00/core-shim.c:1374:32: note: Assignment 'newbrk=shim_sbrk(inc)', assigned value is -1 stress-ng-0.21.00/core-shim.c:1376:6: note: Condition 'newbrk==(void*)-1' is always true stress-ng-0.21.00/core-shim.c:1666:12: style: Condition 'ret>=0' is always false [knownConditionTrueFalse] stress-ng-0.21.00/core-shim.c:1664:27: note: Calling function 'shim_enosys' returns -1 stress-ng-0.21.00/core-shim.c:1664:9: note: Assignment 'ret=(pid_t)shim_enosys(0,pid,wstatus,options)', assigned value is -1 stress-ng-0.21.00/core-shim.c:1666:12: note: Condition 'ret>=0' is always false stress-ng-0.21.00/core-shim.c:2921:6: style: Condition 'pid==-1' is always false [knownConditionTrueFalse] stress-ng-0.21.00/core-shim.c:2758:23: style:inconclusive: Function 'shim_unlinkat' argument 1 names different: declaration 'dirfd' definition 'dir_fd'. [funcArgNamesDifferent] stress-ng-0.21.00/core-shim.h:736:30: note: Function 'shim_unlinkat' argument 1 names different: declaration 'dirfd' definition 'dir_fd'. stress-ng-0.21.00/core-shim.c:2758:23: note: Function 'shim_unlinkat' argument 1 names different: declaration 'dirfd' definition 'dir_fd'. stress-ng-0.21.00/core-shim.c:1361:20: style: Parameter 'addr' can be declared as pointer to const [constParameterPointer] stress-ng-0.21.00/core-signal.c:180:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/core-signal.c:399:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SA_NOCLDSTOP [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/core-signal.c:440:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_DFL [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/core-signal.c:452:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/core-signal.c:486:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/core-signal.c:364:20: style:inconclusive: Function 'stress_signal_handler' argument 4 names different: declaration '' definition 'orig_action'. [funcArgNamesDifferentUnnamed] stress-ng-0.21.00/core-signal.c:229:48: style: Parameter 'fault_addr' can be declared as pointer to const [constParameterPointer] stress-ng-0.21.00/core-signal.c:426:50: style: Parameter 'args' can be declared as pointer to const [constParameterPointer] stress-ng-0.21.00/core-signal.c:482:20: style: Parameter 'orig_action' can be declared as pointer to const [constParameterPointer] stress-ng-0.21.00/core-smart.c:76:11: style: struct member 'stress_smart_raw_value_t::attr_id' is never used. [unusedStructMember] stress-ng-0.21.00/core-smart.c:77:11: style: struct member 'stress_smart_raw_value_t::attr_flags' is never used. [unusedStructMember] stress-ng-0.21.00/core-smart.c:78:11: style: struct member 'stress_smart_raw_value_t::current_value' is never used. [unusedStructMember] stress-ng-0.21.00/core-smart.c:79:11: style: struct member 'stress_smart_raw_value_t::worst_value' is never used. [unusedStructMember] stress-ng-0.21.00/core-smart.c:80:11: style: struct member 'stress_smart_raw_value_t::data' is never used. [unusedStructMember] stress-ng-0.21.00/core-smart.c:81:11: style: struct member 'stress_smart_raw_value_t::attr_data' is never used. [unusedStructMember] stress-ng-0.21.00/core-smart.c:82:11: style: struct member 'stress_smart_raw_value_t::threshold' is never used. [unusedStructMember] stress-ng-0.21.00/core-smart.c:86:10: style: struct member 'stress_smart_data_t::count' is never used. [unusedStructMember] stress-ng-0.21.00/core-smart.c:87:10: style: struct member 'stress_smart_data_t::size' is never used. [unusedStructMember] stress-ng-0.21.00/core-smart.c:88:27: style: struct member 'stress_smart_data_t::values' is never used. [unusedStructMember] stress-ng-0.21.00/core-smart.c:92:8: style: struct member 'stress_smart_dev_t::dev_name' is never used. [unusedStructMember] stress-ng-0.21.00/core-smart.c:93:23: style: struct member 'stress_smart_dev_t::data_begin' is never used. [unusedStructMember] stress-ng-0.21.00/core-smart.c:94:23: style: struct member 'stress_smart_dev_t::data_end' is never used. [unusedStructMember] stress-ng-0.21.00/core-smart.c:95:29: style: struct member 'stress_smart_dev_t::next' is never used. [unusedStructMember] stress-ng-0.21.00/core-smart.c:99:22: style: struct member 'stress_smart_devs_t::dev' is never used. [unusedStructMember] stress-ng-0.21.00/core-sort.c:319:9: style: Condition 'n>63' is always true [knownConditionTrueFalse] stress-ng-0.21.00/core-sort.c:315:8: note: Assuming that condition 'n>63' is not redundant stress-ng-0.21.00/core-sort.c:319:9: note: Condition 'n>63' is always true stress-ng-0.21.00/core-sort.c:212:27: style: Variable 'u8p2' can be declared as pointer to const [constVariablePointer] stress-ng-0.21.00/core-sync.c:45:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/core-sync.c:90:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/core-sync.c:117:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/core-sync.c:56:45: style: Parameter 's_pids' can be declared as pointer to const [constParameterPointer] stress-ng-0.21.00/core-thermal-zone.c:38:20: style: Variable 'tz_info' can be declared as pointer to const [constVariablePointer] stress-ng-0.21.00/core-thermal-zone.c:184:27: style: Variable 'tz_info' can be declared as pointer to const [constVariablePointer] stress-ng-0.21.00/core-try-open.c:43:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WNOHANG [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/core-try-open.c:86:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/core-vmstat.c:202:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/core-vmstat.c:1006:20: style: Variable 'tz_info' can be declared as pointer to const [constVariablePointer] stress-ng-0.21.00/core-vmstat.c:102:11: style: struct member 'stress_iostat_t::read_io' is never used. [unusedStructMember] stress-ng-0.21.00/core-vmstat.c:103:11: style: struct member 'stress_iostat_t::read_merges' is never used. [unusedStructMember] stress-ng-0.21.00/core-vmstat.c:104:11: style: struct member 'stress_iostat_t::read_sectors' is never used. [unusedStructMember] stress-ng-0.21.00/core-vmstat.c:105:11: style: struct member 'stress_iostat_t::read_ticks' is never used. [unusedStructMember] stress-ng-0.21.00/core-vmstat.c:106:11: style: struct member 'stress_iostat_t::write_io' is never used. [unusedStructMember] stress-ng-0.21.00/core-vmstat.c:107:11: style: struct member 'stress_iostat_t::write_merges' is never used. [unusedStructMember] stress-ng-0.21.00/core-vmstat.c:108:11: style: struct member 'stress_iostat_t::write_sectors' is never used. [unusedStructMember] stress-ng-0.21.00/core-vmstat.c:109:11: style: struct member 'stress_iostat_t::write_ticks' is never used. [unusedStructMember] stress-ng-0.21.00/core-vmstat.c:110:11: style: struct member 'stress_iostat_t::in_flight' is never used. [unusedStructMember] stress-ng-0.21.00/core-vmstat.c:111:11: style: struct member 'stress_iostat_t::io_ticks' is never used. [unusedStructMember] stress-ng-0.21.00/core-vmstat.c:112:11: style: struct member 'stress_iostat_t::time_in_queue' is never used. [unusedStructMember] stress-ng-0.21.00/stress-access.c:166:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-access.c:294:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRUSR [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-af-alg.c:50:29: style: struct member 'stress_crypto_type_info_t::crypto_type' is never used. [unusedStructMember] stress-ng-0.21.00/stress-af-alg.c:51:15: style: struct member 'stress_crypto_type_info_t::type_string' is never used. [unusedStructMember] stress-ng-0.21.00/stress-affinity.c:32:20: style: struct member 'stress_affinity_info_t::cpu' is never used. [unusedStructMember] stress-ng-0.21.00/stress-affinity.c:33:11: style: struct member 'stress_affinity_info_t::cpus' is never used. [unusedStructMember] stress-ng-0.21.00/stress-affinity.c:34:11: style: struct member 'stress_affinity_info_t::affinity_delay' is never used. [unusedStructMember] stress-ng-0.21.00/stress-affinity.c:35:11: style: struct member 'stress_affinity_info_t::affinity_sleep' is never used. [unusedStructMember] stress-ng-0.21.00/stress-affinity.c:36:8: style: struct member 'stress_affinity_info_t::affinity_rand' is never used. [unusedStructMember] stress-ng-0.21.00/stress-affinity.c:37:8: style: struct member 'stress_affinity_info_t::affinity_pin' is never used. [unusedStructMember] stress-ng-0.21.00/stress-alarm.c:47:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_BLOCK [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-alarm.c:72:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-besselmath.c:30:14: style: struct member 'stress_besselmath_method_t::name' is never used. [unusedStructMember] stress-ng-0.21.00/stress-besselmath.c:31:9: style: struct member 'stress_besselmath_method_t::besselmath_func' is never used. [unusedStructMember] stress-ng-0.21.00/stress-bitonicsort.c:147:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-bitops.c:894:20: style:inconclusive: Boolean expression 'j>0' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] stress-ng-0.21.00/stress-bitops.c:1100:46: style:inconclusive: Boolean expression '(j&0x000000ffU)==0' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] stress-ng-0.21.00/stress-bitops.c:1102:32: style:inconclusive: Boolean expression '(j&0xff000000U)==0' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] stress-ng-0.21.00/stress-bitops.c:99:35: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] stress-ng-0.21.00/stress-brk.c:70:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-brk.c:137:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-brk.c:304:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-brk.c:89:20: style: Parameter 'addr' can be declared as pointer to const [constParameterPointer] stress-ng-0.21.00/stress-bsearch.c:155:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-bubblesort.c:61:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-bubblesort.c:99:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-bubblesort.c:188:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-cache.c:63:17: style: struct member 'mask_flag_info_t::flag' is never used. [unusedStructMember] stress-ng-0.21.00/stress-cache.c:64:14: style: struct member 'mask_flag_info_t::name' is never used. [unusedStructMember] stress-ng-0.21.00/stress-cachehammer.c:50:11: style: struct member 'stress_cachehammer_context::buffer' is never used. [unusedStructMember] stress-ng-0.21.00/stress-cachehammer.c:51:11: style: struct member 'stress_cachehammer_context::local_buffer' is never used. [unusedStructMember] stress-ng-0.21.00/stress-cachehammer.c:52:11: style: struct member 'stress_cachehammer_context::local_page' is never used. [unusedStructMember] stress-ng-0.21.00/stress-cachehammer.c:53:11: style: struct member 'stress_cachehammer_context::bad_page' is never used. [unusedStructMember] stress-ng-0.21.00/stress-cachehammer.c:54:11: style: struct member 'stress_cachehammer_context::file_page' is never used. [unusedStructMember] stress-ng-0.21.00/stress-cachehammer.c:60:9: style: struct member 'stress_cachehammer_context::local_buffer_size' is never used. [unusedStructMember] stress-ng-0.21.00/stress-cachehammer.c:61:9: style: struct member 'stress_cachehammer_context::func_index' is never used. [unusedStructMember] stress-ng-0.21.00/stress-cachehammer.c:62:11: style: struct member 'stress_cachehammer_context::mask' is never used. [unusedStructMember] stress-ng-0.21.00/stress-cachehammer.c:63:11: style: struct member 'stress_cachehammer_context::page_mask' is never used. [unusedStructMember] stress-ng-0.21.00/stress-cachehammer.c:64:11: style: struct member 'stress_cachehammer_context::valid' is never used. [unusedStructMember] stress-ng-0.21.00/stress-cachehammer.c:65:11: style: struct member 'stress_cachehammer_context::trapped' is never used. [unusedStructMember] stress-ng-0.21.00/stress-cachehammer.c:66:7: style: struct member 'stress_cachehammer_context::cachehammer_numa' is never used. [unusedStructMember] stress-ng-0.21.00/stress-cachehammer.c:70:8: style: struct member 'stress_cachehammer_func_t::name' is never used. [unusedStructMember] stress-ng-0.21.00/stress-cachehammer.c:71:7: style: struct member 'stress_cachehammer_func_t::permute' is never used. [unusedStructMember] stress-ng-0.21.00/stress-cachehammer.c:72:9: style: struct member 'stress_cachehammer_func_t::valid' is never used. [unusedStructMember] stress-ng-0.21.00/stress-cachehammer.c:73:16: style: struct member 'stress_cachehammer_func_t::hammer' is never used. [unusedStructMember] stress-ng-0.21.00/stress-cacheline.c:778:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-cacheline.c:501:7: style: Condition '*data8!=val8' is always false [knownConditionTrueFalse] stress-ng-0.21.00/stress-cacheline.c:499:10: note: *data8 is assigned 'val8' here. stress-ng-0.21.00/stress-cacheline.c:501:7: note: Condition '*data8!=val8' is always false stress-ng-0.21.00/stress-cacheline.c:509:7: style: Condition '*data8!=val8' is always false [knownConditionTrueFalse] stress-ng-0.21.00/stress-cacheline.c:507:10: note: *data8 is assigned 'val8' here. stress-ng-0.21.00/stress-cacheline.c:509:7: note: Condition '*data8!=val8' is always false stress-ng-0.21.00/stress-cacheline.c:257:3: style: Variable 'tmp' is assigned an expression that holds the same value. [redundantAssignment] stress-ng-0.21.00/stress-cacheline.c:255:10: note: *data8 is assigned 'tmp' here. stress-ng-0.21.00/stress-cacheline.c:257:3: note: Variable 'tmp' is assigned an expression that holds the same value. stress-ng-0.21.00/stress-cacheline.c:260:3: style: Variable 'tmp' is assigned an expression that holds the same value. [redundantAssignment] stress-ng-0.21.00/stress-cacheline.c:258:10: note: *data8 is assigned 'tmp' here. stress-ng-0.21.00/stress-cacheline.c:260:3: note: Variable 'tmp' is assigned an expression that holds the same value. stress-ng-0.21.00/stress-cacheline.c:263:3: style: Variable 'tmp' is assigned an expression that holds the same value. [redundantAssignment] stress-ng-0.21.00/stress-cacheline.c:261:10: note: *data8 is assigned 'tmp' here. stress-ng-0.21.00/stress-cacheline.c:263:3: note: Variable 'tmp' is assigned an expression that holds the same value. stress-ng-0.21.00/stress-cacheline.c:266:3: style: Variable 'tmp' is assigned an expression that holds the same value. [redundantAssignment] stress-ng-0.21.00/stress-cacheline.c:264:10: note: *data8 is assigned 'tmp' here. stress-ng-0.21.00/stress-cacheline.c:266:3: note: Variable 'tmp' is assigned an expression that holds the same value. stress-ng-0.21.00/stress-cacheline.c:269:3: style: Variable 'tmp' is assigned an expression that holds the same value. [redundantAssignment] stress-ng-0.21.00/stress-cacheline.c:267:10: note: *data8 is assigned 'tmp' here. stress-ng-0.21.00/stress-cacheline.c:269:3: note: Variable 'tmp' is assigned an expression that holds the same value. stress-ng-0.21.00/stress-cacheline.c:272:3: style: Variable 'tmp' is assigned an expression that holds the same value. [redundantAssignment] stress-ng-0.21.00/stress-cacheline.c:270:10: note: *data8 is assigned 'tmp' here. stress-ng-0.21.00/stress-cacheline.c:272:3: note: Variable 'tmp' is assigned an expression that holds the same value. stress-ng-0.21.00/stress-cacheline.c:275:3: style: Variable 'tmp' is assigned an expression that holds the same value. [redundantAssignment] stress-ng-0.21.00/stress-cacheline.c:273:10: note: *data8 is assigned 'tmp' here. stress-ng-0.21.00/stress-cacheline.c:275:3: note: Variable 'tmp' is assigned an expression that holds the same value. stress-ng-0.21.00/stress-cacheline.c:278:3: style: Variable 'tmp' is assigned an expression that holds the same value. [redundantAssignment] stress-ng-0.21.00/stress-cacheline.c:276:10: note: *data8 is assigned 'tmp' here. stress-ng-0.21.00/stress-cacheline.c:278:3: note: Variable 'tmp' is assigned an expression that holds the same value. stress-ng-0.21.00/stress-cacheline.c:281:3: style: Variable 'tmp' is assigned an expression that holds the same value. [redundantAssignment] stress-ng-0.21.00/stress-cacheline.c:279:10: note: *data8 is assigned 'tmp' here. stress-ng-0.21.00/stress-cacheline.c:281:3: note: Variable 'tmp' is assigned an expression that holds the same value. stress-ng-0.21.00/stress-cacheline.c:284:3: style: Variable 'tmp' is assigned an expression that holds the same value. [redundantAssignment] stress-ng-0.21.00/stress-cacheline.c:282:10: note: *data8 is assigned 'tmp' here. stress-ng-0.21.00/stress-cacheline.c:284:3: note: Variable 'tmp' is assigned an expression that holds the same value. stress-ng-0.21.00/stress-cacheline.c:287:3: style: Variable 'tmp' is assigned an expression that holds the same value. [redundantAssignment] stress-ng-0.21.00/stress-cacheline.c:285:10: note: *data8 is assigned 'tmp' here. stress-ng-0.21.00/stress-cacheline.c:287:3: note: Variable 'tmp' is assigned an expression that holds the same value. stress-ng-0.21.00/stress-cacheline.c:290:3: style: Variable 'tmp' is assigned an expression that holds the same value. [redundantAssignment] stress-ng-0.21.00/stress-cacheline.c:288:10: note: *data8 is assigned 'tmp' here. stress-ng-0.21.00/stress-cacheline.c:290:3: note: Variable 'tmp' is assigned an expression that holds the same value. stress-ng-0.21.00/stress-cacheline.c:293:3: style: Variable 'tmp' is assigned an expression that holds the same value. [redundantAssignment] stress-ng-0.21.00/stress-cacheline.c:291:10: note: *data8 is assigned 'tmp' here. stress-ng-0.21.00/stress-cacheline.c:293:3: note: Variable 'tmp' is assigned an expression that holds the same value. stress-ng-0.21.00/stress-cacheline.c:296:3: style: Variable 'tmp' is assigned an expression that holds the same value. [redundantAssignment] stress-ng-0.21.00/stress-cacheline.c:294:10: note: *data8 is assigned 'tmp' here. stress-ng-0.21.00/stress-cacheline.c:296:3: note: Variable 'tmp' is assigned an expression that holds the same value. stress-ng-0.21.00/stress-cacheline.c:299:3: style: Variable 'tmp' is assigned an expression that holds the same value. [redundantAssignment] stress-ng-0.21.00/stress-cacheline.c:297:10: note: *data8 is assigned 'tmp' here. stress-ng-0.21.00/stress-cacheline.c:299:3: note: Variable 'tmp' is assigned an expression that holds the same value. stress-ng-0.21.00/stress-cacheline.c:119:20: style: Variable 'data8adjacent' can be declared as pointer to const [constVariablePointer] stress-ng-0.21.00/stress-cacheline.c:369:23: style: Variable 'data64' can be declared as pointer to const [constVariablePointer] stress-ng-0.21.00/stress-cacheline.c:410:23: style: Variable 'data64' can be declared as pointer to const [constVariablePointer] stress-ng-0.21.00/stress-cacheline.c:433:21: style: Variable 'data16' can be declared as pointer to const [constVariablePointer] stress-ng-0.21.00/stress-cacheline.c:434:21: style: Variable 'data32' can be declared as pointer to const [constVariablePointer] stress-ng-0.21.00/stress-cacheline.c:435:21: style: Variable 'data64' can be declared as pointer to const [constVariablePointer] stress-ng-0.21.00/stress-chdir.c:78:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-chmod.c:98:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-chmod.c:255:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRWXU [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-chmod.c:323:49: style: Condition 'do_fchmod(fd,bad_fd,i,mask,all_mask)<0' is always false [knownConditionTrueFalse] stress-ng-0.21.00/stress-chmod.c:323:17: note: Calling function 'do_fchmod' returns 0 stress-ng-0.21.00/stress-chmod.c:323:49: note: Condition 'do_fchmod(fd,bad_fd,i,mask,all_mask)<0' is always false stress-ng-0.21.00/stress-chmod.c:329:50: style: Condition 'do_chmod(dfd,bad_fd,filebase,filename,longpath,i,mask,all_mask,mode_count,mode_perms)<0' is always false [knownConditionTrueFalse] stress-ng-0.21.00/stress-chmod.c:328:16: note: Calling function 'do_chmod' returns 0 stress-ng-0.21.00/stress-chmod.c:329:50: note: Condition 'do_chmod(dfd,bad_fd,filebase,filename,longpath,i,mask,all_mask,mode_count,mode_perms)<0' is always false stress-ng-0.21.00/stress-chmod.c:242:23: style: Variable 'filebase' can be declared as pointer to const [constVariablePointer] stress-ng-0.21.00/stress-chown.c:52:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-chown.c:72:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-chown.c:127:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-chown.c:183:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRWXU [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-chyperbolic.c:34:14: style: struct member 'stress_chyperbolic_method_t::name' is never used. [unusedStructMember] stress-ng-0.21.00/stress-chyperbolic.c:35:9: style: struct member 'stress_chyperbolic_method_t::chyperbolic_func' is never used. [unusedStructMember] stress-ng-0.21.00/stress-cpu.c:0:0: debug: ValueFlow maximum iterations exceeded [valueFlowMaxIterations] stress-ng-0.21.00/stress-cpu.c:3192:28: style: Condition 'stress_is_affinity_set()' is always false [knownConditionTrueFalse] stress-ng-0.21.00/stress-cpu.c:3192:28: note: Calling function 'stress_is_affinity_set' returns 0 stress-ng-0.21.00/stress-cpu.c:3192:28: note: Condition 'stress_is_affinity_set()' is always false stress-ng-0.21.00/stress-cpu.c:1864:15: style: Floating-point cast causes loss of precision. [suspiciousFloatingPointCast] stress-ng-0.21.00/stress-cpu.c:1867:21: style: Floating-point cast causes loss of precision. [suspiciousFloatingPointCast] stress-ng-0.21.00/stress-cpu.c:1871:21: style: Floating-point cast causes loss of precision. [suspiciousFloatingPointCast] stress-ng-0.21.00/stress-cpu.c:1873:29: style: Floating-point cast causes loss of precision. [suspiciousFloatingPointCast] stress-ng-0.21.00/stress-cpu.c:1851:3: style: Variable 'f' is assigned an expression that holds the same value. [redundantAssignment] stress-ng-0.21.00/stress-cpu.c:1849:5: note: f is assigned '(float)(double)i' here. stress-ng-0.21.00/stress-cpu.c:1851:3: note: Variable 'f' is assigned an expression that holds the same value. stress-ng-0.21.00/stress-cpu.c:1855:3: style: Variable 'f' is assigned an expression that holds the same value. [redundantAssignment] stress-ng-0.21.00/stress-cpu.c:1853:5: note: f is assigned '(float)(double)(long double)i' here. stress-ng-0.21.00/stress-cpu.c:1855:3: note: Variable 'f' is assigned an expression that holds the same value. stress-ng-0.21.00/stress-crypt.c:35:14: style: struct member 'crypt_method_t::prefix' is never used. [unusedStructMember] stress-ng-0.21.00/stress-crypt.c:36:15: style: struct member 'crypt_method_t::prefix_len' is never used. [unusedStructMember] stress-ng-0.21.00/stress-ctrig.c:34:14: style: struct member 'stress_ctrig_method_t::name' is never used. [unusedStructMember] stress-ng-0.21.00/stress-ctrig.c:35:9: style: struct member 'stress_ctrig_method_t::trig_func' is never used. [unusedStructMember] stress-ng-0.21.00/stress-cyclic.c:141:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-cyclic.c:709:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-daemon.c:73:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-daemon.c:176:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-dccp.c:56:14: style: struct member 'stress_dccp_opts_t::opt' is never used. [unusedStructMember] stress-ng-0.21.00/stress-dentry.c:90:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-dentry.c:190:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-dentry.c:364:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-dentry.c:196:8: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] stress-ng-0.21.00/stress-dentry.c:49:16: style: struct member 'stress_dentry_removal_t::denty_order' is never used. [unusedStructMember] stress-ng-0.21.00/stress-dev.c:223:7: style: struct member 'dev_state_t::scsi_checked' is never used. [unusedStructMember] stress-ng-0.21.00/stress-dev.c:224:7: style: struct member 'dev_state_t::scsi_device' is never used. [unusedStructMember] stress-ng-0.21.00/stress-dev.c:225:7: style: struct member 'dev_state_t::open_failed' is never used. [unusedStructMember] stress-ng-0.21.00/stress-dev.c:226:7: style: struct member 'dev_state_t::open_succeeded' is never used. [unusedStructMember] stress-ng-0.21.00/stress-dev.c:230:8: style: struct member 'dev_info::path' is never used. [unusedStructMember] stress-ng-0.21.00/stress-dev.c:231:8: style: struct member 'dev_info::name' is never used. [unusedStructMember] stress-ng-0.21.00/stress-dev.c:232:11: style: struct member 'dev_info::rnd_id' is never used. [unusedStructMember] stress-ng-0.21.00/stress-dev.c:233:15: style: struct member 'dev_info::state' is never used. [unusedStructMember] stress-ng-0.21.00/stress-dev.c:234:19: style: struct member 'dev_info::next' is never used. [unusedStructMember] stress-ng-0.21.00/stress-dir.c:154:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-dir.c:206:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-dir.c:286:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRUSR [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-dir.c:355:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-dir.c:388:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRUSR [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-dir.c:500:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRUSR [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-dirdeep.c:103:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-dirdeep.c:289:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_name [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-dirdeep.c:364:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_name [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-dirmany.c:84:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-dup.c:239:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-easy-opcode.c:33:16: style: struct member 'stress_easy_opcode::len' is never used. [unusedStructMember] stress-ng-0.21.00/stress-easy-opcode.c:34:16: style: struct member 'stress_easy_opcode::opcodes' is never used. [unusedStructMember] stress-ng-0.21.00/stress-env.c:77:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-env.c:114:9: warning: If memory allocation fails, then there is a possible null pointer dereference: value [nullPointerOutOfMemory] stress-ng-0.21.00/stress-env.c:77:22: note: Assuming allocation function fails stress-ng-0.21.00/stress-env.c:77:10: note: Assignment 'value=(char*)mmap(NULL,arg_max,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0)', assigned value is 0 stress-ng-0.21.00/stress-env.c:114:9: note: Null pointer dereference stress-ng-0.21.00/stress-env.c:115:3: warning: If memory allocation fails, then there is a possible null pointer dereference: value [nullPointerOutOfMemory] stress-ng-0.21.00/stress-env.c:77:22: note: Assuming allocation function fails stress-ng-0.21.00/stress-env.c:77:10: note: Assignment 'value=(char*)mmap(NULL,arg_max,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0)', assigned value is 0 stress-ng-0.21.00/stress-env.c:115:3: note: Null pointer dereference stress-ng-0.21.00/stress-env.c:116:22: warning: If memory allocation fails, then there is a possible null pointer dereference: value [nullPointerOutOfMemory] stress-ng-0.21.00/stress-env.c:77:22: note: Assuming allocation function fails stress-ng-0.21.00/stress-env.c:77:10: note: Assignment 'value=(char*)mmap(NULL,arg_max,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0)', assigned value is 0 stress-ng-0.21.00/stress-env.c:116:22: note: Null pointer dereference stress-ng-0.21.00/stress-env.c:117:3: warning: If memory allocation fails, then there is a possible null pointer dereference: value [nullPointerOutOfMemory] stress-ng-0.21.00/stress-env.c:77:22: note: Assuming allocation function fails stress-ng-0.21.00/stress-env.c:77:10: note: Assignment 'value=(char*)mmap(NULL,arg_max,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0)', assigned value is 0 stress-ng-0.21.00/stress-env.c:117:3: note: Null pointer dereference stress-ng-0.21.00/stress-exec.c:493:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-exec.c:679:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-exec.c:779:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-exec.c:810:9: warning: If memory allocation fails, then there is a possible null pointer dereference: str [nullPointerOutOfMemory] stress-ng-0.21.00/stress-exec.c:804:20: note: Assuming allocation function fails stress-ng-0.21.00/stress-exec.c:804:8: note: Assignment 'str=(char*)mmap(NULL,arg_max,PROT_READ|PROT_WRITE,MAP_ANONYMOUS|MAP_PRIVATE,-1,0)', assigned value is 0 stress-ng-0.21.00/stress-exec.c:810:9: note: Null pointer dereference stress-ng-0.21.00/stress-exec.c:660:10: style: The comparison 'fd != -1' is always false. [knownConditionTrueFalse] stress-ng-0.21.00/stress-exec.c:461:36: note: 'fd' is assigned value '-1' here. stress-ng-0.21.00/stress-exec.c:660:10: note: The comparison 'fd != -1' is always false. stress-ng-0.21.00/stress-exec.c:415:57: style: Parameter 'context' can be declared as pointer to const [constParameterPointer] stress-ng-0.21.00/stress-exec.c:956:23: style: Variable 'sph' can be declared as pointer to const [constVariablePointer] stress-ng-0.21.00/stress-expmath.c:494:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-expmath.c:36:14: style: struct member 'stress_expmath_method_t::name' is never used. [unusedStructMember] stress-ng-0.21.00/stress-expmath.c:37:9: style: struct member 'stress_expmath_method_t::expmath_func' is never used. [unusedStructMember] stress-ng-0.21.00/stress-fcntl.c:828:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable setfl_flag_count [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-fcntl.c:109:17: style: Parameter 'args' can be declared as pointer to const [constParameterPointer] stress-ng-0.21.00/stress-fcntl.c:113:7: style: Parameter 'rc' can be declared as pointer to const [constParameterPointer] stress-ng-0.21.00/stress-fd-abuse.c:130:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-fd-abuse.c:136:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-fd-abuse.c:143:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRUSR [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-fd-abuse.c:153:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-fd-abuse.c:160:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-fd-abuse.c:167:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-fd-abuse.c:174:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-fd-abuse.c:1040:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INADDR_LOOPBACK [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-fd-abuse.c:1066:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FD_SETSIZE [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-fd-abuse.c:1081:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FD_SETSIZE [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-fd-abuse.c:1247:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHUT_RDWR [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-fd-abuse.c:1270:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHUT_RDWR [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-fd-abuse.c:999:3: warning: Invalid lseek() argument nr 3. The value is 4 but the valid values are '0:2'. [invalidFunctionArg] stress-ng-0.21.00/stress-fd-abuse.c:998:16: note: Assuming that condition 'i<(sizeof(whence)/sizeof(whence[0]))' is not redundant stress-ng-0.21.00/stress-fd-abuse.c:999:3: note: Invalid argument stress-ng-0.21.00/stress-fd-abuse.c:1000:3: warning: Invalid lseek() argument nr 3. The value is 4 but the valid values are '0:2'. [invalidFunctionArg] stress-ng-0.21.00/stress-fd-abuse.c:998:16: note: Assuming that condition 'i<(sizeof(whence)/sizeof(whence[0]))' is not redundant stress-ng-0.21.00/stress-fd-abuse.c:1000:3: note: Invalid argument stress-ng-0.21.00/stress-fd-abuse.c:1001:3: warning: Invalid lseek() argument nr 3. The value is 4 but the valid values are '0:2'. [invalidFunctionArg] stress-ng-0.21.00/stress-fd-abuse.c:998:16: note: Assuming that condition 'i<(sizeof(whence)/sizeof(whence[0]))' is not redundant stress-ng-0.21.00/stress-fd-abuse.c:1001:3: note: Invalid argument stress-ng-0.21.00/stress-fd-abuse.c:1002:3: warning: Invalid lseek() argument nr 3. The value is 4 but the valid values are '0:2'. [invalidFunctionArg] stress-ng-0.21.00/stress-fd-abuse.c:998:16: note: Assuming that condition 'i<(sizeof(whence)/sizeof(whence[0]))' is not redundant stress-ng-0.21.00/stress-fd-abuse.c:1002:3: note: Invalid argument stress-ng-0.21.00/stress-fd-abuse.c:1151:16: warning: If memory allocation fails, then there is a possible null pointer dereference: ptr [nullPointerOutOfMemory] stress-ng-0.21.00/stress-fd-abuse.c:1149:12: note: Assuming allocation function fails stress-ng-0.21.00/stress-fd-abuse.c:1149:12: note: Assignment 'ptr=mmap(NULL,4096,PROT_READ,MAP_SHARED,fd->fd,0)', assigned value is 0 stress-ng-0.21.00/stress-fd-abuse.c:1151:16: note: Null pointer dereference stress-ng-0.21.00/stress-fd-abuse.c:1160:16: warning: If memory allocation fails, then there is a possible null pointer dereference: ptr [nullPointerOutOfMemory] stress-ng-0.21.00/stress-fd-abuse.c:1158:12: note: Assuming allocation function fails stress-ng-0.21.00/stress-fd-abuse.c:1158:12: note: Assignment 'ptr=mmap(NULL,4096,PROT_WRITE,MAP_SHARED,fd->fd,0)', assigned value is 0 stress-ng-0.21.00/stress-fd-abuse.c:1160:16: note: Null pointer dereference stress-ng-0.21.00/stress-fd-abuse.c:983:42: style: Parameter 'fd' can be declared as pointer to const. However it seems that 'stress_fd_lseek' is a callback function, if 'fd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] stress-ng-0.21.00/stress-fd-abuse.c:1899:2: note: You might need to cast the function pointer here stress-ng-0.21.00/stress-fd-abuse.c:983:42: note: Parameter 'fd' can be declared as pointer to const stress-ng-0.21.00/stress-fd-abuse.c:1006:40: style: Parameter 'fd' can be declared as pointer to const. However it seems that 'stress_fd_dup' is a callback function, if 'fd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] stress-ng-0.21.00/stress-fd-abuse.c:1900:2: note: You might need to cast the function pointer here stress-ng-0.21.00/stress-fd-abuse.c:1006:40: note: Parameter 'fd' can be declared as pointer to const stress-ng-0.21.00/stress-fd-abuse.c:1015:41: style: Parameter 'fd' can be declared as pointer to const. However it seems that 'stress_fd_dup2' is a callback function, if 'fd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] stress-ng-0.21.00/stress-fd-abuse.c:1901:2: note: You might need to cast the function pointer here stress-ng-0.21.00/stress-fd-abuse.c:1015:41: note: Parameter 'fd' can be declared as pointer to const stress-ng-0.21.00/stress-fd-abuse.c:1064:46: style: Parameter 'fd' can be declared as pointer to const. However it seems that 'stress_fd_select_rd' is a callback function, if 'fd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] stress-ng-0.21.00/stress-fd-abuse.c:1909:2: note: You might need to cast the function pointer here stress-ng-0.21.00/stress-fd-abuse.c:1064:46: note: Parameter 'fd' can be declared as pointer to const stress-ng-0.21.00/stress-fd-abuse.c:1079:46: style: Parameter 'fd' can be declared as pointer to const. However it seems that 'stress_fd_select_wr' is a callback function, if 'fd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] stress-ng-0.21.00/stress-fd-abuse.c:1910:2: note: You might need to cast the function pointer here stress-ng-0.21.00/stress-fd-abuse.c:1079:46: note: Parameter 'fd' can be declared as pointer to const stress-ng-0.21.00/stress-fd-abuse.c:1145:44: style: Parameter 'fd' can be declared as pointer to const. However it seems that 'stress_fd_mmap_rd' is a callback function, if 'fd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] stress-ng-0.21.00/stress-fd-abuse.c:1923:2: note: You might need to cast the function pointer here stress-ng-0.21.00/stress-fd-abuse.c:1145:44: note: Parameter 'fd' can be declared as pointer to const stress-ng-0.21.00/stress-fd-abuse.c:1147:8: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] stress-ng-0.21.00/stress-fd-abuse.c:1154:44: style: Parameter 'fd' can be declared as pointer to const. However it seems that 'stress_fd_mmap_wr' is a callback function, if 'fd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] stress-ng-0.21.00/stress-fd-abuse.c:1924:2: note: You might need to cast the function pointer here stress-ng-0.21.00/stress-fd-abuse.c:1154:44: note: Parameter 'fd' can be declared as pointer to const stress-ng-0.21.00/stress-fd-abuse.c:1156:8: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] stress-ng-0.21.00/stress-fd-abuse.c:1188:54: style: Parameter 'fd' can be declared as pointer to const. However it seems that 'stress_fd_pidfd_send_signal' is a callback function, if 'fd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] stress-ng-0.21.00/stress-fd-abuse.c:1936:2: note: You might need to cast the function pointer here stress-ng-0.21.00/stress-fd-abuse.c:1188:54: note: Parameter 'fd' can be declared as pointer to const stress-ng-0.21.00/stress-fd-abuse.c:1212:42: style: Parameter 'fd' can be declared as pointer to const. However it seems that 'stress_fd_fstat' is a callback function, if 'fd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] stress-ng-0.21.00/stress-fd-abuse.c:1943:2: note: You might need to cast the function pointer here stress-ng-0.21.00/stress-fd-abuse.c:1212:42: note: Parameter 'fd' can be declared as pointer to const stress-ng-0.21.00/stress-fd-abuse.c:1226:46: style: Parameter 'fd' can be declared as pointer to const. However it seems that 'stress_fd_ftruncate' is a callback function, if 'fd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] stress-ng-0.21.00/stress-fd-abuse.c:1947:2: note: You might need to cast the function pointer here stress-ng-0.21.00/stress-fd-abuse.c:1226:46: note: Parameter 'fd' can be declared as pointer to const stress-ng-0.21.00/stress-fd-abuse.c:1250:43: style: Parameter 'fd' can be declared as pointer to const. However it seems that 'stress_fd_accept' is a callback function, if 'fd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] stress-ng-0.21.00/stress-fd-abuse.c:1953:2: note: You might need to cast the function pointer here stress-ng-0.21.00/stress-fd-abuse.c:1250:43: note: Parameter 'fd' can be declared as pointer to const stress-ng-0.21.00/stress-fd-abuse.c:1273:48: style: Parameter 'fd' can be declared as pointer to const. However it seems that 'stress_fd_getsockname' is a callback function, if 'fd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] stress-ng-0.21.00/stress-fd-abuse.c:1955:2: note: You might need to cast the function pointer here stress-ng-0.21.00/stress-fd-abuse.c:1273:48: note: Parameter 'fd' can be declared as pointer to const stress-ng-0.21.00/stress-fd-abuse.c:1282:48: style: Parameter 'fd' can be declared as pointer to const. However it seems that 'stress_fd_getpeername' is a callback function, if 'fd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] stress-ng-0.21.00/stress-fd-abuse.c:1956:2: note: You might need to cast the function pointer here stress-ng-0.21.00/stress-fd-abuse.c:1282:48: note: Parameter 'fd' can be declared as pointer to const stress-ng-0.21.00/stress-fd-abuse.c:1311:42: style: Parameter 'fd' can be declared as pointer to const. However it seems that 'stress_fd_fsync' is a callback function, if 'fd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] stress-ng-0.21.00/stress-fd-abuse.c:1963:2: note: You might need to cast the function pointer here stress-ng-0.21.00/stress-fd-abuse.c:1311:42: note: Parameter 'fd' can be declared as pointer to const stress-ng-0.21.00/stress-fd-abuse.c:1330:42: style: Parameter 'fd' can be declared as pointer to const. However it seems that 'stress_fd_chmod' is a callback function, if 'fd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] stress-ng-0.21.00/stress-fd-abuse.c:1965:2: note: You might need to cast the function pointer here stress-ng-0.21.00/stress-fd-abuse.c:1330:42: note: Parameter 'fd' can be declared as pointer to const stress-ng-0.21.00/stress-fd-abuse.c:1561:41: style: Parameter 'fd' can be declared as pointer to const. However it seems that 'stress_fd_read' is a callback function, if 'fd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] stress-ng-0.21.00/stress-fd-abuse.c:2022:2: note: You might need to cast the function pointer here stress-ng-0.21.00/stress-fd-abuse.c:1561:41: note: Parameter 'fd' can be declared as pointer to const stress-ng-0.21.00/stress-fd-abuse.c:1574:42: style: Parameter 'fd' can be declared as pointer to const. However it seems that 'stress_fd_write' is a callback function, if 'fd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] stress-ng-0.21.00/stress-fd-abuse.c:2023:2: note: You might need to cast the function pointer here stress-ng-0.21.00/stress-fd-abuse.c:1574:42: note: Parameter 'fd' can be declared as pointer to const stress-ng-0.21.00/stress-fd-fork.c:138:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-fd-fork.c:47:12: style: struct member 'stress_fd_file_t::fd_type' is never used. [unusedStructMember] stress-ng-0.21.00/stress-fd-race.c:52:34: style: struct member 'stress_fd_race_filename::next' is never used. [unusedStructMember] stress-ng-0.21.00/stress-fd-race.c:53:8: style: struct member 'stress_fd_race_filename::filename' is never used. [unusedStructMember] stress-ng-0.21.00/stress-fd-race.c:54:6: style: struct member 'stress_fd_race_filename::flags' is never used. [unusedStructMember] stress-ng-0.21.00/stress-fibsearch.c:108:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-file-ioctl.c:284:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-filename.c:84:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRUSR [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-filename.c:148:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRUSR [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-filename.c:293:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-filename.c:502:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-filename.c:602:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRUSR [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-filename.c:659:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRUSR [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-filename.c:736:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRWXU [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-filename.c:340:12: style: Condition 'ch>0' is always true [knownConditionTrueFalse] stress-ng-0.21.00/stress-filename.c:339:36: note: Assignment 'ch=stress_mwc32modn(0x10fffe)+1', assigned value is greater than 0 stress-ng-0.21.00/stress-filename.c:340:12: note: Condition 'ch>0' is always true stress-ng-0.21.00/stress-filename.c:769:13: style: Condition 'sz_max==0' is always false [knownConditionTrueFalse] stress-ng-0.21.00/stress-filename.c:765:11: note: Assignment 'sz_max=256', assigned value is 256 stress-ng-0.21.00/stress-filename.c:769:13: note: Condition 'sz_max==0' is always false stress-ng-0.21.00/stress-filename.c:71:8: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] stress-ng-0.21.00/stress-filename.c:118:8: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] stress-ng-0.21.00/stress-filename.c:483:17: style: Variable 'd' can be declared as pointer to const [constVariablePointer] stress-ng-0.21.00/stress-filerace.c:216:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRUSR [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-filerace.c:377:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-filerace.c:552:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRUSR [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-filerace.c:567:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-filerace.c:578:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_APPEND [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-filerace.c:651:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-filerace.c:1404:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRUSR [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-filerace.c:1620:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRWXU [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-filerace.c:200:2: error: Invalid lseek() argument nr 3. The value is 3 but the valid values are '0:2'. [invalidFunctionArg] stress-ng-0.21.00/stress-filerace.c:209:2: error: Invalid lseek() argument nr 3. The value is 4 but the valid values are '0:2'. [invalidFunctionArg] stress-ng-0.21.00/stress-fma.c:529:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-fork.c:318:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-forkheavy.c:270:74: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-fp.c:673:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-fractal.c:349:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-fractal.c:164:8: style:inconclusive: Boolean expression 'end0' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] stress-ng-0.21.00/stress-fractal.c:176:13: style:inconclusive: Boolean expression 'end0' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] stress-ng-0.21.00/stress-fractal.c:244:8: style:inconclusive: Boolean expression 'end0' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] stress-ng-0.21.00/stress-fractal.c:256:13: style:inconclusive: Boolean expression 'end0' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] stress-ng-0.21.00/stress-fstat.c:125:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-fstat.c:301:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-get.c:65:12: style: struct member 'stress_rusage_t::who' is never used. [unusedStructMember] stress-ng-0.21.00/stress-get.c:66:14: style: struct member 'stress_rusage_t::name' is never used. [unusedStructMember] stress-ng-0.21.00/stress-hdd.c:208:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-hdd.c:339:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-hdd.c:559:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-hdd.c:701:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-hdd.c:565:27: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] stress-ng-0.21.00/stress-hdd.c:474:2: error: Invalid read() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] stress-ng-0.21.00/stress-hdd.c:540:2: error: Invalid write() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] stress-ng-0.21.00/stress-hdd.c:887:50: style: Condition 'stress_hdd_advise(args,fd,fadvise_flags)<0' is always false [knownConditionTrueFalse] stress-ng-0.21.00/stress-hdd.c:887:24: note: Calling function 'stress_hdd_advise' returns 0 stress-ng-0.21.00/stress-hdd.c:887:50: note: Condition 'stress_hdd_advise(args,fd,fadvise_flags)<0' is always false stress-ng-0.21.00/stress-hdd.c:562:3: style: Statements following noreturn function 'longjmp()' will never be executed. [unreachableCode] stress-ng-0.21.00/stress-hdd.c:585:8: style: Statements following noreturn function 'longjmp()' will never be executed. [unreachableCode] stress-ng-0.21.00/stress-hdd.c:604:4: style: Statements following noreturn function 'longjmp()' will never be executed. [unreachableCode] stress-ng-0.21.00/stress-hdd.c:192:11: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] stress-ng-0.21.00/stress-hdd.c:481:61: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] stress-ng-0.21.00/stress-hdd.c:549:20: style: Variable 'token' can be declared as pointer to const [constVariablePointer] stress-ng-0.21.00/stress-heapsort.c:64:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-heapsort.c:196:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-hsearch.c:80:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-insertionsort.c:123:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-intmath.c:664:6: style: The if condition is the same as the previous if condition [duplicateCondition] stress-ng-0.21.00/stress-intmath.c:656:6: note: First condition stress-ng-0.21.00/stress-intmath.c:664:6: note: Second condition stress-ng-0.21.00/stress-iomix.c:141:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-iomix.c:210:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-iomix.c:251:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-iomix.c:308:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-iomix.c:373:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-iomix.c:410:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-iomix.c:546:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-iomix.c:587:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-iomix.c:631:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-iomix.c:683:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-iomix.c:1100:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-ioport.c:36:17: style: struct member 'stress_ioport_opts_t::flag' is never used. [unusedStructMember] stress-ng-0.21.00/stress-ioport.c:41:23: style: struct member 'stress_ioport_port_t::port' is never used. [unusedStructMember] stress-ng-0.21.00/stress-jpeg.c:48:13: style: struct member 'jpeg_image_type_t::type' is never used. [unusedStructMember] stress-ng-0.21.00/stress-kill.c:97:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-l1cache.c:529:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-l1cache.c:217:4: warning:inconclusive: Found suspicious operator '*', result is not used. [constStatement] stress-ng-0.21.00/stress-l1cache.c:301:4: warning:inconclusive: Found suspicious operator '*', result is not used. [constStatement] stress-ng-0.21.00/stress-l1cache.c:340:4: warning:inconclusive: Found suspicious operator '*', result is not used. [constStatement] stress-ng-0.21.00/stress-l1cache.c:287:18: style: Variable 'cache_end' can be declared as pointer to const [constVariablePointer] stress-ng-0.21.00/stress-l1cache.c:326:18: style: Variable 'cache_end' can be declared as pointer to const [constVariablePointer] stress-ng-0.21.00/stress-link.c:119:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-list.c:172:26: style: Variable 'find' can be declared as pointer to const [constVariablePointer] stress-ng-0.21.00/stress-logmath.c:577:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-logmath.c:36:14: style: struct member 'stress_logmath_method_t::name' is never used. [unusedStructMember] stress-ng-0.21.00/stress-logmath.c:37:9: style: struct member 'stress_logmath_method_t::logmath_func' is never used. [unusedStructMember] stress-ng-0.21.00/stress-longjmp.c:44:2: style:inconclusive: Statements following noreturn function 'longjmp()' will never be executed. [unreachableCode] stress-ng-0.21.00/stress-longjmp.c:52:2: style:inconclusive: Statements following noreturn function 'longjmp()' will never be executed. [unreachableCode] stress-ng-0.21.00/stress-lsearch.c:55:10: style: Parameter 'nmemb' can be declared as pointer to const. However it seems that 'lfind_nonlibc' is a callback function, if 'nmemb' is declared with const you might also need to cast function pointer(s). [constParameterCallback] stress-ng-0.21.00/stress-lsearch.c:136:23: note: You might need to cast the function pointer here stress-ng-0.21.00/stress-lsearch.c:55:10: note: Parameter 'nmemb' can be declared as pointer to const stress-ng-0.21.00/stress-lsearch.c:88:10: style: Parameter 'nmemb' can be declared as pointer to const. However it seems that 'lfind_sentinel' is a callback function, if 'nmemb' is declared with const you might also need to cast function pointer(s). [constParameterCallback] stress-ng-0.21.00/stress-lsearch.c:137:24: note: You might need to cast the function pointer here stress-ng-0.21.00/stress-lsearch.c:88:10: note: Parameter 'nmemb' can be declared as pointer to const stress-ng-0.21.00/stress-malloc.c:51:13: style: struct member 'stress_malloc_info_t::addr' is never used. [unusedStructMember] stress-ng-0.21.00/stress-malloc.c:52:9: style: struct member 'stress_malloc_info_t::len' is never used. [unusedStructMember] stress-ng-0.21.00/stress-malloc.c:64:17: style: struct member 'stress_malloc_args_t::args' is never used. [unusedStructMember] stress-ng-0.21.00/stress-malloc.c:65:9: style: struct member 'stress_malloc_args_t::instance' is never used. [unusedStructMember] stress-ng-0.21.00/stress-malloc.c:66:6: style: struct member 'stress_malloc_args_t::rc' is never used. [unusedStructMember] stress-ng-0.21.00/stress-memcpy.c:307:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-memrate.c:952:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-memrate.c:1083:82: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-mergesort.c:204:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-mergesort.c:293:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-mergesort.c:123:8: style: Condition 'n>0' is always false [knownConditionTrueFalse] stress-ng-0.21.00/stress-mergesort.c:110:14: note: Assuming that condition 'lhs0' is always false stress-ng-0.21.00/stress-mergesort.c:128:8: style: Condition 'n>0' is always false [knownConditionTrueFalse] stress-ng-0.21.00/stress-mergesort.c:110:33: note: Assuming that condition 'rhs0' is always false stress-ng-0.21.00/stress-mergesort.c:60:21: style: Variable 'u32p2' can be declared as pointer to const [constVariablePointer] stress-ng-0.21.00/stress-mergesort.c:70:20: style: Variable 'u8p2' can be declared as pointer to const [constVariablePointer] stress-ng-0.21.00/stress-mergesort.c:89:36: style: Variable 'rhs_end' can be declared as pointer to const [constVariablePointer] stress-ng-0.21.00/stress-mergesort.c:147:36: style: Variable 'rhs_end' can be declared as pointer to const [constVariablePointer] stress-ng-0.21.00/stress-metamix.c:96:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-min-nanosleep.c:36:11: style: struct member 'nanosleep_delay_t::nsec' is never used. [unusedStructMember] stress-ng-0.21.00/stress-min-nanosleep.c:37:11: style: struct member 'nanosleep_delay_t::min_nsec' is never used. [unusedStructMember] stress-ng-0.21.00/stress-min-nanosleep.c:38:11: style: struct member 'nanosleep_delay_t::max_nsec' is never used. [unusedStructMember] stress-ng-0.21.00/stress-min-nanosleep.c:39:11: style: struct member 'nanosleep_delay_t::count' is never used. [unusedStructMember] stress-ng-0.21.00/stress-min-nanosleep.c:40:11: style: struct member 'nanosleep_delay_t::sum_nsec' is never used. [unusedStructMember] stress-ng-0.21.00/stress-min-nanosleep.c:41:9: style: struct member 'nanosleep_delay_t::mean' is never used. [unusedStructMember] stress-ng-0.21.00/stress-min-nanosleep.c:42:7: style: struct member 'nanosleep_delay_t::updated' is never used. [unusedStructMember] stress-ng-0.21.00/stress-min-nanosleep.c:49:20: style: struct member 'nanosleep_delays_t::delay' is never used. [unusedStructMember] stress-ng-0.21.00/stress-min-nanosleep.c:50:8: style: struct member 'nanosleep_delays_t::pid' is never used. [unusedStructMember] stress-ng-0.21.00/stress-min-nanosleep.c:51:7: style: struct member 'nanosleep_delays_t::started' is never used. [unusedStructMember] stress-ng-0.21.00/stress-min-nanosleep.c:52:7: style: struct member 'nanosleep_delays_t::finished' is never used. [unusedStructMember] stress-ng-0.21.00/stress-mmapaddr.c:66:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-mmapaddr.c:98:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-mmapaddr.c:134:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAP_PRIVATE [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-mmapaddr.c:82:17: style: Parameter 'args' can be declared as pointer to const [constParameterPointer] stress-ng-0.21.00/stress-mmapaddr.c:128:12: style: Variable 'addr' can be declared as pointer to const [constVariablePointer] stress-ng-0.21.00/stress-mmapaddr.c:134:13: style: Variable 'mmap_flags' is assigned a value that is never used. [unreadVariable] stress-ng-0.21.00/stress-mmapfiles.c:76:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAP_PRIVATE [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-mmapfiles.c:241:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-mmapfixed.c:137:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAP_FIXED [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-mmapfixed.c:72:12: style: Condition 'n>0' is always true [knownConditionTrueFalse] stress-ng-0.21.00/stress-mmapfixed.c:64:10: note: Assuming that condition 'len>0' is not redundant stress-ng-0.21.00/stress-mmapfixed.c:65:12: note: n is assigned 'len' here. stress-ng-0.21.00/stress-mmapfixed.c:72:12: note: Condition 'n>0' is always true stress-ng-0.21.00/stress-mmapfixed.c:254:15: style: The comparison 'rc == 0' is always true. [knownConditionTrueFalse] stress-ng-0.21.00/stress-mmapfixed.c:126:11: note: 'rc' is assigned value '0' here. stress-ng-0.21.00/stress-mmapfixed.c:254:15: note: The comparison 'rc == 0' is always true. stress-ng-0.21.00/stress-mmapfixed.c:127:20: style: Variable 'info' can be declared as pointer to const [constVariablePointer] stress-ng-0.21.00/stress-mmapmany.c:55:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _SC_MAPPED_FILES [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-mmapmany.c:122:5: warning: If memory allocation fails, then there is a possible null pointer dereference: ptr [nullPointerOutOfMemory] stress-ng-0.21.00/stress-mmapmany.c:110:26: note: Assuming allocation function fails stress-ng-0.21.00/stress-mmapmany.c:110:10: note: Assignment 'ptr=(uint64_t*)mmap(NULL,page_size*3,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0)', assigned value is 0 stress-ng-0.21.00/stress-mmapmany.c:122:5: note: Null pointer dereference stress-ng-0.21.00/stress-mmaprandom.c:116:6: style: struct member 'fd_info_t::fd' is never used. [unusedStructMember] stress-ng-0.21.00/stress-mmaprandom.c:117:6: style: struct member 'fd_info_t::mode' is never used. [unusedStructMember] stress-ng-0.21.00/stress-monte-carlo.c:37:9: style: struct member 'stress_monte_carlo_rand_info_t::seed' is never used. [unusedStructMember] stress-ng-0.21.00/stress-mseal.c:52:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-mseal.c:72:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-mseal.c:117:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EPERM [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-mseal.c:162:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-mseal.c:173:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-mseal.c:182:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-mseal.c:238:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAP_PRIVATE [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-mseal.c:255:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-mseal.c:328:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-mseal.c:340:14: warning: If memory allocation fails, then there is a possible null pointer dereference: no_mapping [nullPointerOutOfMemory] stress-ng-0.21.00/stress-mseal.c:337:19: note: Assuming allocation function fails stress-ng-0.21.00/stress-mseal.c:337:19: note: Assignment 'no_mapping=mmap(NULL,mapping_size,PROT_READ|PROT_WRITE,MAP_ANONYMOUS|MAP_PRIVATE,-1,0)', assigned value is 0 stress-ng-0.21.00/stress-mseal.c:340:14: note: Null pointer dereference stress-ng-0.21.00/stress-mseal.c:45:8: style: Parameter 'addr' can be declared as pointer to const [constParameterPointer] stress-ng-0.21.00/stress-mseal.c:47:8: style: Parameter 'expect_addr' can be declared as pointer to const [constParameterPointer] stress-ng-0.21.00/stress-munmap.c:30:17: style: struct member 'munmap_context_t::args' is never used. [unusedStructMember] stress-ng-0.21.00/stress-munmap.c:31:9: style: struct member 'munmap_context_t::page_shift' is never used. [unusedStructMember] stress-ng-0.21.00/stress-munmap.c:32:8: style: struct member 'munmap_context_t::exec_path' is never used. [unusedStructMember] stress-ng-0.21.00/stress-munmap.c:33:9: style: struct member 'munmap_context_t::duration' is never used. [unusedStructMember] stress-ng-0.21.00/stress-munmap.c:34:9: style: struct member 'munmap_context_t::count' is never used. [unusedStructMember] stress-ng-0.21.00/stress-nanosleep.c:42:6: style: struct member 'stress_nanosleep_method_t::mask' is never used. [unusedStructMember] stress-ng-0.21.00/stress-ng.c:885:30: error: There is an unknown macro here somewhere. Configuration is required. If VERSION is a macro then please configure it. [unknownMacro] stress-ng-0.21.00/stress-null.c:65:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-numacopy.c:44:9: style: struct member 'stress_numacopy_metric::duration' is never used. [unusedStructMember] stress-ng-0.21.00/stress-numacopy.c:45:9: style: struct member 'stress_numacopy_metric::rate' is never used. [unusedStructMember] stress-ng-0.21.00/stress-numacopy.c:51:12: style: struct member 'stress_numacopy_mode::mode' is never used. [unusedStructMember] stress-ng-0.21.00/stress-open.c:258:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-open.c:314:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tv_usec [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-open.c:423:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-open.c:463:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-open.c:1059:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-open.c:1113:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-open.c:169:14: style: The comparison 'max_fds == 0' is always true. [knownConditionTrueFalse] stress-ng-0.21.00/stress-open.c:153:19: note: 'max_fds' is assigned value '0' here. stress-ng-0.21.00/stress-open.c:169:14: note: The comparison 'max_fds == 0' is always true. stress-ng-0.21.00/stress-pagemove.c:45:9: style: struct member 'page_info_t::virt_addr' is never used. [unusedStructMember] stress-ng-0.21.00/stress-pagemove.c:46:9: style: struct member 'page_info_t::page_num' is never used. [unusedStructMember] stress-ng-0.21.00/stress-pagemove.c:47:10: style: struct member 'page_info_t::bitmask' is never used. [unusedStructMember] stress-ng-0.21.00/stress-pageswap.c:39:20: style: struct member 'page_info::self' is never used. [unusedStructMember] stress-ng-0.21.00/stress-pageswap.c:40:20: style: struct member 'page_info::next' is never used. [unusedStructMember] stress-ng-0.21.00/stress-pageswap.c:41:9: style: struct member 'page_info::size' is never used. [unusedStructMember] stress-ng-0.21.00/stress-pipe.c:126:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-pipe.c:177:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-pipe.c:364:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-pipe.c:406:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-pipe.c:578:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-pipe.c:352:8: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] stress-ng-0.21.00/stress-pipeherd.c:60:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-pipeherd.c:114:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-pipeherd.c:50:54: style: Parameter 'args' can be declared as pointer to const [constParameterPointer] stress-ng-0.21.00/stress-plugin.c:441:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-powmath.c:36:14: style: struct member 'stress_powmath_method_t::name' is never used. [unusedStructMember] stress-ng-0.21.00/stress-powmath.c:37:9: style: struct member 'stress_powmath_method_t::powmath_func' is never used. [unusedStructMember] stress-ng-0.21.00/stress-prefetch.c:422:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-prefetch.c:0:0: debug: ValueFlow maximum iterations exceeded [valueFlowMaxIterations] stress-ng-0.21.00/stress-prefetch.c:380:12: warning: If memory allocation fails, then there is a possible null pointer dereference: l3_data++ [nullPointerOutOfMemory] stress-ng-0.21.00/stress-prefetch.c:421:28: note: Assuming allocation function fails stress-ng-0.21.00/stress-prefetch.c:421:12: note: Assignment 'l3_data=(uint64_t*)mmap(NULL,l3_data_mmap_size,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0)', assigned value is 0 stress-ng-0.21.00/stress-prefetch.c:437:43: note: Calling function 'stress_prefetch_data_set', 1st argument 'l3_data' value is 0 stress-ng-0.21.00/stress-prefetch.c:380:12: note: Null pointer dereference stress-ng-0.21.00/stress-prefetch.c:380:12: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] stress-ng-0.21.00/stress-prefetch.c:421:28: note: Assuming allocation function fails stress-ng-0.21.00/stress-prefetch.c:421:12: note: Assignment 'l3_data=(uint64_t*)mmap(NULL,l3_data_mmap_size,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS,-1,0)', assigned value is 0 stress-ng-0.21.00/stress-prefetch.c:437:43: note: Calling function 'stress_prefetch_data_set', 1st argument 'l3_data' value is 0 stress-ng-0.21.00/stress-prefetch.c:380:12: note: Null pointer addition stress-ng-0.21.00/stress-prefetch.c:241:21: style: Parameter 'l3_data_end' can be declared as pointer to const [constParameterPointer] stress-ng-0.21.00/stress-prefetch.c:57:6: style: struct member 'stress_prefetch_method_t::method' is never used. [unusedStructMember] stress-ng-0.21.00/stress-prio-inv.c:104:13: style: struct member 'stress_prio_inv_options_t::value' is never used. [unusedStructMember] stress-ng-0.21.00/stress-prio-inv.c:108:6: style: struct member 'stress_prio_inv_child_info_t::prio' is never used. [unusedStructMember] stress-ng-0.21.00/stress-prio-inv.c:109:6: style: struct member 'stress_prio_inv_child_info_t::niceness' is never used. [unusedStructMember] stress-ng-0.21.00/stress-prio-inv.c:110:8: style: struct member 'stress_prio_inv_child_info_t::pid' is never used. [unusedStructMember] stress-ng-0.21.00/stress-prio-inv.c:111:9: style: struct member 'stress_prio_inv_child_info_t::usage' is never used. [unusedStructMember] stress-ng-0.21.00/stress-priv-instr.c:34:14: style: struct member 'op_info_t::instr' is never used. [unusedStructMember] stress-ng-0.21.00/stress-priv-instr.c:35:18: style: struct member 'op_info_t::op_func' is never used. [unusedStructMember] stress-ng-0.21.00/stress-priv-instr.c:36:7: style: struct member 'op_info_t::invalid' is never used. [unusedStructMember] stress-ng-0.21.00/stress-priv-instr.c:37:7: style: struct member 'op_info_t::trapped' is never used. [unusedStructMember] stress-ng-0.21.00/stress-pseek.c:129:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-pseek.c:201:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-pseek.c:332:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-pseek.c:384:73: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-pseek.c:349:24: style: Parameter 'proc' can be declared as pointer to const [constParameterPointer] stress-ng-0.21.00/stress-ptr-chase.c:83:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-qsort.c:170:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-race-sched.c:48:14: style: struct member 'stress_race_sched_method_t::method' is never used. [unusedStructMember] stress-ng-0.21.00/stress-race-sched.c:52:28: style: struct member 'stress_race_sched::next' is never used. [unusedStructMember] stress-ng-0.21.00/stress-race-sched.c:53:8: style: struct member 'stress_race_sched::pid' is never used. [unusedStructMember] stress-ng-0.21.00/stress-race-sched.c:54:11: style: struct member 'stress_race_sched::cpu_idx' is never used. [unusedStructMember] stress-ng-0.21.00/stress-race-sched.c:58:29: style: struct member 'stress_race_sched_list_t::head' is never used. [unusedStructMember] stress-ng-0.21.00/stress-race-sched.c:59:29: style: struct member 'stress_race_sched_list_t::tail' is never used. [unusedStructMember] stress-ng-0.21.00/stress-race-sched.c:60:29: style: struct member 'stress_race_sched_list_t::free' is never used. [unusedStructMember] stress-ng-0.21.00/stress-race-sched.c:61:11: style: struct member 'stress_race_sched_list_t::length' is never used. [unusedStructMember] stress-ng-0.21.00/stress-radixsort.c:128:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-randlist.c:216:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-rename.c:256:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-revio.c:196:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-revio.c:310:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-revio.c:201:27: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] stress-ng-0.21.00/stress-revio.c:404:7: style: Condition 'stress_revio_advise(args,fd,fadvise_flags)<0' is always false [knownConditionTrueFalse] stress-ng-0.21.00/stress-revio.c:404:7: note: Calling function 'stress_revio_advise' returns 0 stress-ng-0.21.00/stress-revio.c:404:7: note: Condition 'stress_revio_advise(args,fd,fadvise_flags)<0' is always false stress-ng-0.21.00/stress-revio.c:198:3: style: Statements following noreturn function 'longjmp()' will never be executed. [unreachableCode] stress-ng-0.21.00/stress-revio.c:221:8: style: Statements following noreturn function 'longjmp()' will never be executed. [unreachableCode] stress-ng-0.21.00/stress-revio.c:240:4: style: Statements following noreturn function 'longjmp()' will never be executed. [unreachableCode] stress-ng-0.21.00/stress-revio.c:141:11: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] stress-ng-0.21.00/stress-ring-pipe.c:34:6: style: struct member 'pipe_fds_t::fds' is never used. [unusedStructMember] stress-ng-0.21.00/stress-rmap.c:248:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-sctp.c:52:12: style: struct member 'stress_sctp_sched_t::sched_type' is never used. [unusedStructMember] stress-ng-0.21.00/stress-seek.c:127:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-seek.c:54:27: warning: Invalid lseek() argument nr 3. The value is 4 but the valid values are '0:2'. [invalidFunctionArg] stress-ng-0.21.00/stress-seek.c:288:7: note: Calling function 'stress_shim_lseek', 3rd argument '4' value is 4 stress-ng-0.21.00/stress-seek.c:54:27: note: Invalid argument stress-ng-0.21.00/stress-seek.c:360:3: error: Invalid lseek() argument nr 3. The value is 3 but the valid values are '0:2'. [invalidFunctionArg] stress-ng-0.21.00/stress-seek.c:364:3: error: Invalid lseek() argument nr 3. The value is 4 but the valid values are '0:2'. [invalidFunctionArg] stress-ng-0.21.00/stress-seek.c:369:3: error: Invalid lseek() argument nr 3. The value is -1 but the valid values are '0:2'. [invalidFunctionArg] stress-ng-0.21.00/stress-session.c:67:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-session.c:89:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-session.c:130:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-session.c:186:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-set.c:503:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-shellsort.c:107:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-shm.c:38:10: style: struct member 'stress_shm_msg_t::index' is never used. [unusedStructMember] stress-ng-0.21.00/stress-shm.c:39:7: style: struct member 'stress_shm_msg_t::shm_name' is never used. [unusedStructMember] stress-ng-0.21.00/stress-sigabrt.c:43:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-sigabrt.c:68:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-sigchld.c:87:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-sigchld.c:38:13: style: Parameter 'info' can be declared as pointer to const. However it seems that 'stress_sigchld_handler' is a callback function, if 'info' is declared with const you might also need to cast function pointer(s). [constParameterCallback] stress-ng-0.21.00/stress-sigchld.c:81:20: note: You might need to cast the function pointer here stress-ng-0.21.00/stress-sigchld.c:38:13: note: Parameter 'info' can be declared as pointer to const stress-ng-0.21.00/stress-sighup.c:43:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-sighup.c:63:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-sighup.c:116:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-sighup.c:228:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-sighup.c:98:40: style: Parameter 'fds' can be declared as const array [constParameter] stress-ng-0.21.00/stress-signal.c:85:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-sigpending.c:46:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_SETMASK [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-sigpipe.c:60:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-sigsuspend.c:58:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_BLOCK [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-sigtrap.c:36:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-sigtrap.c:81:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-skiplist.c:122:12: style: Variable 'skip_node->value' is assigned an expression that holds the same value. [redundantAssignment] stress-ng-0.21.00/stress-skiplist.c:121:12: note: Assuming that condition 'value==skip_node->value' is not redundant stress-ng-0.21.00/stress-skiplist.c:122:12: note: Variable 'skip_node->value' is assigned an expression that holds the same value. stress-ng-0.21.00/stress-sock.c:175:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-sock.c:542:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-sock.c:927:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINTR [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-sock.c:980:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-sock.c:1359:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-sock.c:190:33: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] stress-ng-0.21.00/stress-sock.c:336:3: error: Invalid recv() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] stress-ng-0.21.00/stress-sock.c:1365:39: style: Assigned value 'stress_sock_kernel_rt()' is always true [knownConditionTrueFalse] stress-ng-0.21.00/stress-sock.c:1365:39: note: Calling function 'stress_sock_kernel_rt' returns 1 stress-ng-0.21.00/stress-sock.c:1365:39: note: Assigned value 'stress_sock_kernel_rt()' is always true stress-ng-0.21.00/stress-sock.c:903:25: style: The comparison 'inq_samples > 0' is always false. [knownConditionTrueFalse] stress-ng-0.21.00/stress-sock.c:506:40: note: 'inq_samples' is assigned value '0' here. stress-ng-0.21.00/stress-sock.c:903:25: note: The comparison 'inq_samples > 0' is always false. stress-ng-0.21.00/stress-sock.c:903:50: style: Same expression on both sides of '/' because '(double)inq_bytes' and '(double)inq_samples' represent the same value. [duplicateExpression] stress-ng-0.21.00/stress-sock.c:506:23: note: 'inq_bytes' is assigned value '0' here. stress-ng-0.21.00/stress-sock.c:506:40: note: 'inq_samples' is assigned value '0' here. stress-ng-0.21.00/stress-sock.c:903:50: note: Same expression on both sides of '/' because '(double)inq_bytes' and '(double)inq_samples' represent the same value. stress-ng-0.21.00/stress-sock.c:1303:25: style: The comparison 'outq_samples > 0' is always false. [knownConditionTrueFalse] stress-ng-0.21.00/stress-sock.c:961:42: note: 'outq_samples' is assigned value '0' here. stress-ng-0.21.00/stress-sock.c:1303:25: note: The comparison 'outq_samples > 0' is always false. stress-ng-0.21.00/stress-sock.c:1303:51: style: Same expression on both sides of '/' because '(double)outq_bytes' and '(double)outq_samples' represent the same value. [duplicateExpression] stress-ng-0.21.00/stress-sock.c:961:24: note: 'outq_bytes' is assigned value '0' here. stress-ng-0.21.00/stress-sock.c:961:42: note: 'outq_samples' is assigned value '0' here. stress-ng-0.21.00/stress-sock.c:1303:51: note: Same expression on both sides of '/' because '(double)outq_bytes' and '(double)outq_samples' represent the same value. stress-ng-0.21.00/stress-sockabuse.c:492:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHUT_RDWR [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-sockabuse.c:663:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-sockabuse.c:728:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-sockabuse.c:880:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-sockabuse.c:622:16: warning: If memory allocation fails, then there is a possible null pointer dereference: ptr [nullPointerOutOfMemory] stress-ng-0.21.00/stress-sockabuse.c:620:12: note: Assuming allocation function fails stress-ng-0.21.00/stress-sockabuse.c:620:12: note: Assignment 'ptr=mmap(NULL,4096,PROT_READ,MAP_SHARED,fd,0)', assigned value is 0 stress-ng-0.21.00/stress-sockabuse.c:622:16: note: Null pointer dereference stress-ng-0.21.00/stress-sockabuse.c:625:16: warning: If memory allocation fails, then there is a possible null pointer dereference: ptr [nullPointerOutOfMemory] stress-ng-0.21.00/stress-sockabuse.c:623:12: note: Assuming allocation function fails stress-ng-0.21.00/stress-sockabuse.c:623:12: note: Assignment 'ptr=mmap(NULL,4096,PROT_READ,MAP_PRIVATE,fd,0)', assigned value is 0 stress-ng-0.21.00/stress-sockabuse.c:625:16: note: Null pointer dereference stress-ng-0.21.00/stress-sockabuse.c:471:52: style: Parameter 'args' can be declared as pointer to const [constParameterPointer] stress-ng-0.21.00/stress-sockabuse.c:539:8: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] stress-ng-0.21.00/stress-sockmany.c:72:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHUT_RDWR [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-sockmany.c:116:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-sockmany.c:194:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-sockmany.c:327:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-sockpair.c:145:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_STREAM [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-sockpair.c:86:6: style: Parameter 'fds' can be declared as const array [constParameter] stress-ng-0.21.00/stress-sparsematrix.c:1220:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-sparsematrix.c:240:2: error: Memory leak: table.table [memleak] stress-ng-0.21.00/stress-sparsematrix.c:388:2: error: Memory leak: table.table [memleak] stress-ng-0.21.00/stress-spinmem.c:274:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-stack.c:35:29: style: struct member 'stress_stack_check::prev' is never used. [unusedStructMember] stress-ng-0.21.00/stress-stack.c:36:29: style: struct member 'stress_stack_check::self_addr' is never used. [unusedStructMember] stress-ng-0.21.00/stress-stream.c:895:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-stream.c:98:29: portability:inconclusive: Casting from const double * to const unsigned char * is not portable due to different binary data representations on different platforms. [invalidPointerCast] stress-ng-0.21.00/stress-stream.c:842:25: style: Variable 'ptr_end' can be declared as pointer to const [constVariablePointer] stress-ng-0.21.00/stress-stream.c:933:22: style: Variable 'cache' can be declared as pointer to const [constVariablePointer] stress-ng-0.21.00/stress-stream.c:56:12: style: struct member 'stress_stream_madvise_info_t::advice' is never used. [unusedStructMember] stress-ng-0.21.00/stress-switch.c:160:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-sysbadaddr.c:510:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-sysbadaddr.c:764:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-sysbadaddr.c:890:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RLIMIT_CPU [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-sysbadaddr.c:927:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-sysbadaddr.c:1433:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-sysbadaddr.c:1637:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-sysbadaddr.c:1878:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RLIMIT_CPU [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-sysbadaddr.c:2070:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-sysbadaddr.c:2498:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-sysbadaddr.c:2557:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-sysbadaddr.c:226:42: style: Parameter 'args' can be declared as pointer to const. However it seems that 'bad_end_addr' is a callback function, if 'args' is declared with const you might also need to cast function pointer(s). [constParameterCallback] stress-ng-0.21.00/stress-sysbadaddr.c:277:4: note: You might need to cast the function pointer here stress-ng-0.21.00/stress-sysbadaddr.c:226:42: note: Parameter 'args' can be declared as pointer to const stress-ng-0.21.00/stress-sysbadaddr.c:238:43: style: Parameter 'args' can be declared as pointer to const. However it seems that 'unmapped_addr' is a callback function, if 'args' is declared with const you might also need to cast function pointer(s). [constParameterCallback] stress-ng-0.21.00/stress-sysbadaddr.c:279:4: note: You might need to cast the function pointer here stress-ng-0.21.00/stress-sysbadaddr.c:238:43: note: Parameter 'args' can be declared as pointer to const stress-ng-0.21.00/stress-sysbadaddr.c:286:43: style: Parameter 'ba' can be declared as pointer to const. However it seems that 'bad_access' is a callback function, if 'ba' is declared with const you might also need to cast function pointer(s). [constParameterCallback] stress-ng-0.21.00/stress-sysbadaddr.c:2099:2: note: You might need to cast the function pointer here stress-ng-0.21.00/stress-sysbadaddr.c:286:43: note: Parameter 'ba' can be declared as pointer to const stress-ng-0.21.00/stress-sysbadaddr.c:304:41: style: Parameter 'ba' can be declared as pointer to const. However it seems that 'bad_bind' is a callback function, if 'ba' is declared with const you might also need to cast function pointer(s). [constParameterCallback] stress-ng-0.21.00/stress-sysbadaddr.c:2103:2: note: You might need to cast the function pointer here stress-ng-0.21.00/stress-sysbadaddr.c:304:41: note: Parameter 'ba' can be declared as pointer to const stress-ng-0.21.00/stress-sysbadaddr.c:322:42: style: Parameter 'ba' can be declared as pointer to const. However it seems that 'bad_chdir' is a callback function, if 'ba' is declared with const you might also need to cast function pointer(s). [constParameterCallback] stress-ng-0.21.00/stress-sysbadaddr.c:2109:2: note: You might need to cast the function pointer here stress-ng-0.21.00/stress-sysbadaddr.c:322:42: note: Parameter 'ba' can be declared as pointer to const stress-ng-0.21.00/stress-sysbadaddr.c:330:42: style: Parameter 'ba' can be declared as pointer to const. However it seems that 'bad_chmod' is a callback function, if 'ba' is declared with const you might also need to cast function pointer(s). [constParameterCallback] stress-ng-0.21.00/stress-sysbadaddr.c:2110:2: note: You might need to cast the function pointer here stress-ng-0.21.00/stress-sysbadaddr.c:330:42: note: Parameter 'ba' can be declared as pointer to const stress-ng-0.21.00/stress-sysbadaddr.c:338:42: style: Parameter 'ba' can be declared as pointer to const. However it seems that 'bad_chown' is a callback function, if 'ba' is declared with const you might also need to cast function pointer(s). [constParameterCallback] stress-ng-0.21.00/stress-sysbadaddr.c:2111:2: note: You might need to cast the function pointer here stress-ng-0.21.00/stress-sysbadaddr.c:338:42: note: Parameter 'ba' can be declared as pointer to const stress-ng-0.21.00/stress-sysbadaddr.c:506:44: style: Parameter 'ba' can be declared as pointer to const. However it seems that 'bad_connect' is a callback function, if 'ba' is declared with const you might also need to cast function pointer(s). [constParameterCallback] stress-ng-0.21.00/stress-sysbadaddr.c:2141:2: note: You might need to cast the function pointer here stress-ng-0.21.00/stress-sysbadaddr.c:506:44: note: Parameter 'ba' can be declared as pointer to const stress-ng-0.21.00/stress-sysbadaddr.c:750:49: style: Parameter 'ba' can be declared as pointer to const. However it seems that 'bad_getpeername2' is a callback function, if 'ba' is declared with const you might also need to cast function pointer(s). [constParameterCallback] stress-ng-0.21.00/stress-sysbadaddr.c:2183:2: note: You might need to cast the function pointer here stress-ng-0.21.00/stress-sysbadaddr.c:750:49: note: Parameter 'ba' can be declared as pointer to const stress-ng-0.21.00/stress-sysbadaddr.c:1010:43: style: Parameter 'ba' can be declared as pointer to const. However it seems that 'bad_lchown' is a callback function, if 'ba' is declared with const you might also need to cast function pointer(s). [constParameterCallback] stress-ng-0.21.00/stress-sysbadaddr.c:2220:2: note: You might need to cast the function pointer here stress-ng-0.21.00/stress-sysbadaddr.c:1010:43: note: Parameter 'ba' can be declared as pointer to const stress-ng-0.21.00/stress-sysbadaddr.c:1026:42: style: Parameter 'ba' can be declared as pointer to const. However it seems that 'bad_link2' is a callback function, if 'ba' is declared with const you might also need to cast function pointer(s). [constParameterCallback] stress-ng-0.21.00/stress-sysbadaddr.c:2222:2: note: You might need to cast the function pointer here stress-ng-0.21.00/stress-sysbadaddr.c:1026:42: note: Parameter 'ba' can be declared as pointer to const stress-ng-0.21.00/stress-sysbadaddr.c:1034:42: style: Parameter 'ba' can be declared as pointer to const. However it seems that 'bad_link3' is a callback function, if 'ba' is declared with const you might also need to cast function pointer(s). [constParameterCallback] stress-ng-0.21.00/stress-sysbadaddr.c:2223:2: note: You might need to cast the function pointer here stress-ng-0.21.00/stress-sysbadaddr.c:1034:42: note: Parameter 'ba' can be declared as pointer to const stress-ng-0.21.00/stress-sysbadaddr.c:1221:43: style: Parameter 'ba' can be declared as pointer to const. However it seems that 'bad_lstat2' is a callback function, if 'ba' is declared with const you might also need to cast function pointer(s). [constParameterCallback] stress-ng-0.21.00/stress-sysbadaddr.c:2261:2: note: You might need to cast the function pointer here stress-ng-0.21.00/stress-sysbadaddr.c:1221:43: note: Parameter 'ba' can be declared as pointer to const stress-ng-0.21.00/stress-sysbadaddr.c:1272:51: style: Parameter 'ba' can be declared as pointer to const. However it seems that 'bad_migrate_pages2' is a callback function, if 'ba' is declared with const you might also need to cast function pointer(s). [constParameterCallback] stress-ng-0.21.00/stress-sysbadaddr.c:2270:2: note: You might need to cast the function pointer here stress-ng-0.21.00/stress-sysbadaddr.c:1272:51: note: Parameter 'ba' can be declared as pointer to const stress-ng-0.21.00/stress-sysbadaddr.c:1282:51: style: Parameter 'ba' can be declared as pointer to const. However it seems that 'bad_migrate_pages3' is a callback function, if 'ba' is declared with const you might also need to cast function pointer(s). [constParameterCallback] stress-ng-0.21.00/stress-sysbadaddr.c:2271:2: note: You might need to cast the function pointer here stress-ng-0.21.00/stress-sysbadaddr.c:1282:51: note: Parameter 'ba' can be declared as pointer to const stress-ng-0.21.00/stress-sysbadaddr.c:1427:41: style: Parameter 'ba' can be declared as pointer to const. However it seems that 'bad_open' is a callback function, if 'ba' is declared with const you might also need to cast function pointer(s). [constParameterCallback] stress-ng-0.21.00/stress-sysbadaddr.c:2299:2: note: You might need to cast the function pointer here stress-ng-0.21.00/stress-sysbadaddr.c:1427:41: note: Parameter 'ba' can be declared as pointer to const stress-ng-0.21.00/stress-sysbadaddr.c:1660:46: style: Parameter 'ba' can be declared as pointer to const. However it seems that 'bad_readlink3' is a callback function, if 'ba' is declared with const you might also need to cast function pointer(s). [constParameterCallback] stress-ng-0.21.00/stress-sysbadaddr.c:2341:2: note: You might need to cast the function pointer here stress-ng-0.21.00/stress-sysbadaddr.c:1660:46: note: Parameter 'ba' can be declared as pointer to const stress-ng-0.21.00/stress-sysbadaddr.c:1720:44: style: Parameter 'ba' can be declared as pointer to const. However it seems that 'bad_rename2' is a callback function, if 'ba' is declared with const you might also need to cast function pointer(s). [constParameterCallback] stress-ng-0.21.00/stress-sysbadaddr.c:2353:2: note: You might need to cast the function pointer here stress-ng-0.21.00/stress-sysbadaddr.c:1720:44: note: Parameter 'ba' can be declared as pointer to const stress-ng-0.21.00/stress-sysbadaddr.c:1874:46: style: Parameter 'ba' can be declared as pointer to const. However it seems that 'bad_setrlimit' is a callback function, if 'ba' is declared with const you might also need to cast function pointer(s). [constParameterCallback] stress-ng-0.21.00/stress-sysbadaddr.c:2369:2: note: You might need to cast the function pointer here stress-ng-0.21.00/stress-sysbadaddr.c:1874:46: note: Parameter 'ba' can be declared as pointer to const stress-ng-0.21.00/stress-sysbadaddr.c:1896:42: style: Parameter 'ba' can be declared as pointer to const. However it seems that 'bad_stat3' is a callback function, if 'ba' is declared with const you might also need to cast function pointer(s). [constParameterCallback] stress-ng-0.21.00/stress-sysbadaddr.c:2372:2: note: You might need to cast the function pointer here stress-ng-0.21.00/stress-sysbadaddr.c:1896:42: note: Parameter 'ba' can be declared as pointer to const stress-ng-0.21.00/stress-sysbadaddr.c:1966:45: style: Parameter 'ba' can be declared as pointer to const. However it seems that 'bad_truncate' is a callback function, if 'ba' is declared with const you might also need to cast function pointer(s). [constParameterCallback] stress-ng-0.21.00/stress-sysbadaddr.c:2386:2: note: You might need to cast the function pointer here stress-ng-0.21.00/stress-sysbadaddr.c:1966:45: note: Parameter 'ba' can be declared as pointer to const stress-ng-0.21.00/stress-sysbadaddr.c:2065:42: style: Parameter 'ba' can be declared as pointer to const. However it seems that 'bad_write' is a callback function, if 'ba' is declared with const you might also need to cast function pointer(s). [constParameterCallback] stress-ng-0.21.00/stress-sysbadaddr.c:2409:2: note: You might need to cast the function pointer here stress-ng-0.21.00/stress-sysbadaddr.c:2065:42: note: Parameter 'ba' can be declared as pointer to const stress-ng-0.21.00/stress-sysbadaddr.c:2540:33: style: Parameter 'addr' can be declared as pointer to const [constParameterPointer] stress-ng-0.21.00/stress-syscall.c:873:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-syscall.c:884:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-syscall.c:1094:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRUSR [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-syscall.c:1399:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRUSR [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-syscall.c:1622:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-syscall.c:1869:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRUSR [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-syscall.c:3433:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRUSR [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-syscall.c:3609:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-syscall.c:4193:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-syscall.c:4273:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-syscall.c:4399:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WNOHANG [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-syscall.c:5388:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRUSR [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-syscall.c:6337:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-syscall.c:6383:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_ERR [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-syscall.c:6434:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_BLOCK [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-syscall.c:6467:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_BLOCK [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-syscall.c:7099:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRUSR [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-syscall.c:8835:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-syscall.c:8942:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-syscall.c:879:2: style: Statements following noreturn function 'siglongjmp()' will never be executed. [unreachableCode] stress-ng-0.21.00/stress-syscall.c:2186:8: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] stress-ng-0.21.00/stress-syscall.c:235:12: style: struct member 'syscall_rank_t::rank' is never used. [unusedStructMember] stress-ng-0.21.00/stress-syscall.c:248:25: style: struct member 'syscall_mq_msg_t::value' is never used. [unusedStructMember] stress-ng-0.21.00/stress-sysinfo.c:201:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-tmpfs.c:43:11: style: struct member 'mapping_info_t::addr' is never used. [unusedStructMember] stress-ng-0.21.00/stress-tmpfs.c:44:10: style: struct member 'mapping_info_t::state' is never used. [unusedStructMember] stress-ng-0.21.00/stress-touch.c:121:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-touch.c:223:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRUSR [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-touch.c:127:27: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] stress-ng-0.21.00/stress-touch.c:124:3: style: Statements following noreturn function 'longjmp()' will never be executed. [unreachableCode] stress-ng-0.21.00/stress-touch.c:144:4: style: Statements following noreturn function 'longjmp()' will never be executed. [unreachableCode] stress-ng-0.21.00/stress-touch.c:163:51: style: Parameter 'args' can be declared as pointer to const [constParameterPointer] stress-ng-0.21.00/stress-tree.c:154:8: style: union member 'tree_node::avl' is never used. [unusedStructMember] stress-ng-0.21.00/stress-tree.c:155:11: style: union member 'tree_node::binary' is never used. [unusedStructMember] stress-ng-0.21.00/stress-tree.c:156:16: style: union member 'tree_node::btree' is never used. [unusedStructMember] stress-ng-0.21.00/stress-tree.c:163:10: style: union member 'tree_node::treap' is never used. [unusedStructMember] stress-ng-0.21.00/stress-udp.c:102:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_DGRAM [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-udp.c:293:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_DGRAM [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-udp.c:416:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-umask.c:75:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-unlink.c:103:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-unlink.c:209:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-unlink.c:54:8: style: Parameter 'filenames' can be declared as const array [constParameter] stress-ng-0.21.00/stress-urandom.c:72:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-urandom.c:252:18: warning: If memory allocation fails, then there is a possible null pointer dereference: ptr [nullPointerOutOfMemory] stress-ng-0.21.00/stress-urandom.c:249:14: note: Assuming allocation function fails stress-ng-0.21.00/stress-urandom.c:249:14: note: Assignment 'ptr=mmap(NULL,page_size,PROT_READ,MAP_PRIVATE,fd_urnd,0)', assigned value is 0 stress-ng-0.21.00/stress-urandom.c:252:18: note: Null pointer dereference stress-ng-0.21.00/stress-urandom.c:247:10: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] stress-ng-0.21.00/stress-varyload.c:479:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-varyload.c:61:14: style: struct member 'stress_varyload_method_t::name' is never used. [unusedStructMember] stress-ng-0.21.00/stress-varyload.c:62:12: style: struct member 'stress_varyload_method_t::method' is never used. [unusedStructMember] stress-ng-0.21.00/stress-vforkmany.c:60:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-vforkmany.c:101:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-vforkmany.c:209:8: style: Condition 'n_advice' is always false [knownConditionTrueFalse] stress-ng-0.21.00/stress-vforkmany.c:197:22: note: Assignment 'n_advice=0', assigned value is 0 stress-ng-0.21.00/stress-vforkmany.c:209:8: note: Condition 'n_advice' is always false stress-ng-0.21.00/stress-vforkmany.c:277:10: style: Condition 'n_advice' is always false [knownConditionTrueFalse] stress-ng-0.21.00/stress-vforkmany.c:261:24: note: Assignment 'n_advice=0', assigned value is 0 stress-ng-0.21.00/stress-vforkmany.c:277:10: note: Condition 'n_advice' is always false stress-ng-0.21.00/stress-vforkmany.c:289:13: style: Condition 'pid>0' is always true [knownConditionTrueFalse] stress-ng-0.21.00/stress-vforkmany.c:248:19: note: Assuming that condition 'pid==0' is not redundant stress-ng-0.21.00/stress-vforkmany.c:289:13: note: Condition 'pid>0' is always true stress-ng-0.21.00/stress-vm-addr.c:501:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-vm-addr.c:562:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-vm-segv.c:108:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-vm-segv.c:64:8: error: Memory pointed to by 'page_size' is freed twice. [doubleFree] stress-ng-0.21.00/stress-vm-segv.c:63:8: note: Memory pointed to by 'page_size' is freed twice. stress-ng-0.21.00/stress-vm-segv.c:64:8: note: Memory pointed to by 'page_size' is freed twice. stress-ng-0.21.00/stress-vm-segv.c:83:8: error: Memory pointed to by 'page_size' is freed twice. [doubleFree] stress-ng-0.21.00/stress-vm-segv.c:82:8: note: Memory pointed to by 'page_size' is freed twice. stress-ng-0.21.00/stress-vm-segv.c:83:8: note: Memory pointed to by 'page_size' is freed twice. stress-ng-0.21.00/stress-vm-segv.c:75:11: style: Variable 'addr' can be declared as pointer to const [constVariablePointer] stress-ng-0.21.00/stress-vm.c:2579:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable addr1 [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-vm.c:3606:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-vm.c:3793:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-vm.c:2604:3: warning:inconclusive: Found suspicious operator '*', result is not used. [constStatement] stress-ng-0.21.00/stress-vm.c:2614:3: warning:inconclusive: Found suspicious operator '*', result is not used. [constStatement] stress-ng-0.21.00/stress-vm.c:2624:3: warning:inconclusive: Found suspicious operator '*', result is not used. [constStatement] stress-ng-0.21.00/stress-vm.c:2634:3: warning:inconclusive: Found suspicious operator '*', result is not used. [constStatement] stress-ng-0.21.00/stress-wait.c:55:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-wait.c:203:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-wcs.c:749:14: error: Array 'metrics[1]' accessed at index 1, which is out of bounds. [arrayIndexOutOfBounds] stress-ng-0.21.00/stress-workload.c:579:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-zero.c:80:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/stress-zero.c:115:9: error: Memory pointed to by 'page_size' is freed twice. [doubleFree] stress-ng-0.21.00/stress-zero.c:114:9: note: Memory pointed to by 'page_size' is freed twice. stress-ng-0.21.00/stress-zero.c:115:9: note: Memory pointed to by 'page_size' is freed twice. stress-ng-0.21.00/stress-zombie.c:210:29: style: Condition 'stress_pid_a_zombie(pid)' is always true [knownConditionTrueFalse] stress-ng-0.21.00/stress-zombie.c:210:29: note: Calling function 'stress_pid_a_zombie' returns 1 stress-ng-0.21.00/stress-zombie.c:210:29: note: Condition 'stress_pid_a_zombie(pid)' is always true stress-ng-0.21.00/stress-zombie.c:261:68: style: Parameter 'args' can be declared as pointer to const [constParameterPointer] stress-ng-0.21.00/stress-zombie.c:99:17: style: struct member 'stress_zombie_context_t::args' is never used. [unusedStructMember] stress-ng-0.21.00/stress-zombie.c:100:7: style: struct member 'stress_zombie_context_t::path' is never used. [unusedStructMember] stress-ng-0.21.00/test/test-accept4.c:36:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_NONBLOCK [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/test/test-accept4.c:36:17: error: Invalid accept4() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] stress-ng-0.21.00/test/test-accept4.c:28:12: note: Assignment 'fd=-1', assigned value is -1 stress-ng-0.21.00/test/test-accept4.c:36:17: note: Invalid argument stress-ng-0.21.00/test/test-aio-fsync.c:30:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_SYNC [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/test/test-arch_prctl.c:30:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARCH_GET_CPUID [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/test/test-asm-alpha-draina.c:30:2: error: #error not ALPHA so no draina instruction [preprocessorErrorDirective] stress-ng-0.21.00/test/test-asm-alpha-halt.c:30:2: error: #error not ALPHA so no halt instruction [preprocessorErrorDirective] stress-ng-0.21.00/test/test-asm-arm-dmb-sy.c:34:2: error: #error not an ARM so no yield instruction [preprocessorErrorDirective] stress-ng-0.21.00/test/test-asm-arm-prfm.c:29:2: error: #error not an ARMv8 so no prfm instruction [preprocessorErrorDirective] stress-ng-0.21.00/test/test-asm-arm-tlbi.c:34:2: error: #error not an ARM so no yield instruction [preprocessorErrorDirective] stress-ng-0.21.00/test/test-asm-arm-yield.c:35:2: error: #error not an ARM so no yield instruction [preprocessorErrorDirective] stress-ng-0.21.00/test/test-asm-hppa-diag.c:29:2: error: #error not HPPA so no diag instruction [preprocessorErrorDirective] stress-ng-0.21.00/test/test-asm-hppa-rfi.c:29:2: error: #error not HPPA so no rfi instruction [preprocessorErrorDirective] stress-ng-0.21.00/test/test-asm-loong64-cpucfg.c:32:2: error: #error not Loong64 so no rdtime instruction [preprocessorErrorDirective] stress-ng-0.21.00/test/test-asm-loong64-dbar.c:29:2: error: #error not Loong64 so no sbar instruction [preprocessorErrorDirective] stress-ng-0.21.00/test/test-asm-loong64-rdtime.c:32:2: error: #error not Loong64 so no rdtime instruction [preprocessorErrorDirective] stress-ng-0.21.00/test/test-asm-loong64-tlbrd.c:32:2: error: #error not Loong64 so no tlbrd instruction [preprocessorErrorDirective] stress-ng-0.21.00/test/test-asm-loong64-tlbsrch.c:32:2: error: #error not Loong64 so no tlbsrc instruction [preprocessorErrorDirective] stress-ng-0.21.00/test/test-asm-m68k-eori-sr.c:32:2: error: #error not m68k so no eori.w #0001,sr instruction [preprocessorErrorDirective] stress-ng-0.21.00/test/test-asm-mips-wait.c:30:2: error: #error not MIPS so no wait instruction [preprocessorErrorDirective] stress-ng-0.21.00/test/test-asm-ppc-dcbst.c:22:2: error: #error ppc dcbst instruction not supported [preprocessorErrorDirective] stress-ng-0.21.00/test/test-asm-ppc-dcbt.c:20:2: error: #error ppc dcbt instruction not supported [preprocessorErrorDirective] stress-ng-0.21.00/test/test-asm-ppc-dcbtst.c:20:2: error: #error ppc dcbtst instruction not supported [preprocessorErrorDirective] stress-ng-0.21.00/test/test-asm-ppc-icbi.c:22:2: error: #error ppc icbi instruction not supported [preprocessorErrorDirective] stress-ng-0.21.00/test/test-asm-ppc64-darn.c:22:2: error: #error ppc64 darn instruction not supported [preprocessorErrorDirective] stress-ng-0.21.00/test/test-asm-ppc64-dcbst.c:22:2: error: #error ppc64 dcbst instruction not supported [preprocessorErrorDirective] stress-ng-0.21.00/test/test-asm-ppc64-dcbt.c:20:2: error: #error ppc64 dcbt instruction not supported [preprocessorErrorDirective] stress-ng-0.21.00/test/test-asm-ppc64-dcbtst.c:20:2: error: #error ppc64 dcbtst instruction not supported [preprocessorErrorDirective] stress-ng-0.21.00/test/test-asm-ppc64-icbi.c:22:2: error: #error ppc64 icbi instruction not supported [preprocessorErrorDirective] stress-ng-0.21.00/test/test-asm-ppc64-msync.c:21:2: error: #error ppc64 msync instruction not supported [preprocessorErrorDirective] stress-ng-0.21.00/test/test-asm-ppc64-tlbie.c:22:2: error: #error ppc64 tlbie instruction not supported [preprocessorErrorDirective] stress-ng-0.21.00/test/test-asm-riscv-cbo_zero.c:87:2: error: #error not RISC-V so no cbo.zero instruction [preprocessorErrorDirective] stress-ng-0.21.00/test/test-asm-riscv-cbom.c:94:2: error: #error not RISC-V so no ZICBOM instructions [preprocessorErrorDirective] stress-ng-0.21.00/test/test-asm-riscv-fence.c:29:2: error: #error not RISC-V so no fence instruction [preprocessorErrorDirective] stress-ng-0.21.00/test/test-asm-riscv-fence_i.c:29:2: error: #error not RISC-V so no fence instruction [preprocessorErrorDirective] stress-ng-0.21.00/test/test-asm-riscv-sfence-vma.c:29:2: error: #error not RISC-V so no fence instruction [preprocessorErrorDirective] stress-ng-0.21.00/test/test-asm-s390-ptlb.c:28:2: error: #error not S390 so no ptlb instruction [preprocessorErrorDirective] stress-ng-0.21.00/test/test-asm-sh4-rte.c:28:2: error: #error not SH4 so no rte instruction [preprocessorErrorDirective] stress-ng-0.21.00/test/test-asm-sh4-sleep.c:28:2: error: #error not SH4 so no sleep instruction [preprocessorErrorDirective] stress-ng-0.21.00/test/test-asm-sparc-membar.c:30:2: error: #error not SPARC so no rdpr instruction [preprocessorErrorDirective] stress-ng-0.21.00/test/test-asm-sparc-rdpr.c:32:2: error: #error not SPARC so no rdpr instruction [preprocessorErrorDirective] stress-ng-0.21.00/test/test-asm-sparc-tick.c:34:2: error: #error not SPARC so no tick instruction [preprocessorErrorDirective] stress-ng-0.21.00/test/test-asm-x86-cldemote.c:20:35: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] stress-ng-0.21.00/test/test-asm-x86-clflush.c:20:34: style: Parameter 'ptr' can be declared as pointer to const [constParameterPointer] stress-ng-0.21.00/test/test-asm-x86-clflushopt.c:20:37: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] stress-ng-0.21.00/test/test-asm-x86-clts.c:30:2: error: #error x86 clts instruction not supported [preprocessorErrorDirective] stress-ng-0.21.00/test/test-asm-x86-clwb.c:20:31: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] stress-ng-0.21.00/test/test-asm-x86-hlt.c:30:2: error: #error x86 hlt instruction not supported [preprocessorErrorDirective] stress-ng-0.21.00/test/test-asm-x86-invd.c:30:2: error: #error x86 invd instruction not supported [preprocessorErrorDirective] stress-ng-0.21.00/test/test-asm-x86-invlpg.c:32:2: error: #error x86 invlpg instruction not supported [preprocessorErrorDirective] stress-ng-0.21.00/test/test-asm-x86-lahf.c:36:2: error: #error x86 lahf instruction not supported [preprocessorErrorDirective] stress-ng-0.21.00/test/test-asm-x86-lfence.c:30:2: error: #error not an x86 so no mfence instruction [preprocessorErrorDirective] stress-ng-0.21.00/test/test-asm-x86-lgdt.c:32:2: error: #error x86 lgdt instruction not supported [preprocessorErrorDirective] stress-ng-0.21.00/test/test-asm-x86-lldt.c:33:2: error: #error x86 lldt instruction not supported [preprocessorErrorDirective] stress-ng-0.21.00/test/test-asm-x86-lmsw.c:33:2: error: #error x86 lmsr instruction not supported [preprocessorErrorDirective] stress-ng-0.21.00/test/test-asm-x86-mfence.c:30:2: error: #error not an x86 so no mfence instruction [preprocessorErrorDirective] stress-ng-0.21.00/test/test-asm-x86-mov-cr0.c:33:2: error: #error x86 mov cr0 instruction not supported [preprocessorErrorDirective] stress-ng-0.21.00/test/test-asm-x86-mov-dr0.c:33:2: error: #error x86 mov cr0 instruction not supported [preprocessorErrorDirective] stress-ng-0.21.00/test/test-asm-x86-movdiri.c:21:44: style: Parameter 'ptr' can be declared as pointer to const [constParameterPointer] stress-ng-0.21.00/test/test-asm-x86-pause.c:31:2: error: #error not an x86 so no pause instruction [preprocessorErrorDirective] stress-ng-0.21.00/test/test-asm-x86-prefetchnta.c:20:38: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] stress-ng-0.21.00/test/test-asm-x86-prefetcht0.c:20:37: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] stress-ng-0.21.00/test/test-asm-x86-prefetcht1.c:20:37: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] stress-ng-0.21.00/test/test-asm-x86-prefetcht2.c:20:37: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] stress-ng-0.21.00/test/test-asm-x86-prefetchw.c:20:36: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] stress-ng-0.21.00/test/test-asm-x86-prefetchwt1.c:20:38: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] stress-ng-0.21.00/test/test-asm-x86-rdmsr.c:35:2: error: #error x86 rdmsr instruction not supported [preprocessorErrorDirective] stress-ng-0.21.00/test/test-asm-x86-rdpmc.c:31:2: error: #error x86 rdpmc instruction not supported [preprocessorErrorDirective] stress-ng-0.21.00/test/test-asm-x86-rdrand.c:41:2: error: #error not an x86 so no rdrand instruction [preprocessorErrorDirective] stress-ng-0.21.00/test/test-asm-x86-rdseed.c:40:2: error: #error not an x86 so no rdseed instruction [preprocessorErrorDirective] stress-ng-0.21.00/test/test-asm-x86-rdtsc.c:38:2: error: #error not an x86 so no rdtsc instruction [preprocessorErrorDirective] stress-ng-0.21.00/test/test-asm-x86-rdtscp.c:34:2: error: #error not an x86 so no rdtsc instruction [preprocessorErrorDirective] stress-ng-0.21.00/test/test-asm-x86-rep-stosb.c:43:2: error: #error not an x86 so no rep stosb instruction [preprocessorErrorDirective] stress-ng-0.21.00/test/test-asm-x86-rep-stosd.c:43:2: error: #error not an x86 so no rep stosd instruction [preprocessorErrorDirective] stress-ng-0.21.00/test/test-asm-x86-rep-stosq.c:43:2: error: #error not an x86 so no rep stosq instruction [preprocessorErrorDirective] stress-ng-0.21.00/test/test-asm-x86-rep-stosw.c:44:2: error: #error not an x86 so no rep stosw instruction [preprocessorErrorDirective] stress-ng-0.21.00/test/test-asm-x86-serialize.c:28:2: error: #error not an x86 so no tpause instruction [preprocessorErrorDirective] stress-ng-0.21.00/test/test-asm-x86-sfence.c:30:2: error: #error not an x86 so no sfence instruction [preprocessorErrorDirective] stress-ng-0.21.00/test/test-asm-x86-tpause.c:32:2: error: #error not an x86 so no tpause instruction [preprocessorErrorDirective] stress-ng-0.21.00/test/test-asm-x86-wbinvd.c:29:2: error: #error x86 wbinvd instruction not supported [preprocessorErrorDirective] stress-ng-0.21.00/test/test-asm-x86-wrmsr.c:34:2: error: #error x86 wrmsr instruction not supported [preprocessorErrorDirective] stress-ng-0.21.00/test/test-atomic_load_double.c:23:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __ATOMIC_CONSUME [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/test/test-atomic_store_double.c:23:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __ATOMIC_RELEASE [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/test/test-atomic_test_and_set.c:25:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __ATOMIC_ACQ_REL [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/test/test-attr-returns-nonnull.c:27:41: style: Parameter 'dst' can be declared as pointer to const. However it seems that 'returns_nonnull_func' is a callback function, if 'dst' is declared with const you might also need to cast function pointer(s). [constParameterCallback] stress-ng-0.21.00/test/test-attr-returns-nonnull.c:34:10: note: You might need to cast the function pointer here stress-ng-0.21.00/test/test-attr-returns-nonnull.c:27:41: note: Parameter 'dst' can be declared as pointer to const stress-ng-0.21.00/test/test-attr-returns-nonnull.c:27:52: style: Parameter 'src' can be declared as pointer to const. However it seems that 'returns_nonnull_func' is a callback function, if 'src' is declared with const you might also need to cast function pointer(s). [constParameterCallback] stress-ng-0.21.00/test/test-attr-returns-nonnull.c:34:10: note: You might need to cast the function pointer here stress-ng-0.21.00/test/test-attr-returns-nonnull.c:27:52: note: Parameter 'src' can be declared as pointer to const stress-ng-0.21.00/test/test-backtrace.c:35:18: warning: If memory allocation fails, then there is a possible null pointer dereference: strings [nullPointerOutOfMemory] stress-ng-0.21.00/test/test-backtrace.c:32:29: note: Assuming allocation function fails stress-ng-0.21.00/test/test-backtrace.c:32:29: note: Assignment 'strings=backtrace_symbols(buffer,n_ptrs)', assigned value is 0 stress-ng-0.21.00/test/test-backtrace.c:35:18: note: Null pointer dereference stress-ng-0.21.00/test/test-bsearch.c:39:8: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] stress-ng-0.21.00/test/test-builtin-prefetch.c:23:7: style: Variable 'data' can be declared as const array [constVariable] stress-ng-0.21.00/test/test-builtin-prefetch.c:25:22: error: Uninitialized variable: data [uninitvar] stress-ng-0.21.00/test/test-builtin-shuffle.c:42:22: error: Buffer is accessed out of bounds: &data [bufferAccessOutOfBounds] stress-ng-0.21.00/test/test-builtin-thread-pointer.c:22:8: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] stress-ng-0.21.00/test/test-cap.c:30:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _LINUX_CAPABILITY_VERSION_3 [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/test/test-cdrom_tochdr.c:30:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cdrom_tochdr [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/test/test-cfgetispeed.c:27:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/test/test-cfgetospeed.c:27:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/test/test-clock-adjtime.c:38:2: error: #error no POSIX clock types CLOCK_REALTIME or CLOCK_MONOTONIC [preprocessorErrorDirective] stress-ng-0.21.00/test/test-clock-getres.c:34:2: error: #error no POSIX clock types CLOCK_REALTIME or CLOCK_MONOTONIC [preprocessorErrorDirective] stress-ng-0.21.00/test/test-clock-gettime.c:34:2: error: #error no POSIX clock types CLOCK_REALTIME or CLOCK_MONOTONIC [preprocessorErrorDirective] stress-ng-0.21.00/test/test-clock-nanosleep.c:35:2: error: #error no POSIX clock types CLOCK_REALTIME or CLOCK_MONOTONIC [preprocessorErrorDirective] stress-ng-0.21.00/test/test-clock-settime.c:34:2: error: #error no POSIX clock types CLOCK_REALTIME or CLOCK_MONOTONIC [preprocessorErrorDirective] stress-ng-0.21.00/test/test-cpu_set_t.c:25:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cpu_set_t [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/test/test-crypt-r.c:28:8: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] stress-ng-0.21.00/test/test-dup3.c:33:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/test/test-execveat.c:34:2: error: #error no execveat [preprocessorErrorDirective] stress-ng-0.21.00/test/test-faccessat.c:27:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AT_FDCWD [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/test/test-faccessat2.c:27:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AT_FDCWD [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/test/test-fanotify.c:22:2: error: #error requires linux to build [preprocessorErrorDirective] stress-ng-0.21.00/test/test-fdatasync.c:31:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/test/test-fexecve.c:34:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/test/test-finit-module.c:32:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/test/test-flock.c:26:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOCK_EX [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/test/test-fstat.c:31:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/test/test-fstatat.c:29:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AT_FDCWD [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/test/test-fsync.c:31:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/test/test-futimens.c:28:2: error: #error futimens missing UTIME_NOW [preprocessorErrorDirective] stress-ng-0.21.00/test/test-futimes.c:32:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/test/test-futimesat.c:33:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/test/test-getexecname.c:25:8: style: Variable 'name' can be declared as pointer to const [constVariablePointer] stress-ng-0.21.00/test/test-getitimer.c:30:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ITIMER_REAL [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/test/test-getlogin.c:23:20: portability: Non reentrant function 'getlogin' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getlogin_r'. [prohibitedgetloginCalled] stress-ng-0.21.00/test/test-getmntent.c:27:17: style: Variable 'mount' can be declared as pointer to const [constVariablePointer] stress-ng-0.21.00/test/test-getpgrp.c:36:2: error: #error need glib 2.19.0 or higher [preprocessorErrorDirective] stress-ng-0.21.00/test/test-getpriority.c:26:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIO_USER [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/test/test-getpwent.c:28:7: portability: Non reentrant function 'getpwent' called. For threadsafe applications it is recommended to use the reentrant replacement function 'getpwent_r'. [prohibitedgetpwentCalled] stress-ng-0.21.00/test/test-getpwent.c:26:17: style: Variable 'pw' can be declared as pointer to const [constVariablePointer] stress-ng-0.21.00/test/test-getrusage.c:28:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RUSAGE_SELF [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/test/test-getxattrat.c:32:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AT_FDCWD [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/test/test-heapsort.c:24:7: style: Variable 'i1' can be declared as pointer to const [constVariablePointer] stress-ng-0.21.00/test/test-heapsort.c:25:7: style: Variable 'i2' can be declared as pointer to const [constVariablePointer] stress-ng-0.21.00/test/test-hsearch.c:32:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENTER [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/test/test-hsearch.c:30:11: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] stress-ng-0.21.00/test/test-icc-mm_stream_si128.c:37:2: error: #error need ICC to build successfully [preprocessorErrorDirective] stress-ng-0.21.00/test/test-icc-mm_stream_si32.c:35:2: error: #error need ICC to build successfully [preprocessorErrorDirective] stress-ng-0.21.00/test/test-icc-mm_stream_si64.c:36:2: error: #error need ICC to build successfully [preprocessorErrorDirective] stress-ng-0.21.00/test/test-icmphdr.c:32:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable iphdr [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/test/test-inotify.c:23:2: error: #error requires linux to build [preprocessorErrorDirective] stress-ng-0.21.00/test/test-int128_t.c:30:2: error: #error need GCC 4.0 or above [preprocessorErrorDirective] stress-ng-0.21.00/test/test-int_fast16_t.c:24:28: style: Variable 'uif16' is assigned a value that is never used. [unreadVariable] stress-ng-0.21.00/test/test-int_fast16_t.c:25:25: style: Variable 'i16' is assigned a value that is never used. [unreadVariable] stress-ng-0.21.00/test/test-int_fast32_t.c:24:28: style: Variable 'uif32' is assigned a value that is never used. [unreadVariable] stress-ng-0.21.00/test/test-int_fast32_t.c:25:25: style: Variable 'i32' is assigned a value that is never used. [unreadVariable] stress-ng-0.21.00/test/test-int_fast64_t.c:24:28: style: Variable 'uif64' is assigned a value that is never used. [unreadVariable] stress-ng-0.21.00/test/test-int_fast64_t.c:25:25: style: Variable 'i64' is assigned a value that is never used. [unreadVariable] stress-ng-0.21.00/test/test-int_fast8_t.c:24:26: style: Variable 'uif8' is assigned a value that is never used. [unreadVariable] stress-ng-0.21.00/test/test-int_fast8_t.c:25:23: style: Variable 'i8' is assigned a value that is never used. [unreadVariable] stress-ng-0.21.00/test/test-iphdr.c:28:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable iphdr [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/test/test-judy.c:33:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PJERR [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/test/test-landlock_rule_type.c:24:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LANDLOCK_RULE_PATH_BENEATH [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/test/test-libcrypt.c:41:14: portability: Non reentrant function 'crypt' called. For threadsafe applications it is recommended to use the reentrant replacement function 'crypt_r'. [prohibitedcryptCalled] stress-ng-0.21.00/test/test-libdl.c:27:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBM_SO [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/test/test-libjpeg.c:38:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/test/test-liblzma.c:26:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LZMA_CONCATENATED [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/test/test-liblzma.c:26:6: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] stress-ng-0.21.00/test/test-libmd.c:26:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHA256_DIGEST_LENGTH [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/test/test-libmpfr.c:31:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPFR_RNDD [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/test/test-libsctp.c:33:2: error: #error no SOL_SCTP [preprocessorErrorDirective] stress-ng-0.21.00/test/test-libz.c:26:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Z_DEFAULT_COMPRESSION [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/test/test-listxattrat.c:29:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AT_FDCWD [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/test/test-lockf.c:30:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/test/test-lookup-dcookie.c:26:2: error: #error __NR_lookup_dcookie syscall not defined [preprocessorErrorDirective] stress-ng-0.21.00/test/test-lseek64.c:30:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/test/test-lsm_get_self_attr.c:30:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LSM_ATTR_CURRENT [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/test/test-madvise.c:79:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MADV_NORMAL [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/test/test-mallopt.c:25:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable M_MMAP_THRESHOLD [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/test/test-mathfunc.c:32:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MATHFUNC [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/test/test-membarrier.c:23:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MEMBARRIER_CMD_GLOBAL [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/test/test-mergesort.c:24:7: style: Variable 'i1' can be declared as pointer to const [constVariablePointer] stress-ng-0.21.00/test/test-mergesort.c:25:7: style: Variable 'i2' can be declared as pointer to const [constVariablePointer] stress-ng-0.21.00/test/test-mkdirat.c:28:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AT_FDCWD [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/test/test-mknodat.c:33:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AT_FDCWD [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/test/test-mlock2.c:32:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MLOCK_ONFAULT [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/test/test-mlockall.c:26:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MCL_CURRENT [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/test/test-modify-ldt.c:29:2: error: #error modify_ldt syscall not defined [preprocessorErrorDirective] stress-ng-0.21.00/test/test-mprotect.c:31:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/test/test-mq-posix.c:68:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/test/test-mq-sysv.c:58:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IWUSR [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/test/test-mremap.c:32:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MREMAP_FIXED [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/test/test-mseal.c:26:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/test/test-msync.c:42:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/test/test-msync.c:63:15: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: ptr [nullPointerOutOfMemory] stress-ng-0.21.00/test/test-msync.c:51:12: note: Assuming allocation function fails stress-ng-0.21.00/test/test-msync.c:51:12: note: Assignment 'ptr=mmap(NULL,sz,PROT_READ|PROT_WRITE,MAP_PRIVATE,fd,0)', assigned value is 0 stress-ng-0.21.00/test/test-msync.c:63:15: note: Null pointer dereference stress-ng-0.21.00/test/test-mtx-init.c:30:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mtx_plain [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/test/test-nanosleep.c:30:13: style: Variable 'rem.tv_sec' is assigned a value that is never used. [unreadVariable] stress-ng-0.21.00/test/test-nanosleep.c:31:14: style: Variable 'rem.tv_nsec' is assigned a value that is never used. [unreadVariable] stress-ng-0.21.00/test/test-openat.c:28:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AT_FDCWD [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/test/test-openat2.c:33:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/test/test-pidfd-send-signal.c:26:2: error: #error __NR_pidfd_send_signal not defined [preprocessorErrorDirective] stress-ng-0.21.00/test/test-pkey-mprotect.c:29:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_NONE [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/test/test-poll.c:31:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fd [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/test/test-posix-fadvise.c:72:2: error: #error no POSIX_FADV advice macros defined! [preprocessorErrorDirective] stress-ng-0.21.00/test/test-posix-fallocate.c:29:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/test/test-posix-madvise.c:53:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POSIX_MADV_NORMAL [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/test/test-ppoll.c:34:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fd [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/test/test-pragma-prefetch.c:25:45: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] stress-ng-0.21.00/test/test-pragma-prefetch.c:37:47: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] stress-ng-0.21.00/test/test-pread.c:31:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/test/test-preadv.c:36:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/test/test-preadv2.c:36:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/test/test-preadv2.c:43:28: error: Invalid preadv2() argument nr 4. The value is -1 but the valid values are '0:'. [invalidFunctionArg] stress-ng-0.21.00/test/test-program_invocation_name.c:26:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable program_invocation_name [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/test/test-pthread-mutex-destroy.c:26:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTHREAD_MUTEX_INITIALIZER [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/test/test-pthread-mutexattr-setprotocol.c:31:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTHREAD_PRIO_INHERIT [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/test/test-pthread-mutexattr-setrobust.c:27:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTHREAD_MUTEX_ROBUST [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/test/test-pthread-prio-inherit.c:25:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTHREAD_PRIO_INHERIT [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/test/test-pthread-prio-none.c:25:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTHREAD_PRIO_NONE [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/test/test-pthread-prio-protect.c:25:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTHREAD_PRIO_PROTECT [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/test/test-ptrace.c:34:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTRACE_SYSCALL [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/test/test-pwrite.c:31:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/test/test-pwritev.c:34:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/test/test-pwritev2.c:34:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/test/test-pwritev2.c:41:30: error: Invalid pwritev2() argument nr 4. The value is -1 but the valid values are '0:'. [invalidFunctionArg] stress-ng-0.21.00/test/test-readlinkat.c:29:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AT_FDCWD [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/test/test-readv.c:35:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/test/test-recvmmsg.c:48:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/test/test-recvmsg.c:45:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/test/test-recvmsg.c:53:17: style: Variable 'timeout.tv_sec' is assigned a value that is never used. [unreadVariable] stress-ng-0.21.00/test/test-recvmsg.c:54:18: style: Variable 'timeout.tv_nsec' is assigned a value that is never used. [unreadVariable] stress-ng-0.21.00/test/test-regcomp.c:26:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NEWLINE [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/test/test-regerror.c:31:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NEWLINE [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/test/test-regexec.c:27:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NEWLINE [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/test/test-regfree.c:26:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NEWLINE [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/test/test-remap-file-pages.c:26:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAP_SHARED [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/test/test-removexattrat.c:30:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AT_FDCWD [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/test/test-renameat.c:31:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AT_FDCWD [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/test/test-renameat2.c:31:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AT_FDCWD [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/test/test-rfork.c:27:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RFPROC [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/test/test-seed48.c:23:17: style: Variable 'seed16v' can be declared as const array [constVariable] stress-ng-0.21.00/test/test-seed48.c:24:18: style: Variable 'oldseed' can be declared as pointer to const [constVariablePointer] stress-ng-0.21.00/test/test-sem-sysv.c:58:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPC_CREAT [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/test/test-sem-sysv.c:76:20: style: Variable 'semsignal.sem_num' is assigned a value that is never used. [unreadVariable] stress-ng-0.21.00/test/test-sem-sysv.c:77:19: style: Variable 'semsignal.sem_op' is assigned a value that is never used. [unreadVariable] stress-ng-0.21.00/test/test-sem-sysv.c:78:20: style: Variable 'semsignal.sem_flg' is assigned a value that is never used. [unreadVariable] stress-ng-0.21.00/test/test-sendmmsg.c:47:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/test/test-sendmsg.c:44:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/test/test-setitimer.c:31:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ITIMER_REAL [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/test/test-setmntent.c:25:8: style: Variable 'fp' can be declared as pointer to const [constVariablePointer] stress-ng-0.21.00/test/test-setns.c:33:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/test/test-setpriority.c:26:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIO_USER [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/test/test-setxattrat.c:30:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AT_FDCWD [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/test/test-shm-open.c:30:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/test/test-shm-sysv.c:43:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPC_CREAT [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/test/test-shm-sysv.c:33:8: style: Variable 'addr' can be declared as pointer to const [constVariablePointer] stress-ng-0.21.00/test/test-sock-diag.c:59:2: error: #error sock_diag not supported [preprocessorErrorDirective] stress-ng-0.21.00/test/test-swapcontext.c:33:6: portability: Obsolescent function 'getcontext' called. Applications are recommended to be rewritten to use POSIX threads. [prohibitedgetcontextCalled] stress-ng-0.21.00/test/test-swapcontext.c:39:2: portability: Obsolescent function 'makecontext' called. Applications are recommended to be rewritten to use POSIX threads. [prohibitedmakecontextCalled] stress-ng-0.21.00/test/test-swapcontext.c:41:6: portability: Obsolescent function 'swapcontext' called. Applications are recommended to be rewritten to use POSIX threads. [prohibitedswapcontextCalled] stress-ng-0.21.00/test/test-symlinkat.c:27:30: error: Invalid symlinkat() argument nr 2. The value is -1 but the valid values are '0:'. [invalidFunctionArg] stress-ng-0.21.00/test/test-sync_val_compare_and_swap.c:23:10: style: Variable 'var' is assigned a value that is never used. [unreadVariable] stress-ng-0.21.00/test/test-syncfs.c:36:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/test/test-target-clones.c:56:2: error: #error target clones attribute not supported [preprocessorErrorDirective] stress-ng-0.21.00/test/test-tee.c:30:28: error: Invalid tee() argument nr 3. The value is -1 but the valid values are '1:'. [invalidFunctionArg] stress-ng-0.21.00/test/test-timer-create.c:40:2: error: #error no POSIX clock types CLOCK_REALTIME or CLOCK_MONOTONIC [preprocessorErrorDirective] stress-ng-0.21.00/test/test-timerfd-create.c:32:2: error: #error no POSIX clock types CLOCK_REALTIME or CLOCK_MONOTONIC [preprocessorErrorDirective] stress-ng-0.21.00/test/test-ttyname.c:24:15: portability: Non reentrant function 'ttyname' called. For threadsafe applications it is recommended to use the reentrant replacement function 'ttyname_r'. [prohibitedttynameCalled] stress-ng-0.21.00/test/test-unlinkat.c:27:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AT_FDCWD [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/test/test-utime.c:29:9: style: Obsolescent function 'utime' called. It is recommended to use 'utimensat' instead. [prohibitedutimeCalled] stress-ng-0.21.00/test/test-utimes.c:27:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tv_sec [valueFlowBailoutIncompleteVar] stress-ng-0.21.00/test/test-utimes.c:33:9: style: Obsolescent function 'utimes' called. It is recommended to use 'utimensat' instead. [prohibitedutimesCalled] stress-ng-0.21.00/test/test-valloc.c:26:14: style: Obsolete function 'valloc' called. It is recommended to use 'malloc' or 'mmap' instead. [prohibitedvallocCalled] stress-ng-0.21.00/test/test-vfork.c:27:8: style: Obsolescent function 'vfork' called. It is recommended to use 'fork' instead. [prohibitedvforkCalled] stress-ng-0.21.00/test/test-writev.c:35:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] diff: head stress-ng-0.21.00/core-cpu.c:412:49: style: Assigned value 'stress_cpu_is_x86_test()' is always false [knownConditionTrueFalse] stress-ng-0.21.00/core-cpu.c:412:49: note: Calling function 'stress_cpu_is_x86_test' returns 0 stress-ng-0.21.00/core-cpu.c:412:49: note: Assigned value 'stress_cpu_is_x86_test()' is always false 2.20.0 stress-ng-0.21.00/core-out-of-memory.c:241:30: style:inconclusive: Function 'stress_oomable_child' argument 4 names different: declaration 'flag' definition 'context'. [funcArgNamesDifferent] stress-ng-0.21.00/core-out-of-memory.h:29:46: note: Function 'stress_oomable_child' argument 4 names different: declaration 'flag' definition 'context'. stress-ng-0.21.00/core-out-of-memory.c:241:30: note: Function 'stress_oomable_child' argument 4 names different: declaration 'flag' definition 'context'. 2.20.0 stress-ng-0.21.00/core-shim.c:1254:40: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] 2.20.0 stress-ng-0.21.00/core-shim.c:1254:46: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] 2.20.0 stress-ng-0.21.00/core-shim.c:1272:51: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] head stress-ng-0.21.00/core-signal.c:364:20: style:inconclusive: Function 'stress_signal_handler' argument 4 names different: declaration '' definition 'orig_action'. [funcArgNamesDifferentUnnamed] 2.20.0 stress-ng-0.21.00/core-sort.c:132:2: style: Variable '*(uint64_t*)p2' is assigned an expression that holds the same value. [redundantAssignment] stress-ng-0.21.00/core-sort.c:130:8: note: tmp64 is assigned '*(uint64_t*)p1' here. stress-ng-0.21.00/core-sort.c:132:2: note: Variable '*(uint64_t*)p2' is assigned an expression that holds the same value. 2.20.0 stress-ng-0.21.00/core-sort.c:143:2: style: Variable '*(uint32_t*)p2' is assigned an expression that holds the same value. [redundantAssignment] stress-ng-0.21.00/core-sort.c:141:8: note: tmp32 is assigned '*(uint32_t*)p1' here. stress-ng-0.21.00/core-sort.c:143:2: note: Variable '*(uint32_t*)p2' is assigned an expression that holds the same value. 2.20.0 stress-ng-0.21.00/core-sort.c:154:2: style: Variable '*(uint16_t*)p2' is assigned an expression that holds the same value. [redundantAssignment] stress-ng-0.21.00/core-sort.c:152:8: note: tmp16 is assigned '*(uint16_t*)p1' here. stress-ng-0.21.00/core-sort.c:154:2: note: Variable '*(uint16_t*)p2' is assigned an expression that holds the same value. 2.20.0 stress-ng-0.21.00/core-sort.c:165:2: style: Variable '*(uint8_t*)p2' is assigned an expression that holds the same value. [redundantAssignment] stress-ng-0.21.00/core-sort.c:163:7: note: tmp8 is assigned '*(uint8_t*)p1' here. stress-ng-0.21.00/core-sort.c:165:2: note: Variable '*(uint8_t*)p2' is assigned an expression that holds the same value. head stress-ng-0.21.00/stress-cpu.c:3192:28: style: Condition 'stress_is_affinity_set()' is always false [knownConditionTrueFalse] stress-ng-0.21.00/stress-cpu.c:3192:28: note: Calling function 'stress_is_affinity_set' returns 0 stress-ng-0.21.00/stress-cpu.c:3192:28: note: Condition 'stress_is_affinity_set()' is always false 2.20.0 stress-ng-0.21.00/stress-open.c:1214:19: warning: Either the condition 'fds[i]!=-1' is redundant or close() argument nr 1 can have invalid value. The value is -1 but the valid values are '0:'. [invalidFunctionArg] stress-ng-0.21.00/stress-open.c:1219:17: note: Assuming that condition 'fds[i]!=-1' is not redundant stress-ng-0.21.00/stress-open.c:1214:19: note: Invalid argument head stress-ng-0.21.00/stress-sock.c:1365:39: style: Assigned value 'stress_sock_kernel_rt()' is always true [knownConditionTrueFalse] stress-ng-0.21.00/stress-sock.c:1365:39: note: Calling function 'stress_sock_kernel_rt' returns 1 stress-ng-0.21.00/stress-sock.c:1365:39: note: Assigned value 'stress_sock_kernel_rt()' is always true head stress-ng-0.21.00/test/test-builtin-prefetch.c:25:22: error: Uninitialized variable: data [uninitvar] DONE