2025-06-30 22:38 ftp://ftp.de.debian.org/debian/pool/main/s/stress-ng/stress-ng_0.19.01.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 -j6 platform: Linux-6.1.0-37-amd64-x86_64-with-glibc2.36 python: 3.11.2 client-version: 1.3.67 compiler: g++ (Debian 12.2.0-14+deb12u1) 12.2.0 cppcheck: head 2.17.0 head-info: dfa16af (2025-06-30 19:43:56 +0200) count: 1092 1007 elapsed-time: 20.8 21.1 head-timing-info: old-timing-info: head results: stress-ng-0.19.01/core-affinity.c:381:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/core-sync.h:57:71: style: Parameter 's_pid' can be declared as pointer to const [constParameterPointer] stress-ng-0.19.01/core-cpu-cache.c:128:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/core-cpu-cache.c:156:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/core-helper.c:1972:44: error: There is an unknown macro here somewhere. Configuration is required. If VERSION is a macro then please configure it. [unknownMacro] stress-ng-0.19.01/core-cpuidle.c:245:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCNu64 [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/core-ignite-cpu.c:100:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRId32 [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/core-ignite-cpu.c:158:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/core-interrupts.c:128:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCNu64 [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/core-interrupts.c:181:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRId64 [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/core-io-priority.c:44:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/core-killpid.c:94:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/core-killpid.c:145:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIdMAX [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/core-job.c:81:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/core-job.c:95:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/core-job.c:120:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optind [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/core-lock.c:636:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/core-lock.c:651:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/core-lock.c:666:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/core-lock.c:681:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/core-lock.c:748:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/core-job.c:36:42: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] stress-ng-0.19.01/core-log.c:49:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/core-log.c:207:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/core-log.c:278:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIdMAX [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/core-log.c:236:3: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] stress-ng-0.19.01/core-log.c:238:5: note: Found duplicate branches for 'if' and 'else'. stress-ng-0.19.01/core-log.c:236:3: note: Found duplicate branches for 'if' and 'else'. stress-ng-0.19.01/core-mwc.c:148:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RUSAGE_SELF [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/core-numa.c:536:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/core-net.c:147:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/core-numa.c:223:48: style:inconclusive: Function 'stress_numa_mask_free' argument 1 names different: declaration 'mask' definition 'numa_mask'. [funcArgNamesDifferent] stress-ng-0.19.01/core-numa.h:100:55: note: Function 'stress_numa_mask_free' argument 1 names different: declaration 'mask' definition 'numa_mask'. stress-ng-0.19.01/core-numa.c:223:48: note: Function 'stress_numa_mask_free' argument 1 names different: declaration 'mask' definition 'numa_mask'. stress-ng-0.19.01/core-numa.c:544:14: style:inconclusive: Function 'stress_numa_mask_and_node_alloc' argument 4 names different: declaration 'option' definition 'numa_option'. [funcArgNamesDifferent] stress-ng-0.19.01/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.19.01/core-numa.c:544:14: note: Function 'stress_numa_mask_and_node_alloc' argument 4 names different: declaration 'option' definition 'numa_option'. stress-ng-0.19.01/core-net.c:281:19: style: Parameter 'sockaddr' can be declared as pointer to const [constParameterPointer] stress-ng-0.19.01/core-out-of-memory.c:272:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/core-out-of-memory.c:348:8: style: Condition 'oomed' is always false [knownConditionTrueFalse] stress-ng-0.19.01/core-out-of-memory.c:332:38: note: Calling function 'stress_process_oomed' returns 0 stress-ng-0.19.01/core-out-of-memory.c:332:38: note: Assignment 'oomed=stress_process_oomed(pid)', assigned value is 0 stress-ng-0.19.01/core-out-of-memory.c:348:8: note: Condition 'oomed' is always false stress-ng-0.19.01/core-out-of-memory.c:360:8: style: Condition 'oomed' is always false [knownConditionTrueFalse] stress-ng-0.19.01/core-out-of-memory.c:332:38: note: Calling function 'stress_process_oomed' returns 0 stress-ng-0.19.01/core-out-of-memory.c:332:38: note: Assignment 'oomed=stress_process_oomed(pid)', assigned value is 0 stress-ng-0.19.01/core-out-of-memory.c:360:8: note: Condition 'oomed' is always false stress-ng-0.19.01/core-out-of-memory.c:239:30: style:inconclusive: Function 'stress_oomable_child' argument 4 names different: declaration 'flag' definition 'context'. [funcArgNamesDifferent] stress-ng-0.19.01/core-out-of-memory.h:29:46: note: Function 'stress_oomable_child' argument 4 names different: declaration 'flag' definition 'context'. stress-ng-0.19.01/core-out-of-memory.c:239:30: note: Function 'stress_oomable_child' argument 4 names different: declaration 'flag' definition 'context'. stress-ng-0.19.01/core-parse-opts.c:41:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/core-parse-opts.c:58:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/core-parse-opts.c:76:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/core-parse-opts.c:96:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/core-parse-opts.c:123:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/core-parse-opts.c:147:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/core-parse-opts.c:163:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCNu64 [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/core-parse-opts.c:183:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCNd64 [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/core-parse-opts.c:208:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCNu64 [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/core-parse-opts.c:228:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCNd64 [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/core-parse-opts.c:253:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCNu64 [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/core-parse-opts.c:273:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCNd64 [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/core-parse-opts.c:298:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCNu64 [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/core-parse-opts.c:314:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCNd64 [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/core-parse-opts.c:331:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCNu64 [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/core-parse-opts.c:351:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCNd64 [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/core-parse-opts.c:381:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCNu64 [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/core-parse-opts.c:426:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/core-parse-opts.c:468:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/core-parse-opts.c:499:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/core-parse-opts.c:535:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/core-parse-opts.c:681:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/core-parse-opts.c:606:61: style:inconclusive: Function 'stress_parse_opt' argument 2 names different: declaration 'optarg' definition 'opt_arg'. [funcArgNamesDifferent] stress-ng-0.19.01/core-parse-opts.h:77:80: note: Function 'stress_parse_opt' argument 2 names different: declaration 'optarg' definition 'opt_arg'. stress-ng-0.19.01/core-parse-opts.c:606:61: note: Function 'stress_parse_opt' argument 2 names different: declaration 'optarg' definition 'opt_arg'. stress-ng-0.19.01/core-resources.c:337:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/core-sched.c:286:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/core-shared-heap.c:64:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/core-setting.c:57:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu8 [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/core-setting.c:220:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/core-resources.c:432:39: warning: Division by result of sizeof(). socket() expects a size in bytes, did you intend to multiply instead? [sizeofDivisionMemfunc] stress-ng-0.19.01/core-resources.c:433:37: warning: Division by result of sizeof(). socket() expects a size in bytes, did you intend to multiply instead? [sizeofDivisionMemfunc] stress-ng-0.19.01/core-shim.c:148:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/core-shim.c:331:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/core-shim.c:904:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/core-shim.c:1320:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/core-shim.c:1364:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable E2BIG [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/core-shim.c:1569:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/core-shim.c:2289:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/core-shim.c:2780:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/core-smart.c:76:11: style: struct member 'stress_smart_raw_value_t::attr_id' is never used. [unusedStructMember] stress-ng-0.19.01/core-smart.c:77:11: style: struct member 'stress_smart_raw_value_t::attr_flags' is never used. [unusedStructMember] stress-ng-0.19.01/core-smart.c:78:11: style: struct member 'stress_smart_raw_value_t::current_value' is never used. [unusedStructMember] stress-ng-0.19.01/core-smart.c:79:11: style: struct member 'stress_smart_raw_value_t::worst_value' is never used. [unusedStructMember] stress-ng-0.19.01/core-smart.c:80:11: style: struct member 'stress_smart_raw_value_t::data' is never used. [unusedStructMember] stress-ng-0.19.01/core-smart.c:81:11: style: struct member 'stress_smart_raw_value_t::attr_data' is never used. [unusedStructMember] stress-ng-0.19.01/core-smart.c:82:11: style: struct member 'stress_smart_raw_value_t::threshold' is never used. [unusedStructMember] stress-ng-0.19.01/core-smart.c:86:10: style: struct member 'stress_smart_data_t::count' is never used. [unusedStructMember] stress-ng-0.19.01/core-smart.c:87:10: style: struct member 'stress_smart_data_t::size' is never used. [unusedStructMember] stress-ng-0.19.01/core-smart.c:88:27: style: struct member 'stress_smart_data_t::values' is never used. [unusedStructMember] stress-ng-0.19.01/core-smart.c:92:8: style: struct member 'stress_smart_dev_t::dev_name' is never used. [unusedStructMember] stress-ng-0.19.01/core-smart.c:93:23: style: struct member 'stress_smart_dev_t::data_begin' is never used. [unusedStructMember] stress-ng-0.19.01/core-smart.c:94:23: style: struct member 'stress_smart_dev_t::data_end' is never used. [unusedStructMember] stress-ng-0.19.01/core-smart.c:95:29: style: struct member 'stress_smart_dev_t::next' is never used. [unusedStructMember] stress-ng-0.19.01/core-smart.c:99:22: style: struct member 'stress_smart_devs_t::dev' is never used. [unusedStructMember] stress-ng-0.19.01/core-shim.c:905:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] stress-ng-0.19.01/core-shim.c:951:9: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] stress-ng-0.19.01/core-shim.c:978: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.19.01/core-shim.c:1319:6: style: Condition 'newbrk==(void*)-1' is always true [knownConditionTrueFalse] stress-ng-0.19.01/core-shim.c:1348:38: note: Calling function 'shim_enosys' returns -1 stress-ng-0.19.01/core-shim.c:1317:32: note: Calling function 'shim_sbrk' returns -1 stress-ng-0.19.01/core-shim.c:1317:32: note: Assignment 'newbrk=shim_sbrk(inc)', assigned value is -1 stress-ng-0.19.01/core-shim.c:1319:6: note: Condition 'newbrk==(void*)-1' is always true stress-ng-0.19.01/core-shim.c:1578:12: style: Condition 'ret>=0' is always false [knownConditionTrueFalse] stress-ng-0.19.01/core-shim.c:1576:27: note: Calling function 'shim_enosys' returns -1 stress-ng-0.19.01/core-shim.c:1576:9: note: Assignment 'ret=(pid_t)shim_enosys(0,pid,wstatus,options)', assigned value is -1 stress-ng-0.19.01/core-shim.c:1578:12: note: Condition 'ret>=0' is always false stress-ng-0.19.01/core-sort.c:128:2: style: Variable '*(uint64_t*)p2' is assigned an expression that holds the same value. [redundantAssignment] stress-ng-0.19.01/core-sort.c:126:8: note: tmp64 is assigned '*(uint64_t*)p1' here. stress-ng-0.19.01/core-sort.c:128:2: note: Variable '*(uint64_t*)p2' is assigned an expression that holds the same value. stress-ng-0.19.01/core-sort.c:139:2: style: Variable '*(uint32_t*)p2' is assigned an expression that holds the same value. [redundantAssignment] stress-ng-0.19.01/core-sort.c:137:8: note: tmp32 is assigned '*(uint32_t*)p1' here. stress-ng-0.19.01/core-sort.c:139:2: note: Variable '*(uint32_t*)p2' is assigned an expression that holds the same value. stress-ng-0.19.01/core-sort.c:150:2: style: Variable '*(uint16_t*)p2' is assigned an expression that holds the same value. [redundantAssignment] stress-ng-0.19.01/core-sort.c:148:8: note: tmp16 is assigned '*(uint16_t*)p1' here. stress-ng-0.19.01/core-sort.c:150:2: note: Variable '*(uint16_t*)p2' is assigned an expression that holds the same value. stress-ng-0.19.01/core-sort.c:161:2: style: Variable '*(uint8_t*)p2' is assigned an expression that holds the same value. [redundantAssignment] stress-ng-0.19.01/core-sort.c:159:7: note: tmp8 is assigned '*(uint8_t*)p1' here. stress-ng-0.19.01/core-sort.c:161:2: note: Variable '*(uint8_t*)p2' is assigned an expression that holds the same value. stress-ng-0.19.01/core-sort.c:208:27: style: Variable 'u8p2' can be declared as pointer to const [constVariablePointer] stress-ng-0.19.01/core-shim.c:1197:40: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] stress-ng-0.19.01/core-shim.c:1197:46: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] stress-ng-0.19.01/core-shim.c:1215:51: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] stress-ng-0.19.01/core-shim.c:2630:23: style:inconclusive: Function 'shim_unlinkat' argument 1 names different: declaration 'dirfd' definition 'dir_fd'. [funcArgNamesDifferent] stress-ng-0.19.01/core-shim.h:680:30: note: Function 'shim_unlinkat' argument 1 names different: declaration 'dirfd' definition 'dir_fd'. stress-ng-0.19.01/core-shim.c:2630:23: note: Function 'shim_unlinkat' argument 1 names different: declaration 'dirfd' definition 'dir_fd'. stress-ng-0.19.01/core-sync.c:44:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/core-sync.c:89:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/core-sync.c:116:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/core-thermal-zone.c:194:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCNu64 [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/core-thermal-zone.c:293:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu32 [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/core-sync.c:55:45: style: Parameter 's_pids' can be declared as pointer to const [constParameterPointer] stress-ng-0.19.01/core-try-open.c:42:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WNOHANG [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/core-try-open.c:85:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/core-vmstat.c:192:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/core-vmstat.c:1252:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-access.c:165:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-access.c:286:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRUSR [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-affinity.c:29:20: style: struct member 'stress_affinity_info_t::cpu' is never used. [unusedStructMember] stress-ng-0.19.01/stress-affinity.c:30:11: style: struct member 'stress_affinity_info_t::cpus' is never used. [unusedStructMember] stress-ng-0.19.01/stress-affinity.c:31:11: style: struct member 'stress_affinity_info_t::affinity_delay' is never used. [unusedStructMember] stress-ng-0.19.01/stress-affinity.c:32:11: style: struct member 'stress_affinity_info_t::affinity_sleep' is never used. [unusedStructMember] stress-ng-0.19.01/stress-affinity.c:33:8: style: struct member 'stress_affinity_info_t::affinity_rand' is never used. [unusedStructMember] stress-ng-0.19.01/stress-affinity.c:34:8: style: struct member 'stress_affinity_info_t::affinity_pin' is never used. [unusedStructMember] stress-ng-0.19.01/core-vmstat.c:1202:18: style: Same expression on both sides of '<'. [duplicateExpression] stress-ng-0.19.01/core-vmstat.c:1202:18: style: Same expression in both branches of ternary operator. [duplicateExpressionTernary] stress-ng-0.19.01/core-vmstat.c:101:11: style: struct member 'stress_iostat_t::read_io' is never used. [unusedStructMember] stress-ng-0.19.01/core-vmstat.c:102:11: style: struct member 'stress_iostat_t::read_merges' is never used. [unusedStructMember] stress-ng-0.19.01/core-vmstat.c:103:11: style: struct member 'stress_iostat_t::read_sectors' is never used. [unusedStructMember] stress-ng-0.19.01/core-vmstat.c:104:11: style: struct member 'stress_iostat_t::read_ticks' is never used. [unusedStructMember] stress-ng-0.19.01/core-vmstat.c:105:11: style: struct member 'stress_iostat_t::write_io' is never used. [unusedStructMember] stress-ng-0.19.01/core-vmstat.c:106:11: style: struct member 'stress_iostat_t::write_merges' is never used. [unusedStructMember] stress-ng-0.19.01/core-vmstat.c:107:11: style: struct member 'stress_iostat_t::write_sectors' is never used. [unusedStructMember] stress-ng-0.19.01/core-vmstat.c:108:11: style: struct member 'stress_iostat_t::write_ticks' is never used. [unusedStructMember] stress-ng-0.19.01/core-vmstat.c:109:11: style: struct member 'stress_iostat_t::in_flight' is never used. [unusedStructMember] stress-ng-0.19.01/core-vmstat.c:110:11: style: struct member 'stress_iostat_t::io_ticks' is never used. [unusedStructMember] stress-ng-0.19.01/core-vmstat.c:111:11: style: struct member 'stress_iostat_t::time_in_queue' is never used. [unusedStructMember] stress-ng-0.19.01/stress-alarm.c:53:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_BLOCK [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-alarm.c:78:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-besselmath.c:29:14: style: struct member 'stress_besselmath_method_t::name' is never used. [unusedStructMember] stress-ng-0.19.01/stress-besselmath.c:30:9: style: struct member 'stress_besselmath_method_t::besselmath_func' is never used. [unusedStructMember] stress-ng-0.19.01/stress-bigheap.c:254:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-bitonicsort.c:144:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-bitops.c:147:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIx32 [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-bitops.c:248:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIx32 [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-bitops.c:345:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIx32 [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-bitops.c:432:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIx32 [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-bitops.c:480:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIx32 [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-bitops.c:650:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIx32 [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-bitops.c:729:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIx32 [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-bitops.c:824:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIx32 [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-bitops.c:871:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIx32 [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-bitops.c:940:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIx32 [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-bitops.c:1032:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIx32 [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-bubblesort.c:57:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-bubblesort.c:95:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-bubblesort.c:185:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-brk.c:69:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-brk.c:136:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-brk.c:304:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-bsearch.c:154:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-brk.c:88:20: style: Parameter 'addr' can be declared as pointer to const [constParameterPointer] stress-ng-0.19.01/stress-cachehammer.c:98:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRWXU [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-cachehammer.c:159:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vptr2 [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-cachehammer.c:209:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vptr2 [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-cachehammer.c:264:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vptr2 [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-cachehammer.c:318:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable vptr2 [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-cachehammer.c:1086:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAP_PRIVATE [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-cacheline.c:149:80: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIx8 [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-cacheline.c:186:76: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIx8 [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-cacheline.c:227:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIx8 [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-cacheline.c:303:76: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIx8 [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-cacheline.c:334:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIx8 [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-cacheline.c:374:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIx8 [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-cacheline.c:415:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIx8 [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-cacheline.c:469:78: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIx8 [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-cacheline.c:501:76: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIx8 [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-cacheline.c:751:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-bitops.c:822:20: style:inconclusive: Boolean expression 'j>0' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] stress-ng-0.19.01/stress-bitops.c:1026:46: style:inconclusive: Boolean expression '(j&0x000000ffU)==0' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] stress-ng-0.19.01/stress-bitops.c:1028:32: style:inconclusive: Boolean expression '(j&0xff000000U)==0' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] stress-ng-0.19.01/stress-bitops.c:100:35: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] stress-ng-0.19.01/stress-cachehammer.c:167:2: warning:inconclusive: Found suspicious operator '*', result is not used. [constStatement] stress-ng-0.19.01/stress-cachehammer.c:169:2: warning:inconclusive: Found suspicious operator '*', result is not used. [constStatement] stress-ng-0.19.01/stress-cachehammer.c:171:2: warning:inconclusive: Found suspicious operator '*', result is not used. [constStatement] stress-ng-0.19.01/stress-cachehammer.c:173:2: warning:inconclusive: Found suspicious operator '*', result is not used. [constStatement] stress-ng-0.19.01/stress-cachehammer.c:175:2: warning:inconclusive: Found suspicious operator '*', result is not used. [constStatement] stress-ng-0.19.01/stress-cachehammer.c:177:2: warning:inconclusive: Found suspicious operator '*', result is not used. [constStatement] stress-ng-0.19.01/stress-cachehammer.c:179:2: warning:inconclusive: Found suspicious operator '*', result is not used. [constStatement] stress-ng-0.19.01/stress-cachehammer.c:181:2: warning:inconclusive: Found suspicious operator '*', result is not used. [constStatement] stress-ng-0.19.01/stress-cachehammer.c:272:2: warning:inconclusive: Found suspicious operator '*', result is not used. [constStatement] stress-ng-0.19.01/stress-cachehammer.c:276:2: warning:inconclusive: Found suspicious operator '*', result is not used. [constStatement] stress-ng-0.19.01/stress-cachehammer.c:280:2: warning:inconclusive: Found suspicious operator '*', result is not used. [constStatement] stress-ng-0.19.01/stress-cachehammer.c:284:2: warning:inconclusive: Found suspicious operator '*', result is not used. [constStatement] stress-ng-0.19.01/stress-cachehammer.c:328:2: warning:inconclusive: Found suspicious operator '*', result is not used. [constStatement] stress-ng-0.19.01/stress-cachehammer.c:332:2: warning:inconclusive: Found suspicious operator '*', result is not used. [constStatement] stress-ng-0.19.01/stress-cachehammer.c:336:2: warning:inconclusive: Found suspicious operator '*', result is not used. [constStatement] stress-ng-0.19.01/stress-cachehammer.c:340:2: warning:inconclusive: Found suspicious operator '*', result is not used. [constStatement] stress-ng-0.19.01/stress-cachehammer.c:616:45: style: Parameter 'addr1' can be declared as pointer to const. However it seems that 'hammer_prefetch' is a callback function, if 'addr1' is declared with const you might also need to cast function pointer(s). [constParameterCallback] stress-ng-0.19.01/stress-cachehammer.c:950:33: note: You might need to cast the function pointer here stress-ng-0.19.01/stress-cachehammer.c:616:45: note: Parameter 'addr1' can be declared as pointer to const stress-ng-0.19.01/stress-cachehammer.c:616:58: style: Parameter 'addr2' can be declared as pointer to const. However it seems that 'hammer_prefetch' is a callback function, if 'addr2' is declared with const you might also need to cast function pointer(s). [constParameterCallback] stress-ng-0.19.01/stress-cachehammer.c:950:33: note: You might need to cast the function pointer here stress-ng-0.19.01/stress-cachehammer.c:616:58: note: Parameter 'addr2' can be declared as pointer to const stress-ng-0.19.01/stress-cacheline.c:500:7: style: Condition '*data8!=val8' is always false [knownConditionTrueFalse] stress-ng-0.19.01/stress-cacheline.c:498:10: note: *data8 is assigned 'val8' here. stress-ng-0.19.01/stress-cacheline.c:500:7: note: Condition '*data8!=val8' is always false stress-ng-0.19.01/stress-cacheline.c:508:7: style: Condition '*data8!=val8' is always false [knownConditionTrueFalse] stress-ng-0.19.01/stress-cacheline.c:506:10: note: *data8 is assigned 'val8' here. stress-ng-0.19.01/stress-cacheline.c:508:7: note: Condition '*data8!=val8' is always false stress-ng-0.19.01/stress-cacheline.c:256:3: style: Variable 'tmp' is assigned an expression that holds the same value. [redundantAssignment] stress-ng-0.19.01/stress-cacheline.c:254:10: note: *data8 is assigned 'tmp' here. stress-ng-0.19.01/stress-cacheline.c:256:3: note: Variable 'tmp' is assigned an expression that holds the same value. stress-ng-0.19.01/stress-cacheline.c:259:3: style: Variable 'tmp' is assigned an expression that holds the same value. [redundantAssignment] stress-ng-0.19.01/stress-cacheline.c:257:10: note: *data8 is assigned 'tmp' here. stress-ng-0.19.01/stress-cacheline.c:259:3: note: Variable 'tmp' is assigned an expression that holds the same value. stress-ng-0.19.01/stress-cacheline.c:262:3: style: Variable 'tmp' is assigned an expression that holds the same value. [redundantAssignment] stress-ng-0.19.01/stress-cacheline.c:260:10: note: *data8 is assigned 'tmp' here. stress-ng-0.19.01/stress-cacheline.c:262:3: note: Variable 'tmp' is assigned an expression that holds the same value. stress-ng-0.19.01/stress-cacheline.c:265:3: style: Variable 'tmp' is assigned an expression that holds the same value. [redundantAssignment] stress-ng-0.19.01/stress-cacheline.c:263:10: note: *data8 is assigned 'tmp' here. stress-ng-0.19.01/stress-cacheline.c:265:3: note: Variable 'tmp' is assigned an expression that holds the same value. stress-ng-0.19.01/stress-cacheline.c:268:3: style: Variable 'tmp' is assigned an expression that holds the same value. [redundantAssignment] stress-ng-0.19.01/stress-cacheline.c:266:10: note: *data8 is assigned 'tmp' here. stress-ng-0.19.01/stress-cacheline.c:268:3: note: Variable 'tmp' is assigned an expression that holds the same value. stress-ng-0.19.01/stress-cacheline.c:271:3: style: Variable 'tmp' is assigned an expression that holds the same value. [redundantAssignment] stress-ng-0.19.01/stress-cacheline.c:269:10: note: *data8 is assigned 'tmp' here. stress-ng-0.19.01/stress-cacheline.c:271:3: note: Variable 'tmp' is assigned an expression that holds the same value. stress-ng-0.19.01/stress-cacheline.c:274:3: style: Variable 'tmp' is assigned an expression that holds the same value. [redundantAssignment] stress-ng-0.19.01/stress-cacheline.c:272:10: note: *data8 is assigned 'tmp' here. stress-ng-0.19.01/stress-cacheline.c:274:3: note: Variable 'tmp' is assigned an expression that holds the same value. stress-ng-0.19.01/stress-cacheline.c:277:3: style: Variable 'tmp' is assigned an expression that holds the same value. [redundantAssignment] stress-ng-0.19.01/stress-cacheline.c:275:10: note: *data8 is assigned 'tmp' here. stress-ng-0.19.01/stress-cacheline.c:277:3: note: Variable 'tmp' is assigned an expression that holds the same value. stress-ng-0.19.01/stress-cacheline.c:280:3: style: Variable 'tmp' is assigned an expression that holds the same value. [redundantAssignment] stress-ng-0.19.01/stress-cacheline.c:278:10: note: *data8 is assigned 'tmp' here. stress-ng-0.19.01/stress-cacheline.c:280:3: note: Variable 'tmp' is assigned an expression that holds the same value. stress-ng-0.19.01/stress-cacheline.c:283:3: style: Variable 'tmp' is assigned an expression that holds the same value. [redundantAssignment] stress-ng-0.19.01/stress-cacheline.c:281:10: note: *data8 is assigned 'tmp' here. stress-ng-0.19.01/stress-cacheline.c:283:3: note: Variable 'tmp' is assigned an expression that holds the same value. stress-ng-0.19.01/stress-cacheline.c:286:3: style: Variable 'tmp' is assigned an expression that holds the same value. [redundantAssignment] stress-ng-0.19.01/stress-cacheline.c:284:10: note: *data8 is assigned 'tmp' here. stress-ng-0.19.01/stress-cacheline.c:286:3: note: Variable 'tmp' is assigned an expression that holds the same value. stress-ng-0.19.01/stress-cacheline.c:289:3: style: Variable 'tmp' is assigned an expression that holds the same value. [redundantAssignment] stress-ng-0.19.01/stress-cacheline.c:287:10: note: *data8 is assigned 'tmp' here. stress-ng-0.19.01/stress-cacheline.c:289:3: note: Variable 'tmp' is assigned an expression that holds the same value. stress-ng-0.19.01/stress-cacheline.c:292:3: style: Variable 'tmp' is assigned an expression that holds the same value. [redundantAssignment] stress-ng-0.19.01/stress-cacheline.c:290:10: note: *data8 is assigned 'tmp' here. stress-ng-0.19.01/stress-cacheline.c:292:3: note: Variable 'tmp' is assigned an expression that holds the same value. stress-ng-0.19.01/stress-cacheline.c:295:3: style: Variable 'tmp' is assigned an expression that holds the same value. [redundantAssignment] stress-ng-0.19.01/stress-cacheline.c:293:10: note: *data8 is assigned 'tmp' here. stress-ng-0.19.01/stress-cacheline.c:295:3: note: Variable 'tmp' is assigned an expression that holds the same value. stress-ng-0.19.01/stress-cacheline.c:298:3: style: Variable 'tmp' is assigned an expression that holds the same value. [redundantAssignment] stress-ng-0.19.01/stress-cacheline.c:296:10: note: *data8 is assigned 'tmp' here. stress-ng-0.19.01/stress-cacheline.c:298:3: note: Variable 'tmp' is assigned an expression that holds the same value. stress-ng-0.19.01/stress-cacheline.c:118:20: style: Variable 'data8adjacent' can be declared as pointer to const [constVariablePointer] stress-ng-0.19.01/stress-cacheline.c:368:23: style: Variable 'data64' can be declared as pointer to const [constVariablePointer] stress-ng-0.19.01/stress-cacheline.c:409:23: style: Variable 'data64' can be declared as pointer to const [constVariablePointer] stress-ng-0.19.01/stress-cacheline.c:432:21: style: Variable 'data16' can be declared as pointer to const [constVariablePointer] stress-ng-0.19.01/stress-cacheline.c:433:21: style: Variable 'data32' can be declared as pointer to const [constVariablePointer] stress-ng-0.19.01/stress-cacheline.c:434:21: style: Variable 'data64' can be declared as pointer to const [constVariablePointer] stress-ng-0.19.01/stress-chown.c:52:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-chown.c:72:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-chown.c:127:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-chown.c:182:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRUSR [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-chdir.c:71:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu32 [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-chmod.c:98:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-chmod.c:255:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRUSR [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-chmod.c:323:49: style: Condition 'do_fchmod(fd,bad_fd,i,mask,all_mask)<0' is always false [knownConditionTrueFalse] stress-ng-0.19.01/stress-chmod.c:323:17: note: Calling function 'do_fchmod' returns 0 stress-ng-0.19.01/stress-chmod.c:323:49: note: Condition 'do_fchmod(fd,bad_fd,i,mask,all_mask)<0' is always false stress-ng-0.19.01/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.19.01/stress-chmod.c:328:16: note: Calling function 'do_chmod' returns 0 stress-ng-0.19.01/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.19.01/stress-chmod.c:242:23: style: Variable 'filebase' can be declared as pointer to const [constVariablePointer] stress-ng-0.19.01/stress-crypt.c:35:14: style: struct member 'crypt_method_t::prefix' is never used. [unusedStructMember] stress-ng-0.19.01/stress-crypt.c:36:15: style: struct member 'crypt_method_t::prefix_len' is never used. [unusedStructMember] stress-ng-0.19.01/stress-cyclic.c:103:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-cyclic.c:548:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-cyclic.c:652:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-daemon.c:71:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-daemon.c:171:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-cache.c:1061:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-cpu.c:123:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-cpu.c:179:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu32 [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-cpu.c:1368:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu32 [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-cpu.c:2692:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu32 [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-dccp.c:55:14: style: struct member 'stress_dccp_opts_t::opt' is never used. [unusedStructMember] stress-ng-0.19.01/stress-dentry.c:86:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-dentry.c:148:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-dentry.c:186:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-dentry.c:363:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-dir.c:151:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-dir.c:180:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu32 [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-dir.c:283:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRUSR [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-dir.c:352:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-dir.c:383:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIdMAX [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-dir.c:495:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRUSR [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-dev.c:215:7: style: struct member 'dev_state_t::scsi_checked' is never used. [unusedStructMember] stress-ng-0.19.01/stress-dev.c:216:7: style: struct member 'dev_state_t::scsi_device' is never used. [unusedStructMember] stress-ng-0.19.01/stress-dev.c:217:7: style: struct member 'dev_state_t::open_failed' is never used. [unusedStructMember] stress-ng-0.19.01/stress-dev.c:218:7: style: struct member 'dev_state_t::open_succeeded' is never used. [unusedStructMember] stress-ng-0.19.01/stress-dev.c:222:8: style: struct member 'dev_info::path' is never used. [unusedStructMember] stress-ng-0.19.01/stress-dev.c:223:8: style: struct member 'dev_info::name' is never used. [unusedStructMember] stress-ng-0.19.01/stress-dev.c:224:11: style: struct member 'dev_info::rnd_id' is never used. [unusedStructMember] stress-ng-0.19.01/stress-dev.c:225:15: style: struct member 'dev_info::state' is never used. [unusedStructMember] stress-ng-0.19.01/stress-dev.c:226:19: style: struct member 'dev_info::next' is never used. [unusedStructMember] stress-ng-0.19.01/stress-dentry.c:192:8: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] stress-ng-0.19.01/stress-dentry.c:45:16: style: struct member 'stress_dentry_removal_t::denty_order' is never used. [unusedStructMember] stress-ng-0.19.01/stress-dirdeep.c:103:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-dirdeep.c:290:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_name [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-dirdeep.c:365:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_name [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-dirdeep.c:425:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-dirmany.c:49:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIx64 [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-dirmany.c:84:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-dup.c:230:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-easy-opcode.c:32:16: style: struct member 'stress_easy_opcode::len' is never used. [unusedStructMember] stress-ng-0.19.01/stress-easy-opcode.c:33:16: style: struct member 'stress_easy_opcode::opcodes' is never used. [unusedStructMember] stress-ng-0.19.01/stress-env.c:77:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-env.c:114:9: warning: If memory allocation fails, then there is a possible null pointer dereference: value [nullPointerOutOfMemory] stress-ng-0.19.01/stress-env.c:77:22: note: Assuming allocation function fails stress-ng-0.19.01/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.19.01/stress-env.c:114:9: note: Null pointer dereference stress-ng-0.19.01/stress-env.c:115:3: warning: If memory allocation fails, then there is a possible null pointer dereference: value [nullPointerOutOfMemory] stress-ng-0.19.01/stress-env.c:77:22: note: Assuming allocation function fails stress-ng-0.19.01/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.19.01/stress-env.c:115:3: note: Null pointer dereference stress-ng-0.19.01/stress-env.c:116:22: warning: If memory allocation fails, then there is a possible null pointer dereference: value [nullPointerOutOfMemory] stress-ng-0.19.01/stress-env.c:77:22: note: Assuming allocation function fails stress-ng-0.19.01/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.19.01/stress-env.c:116:22: note: Null pointer dereference stress-ng-0.19.01/stress-env.c:117:3: warning: If memory allocation fails, then there is a possible null pointer dereference: value [nullPointerOutOfMemory] stress-ng-0.19.01/stress-env.c:77:22: note: Assuming allocation function fails stress-ng-0.19.01/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.19.01/stress-env.c:117:3: note: Null pointer dereference stress-ng-0.19.01/stress-exec.c:468:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-exec.c:701:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-exec.c:718:9: warning: If memory allocation fails, then there is a possible null pointer dereference: str [nullPointerOutOfMemory] stress-ng-0.19.01/stress-exec.c:712:12: note: Assuming allocation function fails stress-ng-0.19.01/stress-exec.c:712:12: note: Assignment 'str=mmap(NULL,arg_max,PROT_READ|PROT_WRITE,MAP_ANONYMOUS|MAP_PRIVATE,-1,0)', assigned value is 0 stress-ng-0.19.01/stress-exec.c:718:9: note: Null pointer dereference stress-ng-0.19.01/stress-exec.c:633:10: style: The comparison 'fd != -1' is always false. [knownConditionTrueFalse] stress-ng-0.19.01/stress-exec.c:451:36: note: 'fd' is assigned value '-1' here. stress-ng-0.19.01/stress-exec.c:633:10: note: The comparison 'fd != -1' is always false. stress-ng-0.19.01/stress-exec.c:405:57: style: Parameter 'context' can be declared as pointer to const [constParameterPointer] stress-ng-0.19.01/stress-cache.c:1157:16: warning: If memory allocation fails, then there is a possible null pointer dereference: bad_addr [nullPointerOutOfMemory] stress-ng-0.19.01/stress-cache.c:1154:17: note: Assuming allocation function fails stress-ng-0.19.01/stress-cache.c:1154:17: note: Assignment 'bad_addr=mmap(NULL,args->page_size,PROT_READ,MAP_ANONYMOUS|MAP_PRIVATE,-1,0)', assigned value is 0 stress-ng-0.19.01/stress-cache.c:1157:16: note: Null pointer dereference stress-ng-0.19.01/stress-expmath.c:494:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-expmath.c:35:14: style: struct member 'stress_expmath_method_t::name' is never used. [unusedStructMember] stress-ng-0.19.01/stress-expmath.c:36:9: style: struct member 'stress_expmath_method_t::expmath_func' is never used. [unusedStructMember] stress-ng-0.19.01/stress-fault.c:84:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAP_SHARED [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-fd-fork.c:137:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-fcntl.c:828:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable setfl_flag_count [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-cpu.c:0:0: debug: ValueFlow maximum iterations exceeded [valueFlowMaxIterations] stress-ng-0.19.01/stress-fault.c:188:4: warning: If memory allocation fails, then there is a possible null pointer dereference: ptr [nullPointerOutOfMemory] stress-ng-0.19.01/stress-fault.c:171:24: note: Assuming allocation function fails stress-ng-0.19.01/stress-fault.c:171:9: note: Assignment 'ptr=(uint8_t*)mmap(NULL,1,PROT_READ|PROT_WRITE,MAP_SHARED,fd,0)', assigned value is 0 stress-ng-0.19.01/stress-fault.c:188:4: note: Null pointer dereference stress-ng-0.19.01/stress-fault.c:233:24: warning: If memory allocation fails, then there is a possible null pointer dereference: ptr [nullPointerOutOfMemory] stress-ng-0.19.01/stress-fault.c:230:26: note: Assuming allocation function fails stress-ng-0.19.01/stress-fault.c:230:11: note: Assignment 'ptr=(uint8_t*)mmap(mapto,page_size,PROT_READ,MAP_ANONYMOUS|MAP_SHARED,-1,0)', assigned value is 0 stress-ng-0.19.01/stress-fault.c:233:24: note: Null pointer dereference stress-ng-0.19.01/stress-fault.c:62:8: style: Variable 'mapto' can be declared as pointer to const [constVariablePointer] stress-ng-0.19.01/stress-fcntl.c:109:17: style: Parameter 'args' can be declared as pointer to const [constParameterPointer] stress-ng-0.19.01/stress-fcntl.c:113:7: style: Parameter 'rc' can be declared as pointer to const [constParameterPointer] stress-ng-0.19.01/stress-cpu.c:1864:15: style: Floating-point cast causes loss of precision. [suspiciousFloatingPointCast] stress-ng-0.19.01/stress-cpu.c:1867:21: style: Floating-point cast causes loss of precision. [suspiciousFloatingPointCast] stress-ng-0.19.01/stress-cpu.c:1871:21: style: Floating-point cast causes loss of precision. [suspiciousFloatingPointCast] stress-ng-0.19.01/stress-cpu.c:1873:29: style: Floating-point cast causes loss of precision. [suspiciousFloatingPointCast] stress-ng-0.19.01/stress-fd-fork.c:46:12: style: struct member 'stress_fd_file_t::fd_type' is never used. [unusedStructMember] stress-ng-0.19.01/stress-cpu.c:1851:3: style: Variable 'f' is assigned an expression that holds the same value. [redundantAssignment] stress-ng-0.19.01/stress-cpu.c:1849:5: note: f is assigned '(float)(double)i' here. stress-ng-0.19.01/stress-cpu.c:1851:3: note: Variable 'f' is assigned an expression that holds the same value. stress-ng-0.19.01/stress-cpu.c:1855:3: style: Variable 'f' is assigned an expression that holds the same value. [redundantAssignment] stress-ng-0.19.01/stress-cpu.c:1853:5: note: f is assigned '(float)(double)(long double)i' here. stress-ng-0.19.01/stress-cpu.c:1855:3: note: Variable 'f' is assigned an expression that holds the same value. stress-ng-0.19.01/stress-fd-race.c:48:34: style: struct member 'stress_fd_race_filename::next' is never used. [unusedStructMember] stress-ng-0.19.01/stress-fd-race.c:49:8: style: struct member 'stress_fd_race_filename::filename' is never used. [unusedStructMember] stress-ng-0.19.01/stress-fd-race.c:50:6: style: struct member 'stress_fd_race_filename::flags' is never used. [unusedStructMember] stress-ng-0.19.01/stress-fibsearch.c:107:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-file-ioctl.c:284:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-filename.c:79:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRUSR [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-filename.c:136:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRUSR [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-filename.c:277:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRUSR [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-filename.c:331:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRWXU [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-filerace.c:185:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRUSR [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-filerace.c:346:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-filerace.c:360:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tv_sec [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-filerace.c:519:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRUSR [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-filerace.c:534:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-filerace.c:545:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_APPEND [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-filerace.c:617:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-filerace.c:1330:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIx8 [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-filerace.c:1360:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRUSR [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-filerace.c:1563:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRWXU [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-filerace.c:366:2: style: Obsolescent function 'utimes' called. It is recommended to use 'utimensat' instead. [prohibitedutimesCalled] stress-ng-0.19.01/stress-fma.c:527:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-filename.c:364:13: style: Condition 'sz_max==0' is always false [knownConditionTrueFalse] stress-ng-0.19.01/stress-filename.c:360:11: note: Assignment 'sz_max=256', assigned value is 256 stress-ng-0.19.01/stress-filename.c:364:13: note: Condition 'sz_max==0' is always false stress-ng-0.19.01/stress-filename.c:66:8: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] stress-ng-0.19.01/stress-filename.c:106:8: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] stress-ng-0.19.01/stress-fork.c:317:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-forkheavy.c:268:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-fractal.c:348:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-fractal.c:163:8: style:inconclusive: Boolean expression 'end0' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] stress-ng-0.19.01/stress-fractal.c:175:13: style:inconclusive: Boolean expression 'end0' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] stress-ng-0.19.01/stress-fractal.c:243:8: style:inconclusive: Boolean expression 'end0' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] stress-ng-0.19.01/stress-fractal.c:255:13: style:inconclusive: Boolean expression 'end0' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] stress-ng-0.19.01/stress-fp.c:594:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-fstat.c:125:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-fstat.c:301:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-get.c:253:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-get.c:315:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-get.c:453:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-get.c:584:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-get.c:647:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-get.c:698:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-get.c:892:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-get.c:246:8: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] stress-ng-0.19.01/stress-hash.c:121:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIx32 [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-hdd.c:208:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-hdd.c:334:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-hdd.c:535:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-hdd.c:672:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-heapsort.c:60:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-heapsort.c:191:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-hsearch.c:79:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-hdd.c:540: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.19.01/stress-hdd.c:457:2: error: Invalid read() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] stress-ng-0.19.01/stress-hdd.c:516:2: error: Invalid write() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] stress-ng-0.19.01/stress-hdd.c:837:50: style: Condition 'stress_hdd_advise(args,fd,fadvise_flags)<0' is always false [knownConditionTrueFalse] stress-ng-0.19.01/stress-hdd.c:837:24: note: Calling function 'stress_hdd_advise' returns 0 stress-ng-0.19.01/stress-hdd.c:837:50: note: Condition 'stress_hdd_advise(args,fd,fadvise_flags)<0' is always false stress-ng-0.19.01/stress-hdd.c:192:11: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] stress-ng-0.19.01/stress-hdd.c:464:61: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] stress-ng-0.19.01/stress-hdd.c:525:20: style: Variable 'token' can be declared as pointer to const [constVariablePointer] stress-ng-0.19.01/stress-insertionsort.c:119:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-ioport.c:34:17: style: struct member 'stress_ioport_opts_t::flag' is never used. [unusedStructMember] stress-ng-0.19.01/stress-iomix.c:145:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-iomix.c:214:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-iomix.c:255:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-iomix.c:312:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-iomix.c:377:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-iomix.c:414:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-iomix.c:542:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAP_SHARED [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-iomix.c:591:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-iomix.c:634:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-iomix.c:685:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-iomix.c:1107:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-intmath.c:664:6: style: The if condition is the same as the previous if condition [duplicateCondition] stress-ng-0.19.01/stress-intmath.c:656:6: note: First condition stress-ng-0.19.01/stress-intmath.c:664:6: note: Second condition stress-ng-0.19.01/stress-jpeg.c:47:13: style: struct member 'jpeg_image_type_t::type' is never used. [unusedStructMember] stress-ng-0.19.01/stress-kill.c:88:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-l1cache.c:75:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu32 [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-l1cache.c:528:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-link.c:102:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-l1cache.c:216:4: warning:inconclusive: Found suspicious operator '*', result is not used. [constStatement] stress-ng-0.19.01/stress-l1cache.c:300:4: warning:inconclusive: Found suspicious operator '*', result is not used. [constStatement] stress-ng-0.19.01/stress-l1cache.c:339:4: warning:inconclusive: Found suspicious operator '*', result is not used. [constStatement] stress-ng-0.19.01/stress-l1cache.c:286:18: style: Variable 'cache_end' can be declared as pointer to const [constVariablePointer] stress-ng-0.19.01/stress-l1cache.c:325:18: style: Variable 'cache_end' can be declared as pointer to const [constVariablePointer] stress-ng-0.19.01/stress-logmath.c:576:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-logmath.c:35:14: style: struct member 'stress_logmath_method_t::name' is never used. [unusedStructMember] stress-ng-0.19.01/stress-logmath.c:36:9: style: struct member 'stress_logmath_method_t::logmath_func' is never used. [unusedStructMember] stress-ng-0.19.01/stress-longjmp.c:44:2: style:inconclusive: Statements following noreturn function 'longjmp()' will never be executed. [unreachableCode] stress-ng-0.19.01/stress-longjmp.c:52:2: style:inconclusive: Statements following noreturn function 'longjmp()' will never be executed. [unreachableCode] stress-ng-0.19.01/stress-lsearch.c:227:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu32 [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-lsearch.c:56: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.19.01/stress-lsearch.c:137:23: note: You might need to cast the function pointer here stress-ng-0.19.01/stress-lsearch.c:56:10: note: Parameter 'nmemb' can be declared as pointer to const stress-ng-0.19.01/stress-lsearch.c:89: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.19.01/stress-lsearch.c:138:24: note: You might need to cast the function pointer here stress-ng-0.19.01/stress-lsearch.c:89:10: note: Parameter 'nmemb' can be declared as pointer to const stress-ng-0.19.01/stress-malloc.c:177:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-memcpy.c:306:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-memrate.c:935:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-memrate.c:1078:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-mergesort.c:188:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-mergesort.c:274:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-metamix.c:93:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-min-nanosleep.c:35:11: style: struct member 'nanosleep_delay_t::nsec' is never used. [unusedStructMember] stress-ng-0.19.01/stress-min-nanosleep.c:36:11: style: struct member 'nanosleep_delay_t::min_nsec' is never used. [unusedStructMember] stress-ng-0.19.01/stress-min-nanosleep.c:37:11: style: struct member 'nanosleep_delay_t::max_nsec' is never used. [unusedStructMember] stress-ng-0.19.01/stress-min-nanosleep.c:38:11: style: struct member 'nanosleep_delay_t::count' is never used. [unusedStructMember] stress-ng-0.19.01/stress-min-nanosleep.c:39:11: style: struct member 'nanosleep_delay_t::sum_nsec' is never used. [unusedStructMember] stress-ng-0.19.01/stress-min-nanosleep.c:40:9: style: struct member 'nanosleep_delay_t::mean' is never used. [unusedStructMember] stress-ng-0.19.01/stress-min-nanosleep.c:41:7: style: struct member 'nanosleep_delay_t::updated' is never used. [unusedStructMember] stress-ng-0.19.01/stress-min-nanosleep.c:48:20: style: struct member 'nanosleep_delays_t::delay' is never used. [unusedStructMember] stress-ng-0.19.01/stress-min-nanosleep.c:49:8: style: struct member 'nanosleep_delays_t::pid' is never used. [unusedStructMember] stress-ng-0.19.01/stress-min-nanosleep.c:50:7: style: struct member 'nanosleep_delays_t::started' is never used. [unusedStructMember] stress-ng-0.19.01/stress-min-nanosleep.c:51:7: style: struct member 'nanosleep_delays_t::finished' is never used. [unusedStructMember] stress-ng-0.19.01/stress-mergesort.c:107:8: style: Condition 'n>0' is always false [knownConditionTrueFalse] stress-ng-0.19.01/stress-mergesort.c:94:14: note: Assuming that condition 'lhs0' is always false stress-ng-0.19.01/stress-mergesort.c:112:8: style: Condition 'n>0' is always false [knownConditionTrueFalse] stress-ng-0.19.01/stress-mergesort.c:94:33: note: Assuming that condition 'rhs0' is always false stress-ng-0.19.01/stress-metamix.c:270:10: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] stress-ng-0.19.01/stress-mergesort.c:54:21: style: Variable 'u32p2' can be declared as pointer to const [constVariablePointer] stress-ng-0.19.01/stress-mergesort.c:73:36: style: Variable 'rhs_end' can be declared as pointer to const [constVariablePointer] stress-ng-0.19.01/stress-mergesort.c:131:36: style: Variable 'rhs_end' can be declared as pointer to const [constVariablePointer] stress-ng-0.19.01/stress-misaligned.c:1243:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-misaligned.c:260:7: style: Condition '*ptr1!=ui16' is always false [knownConditionTrueFalse] stress-ng-0.19.01/stress-misaligned.c:223:10: note: *ptr1 is assigned 'ui16' here. stress-ng-0.19.01/stress-misaligned.c:260:7: note: Condition '*ptr1!=ui16' is always false stress-ng-0.19.01/stress-misaligned.c:262:7: style: Condition '*ptr2!=ui16' is always false [knownConditionTrueFalse] stress-ng-0.19.01/stress-misaligned.c:225:10: note: *ptr2 is assigned 'ui16' here. stress-ng-0.19.01/stress-misaligned.c:262:7: note: Condition '*ptr2!=ui16' is always false stress-ng-0.19.01/stress-misaligned.c:264:7: style: Condition '*ptr3!=ui16' is always false [knownConditionTrueFalse] stress-ng-0.19.01/stress-misaligned.c:227:10: note: *ptr3 is assigned 'ui16' here. stress-ng-0.19.01/stress-misaligned.c:264:7: note: Condition '*ptr3!=ui16' is always false stress-ng-0.19.01/stress-misaligned.c:266:7: style: Condition '*ptr4!=ui16' is always false [knownConditionTrueFalse] stress-ng-0.19.01/stress-misaligned.c:229:10: note: *ptr4 is assigned 'ui16' here. stress-ng-0.19.01/stress-misaligned.c:266:7: note: Condition '*ptr4!=ui16' is always false stress-ng-0.19.01/stress-misaligned.c:527:7: style: Condition '*ptr1!=ui32' is always false [knownConditionTrueFalse] stress-ng-0.19.01/stress-misaligned.c:506:9: note: *ptr1 is assigned 'ui32' here. stress-ng-0.19.01/stress-misaligned.c:527:7: note: Condition '*ptr1!=ui32' is always false stress-ng-0.19.01/stress-misaligned.c:529:7: style: Condition '*ptr2!=ui32' is always false [knownConditionTrueFalse] stress-ng-0.19.01/stress-misaligned.c:508:9: note: *ptr2 is assigned 'ui32' here. stress-ng-0.19.01/stress-misaligned.c:529:7: note: Condition '*ptr2!=ui32' is always false stress-ng-0.19.01/stress-misaligned.c:531:7: style: Condition '*ptr3!=ui32' is always false [knownConditionTrueFalse] stress-ng-0.19.01/stress-misaligned.c:510:9: note: *ptr3 is assigned 'ui32' here. stress-ng-0.19.01/stress-misaligned.c:531:7: note: Condition '*ptr3!=ui32' is always false stress-ng-0.19.01/stress-misaligned.c:533:7: style: Condition '*ptr4!=ui32' is always false [knownConditionTrueFalse] stress-ng-0.19.01/stress-misaligned.c:512:9: note: *ptr4 is assigned 'ui32' here. stress-ng-0.19.01/stress-misaligned.c:533:7: note: Condition '*ptr4!=ui32' is always false stress-ng-0.19.01/stress-misaligned.c:765:7: style: Condition '*ptr1!=ui64' is always false [knownConditionTrueFalse] stress-ng-0.19.01/stress-misaligned.c:752:9: note: *ptr1 is assigned 'ui64' here. stress-ng-0.19.01/stress-misaligned.c:765:7: note: Condition '*ptr1!=ui64' is always false stress-ng-0.19.01/stress-misaligned.c:767:7: style: Condition '*ptr2!=ui64' is always false [knownConditionTrueFalse] stress-ng-0.19.01/stress-misaligned.c:754:9: note: *ptr2 is assigned 'ui64' here. stress-ng-0.19.01/stress-misaligned.c:767:7: note: Condition '*ptr2!=ui64' is always false stress-ng-0.19.01/stress-misaligned.c:769:7: style: Condition '*ptr3!=ui64' is always false [knownConditionTrueFalse] stress-ng-0.19.01/stress-misaligned.c:757:9: note: *ptr3 is assigned 'ui64' here. stress-ng-0.19.01/stress-misaligned.c:769:7: note: Condition '*ptr3!=ui64' is always false stress-ng-0.19.01/stress-misaligned.c:771:7: style: Condition '*ptr4!=ui64' is always false [knownConditionTrueFalse] stress-ng-0.19.01/stress-misaligned.c:759:9: note: *ptr4 is assigned 'ui64' here. stress-ng-0.19.01/stress-misaligned.c:771:7: note: Condition '*ptr4!=ui64' is always false stress-ng-0.19.01/stress-mmap.c:460:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MS_SYNC [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-mmap.c:932:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAP_PRIVATE [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-misaligned.c:134:21: style: Variable 'ptr1' can be declared as pointer to const [constVariablePointer] stress-ng-0.19.01/stress-misaligned.c:135:21: style: Variable 'ptr2' can be declared as pointer to const [constVariablePointer] stress-ng-0.19.01/stress-misaligned.c:136:21: style: Variable 'ptr3' can be declared as pointer to const [constVariablePointer] stress-ng-0.19.01/stress-misaligned.c:137:21: style: Variable 'ptr4' can be declared as pointer to const [constVariablePointer] stress-ng-0.19.01/stress-misaligned.c:138:21: style: Variable 'ptr5' can be declared as pointer to const [constVariablePointer] stress-ng-0.19.01/stress-misaligned.c:139:21: style: Variable 'ptr6' can be declared as pointer to const [constVariablePointer] stress-ng-0.19.01/stress-misaligned.c:140:21: style: Variable 'ptr7' can be declared as pointer to const [constVariablePointer] stress-ng-0.19.01/stress-misaligned.c:141:21: style: Variable 'ptr8' can be declared as pointer to const [constVariablePointer] stress-ng-0.19.01/stress-misaligned.c:142:21: style: Variable 'ptr9' can be declared as pointer to const [constVariablePointer] stress-ng-0.19.01/stress-misaligned.c:143:21: style: Variable 'ptr10' can be declared as pointer to const [constVariablePointer] stress-ng-0.19.01/stress-misaligned.c:144:21: style: Variable 'ptr11' can be declared as pointer to const [constVariablePointer] stress-ng-0.19.01/stress-misaligned.c:145:21: style: Variable 'ptr12' can be declared as pointer to const [constVariablePointer] stress-ng-0.19.01/stress-misaligned.c:146:21: style: Variable 'ptr13' can be declared as pointer to const [constVariablePointer] stress-ng-0.19.01/stress-misaligned.c:147:21: style: Variable 'ptr14' can be declared as pointer to const [constVariablePointer] stress-ng-0.19.01/stress-misaligned.c:148:21: style: Variable 'ptr15' can be declared as pointer to const [constVariablePointer] stress-ng-0.19.01/stress-misaligned.c:149:21: style: Variable 'ptr16' can be declared as pointer to const [constVariablePointer] stress-ng-0.19.01/stress-misaligned.c:150:21: style: Variable 'ptr17' can be declared as pointer to const [constVariablePointer] stress-ng-0.19.01/stress-misaligned.c:449:21: style: Variable 'ptr1' can be declared as pointer to const [constVariablePointer] stress-ng-0.19.01/stress-misaligned.c:450:21: style: Variable 'ptr2' can be declared as pointer to const [constVariablePointer] stress-ng-0.19.01/stress-misaligned.c:451:21: style: Variable 'ptr3' can be declared as pointer to const [constVariablePointer] stress-ng-0.19.01/stress-misaligned.c:452:21: style: Variable 'ptr4' can be declared as pointer to const [constVariablePointer] stress-ng-0.19.01/stress-misaligned.c:453:21: style: Variable 'ptr5' can be declared as pointer to const [constVariablePointer] stress-ng-0.19.01/stress-misaligned.c:454:21: style: Variable 'ptr6' can be declared as pointer to const [constVariablePointer] stress-ng-0.19.01/stress-misaligned.c:455:21: style: Variable 'ptr7' can be declared as pointer to const [constVariablePointer] stress-ng-0.19.01/stress-misaligned.c:456:21: style: Variable 'ptr8' can be declared as pointer to const [constVariablePointer] stress-ng-0.19.01/stress-misaligned.c:457:21: style: Variable 'ptr9' can be declared as pointer to const [constVariablePointer] stress-ng-0.19.01/stress-misaligned.c:711:21: style: Variable 'ptr1' can be declared as pointer to const [constVariablePointer] stress-ng-0.19.01/stress-misaligned.c:712:21: style: Variable 'ptr2' can be declared as pointer to const [constVariablePointer] stress-ng-0.19.01/stress-misaligned.c:713:21: style: Variable 'ptr3' can be declared as pointer to const [constVariablePointer] stress-ng-0.19.01/stress-misaligned.c:714:21: style: Variable 'ptr4' can be declared as pointer to const [constVariablePointer] stress-ng-0.19.01/stress-misaligned.c:715:21: style: Variable 'ptr5' can be declared as pointer to const [constVariablePointer] stress-ng-0.19.01/stress-mmapaddr.c:65:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-mmapaddr.c:97:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-mmapaddr.c:133:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAP_PRIVATE [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-mmapaddr.c:81:17: style: Parameter 'args' can be declared as pointer to const [constParameterPointer] stress-ng-0.19.01/stress-mmapaddr.c:127:12: style: Variable 'addr' can be declared as pointer to const [constVariablePointer] stress-ng-0.19.01/stress-mmapaddr.c:154:66: error: Uninitialized variable: flags [uninitvar] stress-ng-0.19.01/stress-mmapaddr.c:133:13: style: Variable 'mmap_flags' is assigned a value that is never used. [unreadVariable] stress-ng-0.19.01/stress-mmapfiles.c:75:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAP_PRIVATE [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-mmapfiles.c:239:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-mmapfixed.c:77:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOSYS [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-mmapfixed.c:105:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOSYS [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-mmapfixed.c:134:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAP_FIXED [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-mmapfixed.c:254:15: style: The comparison 'rc == 0' is always true. [knownConditionTrueFalse] stress-ng-0.19.01/stress-mmapfixed.c:122:11: note: 'rc' is assigned value '0' here. stress-ng-0.19.01/stress-mmapfixed.c:254:15: note: The comparison 'rc == 0' is always true. stress-ng-0.19.01/stress-mmapfixed.c:123:20: style: Variable 'info' can be declared as pointer to const [constVariablePointer] stress-ng-0.19.01/stress-mmap.c:333:19: warning: Invalid mmap() argument nr 2. The value is 0 but the valid values are '1:'. [invalidFunctionArg] stress-ng-0.19.01/stress-mmap.c:769:29: note: Calling function 'stress_mmap_invalid', 2nd argument '0' value is 0 stress-ng-0.19.01/stress-mmap.c:333:19: note: Invalid argument stress-ng-0.19.01/stress-mmap.c:348:19: warning:inconclusive: Invalid mmap() argument nr 2. The value is 0 but the valid values are '1:'. [invalidFunctionArg] stress-ng-0.19.01/stress-mmap.c:769:29: note: Calling function 'stress_mmap_invalid', 2nd argument '0' value is 0 stress-ng-0.19.01/stress-mmap.c:348:19: note: Invalid argument stress-ng-0.19.01/stress-mmap.c:789:35: error: Invalid munmap() argument nr 2. The value is 0 but the valid values are '1:'. [invalidFunctionArg] stress-ng-0.19.01/stress-mmap.c:1030:4: error: Resource leak: context.fd [resourceLeak] stress-ng-0.19.01/stress-mmap.c:324:8: style: Parameter 'addr' can be declared as pointer to const [constParameterPointer] stress-ng-0.19.01/stress-mmapmany.c:54:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _SC_MAPPED_FILES [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-mmapmany.c:116:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: ptr [nullPointerOutOfMemory] stress-ng-0.19.01/stress-mmapmany.c:104:26: note: Assuming allocation function fails stress-ng-0.19.01/stress-mmapmany.c:104: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.19.01/stress-mmapmany.c:116:5: note: Null pointer dereference stress-ng-0.19.01/stress-mmaptorture.c:295:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-mmaptorture.c:531:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-mmaptorture.c:858:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-mmaptorture.c:618:6: warning:inconclusive: Found suspicious operator '*', result is not used. [constStatement] stress-ng-0.19.01/stress-mmaptorture.c:369:11: style: Parameter 'ptr' can be declared as pointer to const [constParameterPointer] stress-ng-0.19.01/stress-mmaptorture.c:375:7: style: Variable 'hex' can be declared as const array [constVariable] stress-ng-0.19.01/stress-monte-carlo.c:37:9: style: struct member 'stress_monte_carlo_rand_info_t::seed' is never used. [unusedStructMember] stress-ng-0.19.01/stress-mseal.c:50:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-mseal.c:65:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-mseal.c:107:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EPERM [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-mseal.c:152:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-mseal.c:163:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-mseal.c:172:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-mseal.c:228:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAP_PRIVATE [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-mseal.c:245:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-mseal.c:316:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-mseal.c:328:14: warning: If memory allocation fails, then there is a possible null pointer dereference: no_mapping [nullPointerOutOfMemory] stress-ng-0.19.01/stress-mseal.c:325:19: note: Assuming allocation function fails stress-ng-0.19.01/stress-mseal.c:325: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.19.01/stress-mseal.c:328:14: note: Null pointer dereference stress-ng-0.19.01/stress-mseal.c:45:8: style: Parameter 'addr' can be declared as pointer to const [constParameterPointer] stress-ng-0.19.01/stress-mseal.c:47:8: style: Parameter 'expect_addr' can be declared as pointer to const [constParameterPointer] stress-ng-0.19.01/stress-munmap.c:27:17: style: struct member 'munmap_context_t::args' is never used. [unusedStructMember] stress-ng-0.19.01/stress-munmap.c:28:9: style: struct member 'munmap_context_t::page_shift' is never used. [unusedStructMember] stress-ng-0.19.01/stress-munmap.c:29:8: style: struct member 'munmap_context_t::exec_path' is never used. [unusedStructMember] stress-ng-0.19.01/stress-munmap.c:30:9: style: struct member 'munmap_context_t::duration' is never used. [unusedStructMember] stress-ng-0.19.01/stress-munmap.c:31:9: style: struct member 'munmap_context_t::count' is never used. [unusedStructMember] stress-ng-0.19.01/stress-nanosleep.c:42:6: style: struct member 'stress_nanosleep_method_t::mask' is never used. [unusedStructMember] stress-ng-0.19.01/stress-ng.c:739: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.19.01/stress-null.c:65:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-pageswap.c:29:20: style: struct member 'page_info::self' is never used. [unusedStructMember] stress-ng-0.19.01/stress-pagemove.c:37:9: style: struct member 'page_info_t::virt_addr' is never used. [unusedStructMember] stress-ng-0.19.01/stress-pageswap.c:30:20: style: struct member 'page_info::next' is never used. [unusedStructMember] stress-ng-0.19.01/stress-open.c:258:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-open.c:314:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tv_usec [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-open.c:423:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-open.c:463:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-pageswap.c:31:9: style: struct member 'page_info::size' is never used. [unusedStructMember] stress-ng-0.19.01/stress-open.c:1049:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-open.c:1103:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-pagemove.c:38:9: style: struct member 'page_info_t::page_num' is never used. [unusedStructMember] stress-ng-0.19.01/stress-open.c:169:14: style: The comparison 'max_fds == 0' is always true. [knownConditionTrueFalse] stress-ng-0.19.01/stress-open.c:153:19: note: 'max_fds' is assigned value '0' here. stress-ng-0.19.01/stress-open.c:169:14: note: The comparison 'max_fds == 0' is always true. stress-ng-0.19.01/stress-pipe.c:124:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-pipe.c:175:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-pipe.c:360:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-pipe.c:402:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-pipe.c:572:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-pipeherd.c:55:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-pipeherd.c:100:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-pipe.c:348:8: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] stress-ng-0.19.01/stress-plugin.c:421:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-pipeherd.c:47:54: style: Parameter 'args' can be declared as pointer to const [constParameterPointer] stress-ng-0.19.01/stress-powmath.c:35:14: style: struct member 'stress_powmath_method_t::name' is never used. [unusedStructMember] stress-ng-0.19.01/stress-powmath.c:36:9: style: struct member 'stress_powmath_method_t::powmath_func' is never used. [unusedStructMember] stress-ng-0.19.01/stress-prefetch.c:274:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIx64 [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-prefetch.c:420:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-prio-inv.c:94:13: style: struct member 'stress_prio_inv_options_t::value' is never used. [unusedStructMember] stress-ng-0.19.01/stress-prio-inv.c:98:6: style: struct member 'stress_prio_inv_child_info_t::prio' is never used. [unusedStructMember] stress-ng-0.19.01/stress-prio-inv.c:99:6: style: struct member 'stress_prio_inv_child_info_t::niceness' is never used. [unusedStructMember] stress-ng-0.19.01/stress-prio-inv.c:100:8: style: struct member 'stress_prio_inv_child_info_t::pid' is never used. [unusedStructMember] stress-ng-0.19.01/stress-prio-inv.c:101:9: style: struct member 'stress_prio_inv_child_info_t::usage' is never used. [unusedStructMember] stress-ng-0.19.01/stress-priv-instr.c:34:14: style: struct member 'op_info_t::instr' is never used. [unusedStructMember] stress-ng-0.19.01/stress-priv-instr.c:35:18: style: struct member 'op_info_t::op_func' is never used. [unusedStructMember] stress-ng-0.19.01/stress-priv-instr.c:36:7: style: struct member 'op_info_t::invalid' is never used. [unusedStructMember] stress-ng-0.19.01/stress-priv-instr.c:37:7: style: struct member 'op_info_t::trapped' is never used. [unusedStructMember] stress-ng-0.19.01/stress-pseek.c:128:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-pseek.c:197:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIdMAX [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-pseek.c:323:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-pseek.c:373:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-ptr-chase.c:81:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-prefetch.c:0:0: debug: ValueFlow maximum iterations exceeded [valueFlowMaxIterations] stress-ng-0.19.01/stress-prefetch.c:378:12: warning: If memory allocation fails, then there is a possible null pointer dereference: l3_data++ [nullPointerOutOfMemory] stress-ng-0.19.01/stress-prefetch.c:419:28: note: Assuming allocation function fails stress-ng-0.19.01/stress-prefetch.c:419: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.19.01/stress-prefetch.c:433:43: note: Calling function 'stress_prefetch_data_set', 1st argument 'l3_data' value is 0 stress-ng-0.19.01/stress-prefetch.c:378:12: note: Null pointer dereference stress-ng-0.19.01/stress-prefetch.c:268:20: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] stress-ng-0.19.01/stress-prefetch.c:419:28: note: Assuming allocation function fails stress-ng-0.19.01/stress-prefetch.c:419: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.19.01/stress-prefetch.c:455:5: note: Calling function 'stress_prefetch_benchmark', 6th argument 'l3_data' value is 0 stress-ng-0.19.01/stress-prefetch.c:268:20: note: Null pointer addition stress-ng-0.19.01/stress-prefetch.c:378:12: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] stress-ng-0.19.01/stress-prefetch.c:419:28: note: Assuming allocation function fails stress-ng-0.19.01/stress-prefetch.c:419: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.19.01/stress-prefetch.c:433:43: note: Calling function 'stress_prefetch_data_set', 1st argument 'l3_data' value is 0 stress-ng-0.19.01/stress-prefetch.c:378:12: note: Null pointer addition stress-ng-0.19.01/stress-pseek.c:338:24: style: Parameter 'proc' can be declared as pointer to const [constParameterPointer] stress-ng-0.19.01/stress-qsort.c:302:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-race-sched.c:48:14: style: struct member 'stress_race_sched_method_t::method' is never used. [unusedStructMember] stress-ng-0.19.01/stress-race-sched.c:52:28: style: struct member 'stress_race_sched::next' is never used. [unusedStructMember] stress-ng-0.19.01/stress-race-sched.c:53:8: style: struct member 'stress_race_sched::pid' is never used. [unusedStructMember] stress-ng-0.19.01/stress-race-sched.c:54:11: style: struct member 'stress_race_sched::cpu_idx' is never used. [unusedStructMember] stress-ng-0.19.01/stress-race-sched.c:58:29: style: struct member 'stress_race_sched_list_t::head' is never used. [unusedStructMember] stress-ng-0.19.01/stress-race-sched.c:59:29: style: struct member 'stress_race_sched_list_t::tail' is never used. [unusedStructMember] stress-ng-0.19.01/stress-race-sched.c:60:29: style: struct member 'stress_race_sched_list_t::free' is never used. [unusedStructMember] stress-ng-0.19.01/stress-race-sched.c:61:11: style: struct member 'stress_race_sched_list_t::length' is never used. [unusedStructMember] stress-ng-0.19.01/stress-radixsort.c:125:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-qsort.c:150:9: style: Condition 'n>63' is always true [knownConditionTrueFalse] stress-ng-0.19.01/stress-qsort.c:146:8: note: Assuming that condition 'n>63' is not redundant stress-ng-0.19.01/stress-qsort.c:150:9: note: Condition 'n>63' is always true stress-ng-0.19.01/stress-qsort.c:115:3: style: Variable '*(qsort_swap_type_t*)b' is assigned an expression that holds the same value. [redundantAssignment] stress-ng-0.19.01/stress-qsort.c:113:7: note: tmp is assigned '*(qsort_swap_type_t*)a' here. stress-ng-0.19.01/stress-qsort.c:115:3: note: Variable '*(qsort_swap_type_t*)b' is assigned an expression that holds the same value. stress-ng-0.19.01/stress-randlist.c:215:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-rename.c:256:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-revio.c:196:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-revio.c:305:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-ring-pipe.c:33:6: style: struct member 'pipe_fds_t::fds' is never used. [unusedStructMember] stress-ng-0.19.01/stress-revio.c:200: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.19.01/stress-revio.c:396:7: style: Condition 'stress_revio_advise(args,fd,fadvise_flags)<0' is always false [knownConditionTrueFalse] stress-ng-0.19.01/stress-revio.c:396:7: note: Calling function 'stress_revio_advise' returns 0 stress-ng-0.19.01/stress-revio.c:396:7: note: Condition 'stress_revio_advise(args,fd,fadvise_flags)<0' is always false stress-ng-0.19.01/stress-rlimit.c:149:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-rlimit.c:298:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRUSR [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-revio.c:141:11: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] stress-ng-0.19.01/stress-rmap.c:85:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIxPTR [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-rmap.c:108:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MS_SYNC [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-rmap.c:222:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-sctp.c:49:12: style: struct member 'stress_sctp_sched_t::sched_type' is never used. [unusedStructMember] stress-ng-0.19.01/stress-seek.c:113:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/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.19.01/stress-seek.c:273:7: note: Calling function 'stress_shim_lseek', 3rd argument '4' value is 4 stress-ng-0.19.01/stress-seek.c:54:27: note: Invalid argument stress-ng-0.19.01/stress-seek.c:345:3: error: Invalid lseek() argument nr 3. The value is 3 but the valid values are '0:2'. [invalidFunctionArg] stress-ng-0.19.01/stress-seek.c:349:3: error: Invalid lseek() argument nr 3. The value is 4 but the valid values are '0:2'. [invalidFunctionArg] stress-ng-0.19.01/stress-seek.c:354:3: error: Invalid lseek() argument nr 3. The value is -1 but the valid values are '0:2'. [invalidFunctionArg] stress-ng-0.19.01/stress-session.c:67:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-session.c:89:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-session.c:129:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-session.c:183:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-set.c:497:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-shellsort.c:104:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-shm.c:38:10: style: struct member 'stress_shm_msg_t::index' is never used. [unusedStructMember] stress-ng-0.19.01/stress-shm.c:39:7: style: struct member 'stress_shm_msg_t::shm_name' is never used. [unusedStructMember] stress-ng-0.19.01/stress-sigabrt.c:67:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-sigbus.c:107:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-sigchld.c:87:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/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.19.01/stress-sigchld.c:81:20: note: You might need to cast the function pointer here stress-ng-0.19.01/stress-sigchld.c:38:13: note: Parameter 'info' can be declared as pointer to const stress-ng-0.19.01/stress-sighup.c:61:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-sighup.c:112:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-sighup.c:222:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-sighup.c:94:40: style: Parameter 'fds' can be declared as const array [constParameter] stress-ng-0.19.01/stress-signal.c:85:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-signal.c:110:11: style: Condition 'tmp==*pcounter' is always true [knownConditionTrueFalse] stress-ng-0.19.01/stress-signal.c:108:7: note: tmp is assigned '*pcounter' here. stress-ng-0.19.01/stress-signal.c:110:11: note: Condition 'tmp==*pcounter' is always true stress-ng-0.19.01/stress-signal.c:122:7: style: Condition 'tmp!=*pcounter' is always false [knownConditionTrueFalse] stress-ng-0.19.01/stress-signal.c:115:7: note: tmp is assigned '*pcounter' here. stress-ng-0.19.01/stress-signal.c:116:7: note: Assuming condition is false stress-ng-0.19.01/stress-signal.c:122:7: note: Condition 'tmp!=*pcounter' is always false stress-ng-0.19.01/stress-signal.c:115:3: style: Variable 'tmp' is assigned an expression that holds the same value. [redundantAssignment] stress-ng-0.19.01/stress-signal.c:108:7: note: tmp is assigned '*pcounter' here. stress-ng-0.19.01/stress-signal.c:115:3: note: Variable 'tmp' is assigned an expression that holds the same value. stress-ng-0.19.01/stress-signest.c:266:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-sigpending.c:46:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_SETMASK [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-sigpipe.c:68:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-sigsegv.c:283:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAP_ANONYMOUS [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-sigtrap.c:77:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-sigsegv.c:261:20: style: Variable 'none_ptr' can be declared as pointer to const [constVariablePointer] stress-ng-0.19.01/stress-sigsuspend.c:64:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_BLOCK [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-skiplist.c:122:12: style: Variable 'skip_node->value' is assigned an expression that holds the same value. [redundantAssignment] stress-ng-0.19.01/stress-skiplist.c:121:12: note: Assuming that condition 'value==skip_node->value' is not redundant stress-ng-0.19.01/stress-skiplist.c:122:12: note: Variable 'skip_node->value' is assigned an expression that holds the same value. stress-ng-0.19.01/stress-sock.c:169:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-sock.c:328:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable iov_base [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-sock.c:528:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-sock.c:887:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINTR [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-sock.c:940:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-sock.c:1306:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-sockabuse.c:189:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-sockabuse.c:254:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-sockabuse.c:399:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-sockmany.c:66:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHUT_RDWR [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-sockmany.c:107:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-sockmany.c:185:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-sockmany.c:309:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-sockabuse.c:145:16: warning: If memory allocation fails, then there is a possible null pointer dereference: ptr [nullPointerOutOfMemory] stress-ng-0.19.01/stress-sockabuse.c:143:12: note: Assuming allocation function fails stress-ng-0.19.01/stress-sockabuse.c:143:12: note: Assignment 'ptr=mmap(NULL,4096,PROT_READ,MAP_SHARED,fd,0)', assigned value is 0 stress-ng-0.19.01/stress-sockabuse.c:145:16: note: Null pointer dereference stress-ng-0.19.01/stress-sockabuse.c:148:16: warning: If memory allocation fails, then there is a possible null pointer dereference: ptr [nullPointerOutOfMemory] stress-ng-0.19.01/stress-sockabuse.c:146:12: note: Assuming allocation function fails stress-ng-0.19.01/stress-sockabuse.c:146:12: note: Assignment 'ptr=mmap(NULL,4096,PROT_READ,MAP_PRIVATE,fd,0)', assigned value is 0 stress-ng-0.19.01/stress-sockabuse.c:148:16: note: Null pointer dereference stress-ng-0.19.01/stress-sockabuse.c:62:8: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] stress-ng-0.19.01/stress-sock.c:184: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.19.01/stress-sock.c:325:3: error: Invalid recv() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] stress-ng-0.19.01/stress-sock.c:338:3: error: Invalid recvmsg() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] stress-ng-0.19.01/stress-sock.c:864:25: style: The comparison 'inq_samples > 0' is always false. [knownConditionTrueFalse] stress-ng-0.19.01/stress-sock.c:491:40: note: 'inq_samples' is assigned value '0' here. stress-ng-0.19.01/stress-sock.c:864:25: note: The comparison 'inq_samples > 0' is always false. stress-ng-0.19.01/stress-sock.c:864:50: style: Same expression on both sides of '/' because '(double)inq_bytes' and '(double)inq_samples' represent the same value. [duplicateExpression] stress-ng-0.19.01/stress-sock.c:491:23: note: 'inq_bytes' is assigned value '0' here. stress-ng-0.19.01/stress-sock.c:491:40: note: 'inq_samples' is assigned value '0' here. stress-ng-0.19.01/stress-sock.c:864:50: note: Same expression on both sides of '/' because '(double)inq_bytes' and '(double)inq_samples' represent the same value. stress-ng-0.19.01/stress-sock.c:1244:25: style: The comparison 'outq_samples > 0' is always false. [knownConditionTrueFalse] stress-ng-0.19.01/stress-sock.c:921:42: note: 'outq_samples' is assigned value '0' here. stress-ng-0.19.01/stress-sock.c:1244:25: note: The comparison 'outq_samples > 0' is always false. stress-ng-0.19.01/stress-sock.c:1244:51: style: Same expression on both sides of '/' because '(double)outq_bytes' and '(double)outq_samples' represent the same value. [duplicateExpression] stress-ng-0.19.01/stress-sock.c:921:24: note: 'outq_bytes' is assigned value '0' here. stress-ng-0.19.01/stress-sock.c:921:42: note: 'outq_samples' is assigned value '0' here. stress-ng-0.19.01/stress-sock.c:1244:51: note: Same expression on both sides of '/' because '(double)outq_bytes' and '(double)outq_samples' represent the same value. stress-ng-0.19.01/stress-sockpair.c:97:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MSG_OOB [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-sockpair.c:124:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_STREAM [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-sockpair.c:75:6: style: Parameter 'fds' can be declared as const array [constParameter] stress-ng-0.19.01/stress-spinmem.c:166:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-sparsematrix.c:1122:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu32 [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-sparsematrix.c:1218:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-sparsematrix.c:1389:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-stack.c:225:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-stream.c:663:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-stream.c:711:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu16 [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-stream.c:807:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-switch.c:158:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-stream.c:93: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.19.01/stress-stream.c:610:25: style: Variable 'ptr_end' can be declared as pointer to const [constVariablePointer] stress-ng-0.19.01/stress-stream.c:698:22: style: Variable 'cache' can be declared as pointer to const [constVariablePointer] stress-ng-0.19.01/stress-stream.c:53:12: style: struct member 'stress_stream_madvise_info_t::advice' is never used. [unusedStructMember] stress-ng-0.19.01/stress-sysinfo.c:203:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-sysbadaddr.c:501:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-sysbadaddr.c:753:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-sysbadaddr.c:879:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RLIMIT_CPU [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-sysbadaddr.c:916:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-sysbadaddr.c:1422:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-sysbadaddr.c:1622:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-sysbadaddr.c:1862:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RLIMIT_CPU [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-sysbadaddr.c:2048:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-sysbadaddr.c:2458:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-sysbadaddr.c:2517:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-sysbadaddr.c:1995:3: style: Obsolescent function 'utimes' called. It is recommended to use 'utimensat' instead. [prohibitedutimesCalled] stress-ng-0.19.01/stress-sysbadaddr.c:2003:3: style: Obsolescent function 'utimes' called. It is recommended to use 'utimensat' instead. [prohibitedutimesCalled] stress-ng-0.19.01/stress-sysbadaddr.c:2011:3: style: Obsolescent function 'utimes' called. It is recommended to use 'utimensat' instead. [prohibitedutimesCalled] stress-ng-0.19.01/stress-syscall.c:1030:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRUSR [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-syscall.c:1329:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRUSR [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-syscall.c:1551:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-syscall.c:1796:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRUSR [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-syscall.c:3358:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRUSR [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-syscall.c:3532:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-syscall.c:4114:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-syscall.c:4182:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-syscall.c:4191:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-syscall.c:4316:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WNOHANG [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-syscall.c:5303:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRUSR [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-syscall.c:6249:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-syscall.c:6295:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_ERR [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-syscall.c:6346:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_BLOCK [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-syscall.c:6379:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_BLOCK [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-syscall.c:7007:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRUSR [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-syscall.c:8569:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-syscall.c:8692:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-syscall.c:8789:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-sysbadaddr.c:217: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.19.01/stress-sysbadaddr.c:268:4: note: You might need to cast the function pointer here stress-ng-0.19.01/stress-sysbadaddr.c:217:42: note: Parameter 'args' can be declared as pointer to const stress-ng-0.19.01/stress-sysbadaddr.c:229: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.19.01/stress-sysbadaddr.c:270:4: note: You might need to cast the function pointer here stress-ng-0.19.01/stress-sysbadaddr.c:229:43: note: Parameter 'args' can be declared as pointer to const stress-ng-0.19.01/stress-sysbadaddr.c:277: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.19.01/stress-sysbadaddr.c:2076:2: note: You might need to cast the function pointer here stress-ng-0.19.01/stress-sysbadaddr.c:277:43: note: Parameter 'ba' can be declared as pointer to const stress-ng-0.19.01/stress-sysbadaddr.c:295: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.19.01/stress-sysbadaddr.c:2080:2: note: You might need to cast the function pointer here stress-ng-0.19.01/stress-sysbadaddr.c:295:41: note: Parameter 'ba' can be declared as pointer to const stress-ng-0.19.01/stress-sysbadaddr.c:313: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.19.01/stress-sysbadaddr.c:2086:2: note: You might need to cast the function pointer here stress-ng-0.19.01/stress-sysbadaddr.c:313:42: note: Parameter 'ba' can be declared as pointer to const stress-ng-0.19.01/stress-sysbadaddr.c:321: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.19.01/stress-sysbadaddr.c:2087:2: note: You might need to cast the function pointer here stress-ng-0.19.01/stress-sysbadaddr.c:321:42: note: Parameter 'ba' can be declared as pointer to const stress-ng-0.19.01/stress-sysbadaddr.c:329: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.19.01/stress-sysbadaddr.c:2088:2: note: You might need to cast the function pointer here stress-ng-0.19.01/stress-sysbadaddr.c:329:42: note: Parameter 'ba' can be declared as pointer to const stress-ng-0.19.01/stress-sysbadaddr.c:497: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.19.01/stress-sysbadaddr.c:2118:2: note: You might need to cast the function pointer here stress-ng-0.19.01/stress-sysbadaddr.c:497:44: note: Parameter 'ba' can be declared as pointer to const stress-ng-0.19.01/stress-sysbadaddr.c:739: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.19.01/stress-sysbadaddr.c:2158:2: note: You might need to cast the function pointer here stress-ng-0.19.01/stress-sysbadaddr.c:739:49: note: Parameter 'ba' can be declared as pointer to const stress-ng-0.19.01/stress-sysbadaddr.c:999: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.19.01/stress-sysbadaddr.c:2195:2: note: You might need to cast the function pointer here stress-ng-0.19.01/stress-sysbadaddr.c:999:43: note: Parameter 'ba' can be declared as pointer to const stress-ng-0.19.01/stress-sysbadaddr.c:1015: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.19.01/stress-sysbadaddr.c:2197:2: note: You might need to cast the function pointer here stress-ng-0.19.01/stress-sysbadaddr.c:1015:42: note: Parameter 'ba' can be declared as pointer to const stress-ng-0.19.01/stress-sysbadaddr.c:1023: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.19.01/stress-sysbadaddr.c:2198:2: note: You might need to cast the function pointer here stress-ng-0.19.01/stress-sysbadaddr.c:1023:42: note: Parameter 'ba' can be declared as pointer to const stress-ng-0.19.01/stress-sysbadaddr.c:1210: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.19.01/stress-sysbadaddr.c:2236:2: note: You might need to cast the function pointer here stress-ng-0.19.01/stress-sysbadaddr.c:1210:43: note: Parameter 'ba' can be declared as pointer to const stress-ng-0.19.01/stress-sysbadaddr.c:1261: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.19.01/stress-sysbadaddr.c:2245:2: note: You might need to cast the function pointer here stress-ng-0.19.01/stress-sysbadaddr.c:1261:51: note: Parameter 'ba' can be declared as pointer to const stress-ng-0.19.01/stress-sysbadaddr.c:1271: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.19.01/stress-sysbadaddr.c:2246:2: note: You might need to cast the function pointer here stress-ng-0.19.01/stress-sysbadaddr.c:1271:51: note: Parameter 'ba' can be declared as pointer to const stress-ng-0.19.01/stress-sysbadaddr.c:1416: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.19.01/stress-sysbadaddr.c:2274:2: note: You might need to cast the function pointer here stress-ng-0.19.01/stress-sysbadaddr.c:1416:41: note: Parameter 'ba' can be declared as pointer to const stress-ng-0.19.01/stress-sysbadaddr.c:1645: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.19.01/stress-sysbadaddr.c:2312:2: note: You might need to cast the function pointer here stress-ng-0.19.01/stress-sysbadaddr.c:1645:46: note: Parameter 'ba' can be declared as pointer to const stress-ng-0.19.01/stress-sysbadaddr.c:1704: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.19.01/stress-sysbadaddr.c:2323:2: note: You might need to cast the function pointer here stress-ng-0.19.01/stress-sysbadaddr.c:1704:44: note: Parameter 'ba' can be declared as pointer to const stress-ng-0.19.01/stress-sysbadaddr.c:1858: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.19.01/stress-sysbadaddr.c:2339:2: note: You might need to cast the function pointer here stress-ng-0.19.01/stress-sysbadaddr.c:1858:46: note: Parameter 'ba' can be declared as pointer to const stress-ng-0.19.01/stress-sysbadaddr.c:1880: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.19.01/stress-sysbadaddr.c:2342:2: note: You might need to cast the function pointer here stress-ng-0.19.01/stress-sysbadaddr.c:1880:42: note: Parameter 'ba' can be declared as pointer to const stress-ng-0.19.01/stress-sysbadaddr.c:1950: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.19.01/stress-sysbadaddr.c:2356:2: note: You might need to cast the function pointer here stress-ng-0.19.01/stress-sysbadaddr.c:1950:45: note: Parameter 'ba' can be declared as pointer to const stress-ng-0.19.01/stress-sysbadaddr.c:1999:44: style: Parameter 'ba' can be declared as pointer to const. However it seems that 'bad_utimes2' is a callback function, if 'ba' is declared with const you might also need to cast function pointer(s). [constParameterCallback] stress-ng-0.19.01/stress-sysbadaddr.c:2366:2: note: You might need to cast the function pointer here stress-ng-0.19.01/stress-sysbadaddr.c:1999:44: note: Parameter 'ba' can be declared as pointer to const stress-ng-0.19.01/stress-sysbadaddr.c:2007:44: style: Parameter 'ba' can be declared as pointer to const. However it seems that 'bad_utimes3' is a callback function, if 'ba' is declared with const you might also need to cast function pointer(s). [constParameterCallback] stress-ng-0.19.01/stress-sysbadaddr.c:2367:2: note: You might need to cast the function pointer here stress-ng-0.19.01/stress-sysbadaddr.c:2007:44: note: Parameter 'ba' can be declared as pointer to const stress-ng-0.19.01/stress-sysbadaddr.c:2043: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.19.01/stress-sysbadaddr.c:2373:2: note: You might need to cast the function pointer here stress-ng-0.19.01/stress-sysbadaddr.c:2043:42: note: Parameter 'ba' can be declared as pointer to const stress-ng-0.19.01/stress-sysbadaddr.c:2500:33: style: Parameter 'addr' can be declared as pointer to const [constParameterPointer] stress-ng-0.19.01/stress-tmpfs.c:43:11: style: struct member 'mapping_info_t::addr' is never used. [unusedStructMember] stress-ng-0.19.01/stress-tmpfs.c:44:10: style: struct member 'mapping_info_t::state' is never used. [unusedStructMember] stress-ng-0.19.01/stress-touch.c:121:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-touch.c:219:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRUSR [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-touch.c:126: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.19.01/stress-touch.c:161:51: style: Parameter 'args' can be declared as pointer to const [constParameterPointer] stress-ng-0.19.01/stress-syscall.c:7206:8: style: Obsolescent function 'utimes' called. It is recommended to use 'utimensat' instead. [prohibitedutimesCalled] stress-ng-0.19.01/stress-syscall.c:2113:8: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] stress-ng-0.19.01/stress-syscall.c:231:25: style: struct member 'syscall_mq_msg_t::value' is never used. [unusedStructMember] stress-ng-0.19.01/stress-trig.c:74:9: style: Floating-point cast causes loss of precision. [suspiciousFloatingPointCast] stress-ng-0.19.01/stress-trig.c:135:9: style: Floating-point cast causes loss of precision. [suspiciousFloatingPointCast] stress-ng-0.19.01/stress-udp.c:97:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_DGRAM [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-udp.c:290:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_DGRAM [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-udp.c:408:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-umask.c:73:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-unlink.c:100:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-unlink.c:203:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-unlink.c:53:8: style: Parameter 'filenames' can be declared as const array [constParameter] stress-ng-0.19.01/stress-urandom.c:69:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-urandom.c:249:18: warning: If memory allocation fails, then there is a possible null pointer dereference: ptr [nullPointerOutOfMemory] stress-ng-0.19.01/stress-urandom.c:246:14: note: Assuming allocation function fails stress-ng-0.19.01/stress-urandom.c:246:14: note: Assignment 'ptr=mmap(NULL,page_size,PROT_READ,MAP_PRIVATE,fd_urnd,0)', assigned value is 0 stress-ng-0.19.01/stress-urandom.c:249:18: note: Null pointer dereference stress-ng-0.19.01/stress-urandom.c:244:10: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] stress-ng-0.19.01/stress-vforkmany.c:58:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-vforkmany.c:101:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-vforkmany.c:202:8: style: Condition 'flags' is always false [knownConditionTrueFalse] stress-ng-0.19.01/stress-vforkmany.c:191:16: note: Assignment 'flags=0', assigned value is 0 stress-ng-0.19.01/stress-vforkmany.c:202:8: note: Condition 'flags' is always false stress-ng-0.19.01/stress-vforkmany.c:267:10: style: Condition 'flags' is always false [knownConditionTrueFalse] stress-ng-0.19.01/stress-vforkmany.c:253:18: note: Assignment 'flags=0', assigned value is 0 stress-ng-0.19.01/stress-vforkmany.c:267:10: note: Condition 'flags' is always false stress-ng-0.19.01/stress-vforkmany.c:279:13: style: Condition 'pid>=1' is always true [knownConditionTrueFalse] stress-ng-0.19.01/stress-vforkmany.c:241:19: note: Assuming that condition 'pid==0' is not redundant stress-ng-0.19.01/stress-vforkmany.c:279:13: note: Condition 'pid>=1' is always true stress-ng-0.19.01/stress-vm-segv.c:108:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-vm-segv.c:64:8: error: Memory pointed to by 'page_size' is freed twice. [doubleFree] stress-ng-0.19.01/stress-vm-segv.c:63:8: note: Memory pointed to by 'page_size' is freed twice. stress-ng-0.19.01/stress-vm-segv.c:64:8: note: Memory pointed to by 'page_size' is freed twice. stress-ng-0.19.01/stress-vm-segv.c:83:8: error: Memory pointed to by 'page_size' is freed twice. [doubleFree] stress-ng-0.19.01/stress-vm-segv.c:82:8: note: Memory pointed to by 'page_size' is freed twice. stress-ng-0.19.01/stress-vm-segv.c:83:8: note: Memory pointed to by 'page_size' is freed twice. stress-ng-0.19.01/stress-vm-addr.c:497:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-vm-addr.c:559:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-vm-segv.c:75:11: style: Variable 'addr' can be declared as pointer to const [constVariablePointer] stress-ng-0.19.01/stress-vnni.c:483:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIx32 [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-wait.c:54:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-wait.c:187:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIdMAX [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-vm.c:2386:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable addr1 [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-vm.c:3407:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-vm.c:3562:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-workload.c:651:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-workload.c:893:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu32 [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-zero.c:79:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-workload.c:800:4: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] stress-ng-0.19.01/stress-workload.c:815:6: note: Found duplicate branches for 'if' and 'else'. stress-ng-0.19.01/stress-workload.c:800:4: note: Found duplicate branches for 'if' and 'else'. stress-ng-0.19.01/stress-workload.c:436:21: style: Variable 'end' can be declared as pointer to const [constVariablePointer] stress-ng-0.19.01/stress-workload.c:54:6: style: struct member 'workload_thread_t::ret' is never used. [unusedStructMember] stress-ng-0.19.01/stress-zero.c:110:9: error: Memory pointed to by 'page_size' is freed twice. [doubleFree] stress-ng-0.19.01/stress-zero.c:109:9: note: Memory pointed to by 'page_size' is freed twice. stress-ng-0.19.01/stress-zero.c:110:9: note: Memory pointed to by 'page_size' is freed twice. stress-ng-0.19.01/test/test-accept4.c:36:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_NONBLOCK [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/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.19.01/test/test-accept4.c:28:12: note: Assignment 'fd=-1', assigned value is -1 stress-ng-0.19.01/test/test-accept4.c:36:17: note: Invalid argument stress-ng-0.19.01/test/test-aio-fsync.c:30:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_SYNC [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/test/test-arch_prctl.c:30:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARCH_GET_CPUID [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/test/test-asm-alpha-draina.c:30:0: error: #error not ALPHA so no draina instruction [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-alpha-draina.c:30:2: error: #error not ALPHA so no draina instruction [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-alpha-halt.c:30:0: error: #error not ALPHA so no halt instruction [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-alpha-halt.c:30:2: error: #error not ALPHA so no halt instruction [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-arm-dmb-sy.c:34:0: error: #error not an ARM so no yield instruction [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-arm-dmb-sy.c:34:2: error: #error not an ARM so no yield instruction [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-arm-prfm.c:29:0: error: #error not an ARMv8 so no prfm instruction [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-arm-prfm.c:29:2: error: #error not an ARMv8 so no prfm instruction [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-arm-tlbi.c:34:0: error: #error not an ARM so no yield instruction [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-arm-tlbi.c:34:2: error: #error not an ARM so no yield instruction [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-arm-yield.c:35:0: error: #error not an ARM so no yield instruction [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-arm-yield.c:35:2: error: #error not an ARM so no yield instruction [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-hppa-diag.c:29:0: error: #error not HPPA so no diag instruction [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-hppa-diag.c:29:2: error: #error not HPPA so no diag instruction [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-hppa-rfi.c:29:0: error: #error not HPPA so no rfi instruction [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-hppa-rfi.c:29:2: error: #error not HPPA so no rfi instruction [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-loong64-cpucfg.c:32:0: error: #error not Loong64 so no rdtime instruction [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-loong64-cpucfg.c:32:2: error: #error not Loong64 so no rdtime instruction [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-loong64-dbar.c:29:0: error: #error not Loong64 so no sbar instruction [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-loong64-rdtime.c:32:0: error: #error not Loong64 so no rdtime instruction [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-loong64-dbar.c:29:2: error: #error not Loong64 so no sbar instruction [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-loong64-rdtime.c:32:2: error: #error not Loong64 so no rdtime instruction [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-loong64-tlbrd.c:32:0: error: #error not Loong64 so no tlbrd instruction [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-loong64-tlbrd.c:32:2: error: #error not Loong64 so no tlbrd instruction [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-loong64-tlbsrch.c:32:0: error: #error not Loong64 so no tlbsrc instruction [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-loong64-tlbsrch.c:32:2: error: #error not Loong64 so no tlbsrc instruction [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-m68k-eori-sr.c:32:0: error: #error not m68k so no eori.w #0001,sr instruction [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-m68k-eori-sr.c:32:2: error: #error not m68k so no eori.w #0001,sr instruction [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-mips-wait.c:30:0: error: #error not MIPS so no wait instruction [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-mips-wait.c:30:2: error: #error not MIPS so no wait instruction [preprocessorErrorDirective] stress-ng-0.19.01/stress-zombie.c:152:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIdMAX [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/test/test-asm-ppc-dcbst.c:22:0: error: #error ppc dcbst instruction not supported [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-ppc-dcbst.c:22:2: error: #error ppc dcbst instruction not supported [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-ppc-dcbt.c:20:0: error: #error ppc dcbt instruction not supported [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-ppc-dcbt.c:20:2: error: #error ppc dcbt instruction not supported [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-ppc-dcbtst.c:20:0: error: #error ppc dcbtst instruction not supported [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-ppc-dcbtst.c:20:2: error: #error ppc dcbtst instruction not supported [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-ppc-icbi.c:22:0: error: #error ppc icbi instruction not supported [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-ppc64-darn.c:22:0: error: #error ppc64 darn instruction not supported [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-ppc-icbi.c:22:2: error: #error ppc icbi instruction not supported [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-ppc64-darn.c:22:2: error: #error ppc64 darn instruction not supported [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-ppc64-dcbst.c:22:0: error: #error ppc64 dcbst instruction not supported [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-ppc64-dcbst.c:22:2: error: #error ppc64 dcbst instruction not supported [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-ppc64-dcbt.c:20:0: error: #error ppc64 dcbt instruction not supported [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-ppc64-dcbt.c:20:2: error: #error ppc64 dcbt instruction not supported [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-ppc64-dcbtst.c:20:0: error: #error ppc64 dcbtst instruction not supported [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-ppc64-icbi.c:22:0: error: #error ppc64 icbi instruction not supported [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-ppc64-dcbtst.c:20:2: error: #error ppc64 dcbtst instruction not supported [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-ppc64-icbi.c:22:2: error: #error ppc64 icbi instruction not supported [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-ppc64-msync.c:21:0: error: #error ppc64 msync instruction not supported [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-ppc64-msync.c:21:2: error: #error ppc64 msync instruction not supported [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-ppc64-tlbie.c:22:0: error: #error ppc64 tlbie instruction not supported [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-ppc64-tlbie.c:22:2: error: #error ppc64 tlbie instruction not supported [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-riscv-fence.c:29:0: error: #error not RISC-V so no fence instruction [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-riscv-cbo_zero.c:82:0: error: #error not RISC-V so no cbo.zero instruction [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-riscv-fence.c:29:2: error: #error not RISC-V so no fence instruction [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-riscv-cbo_zero.c:82:2: error: #error not RISC-V so no cbo.zero instruction [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-riscv-fence_i.c:29:0: error: #error not RISC-V so no fence instruction [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-riscv-fence_i.c:29:2: error: #error not RISC-V so no fence instruction [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-riscv-sfence-vma.c:29:0: error: #error not RISC-V so no fence instruction [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-riscv-sfence-vma.c:29:2: error: #error not RISC-V so no fence instruction [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-s390-ptlb.c:28:0: error: #error not S390 so no ptlb instruction [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-s390-ptlb.c:28:2: error: #error not S390 so no ptlb instruction [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-sh4-rte.c:28:0: error: #error not SH4 so no rte instruction [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-sh4-rte.c:28:2: error: #error not SH4 so no rte instruction [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-sh4-sleep.c:28:0: error: #error not SH4 so no sleep instruction [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-sh4-sleep.c:28:2: error: #error not SH4 so no sleep instruction [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-sparc-membar.c:30:0: error: #error not SPARC so no rdpr instruction [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-sparc-membar.c:30:2: error: #error not SPARC so no rdpr instruction [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-sparc-rdpr.c:32:0: error: #error not SPARC so no rdpr instruction [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-sparc-rdpr.c:32:2: error: #error not SPARC so no rdpr instruction [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-sparc-tick.c:34:0: error: #error not SPARC so no tick instruction [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-sparc-tick.c:34:2: error: #error not SPARC so no tick instruction [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-x86-clts.c:30:0: error: #error x86 clts instruction not supported [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-x86-clts.c:30:2: error: #error x86 clts instruction not supported [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-x86-hlt.c:30:0: error: #error x86 hlt instruction not supported [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-x86-hlt.c:30:2: error: #error x86 hlt instruction not supported [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-x86-invd.c:30:0: error: #error x86 invd instruction not supported [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-x86-invd.c:30:2: error: #error x86 invd instruction not supported [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-x86-invlpg.c:32:0: error: #error x86 invlpg instruction not supported [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-x86-invlpg.c:32:2: error: #error x86 invlpg instruction not supported [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-x86-lfence.c:30:0: error: #error not an x86 so no mfence instruction [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-x86-lfence.c:30:2: error: #error not an x86 so no mfence instruction [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-x86-lgdt.c:32:0: error: #error x86 lgdt instruction not supported [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-x86-lgdt.c:32:2: error: #error x86 lgdt instruction not supported [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-x86-lldt.c:33:0: error: #error x86 lldt instruction not supported [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-x86-lldt.c:33:2: error: #error x86 lldt instruction not supported [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-x86-lmsw.c:33:0: error: #error x86 lmsr instruction not supported [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-x86-lmsw.c:33:2: error: #error x86 lmsr instruction not supported [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-x86-mfence.c:30:0: error: #error not an x86 so no mfence instruction [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-x86-mfence.c:30:2: error: #error not an x86 so no mfence instruction [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-x86-mov-cr0.c:33:0: error: #error x86 mov cr0 instruction not supported [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-x86-mov-cr0.c:33:2: error: #error x86 mov cr0 instruction not supported [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-x86-cldemote.c:20:35: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] stress-ng-0.19.01/test/test-asm-x86-mov-dr0.c:33:0: error: #error x86 mov cr0 instruction not supported [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-x86-clflush.c:20:34: style: Parameter 'ptr' can be declared as pointer to const [constParameterPointer] stress-ng-0.19.01/test/test-asm-x86-mov-dr0.c:33:2: error: #error x86 mov cr0 instruction not supported [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-x86-pause.c:31:0: error: #error not an x86 so no pause instruction [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-x86-pause.c:31:2: error: #error not an x86 so no pause instruction [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-x86-clflushopt.c:20:37: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] stress-ng-0.19.01/test/test-asm-x86-clwb.c:20:31: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] stress-ng-0.19.01/test/test-asm-x86-rdmsr.c:35:0: error: #error x86 rdmsr instruction not supported [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-x86-rdmsr.c:35:2: error: #error x86 rdmsr instruction not supported [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-x86-rdpmc.c:31:0: error: #error x86 rdpmc instruction not supported [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-x86-rdpmc.c:31:2: error: #error x86 rdpmc instruction not supported [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-x86-rdrand.c:41:0: error: #error not an x86 so no rdrand instruction [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-x86-rdrand.c:41:2: error: #error not an x86 so no rdrand instruction [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-x86-rdseed.c:40:0: error: #error not an x86 so no rdseed instruction [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-x86-rdseed.c:40:2: error: #error not an x86 so no rdseed instruction [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-x86-rdtsc.c:38:0: error: #error not an x86 so no rdtsc instruction [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-x86-rdtsc.c:38:2: error: #error not an x86 so no rdtsc instruction [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-x86-rdtscp.c:34:0: error: #error not an x86 so no rdtsc instruction [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-x86-rdtscp.c:34:2: error: #error not an x86 so no rdtsc instruction [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-x86-rep-stosb.c:43:0: error: #error not an x86 so no rep stosb instruction [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-x86-rep-stosb.c:43:2: error: #error not an x86 so no rep stosb instruction [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-x86-rep-stosd.c:43:0: error: #error not an x86 so no rep stosd instruction [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-x86-rep-stosd.c:43:2: error: #error not an x86 so no rep stosd instruction [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-x86-rep-stosq.c:43:0: error: #error not an x86 so no rep stosq instruction [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-x86-rep-stosq.c:43:2: error: #error not an x86 so no rep stosq instruction [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-x86-rep-stosw.c:44:0: error: #error not an x86 so no rep stosw instruction [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-x86-rep-stosw.c:44:2: error: #error not an x86 so no rep stosw instruction [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-x86-serialize.c:28:0: error: #error not an x86 so no tpause instruction [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-x86-serialize.c:28:2: error: #error not an x86 so no tpause instruction [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-x86-sfence.c:30:0: error: #error not an x86 so no sfence instruction [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-x86-sfence.c:30:2: error: #error not an x86 so no sfence instruction [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-x86-prefetchnta.c:20:38: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] stress-ng-0.19.01/test/test-asm-x86-tpause.c:32:0: error: #error not an x86 so no tpause instruction [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-x86-tpause.c:32:2: error: #error not an x86 so no tpause instruction [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-x86-prefetcht0.c:20:37: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] stress-ng-0.19.01/test/test-asm-x86-wbinvd.c:29:0: error: #error x86 wbinvd instruction not supported [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-x86-prefetcht1.c:20:37: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] stress-ng-0.19.01/test/test-asm-x86-wbinvd.c:29:2: error: #error x86 wbinvd instruction not supported [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-x86-wrmsr.c:34:0: error: #error x86 wrmsr instruction not supported [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-x86-wrmsr.c:34:2: error: #error x86 wrmsr instruction not supported [preprocessorErrorDirective] stress-ng-0.19.01/test/test-asm-x86-prefetcht2.c:20:37: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] stress-ng-0.19.01/test/test-asm-x86-prefetchw.c:20:36: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] stress-ng-0.19.01/test/test-asm-x86-prefetchwt1.c:20:38: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] stress-ng-0.19.01/stress-zombie.c:144:29: style: Condition 'stress_pid_a_zombie(pid)' is always true [knownConditionTrueFalse] stress-ng-0.19.01/stress-zombie.c:144:29: note: Calling function 'stress_pid_a_zombie' returns 1 stress-ng-0.19.01/stress-zombie.c:144:29: note: Condition 'stress_pid_a_zombie(pid)' is always true stress-ng-0.19.01/test/test-atomic_load_double.c:23:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __ATOMIC_CONSUME [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/test/test-atomic_store_double.c:23:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __ATOMIC_RELEASE [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/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.19.01/test/test-backtrace.c:35:18: warning: If memory allocation fails, then there is a possible null pointer dereference: strings [nullPointerOutOfMemory] stress-ng-0.19.01/test/test-backtrace.c:32:29: note: Assuming allocation function fails stress-ng-0.19.01/test/test-backtrace.c:32:29: note: Assignment 'strings=backtrace_symbols(buffer,n_ptrs)', assigned value is 0 stress-ng-0.19.01/test/test-backtrace.c:35:18: note: Null pointer dereference stress-ng-0.19.01/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.19.01/test/test-attr-returns-nonnull.c:34:10: note: You might need to cast the function pointer here stress-ng-0.19.01/test/test-attr-returns-nonnull.c:27:41: note: Parameter 'dst' can be declared as pointer to const stress-ng-0.19.01/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.19.01/test/test-attr-returns-nonnull.c:34:10: note: You might need to cast the function pointer here stress-ng-0.19.01/test/test-attr-returns-nonnull.c:27:52: note: Parameter 'src' can be declared as pointer to const stress-ng-0.19.01/test/test-cap.c:30:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _LINUX_CAPABILITY_VERSION_3 [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/test/test-bsearch.c:39:8: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] stress-ng-0.19.01/test/test-cdrom_tochdr.c:30:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cdrom_tochdr [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/test/test-cfgetispeed.c:27:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/test/test-cfgetospeed.c:27:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/test/test-clock-adjtime.c:38:0: error: #error no POSIX clock types CLOCK_REALTIME or CLOCK_MONOTONIC [preprocessorErrorDirective] stress-ng-0.19.01/test/test-clock-adjtime.c:38:2: error: #error no POSIX clock types CLOCK_REALTIME or CLOCK_MONOTONIC [preprocessorErrorDirective] stress-ng-0.19.01/test/test-clock-getres.c:34:0: error: #error no POSIX clock types CLOCK_REALTIME or CLOCK_MONOTONIC [preprocessorErrorDirective] stress-ng-0.19.01/test/test-clock-getres.c:34:2: error: #error no POSIX clock types CLOCK_REALTIME or CLOCK_MONOTONIC [preprocessorErrorDirective] stress-ng-0.19.01/test/test-clock-gettime.c:34:0: error: #error no POSIX clock types CLOCK_REALTIME or CLOCK_MONOTONIC [preprocessorErrorDirective] stress-ng-0.19.01/test/test-clock-gettime.c:34:2: error: #error no POSIX clock types CLOCK_REALTIME or CLOCK_MONOTONIC [preprocessorErrorDirective] stress-ng-0.19.01/test/test-clock-nanosleep.c:35:0: error: #error no POSIX clock types CLOCK_REALTIME or CLOCK_MONOTONIC [preprocessorErrorDirective] stress-ng-0.19.01/test/test-clock-nanosleep.c:35:2: error: #error no POSIX clock types CLOCK_REALTIME or CLOCK_MONOTONIC [preprocessorErrorDirective] stress-ng-0.19.01/test/test-clock-settime.c:34:0: error: #error no POSIX clock types CLOCK_REALTIME or CLOCK_MONOTONIC [preprocessorErrorDirective] stress-ng-0.19.01/test/test-clock-settime.c:34:2: error: #error no POSIX clock types CLOCK_REALTIME or CLOCK_MONOTONIC [preprocessorErrorDirective] stress-ng-0.19.01/test/test-cpu_set_t.c:25:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cpu_set_t [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/test/test-dup3.c:33:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/test/test-execveat.c:34:0: error: #error no execveat [preprocessorErrorDirective] stress-ng-0.19.01/test/test-execveat.c:34:2: error: #error no execveat [preprocessorErrorDirective] stress-ng-0.19.01/test/test-faccessat.c:27:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AT_FDCWD [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/test/test-faccessat2.c:27:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AT_FDCWD [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/test/test-fanotify.c:22:0: error: #error requires linux to build [preprocessorErrorDirective] stress-ng-0.19.01/test/test-fanotify.c:22:2: error: #error requires linux to build [preprocessorErrorDirective] stress-ng-0.19.01/test/test-fdatasync.c:31:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/test/test-finit-module.c:32:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/test/test-flock.c:26:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOCK_EX [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/test/test-builtin-prefetch.c:23:7: style: Variable 'data' can be declared as const array [constVariable] stress-ng-0.19.01/test/test-fstat.c:31:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/test/test-fstatat.c:29:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AT_FDCWD [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/test/test-futimens.c:28:0: error: #error futimens missing UTIME_NOW [preprocessorErrorDirective] stress-ng-0.19.01/test/test-fsync.c:31:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/test/test-futimens.c:28:2: error: #error futimens missing UTIME_NOW [preprocessorErrorDirective] stress-ng-0.19.01/test/test-futimes.c:32:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/test/test-futimesat.c:33:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/test/test-builtin-thread-pointer.c:22:8: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] stress-ng-0.19.01/test/test-getitimer.c:30:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ITIMER_REAL [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/test/test-getpgrp.c:36:0: error: #error need glib 2.19.0 or higher [preprocessorErrorDirective] stress-ng-0.19.01/test/test-getpgrp.c:36:2: error: #error need glib 2.19.0 or higher [preprocessorErrorDirective] stress-ng-0.19.01/test/test-getpriority.c:26:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIO_USER [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/test/test-getrusage.c:28:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RUSAGE_SELF [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/test/test-hsearch.c:32:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENTER [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/test/test-icc-mm_stream_si128.c:37:0: error: #error need ICC to build successfully [preprocessorErrorDirective] stress-ng-0.19.01/test/test-icc-mm_stream_si128.c:37:2: error: #error need ICC to build successfully [preprocessorErrorDirective] stress-ng-0.19.01/test/test-icc-mm_stream_si32.c:35:0: error: #error need ICC to build successfully [preprocessorErrorDirective] stress-ng-0.19.01/test/test-icc-mm_stream_si32.c:35:2: error: #error need ICC to build successfully [preprocessorErrorDirective] stress-ng-0.19.01/test/test-icc-mm_stream_si64.c:36:0: error: #error need ICC to build successfully [preprocessorErrorDirective] stress-ng-0.19.01/test/test-icc-mm_stream_si64.c:36:2: error: #error need ICC to build successfully [preprocessorErrorDirective] stress-ng-0.19.01/test/test-icmphdr.c:32:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable iphdr [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/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.19.01/test/test-crypt-r.c:28:8: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] stress-ng-0.19.01/test/test-inotify.c:23:0: error: #error requires linux to build [preprocessorErrorDirective] stress-ng-0.19.01/test/test-inotify.c:23:2: error: #error requires linux to build [preprocessorErrorDirective] stress-ng-0.19.01/test/test-int128_t.c:30:0: error: #error need GCC 4.0 or above [preprocessorErrorDirective] stress-ng-0.19.01/test/test-int128_t.c:30:2: error: #error need GCC 4.0 or above [preprocessorErrorDirective] stress-ng-0.19.01/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.19.01/test/test-iphdr.c:28:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable iphdr [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/test/test-judy.c:33:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PJERR [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/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.19.01/test/test-libdl.c:27:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBM_SO [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/test/test-libjpeg.c:38:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/test/test-libmd.c:26:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHA256_DIGEST_LENGTH [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/test/test-libmpfr.c:31:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPFR_RNDD [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/test/test-libsctp.c:33:0: error: #error no SOL_SCTP [preprocessorErrorDirective] stress-ng-0.19.01/test/test-libsctp.c:33:2: error: #error no SOL_SCTP [preprocessorErrorDirective] stress-ng-0.19.01/test/test-libz.c:26:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Z_DEFAULT_COMPRESSION [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/test/test-hsearch.c:30:11: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] stress-ng-0.19.01/test/test-lockf.c:30:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/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.19.01/test/test-lookup-dcookie.c:26:0: error: #error __NR_lookup_dcookie syscall not defined [preprocessorErrorDirective] stress-ng-0.19.01/test/test-lookup-dcookie.c:26:2: error: #error __NR_lookup_dcookie syscall not defined [preprocessorErrorDirective] stress-ng-0.19.01/test/test-getexecname.c:25:8: style: Variable 'name' can be declared as pointer to const [constVariablePointer] stress-ng-0.19.01/test/test-lseek64.c:30:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/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.19.01/stress-vm.c:3441:38: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] stress-ng-0.19.01/stress-vm.c:3418:26: note: Assuming allocation function fails stress-ng-0.19.01/stress-vm.c:3418:11: note: Assignment 'buf=(uint8_t*)mmap(NULL,buf_sz,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|vm_flags,-1,0)', assigned value is 0 stress-ng-0.19.01/stress-vm.c:3441:38: note: Null pointer addition stress-ng-0.19.01/test/test-getmntent.c:27:17: style: Variable 'mount' can be declared as pointer to const [constVariablePointer] stress-ng-0.19.01/test/test-madvise.c:79:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MADV_NORMAL [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/test/test-mallopt.c:25:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable M_MMAP_THRESHOLD [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/test/test-getpwent.c:26:17: style: Variable 'pw' can be declared as pointer to const [constVariablePointer] stress-ng-0.19.01/test/test-mathfunc.c:32:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MATHFUNC [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/test/test-membarrier.c:23:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MEMBARRIER_CMD_GLOBAL [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/test/test-mkdirat.c:28:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AT_FDCWD [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/test/test-mknodat.c:33:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AT_FDCWD [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/test/test-mlock2.c:32:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MLOCK_ONFAULT [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/test/test-mlockall.c:26:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MCL_CURRENT [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/stress-vm.c:2411:3: warning:inconclusive: Found suspicious operator '*', result is not used. [constStatement] stress-ng-0.19.01/stress-vm.c:2421:3: warning:inconclusive: Found suspicious operator '*', result is not used. [constStatement] stress-ng-0.19.01/stress-vm.c:2431:3: warning:inconclusive: Found suspicious operator '*', result is not used. [constStatement] stress-ng-0.19.01/stress-vm.c:2441:3: warning:inconclusive: Found suspicious operator '*', result is not used. [constStatement] stress-ng-0.19.01/test/test-modify-ldt.c:29:0: error: #error modify_ldt syscall not defined [preprocessorErrorDirective] stress-ng-0.19.01/test/test-modify-ldt.c:29:2: error: #error modify_ldt syscall not defined [preprocessorErrorDirective] stress-ng-0.19.01/test/test-mprotect.c:31:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/test/test-mq-posix.c:68:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/test/test-mq-sysv.c:58:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IWUSR [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/test/test-mremap.c:32:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MREMAP_FIXED [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/test/test-mseal.c:26:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/test/test-msync.c:42:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/test/test-mtx-init.c:30:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mtx_plain [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/test/test-int_fast16_t.c:24:28: style: Variable 'uif16' is assigned a value that is never used. [unreadVariable] stress-ng-0.19.01/test/test-int_fast16_t.c:25:25: style: Variable 'i16' is assigned a value that is never used. [unreadVariable] stress-ng-0.19.01/test/test-int_fast32_t.c:24:28: style: Variable 'uif32' is assigned a value that is never used. [unreadVariable] stress-ng-0.19.01/test/test-int_fast16_t.c:24:22: style: Variable 'uif16' is assigned a value that is never used. [unreadVariable] stress-ng-0.19.01/test/test-int_fast32_t.c:25:25: style: Variable 'i32' is assigned a value that is never used. [unreadVariable] stress-ng-0.19.01/test/test-int_fast64_t.c:24:28: style: Variable 'uif64' is assigned a value that is never used. [unreadVariable] stress-ng-0.19.01/test/test-int_fast16_t.c:25:21: style: Variable 'i16' is assigned a value that is never used. [unreadVariable] stress-ng-0.19.01/test/test-int_fast32_t.c:24:22: style: Variable 'uif32' is assigned a value that is never used. [unreadVariable] stress-ng-0.19.01/test/test-int_fast64_t.c:25:25: style: Variable 'i64' is assigned a value that is never used. [unreadVariable] stress-ng-0.19.01/test/test-int_fast32_t.c:25:21: style: Variable 'i32' is assigned a value that is never used. [unreadVariable] stress-ng-0.19.01/test/test-int_fast64_t.c:24:22: style: Variable 'uif64' is assigned a value that is never used. [unreadVariable] stress-ng-0.19.01/test/test-int_fast8_t.c:24:26: style: Variable 'uif8' is assigned a value that is never used. [unreadVariable] stress-ng-0.19.01/test/test-int_fast64_t.c:25:21: style: Variable 'i64' is assigned a value that is never used. [unreadVariable] stress-ng-0.19.01/test/test-int_fast8_t.c:25:23: style: Variable 'i8' is assigned a value that is never used. [unreadVariable] stress-ng-0.19.01/test/test-openat.c:28:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AT_FDCWD [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/test/test-int_fast8_t.c:24:21: style: Variable 'uif8' is assigned a value that is never used. [unreadVariable] stress-ng-0.19.01/test/test-openat2.c:33:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/test/test-int_fast8_t.c:25:20: style: Variable 'i8' is assigned a value that is never used. [unreadVariable] stress-ng-0.19.01/test/test-pidfd-getfd.c:23:0: error: failed to evaluate #if condition, division/modulo by zero [preprocessorErrorDirective] stress-ng-0.19.01/test/test-pidfd-getfd.c:23:2: error: failed to evaluate #if condition, division/modulo by zero [preprocessorErrorDirective] stress-ng-0.19.01/test/test-pidfd-send-signal.c:26:0: error: #error __NR_pidfd_send_signal not defined [preprocessorErrorDirective] stress-ng-0.19.01/test/test-pidfd-send-signal.c:26:2: error: #error __NR_pidfd_send_signal not defined [preprocessorErrorDirective] stress-ng-0.19.01/test/test-pkey-mprotect.c:29:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_NONE [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/test/test-poll.c:31:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fd [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/test/test-posix-fadvise.c:72:0: error: #error no POSIX_FADV advice macros defined! [preprocessorErrorDirective] stress-ng-0.19.01/test/test-posix-fadvise.c:72:2: error: #error no POSIX_FADV advice macros defined! [preprocessorErrorDirective] stress-ng-0.19.01/test/test-posix-fallocate.c:29:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/test/test-posix-madvise.c:53:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POSIX_MADV_NORMAL [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/test/test-ppoll.c:34:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fd [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/test/test-pread.c:31:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/test/test-preadv.c:36:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/test/test-preadv2.c:36:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/test/test-program_invocation_name.c:26:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable program_invocation_name [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/test/test-pthread-mutex-destroy.c:26:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTHREAD_MUTEX_INITIALIZER [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/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.19.01/test/test-msync.c:51:12: note: Assuming allocation function fails stress-ng-0.19.01/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.19.01/test/test-msync.c:63:15: note: Null pointer dereference stress-ng-0.19.01/test/test-pthread-mutexattr-setprotocol.c:31:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTHREAD_PRIO_INHERIT [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/test/test-pthread-mutexattr-setrobust.c:27:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTHREAD_MUTEX_ROBUST [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/test/test-pthread-prio-inherit.c:25:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTHREAD_PRIO_INHERIT [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/test/test-pthread-prio-none.c:25:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTHREAD_PRIO_NONE [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/test/test-pthread-prio-protect.c:25:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTHREAD_PRIO_PROTECT [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/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.19.01/test/test-ptrace.c:34:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTRACE_SYSCALL [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/test/test-pwrite.c:31:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/test/test-pwritev.c:34:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/test/test-pwritev2.c:34:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/test/test-readlinkat.c:29:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AT_FDCWD [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/test/test-recvmmsg.c:48:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/test/test-regcomp.c:26:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NEWLINE [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/test/test-regerror.c:31:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NEWLINE [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/test/test-regexec.c:27:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NEWLINE [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/test/test-regfree.c:26:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NEWLINE [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/test/test-remap-file-pages.c:26:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAP_SHARED [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/test/test-renameat.c:31:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AT_FDCWD [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/test/test-renameat2.c:31:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AT_FDCWD [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/test/test-rfork.c:27:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RFPROC [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/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.19.01/test/test-nanosleep.c:30:13: style: Variable 'rem.tv_sec' is assigned a value that is never used. [unreadVariable] stress-ng-0.19.01/test/test-nanosleep.c:31:14: style: Variable 'rem.tv_nsec' is assigned a value that is never used. [unreadVariable] stress-ng-0.19.01/test/test-sem-sysv.c:58:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPC_CREAT [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/test/test-sendmmsg.c:47:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/test/test-setitimer.c:31:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ITIMER_REAL [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/test/test-setns.c:33:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/test/test-setpriority.c:26:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIO_USER [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/test/test-shm-open.c:30:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/test/test-shm-sysv.c:43:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPC_CREAT [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/test/test-sock-diag.c:59:0: error: #error sock_diag not supported [preprocessorErrorDirective] stress-ng-0.19.01/test/test-sock-diag.c:59:2: error: #error sock_diag not supported [preprocessorErrorDirective] stress-ng-0.19.01/test/test-syncfs.c:36:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/test/test-target-clones.c:56:0: error: #error target clones attribute not supported [preprocessorErrorDirective] stress-ng-0.19.01/test/test-target-clones.c:56:2: error: #error target clones attribute not supported [preprocessorErrorDirective] stress-ng-0.19.01/test/test-timer-create.c:40:0: error: #error no POSIX clock types CLOCK_REALTIME or CLOCK_MONOTONIC [preprocessorErrorDirective] stress-ng-0.19.01/test/test-timer-create.c:40:2: error: #error no POSIX clock types CLOCK_REALTIME or CLOCK_MONOTONIC [preprocessorErrorDirective] stress-ng-0.19.01/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.19.01/test/test-timerfd-create.c:32:0: error: #error no POSIX clock types CLOCK_REALTIME or CLOCK_MONOTONIC [preprocessorErrorDirective] stress-ng-0.19.01/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.19.01/test/test-timerfd-create.c:32:2: error: #error no POSIX clock types CLOCK_REALTIME or CLOCK_MONOTONIC [preprocessorErrorDirective] stress-ng-0.19.01/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.19.01/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.19.01/test/test-unlinkat.c:27:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AT_FDCWD [valueFlowBailoutIncompleteVar] stress-ng-0.19.01/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.19.01/test/test-setmntent.c:25:8: style: Variable 'fp' can be declared as pointer to const [constVariablePointer] stress-ng-0.19.01/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.19.01/test/test-utime.c:29:9: style: Obsolescent function 'utime' called. It is recommended to use 'utimensat' instead. [prohibitedutimeCalled] stress-ng-0.19.01/test/test-shm-sysv.c:33:8: style: Variable 'addr' can be declared as pointer to const [constVariablePointer] stress-ng-0.19.01/test/test-sem-sysv.c:76:20: style: Variable 'semsignal.sem_num' is assigned a value that is never used. [unreadVariable] stress-ng-0.19.01/test/test-sem-sysv.c:77:19: style: Variable 'semsignal.sem_op' is assigned a value that is never used. [unreadVariable] stress-ng-0.19.01/test/test-sem-sysv.c:78:20: style: Variable 'semsignal.sem_flg' is assigned a value that is never used. [unreadVariable] stress-ng-0.19.01/test/test-valloc.c:26:14: style: Obsolete function 'valloc' called. It is recommended to use 'malloc' or 'mmap' instead. [prohibitedvallocCalled] stress-ng-0.19.01/test/test-vfork.c:27:8: style: Obsolescent function 'vfork' called. It is recommended to use 'fork' instead. [prohibitedvforkCalled] stress-ng-0.19.01/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.19.01/test/test-sync_val_compare_and_swap.c:23:6: style: Variable 'var' is assigned a value that is never used. [unreadVariable] diff: 2.17.0 stress-ng-0.19.01/core-cpuidle.c:210:18: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] 2.17.0 stress-ng-0.19.01/core-cpuidle.c:225:23: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] head stress-ng-0.19.01/core-shim.c:1197:46: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] 2.17.0 stress-ng-0.19.01/core-thermal-zone.c:98:18: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] 2.17.0 stress-ng-0.19.01/stress-cachehammer.c:616:45: style: Parameter 'addr1' can be declared as pointer to const [constParameterPointer] head stress-ng-0.19.01/stress-cachehammer.c:616:45: style: Parameter 'addr1' can be declared as pointer to const. However it seems that 'hammer_prefetch' is a callback function, if 'addr1' is declared with const you might also need to cast function pointer(s). [constParameterCallback] stress-ng-0.19.01/stress-cachehammer.c:950:33: note: You might need to cast the function pointer here stress-ng-0.19.01/stress-cachehammer.c:616:45: note: Parameter 'addr1' can be declared as pointer to const 2.17.0 stress-ng-0.19.01/stress-cachehammer.c:616:58: style: Parameter 'addr2' can be declared as pointer to const [constParameterPointer] head stress-ng-0.19.01/stress-cachehammer.c:616:58: style: Parameter 'addr2' can be declared as pointer to const. However it seems that 'hammer_prefetch' is a callback function, if 'addr2' is declared with const you might also need to cast function pointer(s). [constParameterCallback] stress-ng-0.19.01/stress-cachehammer.c:950:33: note: You might need to cast the function pointer here stress-ng-0.19.01/stress-cachehammer.c:616:58: note: Parameter 'addr2' can be declared as pointer to const 2.17.0 stress-ng-0.19.01/stress-dir.c:139:9: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] 2.17.0 stress-ng-0.19.01/stress-dir.c:187:9: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] 2.17.0 stress-ng-0.19.01/stress-dir.c:415:15: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] 2.17.0 stress-ng-0.19.01/stress-filename.c:215:15: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] 2.17.0 stress-ng-0.19.01/stress-filerace.c:1407:13: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] 2.17.0 stress-ng-0.19.01/stress-filerace.c:146:15: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] 2.17.0 stress-ng-0.19.01/stress-fstat.c:306:14: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] 2.17.0 stress-ng-0.19.01/stress-mmapfiles.c:83:43: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] 2.17.0 stress-ng-0.19.01/stress-open.c:1044:16: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] 2.17.0 stress-ng-0.19.01/stress-prefetch.c:268:20: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] stress-ng-0.19.01/stress-prefetch.c:419:28: note: Assuming allocation function fails stress-ng-0.19.01/stress-prefetch.c:419: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.19.01/stress-prefetch.c:455:5: note: Calling function 'stress_prefetch_benchmark', 6th argument 'l3_data' value is 0 stress-ng-0.19.01/stress-prefetch.c:268:20: note: Null pointer addition head stress-ng-0.19.01/stress-prefetch.c:268:20: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] stress-ng-0.19.01/stress-prefetch.c:419:28: note: Assuming allocation function fails stress-ng-0.19.01/stress-prefetch.c:419: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.19.01/stress-prefetch.c:455:5: note: Calling function 'stress_prefetch_benchmark', 6th argument 'l3_data' value is 0 stress-ng-0.19.01/stress-prefetch.c:268:20: note: Null pointer addition 2.17.0 stress-ng-0.19.01/stress-prefetch.c:378:12: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] stress-ng-0.19.01/stress-prefetch.c:419:28: note: Assuming allocation function fails stress-ng-0.19.01/stress-prefetch.c:419: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.19.01/stress-prefetch.c:433:43: note: Calling function 'stress_prefetch_data_set', 1st argument 'l3_data' value is 0 stress-ng-0.19.01/stress-prefetch.c:378:12: note: Null pointer addition head stress-ng-0.19.01/stress-prefetch.c:378:12: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] stress-ng-0.19.01/stress-prefetch.c:419:28: note: Assuming allocation function fails stress-ng-0.19.01/stress-prefetch.c:419: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.19.01/stress-prefetch.c:433:43: note: Calling function 'stress_prefetch_data_set', 1st argument 'l3_data' value is 0 stress-ng-0.19.01/stress-prefetch.c:378:12: note: Null pointer addition 2.17.0 stress-ng-0.19.01/stress-touch.c:174:14: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] 2.17.0 stress-ng-0.19.01/stress-vm.c:3441:38: error: If memory allocation fail: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] stress-ng-0.19.01/stress-vm.c:3418:26: note: Assuming allocation function fails stress-ng-0.19.01/stress-vm.c:3418:11: note: Assignment 'buf=(uint8_t*)mmap(NULL,buf_sz,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|vm_flags,-1,0)', assigned value is 0 stress-ng-0.19.01/stress-vm.c:3441:38: note: Null pointer addition head stress-ng-0.19.01/stress-vm.c:3441:38: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] stress-ng-0.19.01/stress-vm.c:3418:26: note: Assuming allocation function fails stress-ng-0.19.01/stress-vm.c:3418:11: note: Assignment 'buf=(uint8_t*)mmap(NULL,buf_sz,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANONYMOUS|vm_flags,-1,0)', assigned value is 0 stress-ng-0.19.01/stress-vm.c:3441:38: note: Null pointer addition head stress-ng-0.19.01/test/test-asm-alpha-draina.c:30:2: error: #error not ALPHA so no draina instruction [preprocessorErrorDirective] head stress-ng-0.19.01/test/test-asm-alpha-halt.c:30:2: error: #error not ALPHA so no halt instruction [preprocessorErrorDirective] head stress-ng-0.19.01/test/test-asm-arm-dmb-sy.c:34:2: error: #error not an ARM so no yield instruction [preprocessorErrorDirective] head stress-ng-0.19.01/test/test-asm-arm-prfm.c:29:2: error: #error not an ARMv8 so no prfm instruction [preprocessorErrorDirective] head stress-ng-0.19.01/test/test-asm-arm-tlbi.c:34:2: error: #error not an ARM so no yield instruction [preprocessorErrorDirective] head stress-ng-0.19.01/test/test-asm-arm-yield.c:35:2: error: #error not an ARM so no yield instruction [preprocessorErrorDirective] head stress-ng-0.19.01/test/test-asm-hppa-diag.c:29:2: error: #error not HPPA so no diag instruction [preprocessorErrorDirective] head stress-ng-0.19.01/test/test-asm-hppa-rfi.c:29:2: error: #error not HPPA so no rfi instruction [preprocessorErrorDirective] head stress-ng-0.19.01/test/test-asm-loong64-cpucfg.c:32:2: error: #error not Loong64 so no rdtime instruction [preprocessorErrorDirective] head stress-ng-0.19.01/test/test-asm-loong64-dbar.c:29:2: error: #error not Loong64 so no sbar instruction [preprocessorErrorDirective] head stress-ng-0.19.01/test/test-asm-loong64-rdtime.c:32:2: error: #error not Loong64 so no rdtime instruction [preprocessorErrorDirective] head stress-ng-0.19.01/test/test-asm-loong64-tlbrd.c:32:2: error: #error not Loong64 so no tlbrd instruction [preprocessorErrorDirective] head stress-ng-0.19.01/test/test-asm-loong64-tlbsrch.c:32:2: error: #error not Loong64 so no tlbsrc instruction [preprocessorErrorDirective] head stress-ng-0.19.01/test/test-asm-m68k-eori-sr.c:32:2: error: #error not m68k so no eori.w #0001,sr instruction [preprocessorErrorDirective] head stress-ng-0.19.01/test/test-asm-mips-wait.c:30:2: error: #error not MIPS so no wait instruction [preprocessorErrorDirective] head stress-ng-0.19.01/test/test-asm-ppc-dcbst.c:22:2: error: #error ppc dcbst instruction not supported [preprocessorErrorDirective] head stress-ng-0.19.01/test/test-asm-ppc-dcbt.c:20:2: error: #error ppc dcbt instruction not supported [preprocessorErrorDirective] head stress-ng-0.19.01/test/test-asm-ppc-dcbtst.c:20:2: error: #error ppc dcbtst instruction not supported [preprocessorErrorDirective] head stress-ng-0.19.01/test/test-asm-ppc-icbi.c:22:2: error: #error ppc icbi instruction not supported [preprocessorErrorDirective] head stress-ng-0.19.01/test/test-asm-ppc64-darn.c:22:2: error: #error ppc64 darn instruction not supported [preprocessorErrorDirective] head stress-ng-0.19.01/test/test-asm-ppc64-dcbst.c:22:2: error: #error ppc64 dcbst instruction not supported [preprocessorErrorDirective] head stress-ng-0.19.01/test/test-asm-ppc64-dcbt.c:20:2: error: #error ppc64 dcbt instruction not supported [preprocessorErrorDirective] head stress-ng-0.19.01/test/test-asm-ppc64-dcbtst.c:20:2: error: #error ppc64 dcbtst instruction not supported [preprocessorErrorDirective] head stress-ng-0.19.01/test/test-asm-ppc64-icbi.c:22:2: error: #error ppc64 icbi instruction not supported [preprocessorErrorDirective] head stress-ng-0.19.01/test/test-asm-ppc64-msync.c:21:2: error: #error ppc64 msync instruction not supported [preprocessorErrorDirective] head stress-ng-0.19.01/test/test-asm-ppc64-tlbie.c:22:2: error: #error ppc64 tlbie instruction not supported [preprocessorErrorDirective] head stress-ng-0.19.01/test/test-asm-riscv-cbo_zero.c:82:2: error: #error not RISC-V so no cbo.zero instruction [preprocessorErrorDirective] head stress-ng-0.19.01/test/test-asm-riscv-fence.c:29:2: error: #error not RISC-V so no fence instruction [preprocessorErrorDirective] head stress-ng-0.19.01/test/test-asm-riscv-fence_i.c:29:2: error: #error not RISC-V so no fence instruction [preprocessorErrorDirective] head stress-ng-0.19.01/test/test-asm-riscv-sfence-vma.c:29:2: error: #error not RISC-V so no fence instruction [preprocessorErrorDirective] head stress-ng-0.19.01/test/test-asm-s390-ptlb.c:28:2: error: #error not S390 so no ptlb instruction [preprocessorErrorDirective] head stress-ng-0.19.01/test/test-asm-sh4-rte.c:28:2: error: #error not SH4 so no rte instruction [preprocessorErrorDirective] head stress-ng-0.19.01/test/test-asm-sh4-sleep.c:28:2: error: #error not SH4 so no sleep instruction [preprocessorErrorDirective] head stress-ng-0.19.01/test/test-asm-sparc-membar.c:30:2: error: #error not SPARC so no rdpr instruction [preprocessorErrorDirective] head stress-ng-0.19.01/test/test-asm-sparc-rdpr.c:32:2: error: #error not SPARC so no rdpr instruction [preprocessorErrorDirective] head stress-ng-0.19.01/test/test-asm-sparc-tick.c:34:2: error: #error not SPARC so no tick instruction [preprocessorErrorDirective] head stress-ng-0.19.01/test/test-asm-x86-clts.c:30:2: error: #error x86 clts instruction not supported [preprocessorErrorDirective] head stress-ng-0.19.01/test/test-asm-x86-hlt.c:30:2: error: #error x86 hlt instruction not supported [preprocessorErrorDirective] head stress-ng-0.19.01/test/test-asm-x86-invd.c:30:2: error: #error x86 invd instruction not supported [preprocessorErrorDirective] head stress-ng-0.19.01/test/test-asm-x86-invlpg.c:32:2: error: #error x86 invlpg instruction not supported [preprocessorErrorDirective] head stress-ng-0.19.01/test/test-asm-x86-lfence.c:30:2: error: #error not an x86 so no mfence instruction [preprocessorErrorDirective] head stress-ng-0.19.01/test/test-asm-x86-lgdt.c:32:2: error: #error x86 lgdt instruction not supported [preprocessorErrorDirective] head stress-ng-0.19.01/test/test-asm-x86-lldt.c:33:2: error: #error x86 lldt instruction not supported [preprocessorErrorDirective] head stress-ng-0.19.01/test/test-asm-x86-lmsw.c:33:2: error: #error x86 lmsr instruction not supported [preprocessorErrorDirective] head stress-ng-0.19.01/test/test-asm-x86-mfence.c:30:2: error: #error not an x86 so no mfence instruction [preprocessorErrorDirective] head stress-ng-0.19.01/test/test-asm-x86-mov-cr0.c:33:2: error: #error x86 mov cr0 instruction not supported [preprocessorErrorDirective] head stress-ng-0.19.01/test/test-asm-x86-mov-dr0.c:33:2: error: #error x86 mov cr0 instruction not supported [preprocessorErrorDirective] head stress-ng-0.19.01/test/test-asm-x86-pause.c:31:2: error: #error not an x86 so no pause instruction [preprocessorErrorDirective] head stress-ng-0.19.01/test/test-asm-x86-rdmsr.c:35:2: error: #error x86 rdmsr instruction not supported [preprocessorErrorDirective] head stress-ng-0.19.01/test/test-asm-x86-rdpmc.c:31:2: error: #error x86 rdpmc instruction not supported [preprocessorErrorDirective] head stress-ng-0.19.01/test/test-asm-x86-rdrand.c:41:2: error: #error not an x86 so no rdrand instruction [preprocessorErrorDirective] head stress-ng-0.19.01/test/test-asm-x86-rdseed.c:40:2: error: #error not an x86 so no rdseed instruction [preprocessorErrorDirective] head stress-ng-0.19.01/test/test-asm-x86-rdtsc.c:38:2: error: #error not an x86 so no rdtsc instruction [preprocessorErrorDirective] head stress-ng-0.19.01/test/test-asm-x86-rdtscp.c:34:2: error: #error not an x86 so no rdtsc instruction [preprocessorErrorDirective] head stress-ng-0.19.01/test/test-asm-x86-rep-stosb.c:43:2: error: #error not an x86 so no rep stosb instruction [preprocessorErrorDirective] head stress-ng-0.19.01/test/test-asm-x86-rep-stosd.c:43:2: error: #error not an x86 so no rep stosd instruction [preprocessorErrorDirective] head stress-ng-0.19.01/test/test-asm-x86-rep-stosq.c:43:2: error: #error not an x86 so no rep stosq instruction [preprocessorErrorDirective] head stress-ng-0.19.01/test/test-asm-x86-rep-stosw.c:44:2: error: #error not an x86 so no rep stosw instruction [preprocessorErrorDirective] head stress-ng-0.19.01/test/test-asm-x86-serialize.c:28:2: error: #error not an x86 so no tpause instruction [preprocessorErrorDirective] head stress-ng-0.19.01/test/test-asm-x86-sfence.c:30:2: error: #error not an x86 so no sfence instruction [preprocessorErrorDirective] head stress-ng-0.19.01/test/test-asm-x86-tpause.c:32:2: error: #error not an x86 so no tpause instruction [preprocessorErrorDirective] head stress-ng-0.19.01/test/test-asm-x86-wbinvd.c:29:2: error: #error x86 wbinvd instruction not supported [preprocessorErrorDirective] head stress-ng-0.19.01/test/test-asm-x86-wrmsr.c:34:2: error: #error x86 wrmsr instruction not supported [preprocessorErrorDirective] head stress-ng-0.19.01/test/test-clock-adjtime.c:38:2: error: #error no POSIX clock types CLOCK_REALTIME or CLOCK_MONOTONIC [preprocessorErrorDirective] head stress-ng-0.19.01/test/test-clock-getres.c:34:2: error: #error no POSIX clock types CLOCK_REALTIME or CLOCK_MONOTONIC [preprocessorErrorDirective] head stress-ng-0.19.01/test/test-clock-gettime.c:34:2: error: #error no POSIX clock types CLOCK_REALTIME or CLOCK_MONOTONIC [preprocessorErrorDirective] head stress-ng-0.19.01/test/test-clock-nanosleep.c:35:2: error: #error no POSIX clock types CLOCK_REALTIME or CLOCK_MONOTONIC [preprocessorErrorDirective] head stress-ng-0.19.01/test/test-clock-settime.c:34:2: error: #error no POSIX clock types CLOCK_REALTIME or CLOCK_MONOTONIC [preprocessorErrorDirective] head stress-ng-0.19.01/test/test-execveat.c:34:2: error: #error no execveat [preprocessorErrorDirective] head stress-ng-0.19.01/test/test-fanotify.c:22:2: error: #error requires linux to build [preprocessorErrorDirective] head stress-ng-0.19.01/test/test-futimens.c:28:2: error: #error futimens missing UTIME_NOW [preprocessorErrorDirective] head stress-ng-0.19.01/test/test-getpgrp.c:36:2: error: #error need glib 2.19.0 or higher [preprocessorErrorDirective] head stress-ng-0.19.01/test/test-hsearch.c:30:11: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] head stress-ng-0.19.01/test/test-icc-mm_stream_si128.c:37:2: error: #error need ICC to build successfully [preprocessorErrorDirective] head stress-ng-0.19.01/test/test-icc-mm_stream_si32.c:35:2: error: #error need ICC to build successfully [preprocessorErrorDirective] head stress-ng-0.19.01/test/test-icc-mm_stream_si64.c:36:2: error: #error need ICC to build successfully [preprocessorErrorDirective] head stress-ng-0.19.01/test/test-inotify.c:23:2: error: #error requires linux to build [preprocessorErrorDirective] head stress-ng-0.19.01/test/test-int128_t.c:30:2: error: #error need GCC 4.0 or above [preprocessorErrorDirective] head stress-ng-0.19.01/test/test-int_fast16_t.c:24:22: style: Variable 'uif16' is assigned a value that is never used. [unreadVariable] head stress-ng-0.19.01/test/test-int_fast16_t.c:25:21: style: Variable 'i16' is assigned a value that is never used. [unreadVariable] head stress-ng-0.19.01/test/test-int_fast32_t.c:24:22: style: Variable 'uif32' is assigned a value that is never used. [unreadVariable] head stress-ng-0.19.01/test/test-int_fast32_t.c:25:21: style: Variable 'i32' is assigned a value that is never used. [unreadVariable] head stress-ng-0.19.01/test/test-int_fast64_t.c:24:22: style: Variable 'uif64' is assigned a value that is never used. [unreadVariable] head stress-ng-0.19.01/test/test-int_fast64_t.c:25:21: style: Variable 'i64' is assigned a value that is never used. [unreadVariable] head stress-ng-0.19.01/test/test-int_fast8_t.c:24:21: style: Variable 'uif8' is assigned a value that is never used. [unreadVariable] head stress-ng-0.19.01/test/test-int_fast8_t.c:25:20: style: Variable 'i8' is assigned a value that is never used. [unreadVariable] head stress-ng-0.19.01/test/test-libsctp.c:33:2: error: #error no SOL_SCTP [preprocessorErrorDirective] head stress-ng-0.19.01/test/test-lookup-dcookie.c:26:2: error: #error __NR_lookup_dcookie syscall not defined [preprocessorErrorDirective] head stress-ng-0.19.01/test/test-modify-ldt.c:29:2: error: #error modify_ldt syscall not defined [preprocessorErrorDirective] head stress-ng-0.19.01/test/test-pidfd-getfd.c:23:2: error: failed to evaluate #if condition, division/modulo by zero [preprocessorErrorDirective] head stress-ng-0.19.01/test/test-pidfd-send-signal.c:26:2: error: #error __NR_pidfd_send_signal not defined [preprocessorErrorDirective] head stress-ng-0.19.01/test/test-posix-fadvise.c:72:2: error: #error no POSIX_FADV advice macros defined! [preprocessorErrorDirective] head stress-ng-0.19.01/test/test-sock-diag.c:59:2: error: #error sock_diag not supported [preprocessorErrorDirective] head stress-ng-0.19.01/test/test-sync_val_compare_and_swap.c:23:6: style: Variable 'var' is assigned a value that is never used. [unreadVariable] head stress-ng-0.19.01/test/test-target-clones.c:56:2: error: #error target clones attribute not supported [preprocessorErrorDirective] head stress-ng-0.19.01/test/test-timer-create.c:40:2: error: #error no POSIX clock types CLOCK_REALTIME or CLOCK_MONOTONIC [preprocessorErrorDirective] head stress-ng-0.19.01/test/test-timerfd-create.c:32:2: error: #error no POSIX clock types CLOCK_REALTIME or CLOCK_MONOTONIC [preprocessorErrorDirective] DONE