2025-09-16 10:54 ftp://ftp.de.debian.org/debian/pool/main/s/stress-ng/stress-ng_0.19.04.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 -j4 platform: Linux-6.12.43+deb13-amd64-x86_64-with-glibc2.41 python: 3.13.5 client-version: 1.3.67 compiler: g++ (Debian 14.2.0-19) 14.2.0 cppcheck: head 2.18.0 head-info: 3e169d6 (2025-09-15 13:38:15 +0200) count: 1166 1166 elapsed-time: 26.5 26.3 head-timing-info: old-timing-info: head results: stress-ng-0.19.04/stress-ng.h:878:70: style: Parameter 'args' can be declared as pointer to const [constParameterPointer] stress-ng-0.19.04/core-sync.h:57:71: style: Parameter 's_pid' can be declared as pointer to const [constParameterPointer] stress-ng-0.19.04/core-affinity.c:381:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/core-cpu-cache.c:128:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/core-cpu-cache.c:156:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/core-cpuidle.c:251:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCNu64 [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/core-filesystem.c:370:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/core-filesystem.c:497:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FIOBIO [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/core-filesystem.c:562:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu32 [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/core-filesystem.c:604:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu32 [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/core-filesystem.c:639:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRWXU [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/core-filesystem.c:674:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/core-filesystem.c:704:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/core-filesystem.c:729:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/core-filesystem.c:752:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/core-filesystem.c:787:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE_MAX [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/core-filesystem.c:856:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RLIMIT_NOFILE [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/core-filesystem.c:1047:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_name [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/core-filesystem.c:1098:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/core-filesystem.c:1129:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/core-filesystem.c:1354:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIuMAX [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/core-filesystem.c:1517:81: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/core-filesystem.c:472:20: style: Condition 'total_fs_size>0' is always false [knownConditionTrueFalse] stress-ng-0.19.04/core-filesystem.c:469:63: note: Calling function 'stress_get_filesystem_size' returns 0 stress-ng-0.19.04/core-filesystem.c:469:30: note: Assignment 'total_fs_size=(off_t)stress_get_filesystem_size()', assigned value is 0 stress-ng-0.19.04/core-filesystem.c:472:20: note: Condition 'total_fs_size>0' is always false stress-ng-0.19.04/core-filesystem.c:862:13: style: Condition 'opened==0' is always true [knownConditionTrueFalse] stress-ng-0.19.04/core-filesystem.c:861:32: note: Calling function 'stress_get_open_count' returns 0 stress-ng-0.19.04/core-filesystem.c:861:32: note: Assignment 'opened=stress_get_open_count()', assigned value is 0 stress-ng-0.19.04/core-filesystem.c:862:13: note: Condition 'opened==0' is always true stress-ng-0.19.04/core-filesystem.c:1351:6: style: Condition 'fs_name' is always false [knownConditionTrueFalse] stress-ng-0.19.04/core-filesystem.c:1348:42: note: Calling function 'stress_get_fs_info' returns 0 stress-ng-0.19.04/core-filesystem.c:1348:42: note: Assignment 'fs_name=stress_get_fs_info(filename,&blocks)', assigned value is 0 stress-ng-0.19.04/core-filesystem.c:1351:6: note: Condition 'fs_name' is always false stress-ng-0.19.04/core-filesystem.c:811:9: style: The comparison 'max_rlim < max_sysconf' is always false because 'max_rlim' and 'max_sysconf' represent the same value. [knownConditionTrueFalse] stress-ng-0.19.04/core-filesystem.c:787:20: note: 'max_rlim' is assigned value 'SIZE_MAX' here. stress-ng-0.19.04/core-filesystem.c:807:16: note: 'max_sysconf' is assigned value 'SIZE_MAX' here. stress-ng-0.19.04/core-filesystem.c:811:9: note: The comparison 'max_rlim < max_sysconf' is always false because 'max_rlim' and 'max_sysconf' represent the same value. stress-ng-0.19.04/core-filesystem.c:811:9: style: Same expression in both branches of ternary operator. [duplicateExpressionTernary] stress-ng-0.19.04/core-filesystem.c:787:20: note: 'max_rlim' is assigned value 'SIZE_MAX' here. stress-ng-0.19.04/core-filesystem.c:807:16: note: 'max_sysconf' is assigned value 'SIZE_MAX' here. stress-ng-0.19.04/core-filesystem.c:811:9: note: Same expression in both branches of ternary operator. stress-ng-0.19.04/core-filesystem.c:580:17: style: Parameter 'args' can be declared as pointer to const [constParameterPointer] stress-ng-0.19.04/core-filesystem.c:618:17: style: Parameter 'args' can be declared as pointer to const [constParameterPointer] stress-ng-0.19.04/core-filesystem.c:654:44: style: Parameter 'args' can be declared as pointer to const [constParameterPointer] stress-ng-0.19.04/core-filesystem.c:686:44: style: Parameter 'args' can be declared as pointer to const [constParameterPointer] stress-ng-0.19.04/core-filesystem.c:1509:14: style: Variable 'end' can be declared as pointer to const [constVariablePointer] stress-ng-0.19.04/core-filesystem.c:70:26: style: struct member 'stress_fs_name_t::fs_magic' is never used. [unusedStructMember] stress-ng-0.19.04/core-filesystem.c:71:16: style: struct member 'stress_fs_name_t::fs_name' is never used. [unusedStructMember] stress-ng-0.19.04/core-helper.c:716:45: error: There is an unknown macro here somewhere. Configuration is required. If VERSION is a macro then please configure it. [unknownMacro] stress-ng-0.19.04/core-ignite-cpu.c:100:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRId32 [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/core-ignite-cpu.c:158:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/core-interrupts.c:128:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCNu64 [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/core-interrupts.c:181:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRId64 [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/core-io-priority.c:44:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/core-job.c:81:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/core-job.c:95:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/core-job.c:120:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable optind [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/core-killpid.c:94:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/core-killpid.c:145:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIdMAX [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/core-job.c:36:42: style: Parameter 'str' can be declared as pointer to const [constParameterPointer] stress-ng-0.19.04/core-limit.c:105:16: style: Unused variable: rlim [unusedVariable] stress-ng-0.19.04/core-lock.c:637:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/core-lock.c:652:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/core-lock.c:667:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/core-lock.c:682:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/core-lock.c:748:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/core-log.c:50:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/core-log.c:208:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/core-log.c:279:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIdMAX [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/core-log.c:237:3: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] stress-ng-0.19.04/core-log.c:239:5: note: Found duplicate branches for 'if' and 'else'. stress-ng-0.19.04/core-log.c:237:3: note: Found duplicate branches for 'if' and 'else'. stress-ng-0.19.04/core-memory.c:508:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/core-memory.c:581:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/core-memory.c:232:69: style: Condition 'stress_get_meminfo(&freemem,&totalmem,&freeswap,&totalswap)<0' is always true [knownConditionTrueFalse] stress-ng-0.19.04/core-memory.c:232:24: note: Calling function 'stress_get_meminfo' returns -1 stress-ng-0.19.04/core-memory.c:232:69: note: Condition 'stress_get_meminfo(&freemem,&totalmem,&freeswap,&totalswap)<0' is always true stress-ng-0.19.04/core-memory.c:283:69: style: Condition 'stress_get_meminfo(&freemem,&totalmem,&freeswap,&totalswap)==0' is always false [knownConditionTrueFalse] stress-ng-0.19.04/core-memory.c:283:24: note: Calling function 'stress_get_meminfo' returns -1 stress-ng-0.19.04/core-memory.c:283:69: note: Condition 'stress_get_meminfo(&freemem,&totalmem,&freeswap,&totalswap)==0' is always false stress-ng-0.19.04/core-memory.c:492:31: style: Parameter 'addr' can be declared as pointer to const [constParameterPointer] stress-ng-0.19.04/core-mmap.c:265:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/core-mmap.c:216:8: style: Parameter 'addr' can be declared as pointer to const [constParameterPointer] stress-ng-0.19.04/core-mmap.c:276:37: style: Parameter 'addr' can be declared as pointer to const [constParameterPointer] stress-ng-0.19.04/core-mwc.c:154:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RUSAGE_SELF [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/core-mwc.c:499:21: style: Variable 'ptr32end' can be declared as pointer to const [constVariablePointer] stress-ng-0.19.04/core-net.c:149:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/core-numa.c:542:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/core-net.c:283:19: style: Parameter 'sockaddr' can be declared as pointer to const [constParameterPointer] stress-ng-0.19.04/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.04/core-numa.h:100:55: note: Function 'stress_numa_mask_free' argument 1 names different: declaration 'mask' definition 'numa_mask'. stress-ng-0.19.04/core-numa.c:223:48: note: Function 'stress_numa_mask_free' argument 1 names different: declaration 'mask' definition 'numa_mask'. stress-ng-0.19.04/core-numa.c:550:14: style:inconclusive: Function 'stress_numa_mask_and_node_alloc' argument 4 names different: declaration 'option' definition 'numa_option'. [funcArgNamesDifferent] stress-ng-0.19.04/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.04/core-numa.c:550:14: note: Function 'stress_numa_mask_and_node_alloc' argument 4 names different: declaration 'option' definition 'numa_option'. stress-ng-0.19.04/core-out-of-memory.c:273:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/core-out-of-memory.c:351:8: style: Condition 'oomed' is always false [knownConditionTrueFalse] stress-ng-0.19.04/core-out-of-memory.c:333:38: note: Calling function 'stress_process_oomed' returns 0 stress-ng-0.19.04/core-out-of-memory.c:333:38: note: Assignment 'oomed=stress_process_oomed(pid)', assigned value is 0 stress-ng-0.19.04/core-out-of-memory.c:351:8: note: Condition 'oomed' is always false stress-ng-0.19.04/core-out-of-memory.c:363:8: style: Condition 'oomed' is always false [knownConditionTrueFalse] stress-ng-0.19.04/core-out-of-memory.c:333:38: note: Calling function 'stress_process_oomed' returns 0 stress-ng-0.19.04/core-out-of-memory.c:333:38: note: Assignment 'oomed=stress_process_oomed(pid)', assigned value is 0 stress-ng-0.19.04/core-out-of-memory.c:363:8: note: Condition 'oomed' is always false stress-ng-0.19.04/core-out-of-memory.c:240:30: style:inconclusive: Function 'stress_oomable_child' argument 4 names different: declaration 'flag' definition 'context'. [funcArgNamesDifferent] stress-ng-0.19.04/core-out-of-memory.h:29:46: note: Function 'stress_oomable_child' argument 4 names different: declaration 'flag' definition 'context'. stress-ng-0.19.04/core-out-of-memory.c:240:30: note: Function 'stress_oomable_child' argument 4 names different: declaration 'flag' definition 'context'. stress-ng-0.19.04/core-parse-opts.c:41:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/core-parse-opts.c:59:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/core-parse-opts.c:78:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/core-parse-opts.c:99:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/core-parse-opts.c:127:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/core-parse-opts.c:152:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/core-parse-opts.c:169:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCNu64 [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/core-parse-opts.c:191:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCNd64 [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/core-parse-opts.c:219:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCNu64 [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/core-parse-opts.c:241:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCNd64 [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/core-parse-opts.c:269:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCNu64 [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/core-parse-opts.c:291:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCNd64 [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/core-parse-opts.c:319:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCNu64 [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/core-parse-opts.c:336:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCNd64 [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/core-parse-opts.c:354:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCNu64 [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/core-parse-opts.c:376:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCNd64 [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/core-parse-opts.c:409:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCNu64 [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/core-parse-opts.c:455:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/core-parse-opts.c:501:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/core-parse-opts.c:535:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/core-parse-opts.c:584:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/core-parse-opts.c:741:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/core-parse-opts.c:44:3: style: Statements following noreturn function 'longjmp()' will never be executed. [unreachableCode] stress-ng-0.19.04/core-parse-opts.c:63:3: style: Statements following noreturn function 'longjmp()' will never be executed. [unreachableCode] stress-ng-0.19.04/core-parse-opts.c:82:3: style: Statements following noreturn function 'longjmp()' will never be executed. [unreachableCode] stress-ng-0.19.04/core-parse-opts.c:106:3: style: Statements following noreturn function 'longjmp()' will never be executed. [unreachableCode] stress-ng-0.19.04/core-parse-opts.c:130:2: style: Statements following noreturn function 'longjmp()' will never be executed. [unreachableCode] stress-ng-0.19.04/core-parse-opts.c:154:4: style: Statements following noreturn function 'longjmp()' will never be executed. [unreachableCode] stress-ng-0.19.04/core-parse-opts.c:172:3: style: Statements following noreturn function 'longjmp()' will never be executed. [unreachableCode] stress-ng-0.19.04/core-parse-opts.c:177:3: style: Statements following noreturn function 'longjmp()' will never be executed. [unreachableCode] stress-ng-0.19.04/core-parse-opts.c:194:3: style: Statements following noreturn function 'longjmp()' will never be executed. [unreachableCode] stress-ng-0.19.04/core-parse-opts.c:199:3: style: Statements following noreturn function 'longjmp()' will never be executed. [unreachableCode] stress-ng-0.19.04/core-parse-opts.c:204:3: style: Statements following noreturn function 'longjmp()' will never be executed. [unreachableCode] stress-ng-0.19.04/core-parse-opts.c:222:3: style: Statements following noreturn function 'longjmp()' will never be executed. [unreachableCode] stress-ng-0.19.04/core-parse-opts.c:227:3: style: Statements following noreturn function 'longjmp()' will never be executed. [unreachableCode] stress-ng-0.19.04/core-parse-opts.c:244:3: style: Statements following noreturn function 'longjmp()' will never be executed. [unreachableCode] stress-ng-0.19.04/core-parse-opts.c:249:3: style: Statements following noreturn function 'longjmp()' will never be executed. [unreachableCode] stress-ng-0.19.04/core-parse-opts.c:254:3: style: Statements following noreturn function 'longjmp()' will never be executed. [unreachableCode] stress-ng-0.19.04/core-parse-opts.c:272:3: style: Statements following noreturn function 'longjmp()' will never be executed. [unreachableCode] stress-ng-0.19.04/core-parse-opts.c:277:3: style: Statements following noreturn function 'longjmp()' will never be executed. [unreachableCode] stress-ng-0.19.04/core-parse-opts.c:294:3: style: Statements following noreturn function 'longjmp()' will never be executed. [unreachableCode] stress-ng-0.19.04/core-parse-opts.c:299:3: style: Statements following noreturn function 'longjmp()' will never be executed. [unreachableCode] stress-ng-0.19.04/core-parse-opts.c:304:3: style: Statements following noreturn function 'longjmp()' will never be executed. [unreachableCode] stress-ng-0.19.04/core-parse-opts.c:322:3: style: Statements following noreturn function 'longjmp()' will never be executed. [unreachableCode] stress-ng-0.19.04/core-parse-opts.c:339:3: style: Statements following noreturn function 'longjmp()' will never be executed. [unreachableCode] stress-ng-0.19.04/core-parse-opts.c:357:3: style: Statements following noreturn function 'longjmp()' will never be executed. [unreachableCode] stress-ng-0.19.04/core-parse-opts.c:362:3: style: Statements following noreturn function 'longjmp()' will never be executed. [unreachableCode] stress-ng-0.19.04/core-parse-opts.c:379:3: style: Statements following noreturn function 'longjmp()' will never be executed. [unreachableCode] stress-ng-0.19.04/core-parse-opts.c:384:3: style: Statements following noreturn function 'longjmp()' will never be executed. [unreachableCode] stress-ng-0.19.04/core-parse-opts.c:389:3: style: Statements following noreturn function 'longjmp()' will never be executed. [unreachableCode] stress-ng-0.19.04/core-parse-opts.c:433:2: style: Statements following noreturn function 'longjmp()' will never be executed. [unreachableCode] stress-ng-0.19.04/core-parse-opts.c:475:2: style: Statements following noreturn function 'longjmp()' will never be executed. [unreachableCode] stress-ng-0.19.04/core-parse-opts.c:503:4: style: Statements following noreturn function 'longjmp()' will never be executed. [unreachableCode] stress-ng-0.19.04/core-parse-opts.c:511:3: style: Statements following noreturn function 'longjmp()' will never be executed. [unreachableCode] stress-ng-0.19.04/core-parse-opts.c:537:4: style: Statements following noreturn function 'longjmp()' will never be executed. [unreachableCode] stress-ng-0.19.04/core-parse-opts.c:544:4: style: Statements following noreturn function 'longjmp()' will never be executed. [unreachableCode] stress-ng-0.19.04/core-parse-opts.c:549:4: style: Statements following noreturn function 'longjmp()' will never be executed. [unreachableCode] stress-ng-0.19.04/core-parse-opts.c:554:4: style: Statements following noreturn function 'longjmp()' will never be executed. [unreachableCode] stress-ng-0.19.04/core-parse-opts.c:562:4: style: Statements following noreturn function 'longjmp()' will never be executed. [unreachableCode] stress-ng-0.19.04/core-parse-opts.c:586:4: style: Statements following noreturn function 'longjmp()' will never be executed. [unreachableCode] stress-ng-0.19.04/core-parse-opts.c:599:5: style: Statements following noreturn function 'longjmp()' will never be executed. [unreachableCode] stress-ng-0.19.04/core-parse-opts.c:743:4: style: Statements following noreturn function 'longjmp()' will never be executed. [unreachableCode] stress-ng-0.19.04/core-parse-opts.c:758:3: style: Statements following noreturn function 'longjmp()' will never be executed. [unreachableCode] stress-ng-0.19.04/core-parse-opts.c:776:4: style: Statements following noreturn function 'longjmp()' will never be executed. [unreachableCode] stress-ng-0.19.04/core-parse-opts.c:800:4: style: Statements following noreturn function 'longjmp()' will never be executed. [unreachableCode] stress-ng-0.19.04/core-parse-opts.c:661:61: style:inconclusive: Function 'stress_parse_opt' argument 2 names different: declaration 'optarg' definition 'opt_arg'. [funcArgNamesDifferent] stress-ng-0.19.04/core-parse-opts.h:75:80: note: Function 'stress_parse_opt' argument 2 names different: declaration 'optarg' definition 'opt_arg'. stress-ng-0.19.04/core-parse-opts.c:661:61: note: Function 'stress_parse_opt' argument 2 names different: declaration 'optarg' definition 'opt_arg'. stress-ng-0.19.04/core-resources.c:172:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/core-sched.c:286:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/core-setting.c:57:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu8 [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/core-setting.c:230:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/core-resources.c:437:39: warning: Division by result of sizeof(). socket() expects a size in bytes, did you intend to multiply instead? [sizeofDivisionMemfunc] stress-ng-0.19.04/core-resources.c:438:37: warning: Division by result of sizeof(). socket() expects a size in bytes, did you intend to multiply instead? [sizeofDivisionMemfunc] stress-ng-0.19.04/core-shared-cache.c:82:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu32 [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/core-shared-heap.c:64:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/core-shim.c:152:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/core-shim.c:335:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/core-shim.c:923:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/core-shim.c:1339:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/core-shim.c:1383:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable E2BIG [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/core-shim.c:1599:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/core-shim.c:2319:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/core-shim.c:2813:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/core-shim.c:3067:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/core-shim.c:924:7: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] stress-ng-0.19.04/core-shim.c:970:9: style: Obsolescent function 'usleep' called. It is recommended to use 'nanosleep' or 'setitimer' instead. [prohibitedusleepCalled] stress-ng-0.19.04/core-shim.c:997: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.04/core-shim.c:1338:6: style: Condition 'newbrk==(void*)-1' is always true [knownConditionTrueFalse] stress-ng-0.19.04/core-shim.c:1367:38: note: Calling function 'shim_enosys' returns -1 stress-ng-0.19.04/core-shim.c:1336:32: note: Calling function 'shim_sbrk' returns -1 stress-ng-0.19.04/core-shim.c:1336:32: note: Assignment 'newbrk=shim_sbrk(inc)', assigned value is -1 stress-ng-0.19.04/core-shim.c:1338:6: note: Condition 'newbrk==(void*)-1' is always true stress-ng-0.19.04/core-shim.c:1608:12: style: Condition 'ret>=0' is always false [knownConditionTrueFalse] stress-ng-0.19.04/core-shim.c:1606:27: note: Calling function 'shim_enosys' returns -1 stress-ng-0.19.04/core-shim.c:1606:9: note: Assignment 'ret=(pid_t)shim_enosys(0,pid,wstatus,options)', assigned value is -1 stress-ng-0.19.04/core-shim.c:1608:12: note: Condition 'ret>=0' is always false stress-ng-0.19.04/core-shim.c:1216:40: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] stress-ng-0.19.04/core-shim.c:1216:46: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] stress-ng-0.19.04/core-shim.c:1234:51: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] stress-ng-0.19.04/core-shim.c:2660:23: style:inconclusive: Function 'shim_unlinkat' argument 1 names different: declaration 'dirfd' definition 'dir_fd'. [funcArgNamesDifferent] stress-ng-0.19.04/core-shim.h:699:30: note: Function 'shim_unlinkat' argument 1 names different: declaration 'dirfd' definition 'dir_fd'. stress-ng-0.19.04/core-shim.c:2660:23: note: Function 'shim_unlinkat' argument 1 names different: declaration 'dirfd' definition 'dir_fd'. stress-ng-0.19.04/core-signal.c:167:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIdMAX [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/core-signal.c:195:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIxPTR [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/core-signal.c:395:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SA_NOCLDSTOP [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/core-signal.c:436:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_DFL [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/core-signal.c:478:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/core-signal.c:614:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIxPTR [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/core-smart.c:76:11: style: struct member 'stress_smart_raw_value_t::attr_id' is never used. [unusedStructMember] stress-ng-0.19.04/core-smart.c:77:11: style: struct member 'stress_smart_raw_value_t::attr_flags' is never used. [unusedStructMember] stress-ng-0.19.04/core-smart.c:78:11: style: struct member 'stress_smart_raw_value_t::current_value' is never used. [unusedStructMember] stress-ng-0.19.04/core-smart.c:79:11: style: struct member 'stress_smart_raw_value_t::worst_value' is never used. [unusedStructMember] stress-ng-0.19.04/core-smart.c:80:11: style: struct member 'stress_smart_raw_value_t::data' is never used. [unusedStructMember] stress-ng-0.19.04/core-smart.c:81:11: style: struct member 'stress_smart_raw_value_t::attr_data' is never used. [unusedStructMember] stress-ng-0.19.04/core-smart.c:82:11: style: struct member 'stress_smart_raw_value_t::threshold' is never used. [unusedStructMember] stress-ng-0.19.04/core-smart.c:86:10: style: struct member 'stress_smart_data_t::count' is never used. [unusedStructMember] stress-ng-0.19.04/core-smart.c:87:10: style: struct member 'stress_smart_data_t::size' is never used. [unusedStructMember] stress-ng-0.19.04/core-smart.c:88:27: style: struct member 'stress_smart_data_t::values' is never used. [unusedStructMember] stress-ng-0.19.04/core-smart.c:92:8: style: struct member 'stress_smart_dev_t::dev_name' is never used. [unusedStructMember] stress-ng-0.19.04/core-smart.c:93:23: style: struct member 'stress_smart_dev_t::data_begin' is never used. [unusedStructMember] stress-ng-0.19.04/core-smart.c:94:23: style: struct member 'stress_smart_dev_t::data_end' is never used. [unusedStructMember] stress-ng-0.19.04/core-smart.c:95:29: style: struct member 'stress_smart_dev_t::next' is never used. [unusedStructMember] stress-ng-0.19.04/core-smart.c:99:22: style: struct member 'stress_smart_devs_t::dev' is never used. [unusedStructMember] stress-ng-0.19.04/core-signal.c:422:47: style: Parameter 'args' can be declared as pointer to const [constParameterPointer] stress-ng-0.19.04/core-signal.c:474:20: style: Parameter 'orig_action' can be declared as pointer to const [constParameterPointer] stress-ng-0.19.04/core-sort.c:128:2: style: Variable '*(uint64_t*)p2' is assigned an expression that holds the same value. [redundantAssignment] stress-ng-0.19.04/core-sort.c:126:8: note: tmp64 is assigned '*(uint64_t*)p1' here. stress-ng-0.19.04/core-sort.c:128:2: note: Variable '*(uint64_t*)p2' is assigned an expression that holds the same value. stress-ng-0.19.04/core-sort.c:139:2: style: Variable '*(uint32_t*)p2' is assigned an expression that holds the same value. [redundantAssignment] stress-ng-0.19.04/core-sort.c:137:8: note: tmp32 is assigned '*(uint32_t*)p1' here. stress-ng-0.19.04/core-sort.c:139:2: note: Variable '*(uint32_t*)p2' is assigned an expression that holds the same value. stress-ng-0.19.04/core-sort.c:150:2: style: Variable '*(uint16_t*)p2' is assigned an expression that holds the same value. [redundantAssignment] stress-ng-0.19.04/core-sort.c:148:8: note: tmp16 is assigned '*(uint16_t*)p1' here. stress-ng-0.19.04/core-sort.c:150:2: note: Variable '*(uint16_t*)p2' is assigned an expression that holds the same value. stress-ng-0.19.04/core-sort.c:161:2: style: Variable '*(uint8_t*)p2' is assigned an expression that holds the same value. [redundantAssignment] stress-ng-0.19.04/core-sort.c:159:7: note: tmp8 is assigned '*(uint8_t*)p1' here. stress-ng-0.19.04/core-sort.c:161:2: note: Variable '*(uint8_t*)p2' is assigned an expression that holds the same value. stress-ng-0.19.04/core-sort.c:208:27: style: Variable 'u8p2' can be declared as pointer to const [constVariablePointer] stress-ng-0.19.04/core-sync.c:44:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/core-sync.c:89:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/core-sync.c:116:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/core-sync.c:55:45: style: Parameter 's_pids' can be declared as pointer to const [constParameterPointer] stress-ng-0.19.04/core-thermal-zone.c:195:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCNu64 [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/core-thermal-zone.c:294:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu32 [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/core-try-open.c:42:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WNOHANG [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/core-try-open.c:85:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/core-vmstat.c:193:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/core-vmstat.c:1111:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-access.c:166:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-access.c:288:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRUSR [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/core-vmstat.c:1061:18: style: Same expression on both sides of '<'. [duplicateExpression] stress-ng-0.19.04/core-vmstat.c:1061:18: style: Same expression in both branches of ternary operator. [duplicateExpressionTernary] stress-ng-0.19.04/core-vmstat.c:102:11: style: struct member 'stress_iostat_t::read_io' is never used. [unusedStructMember] stress-ng-0.19.04/core-vmstat.c:103:11: style: struct member 'stress_iostat_t::read_merges' is never used. [unusedStructMember] stress-ng-0.19.04/core-vmstat.c:104:11: style: struct member 'stress_iostat_t::read_sectors' is never used. [unusedStructMember] stress-ng-0.19.04/core-vmstat.c:105:11: style: struct member 'stress_iostat_t::read_ticks' is never used. [unusedStructMember] stress-ng-0.19.04/core-vmstat.c:106:11: style: struct member 'stress_iostat_t::write_io' is never used. [unusedStructMember] stress-ng-0.19.04/core-vmstat.c:107:11: style: struct member 'stress_iostat_t::write_merges' is never used. [unusedStructMember] stress-ng-0.19.04/core-vmstat.c:108:11: style: struct member 'stress_iostat_t::write_sectors' is never used. [unusedStructMember] stress-ng-0.19.04/core-vmstat.c:109:11: style: struct member 'stress_iostat_t::write_ticks' is never used. [unusedStructMember] stress-ng-0.19.04/core-vmstat.c:110:11: style: struct member 'stress_iostat_t::in_flight' is never used. [unusedStructMember] stress-ng-0.19.04/core-vmstat.c:111:11: style: struct member 'stress_iostat_t::io_ticks' is never used. [unusedStructMember] stress-ng-0.19.04/core-vmstat.c:112:11: style: struct member 'stress_iostat_t::time_in_queue' is never used. [unusedStructMember] stress-ng-0.19.04/stress-affinity.c:30:20: style: struct member 'stress_affinity_info_t::cpu' is never used. [unusedStructMember] stress-ng-0.19.04/stress-affinity.c:31:11: style: struct member 'stress_affinity_info_t::cpus' is never used. [unusedStructMember] stress-ng-0.19.04/stress-affinity.c:32:11: style: struct member 'stress_affinity_info_t::affinity_delay' is never used. [unusedStructMember] stress-ng-0.19.04/stress-affinity.c:33:11: style: struct member 'stress_affinity_info_t::affinity_sleep' is never used. [unusedStructMember] stress-ng-0.19.04/stress-affinity.c:34:8: style: struct member 'stress_affinity_info_t::affinity_rand' is never used. [unusedStructMember] stress-ng-0.19.04/stress-affinity.c:35:8: style: struct member 'stress_affinity_info_t::affinity_pin' is never used. [unusedStructMember] stress-ng-0.19.04/stress-alarm.c:53:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_BLOCK [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-alarm.c:78:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-besselmath.c:29:14: style: struct member 'stress_besselmath_method_t::name' is never used. [unusedStructMember] stress-ng-0.19.04/stress-besselmath.c:30:9: style: struct member 'stress_besselmath_method_t::besselmath_func' is never used. [unusedStructMember] stress-ng-0.19.04/stress-bitonicsort.c:152:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-bitops.c:76:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRId32 [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-bitops.c:113:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRId32 [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-bitops.c:149:64: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIx32 [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-bitops.c:271:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIx32 [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-bitops.c:368:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIx32 [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-bitops.c:455:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIx32 [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-bitops.c:503:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIx32 [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-bitops.c:577:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRId32 [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-bitops.c:613:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRId32 [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-bitops.c:675:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIx32 [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-bitops.c:754:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIx32 [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-bitops.c:849:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIx32 [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-bitops.c:896:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIx32 [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-bitops.c:965:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIx32 [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-bitops.c:1015:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu32 [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-bitops.c:1059:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIx32 [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-brk.c:70:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-brk.c:137:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-brk.c:305:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-brk.c:89:20: style: Parameter 'addr' can be declared as pointer to const [constParameterPointer] stress-ng-0.19.04/stress-bitops.c:847:20: style:inconclusive: Boolean expression 'j>0' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] stress-ng-0.19.04/stress-bitops.c:1053:46: style:inconclusive: Boolean expression '(j&0x000000ffU)==0' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] stress-ng-0.19.04/stress-bitops.c:1055:32: style:inconclusive: Boolean expression '(j&0xff000000U)==0' is used in bitwise operation. Did you mean '||'? [bitwiseOnBoolean] stress-ng-0.19.04/stress-bsearch.c:155:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-bitops.c:101:35: error: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] stress-ng-0.19.04/stress-bubblesort.c:60:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-bubblesort.c:98:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-bubblesort.c:193:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-cache.c:63:17: style: struct member 'mask_flag_info_t::flag' is never used. [unusedStructMember] stress-ng-0.19.04/stress-cache.c:64:14: style: struct member 'mask_flag_info_t::name' is never used. [unusedStructMember] stress-ng-0.19.04/stress-cachehammer.c:46:8: style: struct member 'stress_cachehammer_func_t::name' is never used. [unusedStructMember] stress-ng-0.19.04/stress-cachehammer.c:47:9: style: struct member 'stress_cachehammer_func_t::valid' is never used. [unusedStructMember] stress-ng-0.19.04/stress-cachehammer.c:48:16: style: struct member 'stress_cachehammer_func_t::hammer' is never used. [unusedStructMember] stress-ng-0.19.04/stress-cacheline.c:149:80: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIx8 [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-cacheline.c:186:76: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIx8 [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-cacheline.c:227:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIx8 [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-cacheline.c:303:76: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIx8 [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-cacheline.c:334:75: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIx8 [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-cacheline.c:374:79: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIx8 [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-cacheline.c:415:72: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIx8 [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-cacheline.c:469:78: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIx8 [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-cacheline.c:501:76: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIx8 [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-cacheline.c:777:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-cacheline.c:500:7: style: Condition '*data8!=val8' is always false [knownConditionTrueFalse] stress-ng-0.19.04/stress-cacheline.c:498:10: note: *data8 is assigned 'val8' here. stress-ng-0.19.04/stress-cacheline.c:500:7: note: Condition '*data8!=val8' is always false stress-ng-0.19.04/stress-cacheline.c:508:7: style: Condition '*data8!=val8' is always false [knownConditionTrueFalse] stress-ng-0.19.04/stress-cacheline.c:506:10: note: *data8 is assigned 'val8' here. stress-ng-0.19.04/stress-cacheline.c:508:7: note: Condition '*data8!=val8' is always false stress-ng-0.19.04/stress-cacheline.c:256:3: style: Variable 'tmp' is assigned an expression that holds the same value. [redundantAssignment] stress-ng-0.19.04/stress-cacheline.c:254:10: note: *data8 is assigned 'tmp' here. stress-ng-0.19.04/stress-cacheline.c:256:3: note: Variable 'tmp' is assigned an expression that holds the same value. stress-ng-0.19.04/stress-cacheline.c:259:3: style: Variable 'tmp' is assigned an expression that holds the same value. [redundantAssignment] stress-ng-0.19.04/stress-cacheline.c:257:10: note: *data8 is assigned 'tmp' here. stress-ng-0.19.04/stress-cacheline.c:259:3: note: Variable 'tmp' is assigned an expression that holds the same value. stress-ng-0.19.04/stress-cacheline.c:262:3: style: Variable 'tmp' is assigned an expression that holds the same value. [redundantAssignment] stress-ng-0.19.04/stress-cacheline.c:260:10: note: *data8 is assigned 'tmp' here. stress-ng-0.19.04/stress-cacheline.c:262:3: note: Variable 'tmp' is assigned an expression that holds the same value. stress-ng-0.19.04/stress-cacheline.c:265:3: style: Variable 'tmp' is assigned an expression that holds the same value. [redundantAssignment] stress-ng-0.19.04/stress-cacheline.c:263:10: note: *data8 is assigned 'tmp' here. stress-ng-0.19.04/stress-cacheline.c:265:3: note: Variable 'tmp' is assigned an expression that holds the same value. stress-ng-0.19.04/stress-cacheline.c:268:3: style: Variable 'tmp' is assigned an expression that holds the same value. [redundantAssignment] stress-ng-0.19.04/stress-cacheline.c:266:10: note: *data8 is assigned 'tmp' here. stress-ng-0.19.04/stress-cacheline.c:268:3: note: Variable 'tmp' is assigned an expression that holds the same value. stress-ng-0.19.04/stress-cacheline.c:271:3: style: Variable 'tmp' is assigned an expression that holds the same value. [redundantAssignment] stress-ng-0.19.04/stress-cacheline.c:269:10: note: *data8 is assigned 'tmp' here. stress-ng-0.19.04/stress-cacheline.c:271:3: note: Variable 'tmp' is assigned an expression that holds the same value. stress-ng-0.19.04/stress-cacheline.c:274:3: style: Variable 'tmp' is assigned an expression that holds the same value. [redundantAssignment] stress-ng-0.19.04/stress-cacheline.c:272:10: note: *data8 is assigned 'tmp' here. stress-ng-0.19.04/stress-cacheline.c:274:3: note: Variable 'tmp' is assigned an expression that holds the same value. stress-ng-0.19.04/stress-cacheline.c:277:3: style: Variable 'tmp' is assigned an expression that holds the same value. [redundantAssignment] stress-ng-0.19.04/stress-cacheline.c:275:10: note: *data8 is assigned 'tmp' here. stress-ng-0.19.04/stress-cacheline.c:277:3: note: Variable 'tmp' is assigned an expression that holds the same value. stress-ng-0.19.04/stress-cacheline.c:280:3: style: Variable 'tmp' is assigned an expression that holds the same value. [redundantAssignment] stress-ng-0.19.04/stress-cacheline.c:278:10: note: *data8 is assigned 'tmp' here. stress-ng-0.19.04/stress-cacheline.c:280:3: note: Variable 'tmp' is assigned an expression that holds the same value. stress-ng-0.19.04/stress-cacheline.c:283:3: style: Variable 'tmp' is assigned an expression that holds the same value. [redundantAssignment] stress-ng-0.19.04/stress-cacheline.c:281:10: note: *data8 is assigned 'tmp' here. stress-ng-0.19.04/stress-cacheline.c:283:3: note: Variable 'tmp' is assigned an expression that holds the same value. stress-ng-0.19.04/stress-cacheline.c:286:3: style: Variable 'tmp' is assigned an expression that holds the same value. [redundantAssignment] stress-ng-0.19.04/stress-cacheline.c:284:10: note: *data8 is assigned 'tmp' here. stress-ng-0.19.04/stress-cacheline.c:286:3: note: Variable 'tmp' is assigned an expression that holds the same value. stress-ng-0.19.04/stress-cacheline.c:289:3: style: Variable 'tmp' is assigned an expression that holds the same value. [redundantAssignment] stress-ng-0.19.04/stress-cacheline.c:287:10: note: *data8 is assigned 'tmp' here. stress-ng-0.19.04/stress-cacheline.c:289:3: note: Variable 'tmp' is assigned an expression that holds the same value. stress-ng-0.19.04/stress-cacheline.c:292:3: style: Variable 'tmp' is assigned an expression that holds the same value. [redundantAssignment] stress-ng-0.19.04/stress-cacheline.c:290:10: note: *data8 is assigned 'tmp' here. stress-ng-0.19.04/stress-cacheline.c:292:3: note: Variable 'tmp' is assigned an expression that holds the same value. stress-ng-0.19.04/stress-cacheline.c:295:3: style: Variable 'tmp' is assigned an expression that holds the same value. [redundantAssignment] stress-ng-0.19.04/stress-cacheline.c:293:10: note: *data8 is assigned 'tmp' here. stress-ng-0.19.04/stress-cacheline.c:295:3: note: Variable 'tmp' is assigned an expression that holds the same value. stress-ng-0.19.04/stress-cacheline.c:298:3: style: Variable 'tmp' is assigned an expression that holds the same value. [redundantAssignment] stress-ng-0.19.04/stress-cacheline.c:296:10: note: *data8 is assigned 'tmp' here. stress-ng-0.19.04/stress-cacheline.c:298:3: note: Variable 'tmp' is assigned an expression that holds the same value. stress-ng-0.19.04/stress-cacheline.c:118:20: style: Variable 'data8adjacent' can be declared as pointer to const [constVariablePointer] stress-ng-0.19.04/stress-cacheline.c:368:23: style: Variable 'data64' can be declared as pointer to const [constVariablePointer] stress-ng-0.19.04/stress-cacheline.c:409:23: style: Variable 'data64' can be declared as pointer to const [constVariablePointer] stress-ng-0.19.04/stress-cacheline.c:432:21: style: Variable 'data16' can be declared as pointer to const [constVariablePointer] stress-ng-0.19.04/stress-cacheline.c:433:21: style: Variable 'data32' can be declared as pointer to const [constVariablePointer] stress-ng-0.19.04/stress-cacheline.c:434:21: style: Variable 'data64' can be declared as pointer to const [constVariablePointer] stress-ng-0.19.04/stress-chdir.c:71:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu32 [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-chmod.c:98:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-chmod.c:255:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRUSR [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/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.04/stress-chmod.c:323:17: note: Calling function 'do_fchmod' returns 0 stress-ng-0.19.04/stress-chmod.c:323:49: note: Condition 'do_fchmod(fd,bad_fd,i,mask,all_mask)<0' is always false stress-ng-0.19.04/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.04/stress-chmod.c:328:16: note: Calling function 'do_chmod' returns 0 stress-ng-0.19.04/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.04/stress-chmod.c:242:23: style: Variable 'filebase' can be declared as pointer to const [constVariablePointer] stress-ng-0.19.04/stress-chown.c:52:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-chown.c:72:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-chown.c:127:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-chown.c:182:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRUSR [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-chyperbolic.c:34:14: style: struct member 'stress_chyperbolic_method_t::name' is never used. [unusedStructMember] stress-ng-0.19.04/stress-chyperbolic.c:35:9: style: struct member 'stress_chyperbolic_method_t::chyperbolic_func' is never used. [unusedStructMember] stress-ng-0.19.04/stress-crypt.c:35:14: style: struct member 'crypt_method_t::prefix' is never used. [unusedStructMember] stress-ng-0.19.04/stress-crypt.c:36:15: style: struct member 'crypt_method_t::prefix_len' is never used. [unusedStructMember] stress-ng-0.19.04/stress-ctrig.c:34:14: style: struct member 'stress_ctrig_method_t::name' is never used. [unusedStructMember] stress-ng-0.19.04/stress-ctrig.c:35:9: style: struct member 'stress_ctrig_method_t::trig_func' is never used. [unusedStructMember] stress-ng-0.19.04/stress-cyclic.c:108:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-cyclic.c:556:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-cyclic.c:662:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-cyclic.c:739:7: style: Variable 'ret' is not assigned a value. [unassignedVariable] stress-ng-0.19.04/stress-daemon.c:72:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-daemon.c:172:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-cpu.c:124:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-cpu.c:180:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu32 [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-cpu.c:1369:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu32 [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-cpu.c:2693:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu32 [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-dccp.c:55:14: style: struct member 'stress_dccp_opts_t::opt' is never used. [unusedStructMember] stress-ng-0.19.04/stress-dentry.c:90:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-dentry.c:152:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-dentry.c:190:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-dentry.c:367:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-dentry.c:196:8: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] stress-ng-0.19.04/stress-dentry.c:49:16: style: struct member 'stress_dentry_removal_t::denty_order' is never used. [unusedStructMember] stress-ng-0.19.04/stress-dev.c:222:7: style: struct member 'dev_state_t::scsi_checked' is never used. [unusedStructMember] stress-ng-0.19.04/stress-dev.c:223:7: style: struct member 'dev_state_t::scsi_device' is never used. [unusedStructMember] stress-ng-0.19.04/stress-dev.c:224:7: style: struct member 'dev_state_t::open_failed' is never used. [unusedStructMember] stress-ng-0.19.04/stress-dev.c:225:7: style: struct member 'dev_state_t::open_succeeded' is never used. [unusedStructMember] stress-ng-0.19.04/stress-dev.c:229:8: style: struct member 'dev_info::path' is never used. [unusedStructMember] stress-ng-0.19.04/stress-dev.c:230:8: style: struct member 'dev_info::name' is never used. [unusedStructMember] stress-ng-0.19.04/stress-dev.c:231:11: style: struct member 'dev_info::rnd_id' is never used. [unusedStructMember] stress-ng-0.19.04/stress-dev.c:232:15: style: struct member 'dev_info::state' is never used. [unusedStructMember] stress-ng-0.19.04/stress-dev.c:233:19: style: struct member 'dev_info::next' is never used. [unusedStructMember] stress-ng-0.19.04/stress-dir.c:154:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-dir.c:183:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu32 [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-dir.c:286:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRUSR [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-dir.c:355:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-dir.c:386:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIdMAX [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-dir.c:498:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRUSR [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-dirdeep.c:103:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-dirdeep.c:289:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_name [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-dirdeep.c:364:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable d_name [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-dirdeep.c:424:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-dirmany.c:49:77: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIx64 [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-dirmany.c:84:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-cpu.c:0:0: debug: ValueFlow maximum iterations exceeded [valueFlowMaxIterations] stress-ng-0.19.04/stress-cpu.c:1865:15: style: Floating-point cast causes loss of precision. [suspiciousFloatingPointCast] stress-ng-0.19.04/stress-cpu.c:1868:21: style: Floating-point cast causes loss of precision. [suspiciousFloatingPointCast] stress-ng-0.19.04/stress-cpu.c:1872:21: style: Floating-point cast causes loss of precision. [suspiciousFloatingPointCast] stress-ng-0.19.04/stress-cpu.c:1874:29: style: Floating-point cast causes loss of precision. [suspiciousFloatingPointCast] stress-ng-0.19.04/stress-cpu.c:1852:3: style: Variable 'f' is assigned an expression that holds the same value. [redundantAssignment] stress-ng-0.19.04/stress-cpu.c:1850:5: note: f is assigned '(float)(double)i' here. stress-ng-0.19.04/stress-cpu.c:1852:3: note: Variable 'f' is assigned an expression that holds the same value. stress-ng-0.19.04/stress-cpu.c:1856:3: style: Variable 'f' is assigned an expression that holds the same value. [redundantAssignment] stress-ng-0.19.04/stress-cpu.c:1854:5: note: f is assigned '(float)(double)(long double)i' here. stress-ng-0.19.04/stress-cpu.c:1856:3: note: Variable 'f' is assigned an expression that holds the same value. stress-ng-0.19.04/stress-dup.c:233:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-easy-opcode.c:33:16: style: struct member 'stress_easy_opcode::len' is never used. [unusedStructMember] stress-ng-0.19.04/stress-easy-opcode.c:34:16: style: struct member 'stress_easy_opcode::opcodes' is never used. [unusedStructMember] stress-ng-0.19.04/stress-env.c:77:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-env.c:114:9: warning: If memory allocation fails, then there is a possible null pointer dereference: value [nullPointerOutOfMemory] stress-ng-0.19.04/stress-env.c:77:22: note: Assuming allocation function fails stress-ng-0.19.04/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.04/stress-env.c:114:9: note: Null pointer dereference stress-ng-0.19.04/stress-env.c:115:3: warning: If memory allocation fails, then there is a possible null pointer dereference: value [nullPointerOutOfMemory] stress-ng-0.19.04/stress-env.c:77:22: note: Assuming allocation function fails stress-ng-0.19.04/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.04/stress-env.c:115:3: note: Null pointer dereference stress-ng-0.19.04/stress-env.c:116:22: warning: If memory allocation fails, then there is a possible null pointer dereference: value [nullPointerOutOfMemory] stress-ng-0.19.04/stress-env.c:77:22: note: Assuming allocation function fails stress-ng-0.19.04/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.04/stress-env.c:116:22: note: Null pointer dereference stress-ng-0.19.04/stress-env.c:117:3: warning: If memory allocation fails, then there is a possible null pointer dereference: value [nullPointerOutOfMemory] stress-ng-0.19.04/stress-env.c:77:22: note: Assuming allocation function fails stress-ng-0.19.04/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.04/stress-env.c:117:3: note: Null pointer dereference stress-ng-0.19.04/stress-exec.c:491:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-exec.c:728:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-exec.c:746:9: warning: If memory allocation fails, then there is a possible null pointer dereference: str [nullPointerOutOfMemory] stress-ng-0.19.04/stress-exec.c:740:12: note: Assuming allocation function fails stress-ng-0.19.04/stress-exec.c:740: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.04/stress-exec.c:746:9: note: Null pointer dereference stress-ng-0.19.04/stress-exec.c:658:10: style: The comparison 'fd != -1' is always false. [knownConditionTrueFalse] stress-ng-0.19.04/stress-exec.c:461:36: note: 'fd' is assigned value '-1' here. stress-ng-0.19.04/stress-exec.c:658:10: note: The comparison 'fd != -1' is always false. stress-ng-0.19.04/stress-exec.c:415:57: style: Parameter 'context' can be declared as pointer to const [constParameterPointer] stress-ng-0.19.04/stress-expmath.c:494:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-expmath.c:35:14: style: struct member 'stress_expmath_method_t::name' is never used. [unusedStructMember] stress-ng-0.19.04/stress-expmath.c:36:9: style: struct member 'stress_expmath_method_t::expmath_func' is never used. [unusedStructMember] stress-ng-0.19.04/stress-fcntl.c:828:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable setfl_flag_count [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-fcntl.c:109:17: style: Parameter 'args' can be declared as pointer to const [constParameterPointer] stress-ng-0.19.04/stress-fcntl.c:113:7: style: Parameter 'rc' can be declared as pointer to const [constParameterPointer] stress-ng-0.19.04/stress-fd-abuse.c:126:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-fd-abuse.c:132:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-fd-abuse.c:139:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRUSR [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-fd-abuse.c:149:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-fd-abuse.c:156:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-fd-abuse.c:163:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-fd-abuse.c:170:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-fd-abuse.c:905:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable INADDR_LOOPBACK [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-fd-abuse.c:931:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FD_SETSIZE [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-fd-abuse.c:946:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FD_SETSIZE [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-fd-abuse.c:1112:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHUT_RDWR [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-fd-abuse.c:1135:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHUT_RDWR [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-fd-fork.c:138:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-fd-race.c:51:34: style: struct member 'stress_fd_race_filename::next' is never used. [unusedStructMember] stress-ng-0.19.04/stress-fd-race.c:52:8: style: struct member 'stress_fd_race_filename::filename' is never used. [unusedStructMember] stress-ng-0.19.04/stress-fd-race.c:53:6: style: struct member 'stress_fd_race_filename::flags' is never used. [unusedStructMember] stress-ng-0.19.04/stress-fd-abuse.c:864:3: warning: Invalid lseek() argument nr 3. The value is 4 but the valid values are '0:2'. [invalidFunctionArg] stress-ng-0.19.04/stress-fd-abuse.c:863:16: note: Assuming that condition 'i<(sizeof(whence)/sizeof(whence[0]))' is not redundant stress-ng-0.19.04/stress-fd-abuse.c:864:3: note: Invalid argument stress-ng-0.19.04/stress-fd-abuse.c:865:3: warning: Invalid lseek() argument nr 3. The value is 4 but the valid values are '0:2'. [invalidFunctionArg] stress-ng-0.19.04/stress-fd-abuse.c:863:16: note: Assuming that condition 'i<(sizeof(whence)/sizeof(whence[0]))' is not redundant stress-ng-0.19.04/stress-fd-abuse.c:865:3: note: Invalid argument stress-ng-0.19.04/stress-fd-abuse.c:866:3: warning: Invalid lseek() argument nr 3. The value is 4 but the valid values are '0:2'. [invalidFunctionArg] stress-ng-0.19.04/stress-fd-abuse.c:863:16: note: Assuming that condition 'i<(sizeof(whence)/sizeof(whence[0]))' is not redundant stress-ng-0.19.04/stress-fd-abuse.c:866:3: note: Invalid argument stress-ng-0.19.04/stress-fd-abuse.c:867:3: warning: Invalid lseek() argument nr 3. The value is 4 but the valid values are '0:2'. [invalidFunctionArg] stress-ng-0.19.04/stress-fd-abuse.c:863:16: note: Assuming that condition 'i<(sizeof(whence)/sizeof(whence[0]))' is not redundant stress-ng-0.19.04/stress-fd-abuse.c:867:3: note: Invalid argument stress-ng-0.19.04/stress-fd-abuse.c:1016:16: warning: If memory allocation fails, then there is a possible null pointer dereference: ptr [nullPointerOutOfMemory] stress-ng-0.19.04/stress-fd-abuse.c:1014:12: note: Assuming allocation function fails stress-ng-0.19.04/stress-fd-abuse.c:1014:12: note: Assignment 'ptr=mmap(NULL,4096,PROT_READ,MAP_SHARED,fd->fd,0)', assigned value is 0 stress-ng-0.19.04/stress-fd-abuse.c:1016:16: note: Null pointer dereference stress-ng-0.19.04/stress-fd-abuse.c:1025:16: warning: If memory allocation fails, then there is a possible null pointer dereference: ptr [nullPointerOutOfMemory] stress-ng-0.19.04/stress-fd-abuse.c:1023:12: note: Assuming allocation function fails stress-ng-0.19.04/stress-fd-abuse.c:1023:12: note: Assignment 'ptr=mmap(NULL,4096,PROT_WRITE,MAP_SHARED,fd->fd,0)', assigned value is 0 stress-ng-0.19.04/stress-fd-abuse.c:1025:16: note: Null pointer dereference stress-ng-0.19.04/stress-fd-fork.c:47:12: style: struct member 'stress_fd_file_t::fd_type' is never used. [unusedStructMember] stress-ng-0.19.04/stress-fd-abuse.c:848:42: style: Parameter 'fd' can be declared as pointer to const. However it seems that 'stress_fd_lseek' is a callback function, if 'fd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] stress-ng-0.19.04/stress-fd-abuse.c:1757:2: note: You might need to cast the function pointer here stress-ng-0.19.04/stress-fd-abuse.c:848:42: note: Parameter 'fd' can be declared as pointer to const stress-ng-0.19.04/stress-fd-abuse.c:871:40: style: Parameter 'fd' can be declared as pointer to const. However it seems that 'stress_fd_dup' is a callback function, if 'fd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] stress-ng-0.19.04/stress-fd-abuse.c:1758:2: note: You might need to cast the function pointer here stress-ng-0.19.04/stress-fd-abuse.c:871:40: note: Parameter 'fd' can be declared as pointer to const stress-ng-0.19.04/stress-fd-abuse.c:880:41: style: Parameter 'fd' can be declared as pointer to const. However it seems that 'stress_fd_dup2' is a callback function, if 'fd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] stress-ng-0.19.04/stress-fd-abuse.c:1759:2: note: You might need to cast the function pointer here stress-ng-0.19.04/stress-fd-abuse.c:880:41: note: Parameter 'fd' can be declared as pointer to const stress-ng-0.19.04/stress-fd-abuse.c:929:46: style: Parameter 'fd' can be declared as pointer to const. However it seems that 'stress_fd_select_rd' is a callback function, if 'fd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] stress-ng-0.19.04/stress-fd-abuse.c:1767:2: note: You might need to cast the function pointer here stress-ng-0.19.04/stress-fd-abuse.c:929:46: note: Parameter 'fd' can be declared as pointer to const stress-ng-0.19.04/stress-fd-abuse.c:944:46: style: Parameter 'fd' can be declared as pointer to const. However it seems that 'stress_fd_select_wr' is a callback function, if 'fd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] stress-ng-0.19.04/stress-fd-abuse.c:1768:2: note: You might need to cast the function pointer here stress-ng-0.19.04/stress-fd-abuse.c:944:46: note: Parameter 'fd' can be declared as pointer to const stress-ng-0.19.04/stress-fd-abuse.c:1010:44: style: Parameter 'fd' can be declared as pointer to const. However it seems that 'stress_fd_mmap_rd' is a callback function, if 'fd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] stress-ng-0.19.04/stress-fd-abuse.c:1781:2: note: You might need to cast the function pointer here stress-ng-0.19.04/stress-fd-abuse.c:1010:44: note: Parameter 'fd' can be declared as pointer to const stress-ng-0.19.04/stress-fd-abuse.c:1012:8: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] stress-ng-0.19.04/stress-fd-abuse.c:1019:44: style: Parameter 'fd' can be declared as pointer to const. However it seems that 'stress_fd_mmap_wr' is a callback function, if 'fd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] stress-ng-0.19.04/stress-fd-abuse.c:1782:2: note: You might need to cast the function pointer here stress-ng-0.19.04/stress-fd-abuse.c:1019:44: note: Parameter 'fd' can be declared as pointer to const stress-ng-0.19.04/stress-fd-abuse.c:1021:8: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] stress-ng-0.19.04/stress-fd-abuse.c:1053:54: style: Parameter 'fd' can be declared as pointer to const. However it seems that 'stress_fd_pidfd_send_signal' is a callback function, if 'fd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] stress-ng-0.19.04/stress-fd-abuse.c:1794:2: note: You might need to cast the function pointer here stress-ng-0.19.04/stress-fd-abuse.c:1053:54: note: Parameter 'fd' can be declared as pointer to const stress-ng-0.19.04/stress-fd-abuse.c:1077:42: style: Parameter 'fd' can be declared as pointer to const. However it seems that 'stress_fd_fstat' is a callback function, if 'fd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] stress-ng-0.19.04/stress-fd-abuse.c:1801:2: note: You might need to cast the function pointer here stress-ng-0.19.04/stress-fd-abuse.c:1077:42: note: Parameter 'fd' can be declared as pointer to const stress-ng-0.19.04/stress-fd-abuse.c:1091:46: style: Parameter 'fd' can be declared as pointer to const. However it seems that 'stress_fd_ftruncate' is a callback function, if 'fd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] stress-ng-0.19.04/stress-fd-abuse.c:1805:2: note: You might need to cast the function pointer here stress-ng-0.19.04/stress-fd-abuse.c:1091:46: note: Parameter 'fd' can be declared as pointer to const stress-ng-0.19.04/stress-fd-abuse.c:1115:43: style: Parameter 'fd' can be declared as pointer to const. However it seems that 'stress_fd_accept' is a callback function, if 'fd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] stress-ng-0.19.04/stress-fd-abuse.c:1811:2: note: You might need to cast the function pointer here stress-ng-0.19.04/stress-fd-abuse.c:1115:43: note: Parameter 'fd' can be declared as pointer to const stress-ng-0.19.04/stress-fd-abuse.c:1138:48: style: Parameter 'fd' can be declared as pointer to const. However it seems that 'stress_fd_getsockname' is a callback function, if 'fd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] stress-ng-0.19.04/stress-fd-abuse.c:1813:2: note: You might need to cast the function pointer here stress-ng-0.19.04/stress-fd-abuse.c:1138:48: note: Parameter 'fd' can be declared as pointer to const stress-ng-0.19.04/stress-fd-abuse.c:1147:48: style: Parameter 'fd' can be declared as pointer to const. However it seems that 'stress_fd_getpeername' is a callback function, if 'fd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] stress-ng-0.19.04/stress-fd-abuse.c:1814:2: note: You might need to cast the function pointer here stress-ng-0.19.04/stress-fd-abuse.c:1147:48: note: Parameter 'fd' can be declared as pointer to const stress-ng-0.19.04/stress-fd-abuse.c:1176:42: style: Parameter 'fd' can be declared as pointer to const. However it seems that 'stress_fd_fsync' is a callback function, if 'fd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] stress-ng-0.19.04/stress-fd-abuse.c:1821:2: note: You might need to cast the function pointer here stress-ng-0.19.04/stress-fd-abuse.c:1176:42: note: Parameter 'fd' can be declared as pointer to const stress-ng-0.19.04/stress-fd-abuse.c:1195:42: style: Parameter 'fd' can be declared as pointer to const. However it seems that 'stress_fd_chmod' is a callback function, if 'fd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] stress-ng-0.19.04/stress-fd-abuse.c:1823:2: note: You might need to cast the function pointer here stress-ng-0.19.04/stress-fd-abuse.c:1195:42: note: Parameter 'fd' can be declared as pointer to const stress-ng-0.19.04/stress-fd-abuse.c:1426:41: style: Parameter 'fd' can be declared as pointer to const. However it seems that 'stress_fd_read' is a callback function, if 'fd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] stress-ng-0.19.04/stress-fd-abuse.c:1880:2: note: You might need to cast the function pointer here stress-ng-0.19.04/stress-fd-abuse.c:1426:41: note: Parameter 'fd' can be declared as pointer to const stress-ng-0.19.04/stress-fd-abuse.c:1439:42: style: Parameter 'fd' can be declared as pointer to const. However it seems that 'stress_fd_write' is a callback function, if 'fd' is declared with const you might also need to cast function pointer(s). [constParameterCallback] stress-ng-0.19.04/stress-fd-abuse.c:1881:2: note: You might need to cast the function pointer here stress-ng-0.19.04/stress-fd-abuse.c:1439:42: note: Parameter 'fd' can be declared as pointer to const stress-ng-0.19.04/stress-fibsearch.c:108:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-file-ioctl.c:284:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-filename.c:83:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRUSR [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-filename.c:147:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRUSR [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-filename.c:292:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-filename.c:501:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-filename.c:601:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRUSR [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-filename.c:658:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRUSR [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-filename.c:735:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRWXU [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-filerace.c:203:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRUSR [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-filerace.c:364:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-filerace.c:539:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRUSR [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-filerace.c:554:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-filerace.c:565:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_APPEND [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-filerace.c:637:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-filerace.c:1359:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIx8 [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-filerace.c:1389:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRUSR [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-filerace.c:1592:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRWXU [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-filerace.c:188:2: error: Invalid lseek() argument nr 3. The value is 3 but the valid values are '0:2'. [invalidFunctionArg] stress-ng-0.19.04/stress-filerace.c:196:2: error: Invalid lseek() argument nr 3. The value is 4 but the valid values are '0:2'. [invalidFunctionArg] stress-ng-0.19.04/stress-filename.c:339:12: style: Condition 'ch>0' is always true [knownConditionTrueFalse] stress-ng-0.19.04/stress-filename.c:338:36: note: Assignment 'ch=stress_mwc32modn(0x10fffe)+1', assigned value is greater than 0 stress-ng-0.19.04/stress-filename.c:339:12: note: Condition 'ch>0' is always true stress-ng-0.19.04/stress-filename.c:768:13: style: Condition 'sz_max==0' is always false [knownConditionTrueFalse] stress-ng-0.19.04/stress-filename.c:764:11: note: Assignment 'sz_max=256', assigned value is 256 stress-ng-0.19.04/stress-filename.c:768:13: note: Condition 'sz_max==0' is always false stress-ng-0.19.04/stress-filename.c:70:8: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] stress-ng-0.19.04/stress-filename.c:117:8: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] stress-ng-0.19.04/stress-filename.c:482:17: style: Variable 'd' can be declared as pointer to const [constVariablePointer] stress-ng-0.19.04/stress-fma.c:528:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-fork.c:318:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-forkheavy.c:269:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-fractal.c:349:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-fp.c:596:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-fractal.c:164:8: style:inconclusive: Boolean expression 'end0' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] stress-ng-0.19.04/stress-fractal.c:176:13: style:inconclusive: Boolean expression 'end0' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] stress-ng-0.19.04/stress-fractal.c:244:8: style:inconclusive: Boolean expression 'end0' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] stress-ng-0.19.04/stress-fractal.c:256:13: style:inconclusive: Boolean expression 'end0' is used in bitwise operation. Did you mean '&&'? [bitwiseOnBoolean] stress-ng-0.19.04/stress-fstat.c:125:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-fstat.c:301:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-get.c:65:12: style: struct member 'stress_rusage_t::who' is never used. [unusedStructMember] stress-ng-0.19.04/stress-get.c:66:14: style: struct member 'stress_rusage_t::name' is never used. [unusedStructMember] stress-ng-0.19.04/stress-hash.c:121:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIx32 [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-heapsort.c:63:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-heapsort.c:199:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-hdd.c:208:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-hdd.c:339:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-hdd.c:559:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-hdd.c:699:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-hsearch.c:80:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-hdd.c:565:27: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] stress-ng-0.19.04/stress-hdd.c:474:2: error: Invalid read() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] stress-ng-0.19.04/stress-hdd.c:540:2: error: Invalid write() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] stress-ng-0.19.04/stress-hdd.c:885:50: style: Condition 'stress_hdd_advise(args,fd,fadvise_flags)<0' is always false [knownConditionTrueFalse] stress-ng-0.19.04/stress-hdd.c:885:24: note: Calling function 'stress_hdd_advise' returns 0 stress-ng-0.19.04/stress-hdd.c:885:50: note: Condition 'stress_hdd_advise(args,fd,fadvise_flags)<0' is always false stress-ng-0.19.04/stress-hdd.c:562:3: style: Statements following noreturn function 'longjmp()' will never be executed. [unreachableCode] stress-ng-0.19.04/stress-hdd.c:585:8: style: Statements following noreturn function 'longjmp()' will never be executed. [unreachableCode] stress-ng-0.19.04/stress-hdd.c:604:4: style: Statements following noreturn function 'longjmp()' will never be executed. [unreachableCode] stress-ng-0.19.04/stress-hdd.c:192:11: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] stress-ng-0.19.04/stress-hdd.c:481:61: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] stress-ng-0.19.04/stress-hdd.c:549:20: style: Variable 'token' can be declared as pointer to const [constVariablePointer] stress-ng-0.19.04/stress-insertionsort.c:127:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-intmath.c:664:6: style: The if condition is the same as the previous if condition [duplicateCondition] stress-ng-0.19.04/stress-intmath.c:656:6: note: First condition stress-ng-0.19.04/stress-intmath.c:664:6: note: Second condition stress-ng-0.19.04/stress-ioport.c:38:17: style: struct member 'stress_ioport_opts_t::flag' is never used. [unusedStructMember] stress-ng-0.19.04/stress-iomix.c:145:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-iomix.c:214:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-iomix.c:255:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-iomix.c:312:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-iomix.c:377:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-iomix.c:414:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-iomix.c:542:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAP_SHARED [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-iomix.c:594:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-iomix.c:637:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-iomix.c:688:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-iomix.c:1111:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-ioport.c:43:13: style: struct member 'stress_ioport_port_t::port' is never used. [unusedStructMember] stress-ng-0.19.04/stress-jpeg.c:48:13: style: struct member 'jpeg_image_type_t::type' is never used. [unusedStructMember] stress-ng-0.19.04/stress-kill.c:88:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-l1cache.c:76:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu32 [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-l1cache.c:529:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-l1cache.c:217:4: warning:inconclusive: Found suspicious operator '*', result is not used. [constStatement] stress-ng-0.19.04/stress-l1cache.c:301:4: warning:inconclusive: Found suspicious operator '*', result is not used. [constStatement] stress-ng-0.19.04/stress-l1cache.c:340:4: warning:inconclusive: Found suspicious operator '*', result is not used. [constStatement] stress-ng-0.19.04/stress-l1cache.c:287:18: style: Variable 'cache_end' can be declared as pointer to const [constVariablePointer] stress-ng-0.19.04/stress-l1cache.c:326:18: style: Variable 'cache_end' can be declared as pointer to const [constVariablePointer] stress-ng-0.19.04/stress-link.c:102:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-logmath.c:576:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-logmath.c:35:14: style: struct member 'stress_logmath_method_t::name' is never used. [unusedStructMember] stress-ng-0.19.04/stress-logmath.c:36:9: style: struct member 'stress_logmath_method_t::logmath_func' is never used. [unusedStructMember] stress-ng-0.19.04/stress-longjmp.c:44:2: style:inconclusive: Statements following noreturn function 'longjmp()' will never be executed. [unreachableCode] stress-ng-0.19.04/stress-longjmp.c:52:2: style:inconclusive: Statements following noreturn function 'longjmp()' will never be executed. [unreachableCode] stress-ng-0.19.04/stress-lsearch.c:229:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu32 [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/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.04/stress-lsearch.c:137:23: note: You might need to cast the function pointer here stress-ng-0.19.04/stress-lsearch.c:56:10: note: Parameter 'nmemb' can be declared as pointer to const stress-ng-0.19.04/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.04/stress-lsearch.c:138:24: note: You might need to cast the function pointer here stress-ng-0.19.04/stress-lsearch.c:89:10: note: Parameter 'nmemb' can be declared as pointer to const stress-ng-0.19.04/stress-malloc.c:51:13: style: struct member 'stress_malloc_info_t::addr' is never used. [unusedStructMember] stress-ng-0.19.04/stress-malloc.c:52:9: style: struct member 'stress_malloc_info_t::len' is never used. [unusedStructMember] stress-ng-0.19.04/stress-malloc.c:64:17: style: struct member 'stress_malloc_args_t::args' is never used. [unusedStructMember] stress-ng-0.19.04/stress-malloc.c:65:9: style: struct member 'stress_malloc_args_t::instance' is never used. [unusedStructMember] stress-ng-0.19.04/stress-malloc.c:66:6: style: struct member 'stress_malloc_args_t::rc' is never used. [unusedStructMember] stress-ng-0.19.04/stress-memcpy.c:307:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-memrate.c:951:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-memrate.c:1098:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-mergesort.c:193:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-mergesort.c:284:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-metamix.c:94:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-mergesort.c:112:8: style: Condition 'n>0' is always false [knownConditionTrueFalse] stress-ng-0.19.04/stress-mergesort.c:99:14: note: Assuming that condition 'lhs0' is always false stress-ng-0.19.04/stress-mergesort.c:117:8: style: Condition 'n>0' is always false [knownConditionTrueFalse] stress-ng-0.19.04/stress-mergesort.c:99:33: note: Assuming that condition 'rhs0' is always false stress-ng-0.19.04/stress-min-nanosleep.c:36:11: style: struct member 'nanosleep_delay_t::nsec' is never used. [unusedStructMember] stress-ng-0.19.04/stress-min-nanosleep.c:37:11: style: struct member 'nanosleep_delay_t::min_nsec' is never used. [unusedStructMember] stress-ng-0.19.04/stress-min-nanosleep.c:38:11: style: struct member 'nanosleep_delay_t::max_nsec' is never used. [unusedStructMember] stress-ng-0.19.04/stress-min-nanosleep.c:39:11: style: struct member 'nanosleep_delay_t::count' is never used. [unusedStructMember] stress-ng-0.19.04/stress-min-nanosleep.c:40:11: style: struct member 'nanosleep_delay_t::sum_nsec' is never used. [unusedStructMember] stress-ng-0.19.04/stress-mergesort.c:59:21: style: Variable 'u32p2' can be declared as pointer to const [constVariablePointer] stress-ng-0.19.04/stress-mergesort.c:78:36: style: Variable 'rhs_end' can be declared as pointer to const [constVariablePointer] stress-ng-0.19.04/stress-mergesort.c:136:36: style: Variable 'rhs_end' can be declared as pointer to const [constVariablePointer] stress-ng-0.19.04/stress-min-nanosleep.c:41:9: style: struct member 'nanosleep_delay_t::mean' is never used. [unusedStructMember] stress-ng-0.19.04/stress-min-nanosleep.c:42:7: style: struct member 'nanosleep_delay_t::updated' is never used. [unusedStructMember] stress-ng-0.19.04/stress-min-nanosleep.c:49:20: style: struct member 'nanosleep_delays_t::delay' is never used. [unusedStructMember] stress-ng-0.19.04/stress-min-nanosleep.c:50:8: style: struct member 'nanosleep_delays_t::pid' is never used. [unusedStructMember] stress-ng-0.19.04/stress-min-nanosleep.c:51:7: style: struct member 'nanosleep_delays_t::started' is never used. [unusedStructMember] stress-ng-0.19.04/stress-min-nanosleep.c:52:7: style: struct member 'nanosleep_delays_t::finished' is never used. [unusedStructMember] stress-ng-0.19.04/stress-metamix.c:271:10: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] stress-ng-0.19.04/stress-mmapaddr.c:65:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-mmapaddr.c:97:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-mmapaddr.c:133:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAP_PRIVATE [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-mmapaddr.c:81:17: style: Parameter 'args' can be declared as pointer to const [constParameterPointer] stress-ng-0.19.04/stress-mmapaddr.c:127:12: style: Variable 'addr' can be declared as pointer to const [constVariablePointer] stress-ng-0.19.04/stress-mmapaddr.c:154:66: error: Uninitialized variable: flags [uninitvar] stress-ng-0.19.04/stress-mmapaddr.c:133:13: style: Variable 'mmap_flags' is assigned a value that is never used. [unreadVariable] stress-ng-0.19.04/stress-mmapfiles.c:76:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAP_PRIVATE [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-mmapfiles.c:240:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-mmapfixed.c:77:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOSYS [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-mmapfixed.c:105:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOSYS [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-mmapfixed.c:134:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAP_FIXED [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-mmapfixed.c:254:15: style: The comparison 'rc == 0' is always true. [knownConditionTrueFalse] stress-ng-0.19.04/stress-mmapfixed.c:122:11: note: 'rc' is assigned value '0' here. stress-ng-0.19.04/stress-mmapfixed.c:254:15: note: The comparison 'rc == 0' is always true. stress-ng-0.19.04/stress-mmapfixed.c:123:20: style: Variable 'info' can be declared as pointer to const [constVariablePointer] stress-ng-0.19.04/stress-mmapmany.c:54:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _SC_MAPPED_FILES [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-mmapmany.c:118:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: ptr [nullPointerOutOfMemory] stress-ng-0.19.04/stress-mmapmany.c:106:26: note: Assuming allocation function fails stress-ng-0.19.04/stress-mmapmany.c:106: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.04/stress-mmapmany.c:118:5: note: Null pointer dereference stress-ng-0.19.04/stress-mmaprandom.c:114:6: style: struct member 'fd_info_t::fd' is never used. [unusedStructMember] stress-ng-0.19.04/stress-mmaprandom.c:115:6: style: struct member 'fd_info_t::mode' is never used. [unusedStructMember] stress-ng-0.19.04/stress-monte-carlo.c:37:9: style: struct member 'stress_monte_carlo_rand_info_t::seed' is never used. [unusedStructMember] stress-ng-0.19.04/stress-mseal.c:50:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-mseal.c:65:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-mseal.c:107:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EPERM [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-mseal.c:152:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-mseal.c:163:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-mseal.c:172:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOMEM [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-mseal.c:228:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAP_PRIVATE [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-mseal.c:245:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-mseal.c:316:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/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.04/stress-mseal.c:325:19: note: Assuming allocation function fails stress-ng-0.19.04/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.04/stress-mseal.c:328:14: note: Null pointer dereference stress-ng-0.19.04/stress-mseal.c:45:8: style: Parameter 'addr' can be declared as pointer to const [constParameterPointer] stress-ng-0.19.04/stress-mseal.c:47:8: style: Parameter 'expect_addr' can be declared as pointer to const [constParameterPointer] stress-ng-0.19.04/stress-munmap.c:28:17: style: struct member 'munmap_context_t::args' is never used. [unusedStructMember] stress-ng-0.19.04/stress-munmap.c:29:9: style: struct member 'munmap_context_t::page_shift' is never used. [unusedStructMember] stress-ng-0.19.04/stress-munmap.c:30:8: style: struct member 'munmap_context_t::exec_path' is never used. [unusedStructMember] stress-ng-0.19.04/stress-munmap.c:31:9: style: struct member 'munmap_context_t::duration' is never used. [unusedStructMember] stress-ng-0.19.04/stress-munmap.c:32:9: style: struct member 'munmap_context_t::count' is never used. [unusedStructMember] stress-ng-0.19.04/stress-nanosleep.c:42:6: style: struct member 'stress_nanosleep_method_t::mask' is never used. [unusedStructMember] stress-ng-0.19.04/stress-ng.c:772: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.04/stress-null.c:65:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-pagemove.c:38:9: style: struct member 'page_info_t::virt_addr' is never used. [unusedStructMember] stress-ng-0.19.04/stress-pagemove.c:39:9: style: struct member 'page_info_t::page_num' is never used. [unusedStructMember] stress-ng-0.19.04/stress-open.c:258:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-open.c:314:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tv_usec [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-open.c:423:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-open.c:463:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-open.c:1049:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-open.c:1103:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-pageswap.c:29:20: style: struct member 'page_info::self' is never used. [unusedStructMember] stress-ng-0.19.04/stress-pageswap.c:30:20: style: struct member 'page_info::next' is never used. [unusedStructMember] stress-ng-0.19.04/stress-pageswap.c:31:9: style: struct member 'page_info::size' is never used. [unusedStructMember] stress-ng-0.19.04/stress-open.c:169:14: style: The comparison 'max_fds == 0' is always true. [knownConditionTrueFalse] stress-ng-0.19.04/stress-open.c:153:19: note: 'max_fds' is assigned value '0' here. stress-ng-0.19.04/stress-open.c:169:14: note: The comparison 'max_fds == 0' is always true. stress-ng-0.19.04/stress-pipe.c:125:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-pipe.c:176:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-pipe.c:361:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-pipe.c:403:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-pipeherd.c:55:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-pipe.c:573:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-pipeherd.c:100:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-pipeherd.c:47:54: style: Parameter 'args' can be declared as pointer to const [constParameterPointer] stress-ng-0.19.04/stress-plugin.c:432:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-pipe.c:349:8: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] stress-ng-0.19.04/stress-powmath.c:35:14: style: struct member 'stress_powmath_method_t::name' is never used. [unusedStructMember] stress-ng-0.19.04/stress-powmath.c:36:9: style: struct member 'stress_powmath_method_t::powmath_func' is never used. [unusedStructMember] stress-ng-0.19.04/stress-prefetch.c:274:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIx64 [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-prefetch.c:420:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-prio-inv.c:94:13: style: struct member 'stress_prio_inv_options_t::value' is never used. [unusedStructMember] stress-ng-0.19.04/stress-prio-inv.c:98:6: style: struct member 'stress_prio_inv_child_info_t::prio' is never used. [unusedStructMember] stress-ng-0.19.04/stress-prio-inv.c:99:6: style: struct member 'stress_prio_inv_child_info_t::niceness' is never used. [unusedStructMember] stress-ng-0.19.04/stress-prio-inv.c:100:8: style: struct member 'stress_prio_inv_child_info_t::pid' is never used. [unusedStructMember] stress-ng-0.19.04/stress-prio-inv.c:101:9: style: struct member 'stress_prio_inv_child_info_t::usage' is never used. [unusedStructMember] stress-ng-0.19.04/stress-priv-instr.c:34:14: style: struct member 'op_info_t::instr' is never used. [unusedStructMember] stress-ng-0.19.04/stress-priv-instr.c:35:18: style: struct member 'op_info_t::op_func' is never used. [unusedStructMember] stress-ng-0.19.04/stress-priv-instr.c:36:7: style: struct member 'op_info_t::invalid' is never used. [unusedStructMember] stress-ng-0.19.04/stress-priv-instr.c:37:7: style: struct member 'op_info_t::trapped' is never used. [unusedStructMember] stress-ng-0.19.04/stress-prefetch.c:0:0: debug: ValueFlow maximum iterations exceeded [valueFlowMaxIterations] stress-ng-0.19.04/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.04/stress-prefetch.c:419:28: note: Assuming allocation function fails stress-ng-0.19.04/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.04/stress-prefetch.c:435:43: note: Calling function 'stress_prefetch_data_set', 1st argument 'l3_data' value is 0 stress-ng-0.19.04/stress-prefetch.c:378:12: note: Null pointer dereference stress-ng-0.19.04/stress-prefetch.c:268:20: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] stress-ng-0.19.04/stress-prefetch.c:419:28: note: Assuming allocation function fails stress-ng-0.19.04/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.04/stress-prefetch.c:457:5: note: Calling function 'stress_prefetch_benchmark', 6th argument 'l3_data' value is 0 stress-ng-0.19.04/stress-prefetch.c:268:20: note: Null pointer addition stress-ng-0.19.04/stress-prefetch.c:378:12: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] stress-ng-0.19.04/stress-prefetch.c:419:28: note: Assuming allocation function fails stress-ng-0.19.04/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.04/stress-prefetch.c:435:43: note: Calling function 'stress_prefetch_data_set', 1st argument 'l3_data' value is 0 stress-ng-0.19.04/stress-prefetch.c:378:12: note: Null pointer addition stress-ng-0.19.04/stress-pseek.c:129:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-pseek.c:198:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIdMAX [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-pseek.c:324:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-pseek.c:374:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-pseek.c:339:24: style: Parameter 'proc' can be declared as pointer to const [constParameterPointer] stress-ng-0.19.04/stress-ptr-chase.c:83:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-qsort.c:310:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-race-sched.c:48:14: style: struct member 'stress_race_sched_method_t::method' is never used. [unusedStructMember] stress-ng-0.19.04/stress-race-sched.c:52:28: style: struct member 'stress_race_sched::next' is never used. [unusedStructMember] stress-ng-0.19.04/stress-race-sched.c:53:8: style: struct member 'stress_race_sched::pid' is never used. [unusedStructMember] stress-ng-0.19.04/stress-race-sched.c:54:11: style: struct member 'stress_race_sched::cpu_idx' is never used. [unusedStructMember] stress-ng-0.19.04/stress-race-sched.c:58:29: style: struct member 'stress_race_sched_list_t::head' is never used. [unusedStructMember] stress-ng-0.19.04/stress-race-sched.c:59:29: style: struct member 'stress_race_sched_list_t::tail' is never used. [unusedStructMember] stress-ng-0.19.04/stress-race-sched.c:60:29: style: struct member 'stress_race_sched_list_t::free' is never used. [unusedStructMember] stress-ng-0.19.04/stress-race-sched.c:61:11: style: struct member 'stress_race_sched_list_t::length' is never used. [unusedStructMember] stress-ng-0.19.04/stress-radixsort.c:127:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-qsort.c:156:9: style: Condition 'n>63' is always true [knownConditionTrueFalse] stress-ng-0.19.04/stress-qsort.c:152:8: note: Assuming that condition 'n>63' is not redundant stress-ng-0.19.04/stress-qsort.c:156:9: note: Condition 'n>63' is always true stress-ng-0.19.04/stress-qsort.c:121:3: style: Variable '*(qsort_swap_type_t*)b' is assigned an expression that holds the same value. [redundantAssignment] stress-ng-0.19.04/stress-qsort.c:119:7: note: tmp is assigned '*(qsort_swap_type_t*)a' here. stress-ng-0.19.04/stress-qsort.c:121:3: note: Variable '*(qsort_swap_type_t*)b' is assigned an expression that holds the same value. stress-ng-0.19.04/stress-randlist.c:216:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-rename.c:256:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-revio.c:196:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-revio.c:308:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-revio.c:201:27: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] stress-ng-0.19.04/stress-revio.c:402:7: style: Condition 'stress_revio_advise(args,fd,fadvise_flags)<0' is always false [knownConditionTrueFalse] stress-ng-0.19.04/stress-revio.c:402:7: note: Calling function 'stress_revio_advise' returns 0 stress-ng-0.19.04/stress-revio.c:402:7: note: Condition 'stress_revio_advise(args,fd,fadvise_flags)<0' is always false stress-ng-0.19.04/stress-revio.c:198:3: style: Statements following noreturn function 'longjmp()' will never be executed. [unreachableCode] stress-ng-0.19.04/stress-revio.c:221:8: style: Statements following noreturn function 'longjmp()' will never be executed. [unreachableCode] stress-ng-0.19.04/stress-revio.c:240:4: style: Statements following noreturn function 'longjmp()' will never be executed. [unreachableCode] stress-ng-0.19.04/stress-revio.c:141:11: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] stress-ng-0.19.04/stress-ring-pipe.c:34:6: style: struct member 'pipe_fds_t::fds' is never used. [unusedStructMember] stress-ng-0.19.04/stress-rmap.c:85:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIxPTR [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-rmap.c:238:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-sctp.c:49:12: style: struct member 'stress_sctp_sched_t::sched_type' is never used. [unusedStructMember] stress-ng-0.19.04/stress-seek.c:106:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/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.04/stress-seek.c:286:7: note: Calling function 'stress_shim_lseek', 3rd argument '4' value is 4 stress-ng-0.19.04/stress-seek.c:54:27: note: Invalid argument stress-ng-0.19.04/stress-seek.c:358:3: error: Invalid lseek() argument nr 3. The value is 3 but the valid values are '0:2'. [invalidFunctionArg] stress-ng-0.19.04/stress-seek.c:362:3: error: Invalid lseek() argument nr 3. The value is 4 but the valid values are '0:2'. [invalidFunctionArg] stress-ng-0.19.04/stress-seek.c:367:3: error: Invalid lseek() argument nr 3. The value is -1 but the valid values are '0:2'. [invalidFunctionArg] stress-ng-0.19.04/stress-session.c:67:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-session.c:89:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-session.c:129:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-session.c:183:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-set.c:500:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-shellsort.c:112:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-sigabrt.c:67:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-shm.c:38:10: style: struct member 'stress_shm_msg_t::index' is never used. [unusedStructMember] stress-ng-0.19.04/stress-shm.c:39:7: style: struct member 'stress_shm_msg_t::shm_name' is never used. [unusedStructMember] stress-ng-0.19.04/stress-sigchld.c:87:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/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.04/stress-sigchld.c:81:20: note: You might need to cast the function pointer here stress-ng-0.19.04/stress-sigchld.c:38:13: note: Parameter 'info' can be declared as pointer to const stress-ng-0.19.04/stress-sighup.c:61:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-sighup.c:112:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-sighup.c:222:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-sighup.c:94:40: style: Parameter 'fds' can be declared as const array [constParameter] stress-ng-0.19.04/stress-signal.c:85:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-signal.c:110:11: style: Condition 'tmp==*pcounter' is always true [knownConditionTrueFalse] stress-ng-0.19.04/stress-signal.c:108:7: note: tmp is assigned '*pcounter' here. stress-ng-0.19.04/stress-signal.c:110:11: note: Condition 'tmp==*pcounter' is always true stress-ng-0.19.04/stress-signal.c:122:7: style: Condition 'tmp!=*pcounter' is always false [knownConditionTrueFalse] stress-ng-0.19.04/stress-signal.c:115:7: note: tmp is assigned '*pcounter' here. stress-ng-0.19.04/stress-signal.c:116:7: note: Assuming condition is false stress-ng-0.19.04/stress-signal.c:122:7: note: Condition 'tmp!=*pcounter' is always false stress-ng-0.19.04/stress-signal.c:115:3: style: Variable 'tmp' is assigned an expression that holds the same value. [redundantAssignment] stress-ng-0.19.04/stress-signal.c:108:7: note: tmp is assigned '*pcounter' here. stress-ng-0.19.04/stress-signal.c:115:3: note: Variable 'tmp' is assigned an expression that holds the same value. stress-ng-0.19.04/stress-sigpending.c:46:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_SETMASK [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-sigpipe.c:65:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-sigsuspend.c:64:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_BLOCK [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-sigtrap.c:77:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-skiplist.c:122:12: style: Variable 'skip_node->value' is assigned an expression that holds the same value. [redundantAssignment] stress-ng-0.19.04/stress-skiplist.c:121:12: note: Assuming that condition 'value==skip_node->value' is not redundant stress-ng-0.19.04/stress-skiplist.c:122:12: note: Variable 'skip_node->value' is assigned an expression that holds the same value. stress-ng-0.19.04/stress-sock.c:172:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-sock.c:537:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-sock.c:916:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINTR [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-sock.c:969:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-sock.c:1352:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-sock.c:187: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.04/stress-sock.c:333:3: error: Invalid recv() argument nr 1. The value is -1 but the valid values are '0:'. [invalidFunctionArg] stress-ng-0.19.04/stress-sock.c:893:25: style: The comparison 'inq_samples > 0' is always false. [knownConditionTrueFalse] stress-ng-0.19.04/stress-sock.c:501:40: note: 'inq_samples' is assigned value '0' here. stress-ng-0.19.04/stress-sock.c:893:25: note: The comparison 'inq_samples > 0' is always false. stress-ng-0.19.04/stress-sock.c:893: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.04/stress-sock.c:501:23: note: 'inq_bytes' is assigned value '0' here. stress-ng-0.19.04/stress-sock.c:501:40: note: 'inq_samples' is assigned value '0' here. stress-ng-0.19.04/stress-sock.c:893:50: note: Same expression on both sides of '/' because '(double)inq_bytes' and '(double)inq_samples' represent the same value. stress-ng-0.19.04/stress-sock.c:1290:25: style: The comparison 'outq_samples > 0' is always false. [knownConditionTrueFalse] stress-ng-0.19.04/stress-sock.c:950:42: note: 'outq_samples' is assigned value '0' here. stress-ng-0.19.04/stress-sock.c:1290:25: note: The comparison 'outq_samples > 0' is always false. stress-ng-0.19.04/stress-sock.c:1290: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.04/stress-sock.c:950:24: note: 'outq_bytes' is assigned value '0' here. stress-ng-0.19.04/stress-sock.c:950:42: note: 'outq_samples' is assigned value '0' here. stress-ng-0.19.04/stress-sock.c:1290:51: note: Same expression on both sides of '/' because '(double)outq_bytes' and '(double)outq_samples' represent the same value. stress-ng-0.19.04/stress-sockabuse.c:192:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-sockabuse.c:256:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-sockabuse.c:410:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-sockabuse.c:148:16: warning: If memory allocation fails, then there is a possible null pointer dereference: ptr [nullPointerOutOfMemory] stress-ng-0.19.04/stress-sockabuse.c:146:12: note: Assuming allocation function fails stress-ng-0.19.04/stress-sockabuse.c:146:12: note: Assignment 'ptr=mmap(NULL,4096,PROT_READ,MAP_SHARED,fd,0)', assigned value is 0 stress-ng-0.19.04/stress-sockabuse.c:148:16: note: Null pointer dereference stress-ng-0.19.04/stress-sockabuse.c:151:16: warning: If memory allocation fails, then there is a possible null pointer dereference: ptr [nullPointerOutOfMemory] stress-ng-0.19.04/stress-sockabuse.c:149:12: note: Assuming allocation function fails stress-ng-0.19.04/stress-sockabuse.c:149:12: note: Assignment 'ptr=mmap(NULL,4096,PROT_READ,MAP_PRIVATE,fd,0)', assigned value is 0 stress-ng-0.19.04/stress-sockabuse.c:151:16: note: Null pointer dereference stress-ng-0.19.04/stress-sockabuse.c:65:8: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] stress-ng-0.19.04/stress-sockmany.c:67:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHUT_RDWR [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-sockmany.c:108:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-sockmany.c:185:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-sockmany.c:318:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-sockpair.c:126:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_STREAM [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-sockpair.c:75:6: style: Parameter 'fds' can be declared as const array [constParameter] stress-ng-0.19.04/stress-sparsematrix.c:1124:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu32 [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-sparsematrix.c:1220:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-sparsematrix.c:1391:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-spinmem.c:276:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-stack.c:35:29: style: struct member 'stress_stack_check::prev' is never used. [unusedStructMember] stress-ng-0.19.04/stress-stack.c:36:29: style: struct member 'stress_stack_check::self_addr' is never used. [unusedStructMember] stress-ng-0.19.04/stress-stream.c:892:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-stream.c:941:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu16 [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-stream.c:1205:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-switch.c:159:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-stream.c:95: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.04/stress-stream.c:839:25: style: Variable 'ptr_end' can be declared as pointer to const [constVariablePointer] stress-ng-0.19.04/stress-stream.c:928:22: style: Variable 'cache' can be declared as pointer to const [constVariablePointer] stress-ng-0.19.04/stress-stream.c:54:12: style: struct member 'stress_stream_madvise_info_t::advice' is never used. [unusedStructMember] stress-ng-0.19.04/stress-sysbadaddr.c:509:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-sysbadaddr.c:763:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-sysbadaddr.c:889:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RLIMIT_CPU [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-sysbadaddr.c:926:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sockaddr [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-sysbadaddr.c:1432:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-sysbadaddr.c:1632:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-sysbadaddr.c:1872:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RLIMIT_CPU [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-sysbadaddr.c:2064:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-sysbadaddr.c:2482:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-sysbadaddr.c:2541:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-syscall.c:1044:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRUSR [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-syscall.c:1343:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRUSR [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-syscall.c:1565:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-syscall.c:1810:2: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRUSR [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-syscall.c:3375:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRUSR [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-syscall.c:3551:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-syscall.c:4133:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-syscall.c:4213:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-syscall.c:4338:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable WNOHANG [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-syscall.c:5326:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRUSR [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-syscall.c:6274:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_IGN [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-syscall.c:6320:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_ERR [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-syscall.c:6371:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_BLOCK [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-syscall.c:6404:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIG_BLOCK [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-syscall.c:7035:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRUSR [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-syscall.c:8599:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-syscall.c:8722:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-syscall.c:8819:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-sysbadaddr.c:225: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.04/stress-sysbadaddr.c:276:4: note: You might need to cast the function pointer here stress-ng-0.19.04/stress-sysbadaddr.c:225:42: note: Parameter 'args' can be declared as pointer to const stress-ng-0.19.04/stress-sysbadaddr.c:237: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.04/stress-sysbadaddr.c:278:4: note: You might need to cast the function pointer here stress-ng-0.19.04/stress-sysbadaddr.c:237:43: note: Parameter 'args' can be declared as pointer to const stress-ng-0.19.04/stress-sysbadaddr.c:285: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.04/stress-sysbadaddr.c:2092:2: note: You might need to cast the function pointer here stress-ng-0.19.04/stress-sysbadaddr.c:285:43: note: Parameter 'ba' can be declared as pointer to const stress-ng-0.19.04/stress-sysbadaddr.c:303: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.04/stress-sysbadaddr.c:2096:2: note: You might need to cast the function pointer here stress-ng-0.19.04/stress-sysbadaddr.c:303:41: note: Parameter 'ba' can be declared as pointer to const stress-ng-0.19.04/stress-sysbadaddr.c:321: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.04/stress-sysbadaddr.c:2102:2: note: You might need to cast the function pointer here stress-ng-0.19.04/stress-sysbadaddr.c:321:42: note: Parameter 'ba' can be declared as pointer to const stress-ng-0.19.04/stress-sysbadaddr.c:329: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.04/stress-sysbadaddr.c:2103:2: note: You might need to cast the function pointer here stress-ng-0.19.04/stress-sysbadaddr.c:329:42: note: Parameter 'ba' can be declared as pointer to const stress-ng-0.19.04/stress-sysbadaddr.c:337: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.04/stress-sysbadaddr.c:2104:2: note: You might need to cast the function pointer here stress-ng-0.19.04/stress-sysbadaddr.c:337:42: note: Parameter 'ba' can be declared as pointer to const stress-ng-0.19.04/stress-sysbadaddr.c:505: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.04/stress-sysbadaddr.c:2134:2: note: You might need to cast the function pointer here stress-ng-0.19.04/stress-sysbadaddr.c:505:44: note: Parameter 'ba' can be declared as pointer to const stress-ng-0.19.04/stress-sysbadaddr.c:749: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.04/stress-sysbadaddr.c:2176:2: note: You might need to cast the function pointer here stress-ng-0.19.04/stress-sysbadaddr.c:749:49: note: Parameter 'ba' can be declared as pointer to const stress-ng-0.19.04/stress-sysbadaddr.c:1009: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.04/stress-sysbadaddr.c:2213:2: note: You might need to cast the function pointer here stress-ng-0.19.04/stress-sysbadaddr.c:1009:43: note: Parameter 'ba' can be declared as pointer to const stress-ng-0.19.04/stress-sysbadaddr.c:1025: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.04/stress-sysbadaddr.c:2215:2: note: You might need to cast the function pointer here stress-ng-0.19.04/stress-sysbadaddr.c:1025:42: note: Parameter 'ba' can be declared as pointer to const stress-ng-0.19.04/stress-sysbadaddr.c:1033: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.04/stress-sysbadaddr.c:2216:2: note: You might need to cast the function pointer here stress-ng-0.19.04/stress-sysbadaddr.c:1033:42: note: Parameter 'ba' can be declared as pointer to const stress-ng-0.19.04/stress-sysbadaddr.c:1220: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.04/stress-sysbadaddr.c:2254:2: note: You might need to cast the function pointer here stress-ng-0.19.04/stress-sysbadaddr.c:1220:43: note: Parameter 'ba' can be declared as pointer to const stress-ng-0.19.04/stress-sysbadaddr.c:1271: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.04/stress-sysbadaddr.c:2263:2: note: You might need to cast the function pointer here stress-ng-0.19.04/stress-sysbadaddr.c:1271:51: note: Parameter 'ba' can be declared as pointer to const stress-ng-0.19.04/stress-sysbadaddr.c:1281: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.04/stress-sysbadaddr.c:2264:2: note: You might need to cast the function pointer here stress-ng-0.19.04/stress-sysbadaddr.c:1281:51: note: Parameter 'ba' can be declared as pointer to const stress-ng-0.19.04/stress-sysbadaddr.c:1426: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.04/stress-sysbadaddr.c:2292:2: note: You might need to cast the function pointer here stress-ng-0.19.04/stress-sysbadaddr.c:1426:41: note: Parameter 'ba' can be declared as pointer to const stress-ng-0.19.04/stress-sysbadaddr.c:1655: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.04/stress-sysbadaddr.c:2330:2: note: You might need to cast the function pointer here stress-ng-0.19.04/stress-sysbadaddr.c:1655:46: note: Parameter 'ba' can be declared as pointer to const stress-ng-0.19.04/stress-sysbadaddr.c:1714: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.04/stress-sysbadaddr.c:2341:2: note: You might need to cast the function pointer here stress-ng-0.19.04/stress-sysbadaddr.c:1714:44: note: Parameter 'ba' can be declared as pointer to const stress-ng-0.19.04/stress-sysbadaddr.c:1868: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.04/stress-sysbadaddr.c:2357:2: note: You might need to cast the function pointer here stress-ng-0.19.04/stress-sysbadaddr.c:1868:46: note: Parameter 'ba' can be declared as pointer to const stress-ng-0.19.04/stress-sysbadaddr.c:1890: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.04/stress-sysbadaddr.c:2360:2: note: You might need to cast the function pointer here stress-ng-0.19.04/stress-sysbadaddr.c:1890:42: note: Parameter 'ba' can be declared as pointer to const stress-ng-0.19.04/stress-sysbadaddr.c:1960: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.04/stress-sysbadaddr.c:2374:2: note: You might need to cast the function pointer here stress-ng-0.19.04/stress-sysbadaddr.c:1960:45: note: Parameter 'ba' can be declared as pointer to const stress-ng-0.19.04/stress-sysbadaddr.c:2059: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.04/stress-sysbadaddr.c:2397:2: note: You might need to cast the function pointer here stress-ng-0.19.04/stress-sysbadaddr.c:2059:42: note: Parameter 'ba' can be declared as pointer to const stress-ng-0.19.04/stress-sysbadaddr.c:2524:33: style: Parameter 'addr' can be declared as pointer to const [constParameterPointer] stress-ng-0.19.04/stress-sysinfo.c:203:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-syscall.c:2127:8: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] stress-ng-0.19.04/stress-syscall.c:233:25: style: struct member 'syscall_mq_msg_t::value' is never used. [unusedStructMember] stress-ng-0.19.04/stress-tmpfs.c:43:11: style: struct member 'mapping_info_t::addr' is never used. [unusedStructMember] stress-ng-0.19.04/stress-touch.c:121:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-touch.c:221:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IRUSR [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-tmpfs.c:44:10: style: struct member 'mapping_info_t::state' is never used. [unusedStructMember] stress-ng-0.19.04/stress-touch.c:127:27: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] stress-ng-0.19.04/stress-touch.c:124:3: style: Statements following noreturn function 'longjmp()' will never be executed. [unreachableCode] stress-ng-0.19.04/stress-touch.c:144:4: style: Statements following noreturn function 'longjmp()' will never be executed. [unreachableCode] stress-ng-0.19.04/stress-touch.c:163:51: style: Parameter 'args' can be declared as pointer to const [constParameterPointer] stress-ng-0.19.04/stress-trig.c:74:9: style: Floating-point cast causes loss of precision. [suspiciousFloatingPointCast] stress-ng-0.19.04/stress-trig.c:135:9: style: Floating-point cast causes loss of precision. [suspiciousFloatingPointCast] stress-ng-0.19.04/stress-udp.c:97:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_DGRAM [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-udp.c:287:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_DGRAM [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-udp.c:408:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-umask.c:73:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-unlink.c:101:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-unlink.c:204:6: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-urandom.c:72:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-unlink.c:54:8: style: Parameter 'filenames' can be declared as const array [constParameter] stress-ng-0.19.04/stress-urandom.c:252:18: warning: If memory allocation fails, then there is a possible null pointer dereference: ptr [nullPointerOutOfMemory] stress-ng-0.19.04/stress-urandom.c:249:14: note: Assuming allocation function fails stress-ng-0.19.04/stress-urandom.c:249:14: note: Assignment 'ptr=mmap(NULL,page_size,PROT_READ,MAP_PRIVATE,fd_urnd,0)', assigned value is 0 stress-ng-0.19.04/stress-urandom.c:252:18: note: Null pointer dereference stress-ng-0.19.04/stress-urandom.c:247:10: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] stress-ng-0.19.04/stress-vforkmany.c:60:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-vforkmany.c:101:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-vforkmany.c:206:8: style: Condition 'n_advice' is always false [knownConditionTrueFalse] stress-ng-0.19.04/stress-vforkmany.c:194:22: note: Assignment 'n_advice=0', assigned value is 0 stress-ng-0.19.04/stress-vforkmany.c:206:8: note: Condition 'n_advice' is always false stress-ng-0.19.04/stress-vforkmany.c:274:10: style: Condition 'n_advice' is always false [knownConditionTrueFalse] stress-ng-0.19.04/stress-vforkmany.c:258:24: note: Assignment 'n_advice=0', assigned value is 0 stress-ng-0.19.04/stress-vforkmany.c:274:10: note: Condition 'n_advice' is always false stress-ng-0.19.04/stress-vforkmany.c:286:13: style: Condition 'pid>=1' is always true [knownConditionTrueFalse] stress-ng-0.19.04/stress-vforkmany.c:245:19: note: Assuming that condition 'pid==0' is not redundant stress-ng-0.19.04/stress-vforkmany.c:286:13: note: Condition 'pid>=1' is always true stress-ng-0.19.04/stress-vm-addr.c:498:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-vm-addr.c:560:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-vm-segv.c:108:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-vm-segv.c:64:8: error: Memory pointed to by 'page_size' is freed twice. [doubleFree] stress-ng-0.19.04/stress-vm-segv.c:63:8: note: Memory pointed to by 'page_size' is freed twice. stress-ng-0.19.04/stress-vm-segv.c:64:8: note: Memory pointed to by 'page_size' is freed twice. stress-ng-0.19.04/stress-vm-segv.c:83:8: error: Memory pointed to by 'page_size' is freed twice. [doubleFree] stress-ng-0.19.04/stress-vm-segv.c:82:8: note: Memory pointed to by 'page_size' is freed twice. stress-ng-0.19.04/stress-vm-segv.c:83:8: note: Memory pointed to by 'page_size' is freed twice. stress-ng-0.19.04/stress-vm-segv.c:75:11: style: Variable 'addr' can be declared as pointer to const [constVariablePointer] stress-ng-0.19.04/stress-vnni.c:488:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIx32 [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-wait.c:54:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-wait.c:187:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIdMAX [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-vm.c:2554:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable addr1 [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-vm.c:3570:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-vm.c:3748:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-workload.c:652:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-workload.c:894:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu32 [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-vm.c:3608:38: error: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] stress-ng-0.19.04/stress-vm.c:3581:26: note: Assuming allocation function fails stress-ng-0.19.04/stress-vm.c:3581: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.04/stress-vm.c:3608:38: note: Null pointer addition stress-ng-0.19.04/stress-workload.c:801:4: style:inconclusive: Found duplicate branches for 'if' and 'else'. [duplicateBranch] stress-ng-0.19.04/stress-workload.c:816:6: note: Found duplicate branches for 'if' and 'else'. stress-ng-0.19.04/stress-workload.c:801:4: note: Found duplicate branches for 'if' and 'else'. stress-ng-0.19.04/stress-workload.c:437:21: style: Variable 'end' can be declared as pointer to const [constVariablePointer] stress-ng-0.19.04/stress-vm.c:2579:3: warning:inconclusive: Found suspicious operator '*', result is not used. [constStatement] stress-ng-0.19.04/stress-vm.c:2589:3: warning:inconclusive: Found suspicious operator '*', result is not used. [constStatement] stress-ng-0.19.04/stress-vm.c:2599:3: warning:inconclusive: Found suspicious operator '*', result is not used. [constStatement] stress-ng-0.19.04/stress-vm.c:2609:3: warning:inconclusive: Found suspicious operator '*', result is not used. [constStatement] stress-ng-0.19.04/stress-workload.c:55:6: style: struct member 'workload_thread_t::ret' is never used. [unusedStructMember] stress-ng-0.19.04/stress-zero.c:80:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-zombie.c:152:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIdMAX [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/stress-zero.c:115:9: error: Memory pointed to by 'page_size' is freed twice. [doubleFree] stress-ng-0.19.04/stress-zero.c:114:9: note: Memory pointed to by 'page_size' is freed twice. stress-ng-0.19.04/stress-zero.c:115:9: note: Memory pointed to by 'page_size' is freed twice. stress-ng-0.19.04/test/test-accept4.c:36:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_NONBLOCK [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/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.04/test/test-accept4.c:28:12: note: Assignment 'fd=-1', assigned value is -1 stress-ng-0.19.04/test/test-accept4.c:36:17: note: Invalid argument stress-ng-0.19.04/test/test-aio-fsync.c:30:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_SYNC [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/test/test-asm-alpha-draina.c:30:0: error: #error not ALPHA so no draina instruction [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-alpha-draina.c:30:2: error: #error not ALPHA so no draina instruction [preprocessorErrorDirective] stress-ng-0.19.04/test/test-arch_prctl.c:30:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ARCH_GET_CPUID [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/test/test-asm-alpha-halt.c:30:0: error: #error not ALPHA so no halt instruction [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-alpha-halt.c:30:2: error: #error not ALPHA so no halt instruction [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-arm-dmb-sy.c:34:0: error: #error not an ARM so no yield instruction [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-arm-dmb-sy.c:34:2: error: #error not an ARM so no yield instruction [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-arm-prfm.c:29:0: error: #error not an ARMv8 so no prfm instruction [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-arm-prfm.c:29:2: error: #error not an ARMv8 so no prfm instruction [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-arm-yield.c:35:0: error: #error not an ARM so no yield instruction [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-arm-tlbi.c:34:0: error: #error not an ARM so no yield instruction [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-arm-yield.c:35:2: error: #error not an ARM so no yield instruction [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-arm-tlbi.c:34:2: error: #error not an ARM so no yield instruction [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-hppa-diag.c:29:0: error: #error not HPPA so no diag instruction [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-hppa-diag.c:29:2: error: #error not HPPA so no diag instruction [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-hppa-rfi.c:29:0: error: #error not HPPA so no rfi instruction [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-hppa-rfi.c:29:2: error: #error not HPPA so no rfi instruction [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-loong64-cpucfg.c:32:0: error: #error not Loong64 so no rdtime instruction [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-loong64-cpucfg.c:32:2: error: #error not Loong64 so no rdtime instruction [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-loong64-dbar.c:29:0: error: #error not Loong64 so no sbar instruction [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-loong64-dbar.c:29:2: error: #error not Loong64 so no sbar instruction [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-loong64-rdtime.c:32:0: error: #error not Loong64 so no rdtime instruction [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-loong64-rdtime.c:32:2: error: #error not Loong64 so no rdtime instruction [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-loong64-tlbrd.c:32:0: error: #error not Loong64 so no tlbrd instruction [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-loong64-tlbrd.c:32:2: error: #error not Loong64 so no tlbrd instruction [preprocessorErrorDirective] stress-ng-0.19.04/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.04/test/test-asm-loong64-tlbsrch.c:32:0: error: #error not Loong64 so no tlbsrc instruction [preprocessorErrorDirective] stress-ng-0.19.04/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.04/test/test-asm-loong64-tlbsrch.c:32:2: error: #error not Loong64 so no tlbsrc instruction [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-mips-wait.c:30:0: error: #error not MIPS so no wait instruction [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-mips-wait.c:30:2: error: #error not MIPS so no wait instruction [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-ppc-dcbst.c:22:0: error: #error ppc dcbst instruction not supported [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-ppc-dcbst.c:22:2: error: #error ppc dcbst instruction not supported [preprocessorErrorDirective] stress-ng-0.19.04/stress-zombie.c:144:29: style: Condition 'stress_pid_a_zombie(pid)' is always true [knownConditionTrueFalse] stress-ng-0.19.04/stress-zombie.c:144:29: note: Calling function 'stress_pid_a_zombie' returns 1 stress-ng-0.19.04/stress-zombie.c:144:29: note: Condition 'stress_pid_a_zombie(pid)' is always true stress-ng-0.19.04/test/test-asm-ppc-dcbt.c:20:0: error: #error ppc dcbt instruction not supported [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-ppc-dcbt.c:20:2: error: #error ppc dcbt instruction not supported [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-ppc-dcbtst.c:20:0: error: #error ppc dcbtst instruction not supported [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-ppc-dcbtst.c:20:2: error: #error ppc dcbtst instruction not supported [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-ppc-icbi.c:22:0: error: #error ppc icbi instruction not supported [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-ppc-icbi.c:22:2: error: #error ppc icbi instruction not supported [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-ppc64-darn.c:22:0: error: #error ppc64 darn instruction not supported [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-ppc64-darn.c:22:2: error: #error ppc64 darn instruction not supported [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-ppc64-dcbst.c:22:0: error: #error ppc64 dcbst instruction not supported [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-ppc64-dcbst.c:22:2: error: #error ppc64 dcbst instruction not supported [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-ppc64-dcbt.c:20:0: error: #error ppc64 dcbt instruction not supported [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-ppc64-dcbt.c:20:2: error: #error ppc64 dcbt instruction not supported [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-ppc64-dcbtst.c:20:0: error: #error ppc64 dcbtst instruction not supported [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-ppc64-dcbtst.c:20:2: error: #error ppc64 dcbtst instruction not supported [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-ppc64-icbi.c:22:0: error: #error ppc64 icbi instruction not supported [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-ppc64-icbi.c:22:2: error: #error ppc64 icbi instruction not supported [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-ppc64-msync.c:21:0: error: #error ppc64 msync instruction not supported [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-ppc64-msync.c:21:2: error: #error ppc64 msync instruction not supported [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-ppc64-tlbie.c:22:0: error: #error ppc64 tlbie instruction not supported [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-ppc64-tlbie.c:22:2: error: #error ppc64 tlbie instruction not supported [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-riscv-cbo_zero.c:82:0: error: #error not RISC-V so no cbo.zero instruction [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-riscv-cbo_zero.c:82:2: error: #error not RISC-V so no cbo.zero instruction [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-riscv-fence.c:29:0: error: #error not RISC-V so no fence instruction [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-riscv-fence.c:29:2: error: #error not RISC-V so no fence instruction [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-riscv-fence_i.c:29:0: error: #error not RISC-V so no fence instruction [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-riscv-fence_i.c:29:2: error: #error not RISC-V so no fence instruction [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-s390-ptlb.c:28:0: error: #error not S390 so no ptlb instruction [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-s390-ptlb.c:28:2: error: #error not S390 so no ptlb instruction [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-riscv-sfence-vma.c:29:0: error: #error not RISC-V so no fence instruction [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-riscv-sfence-vma.c:29:2: error: #error not RISC-V so no fence instruction [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-sh4-rte.c:28:0: error: #error not SH4 so no rte instruction [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-sh4-rte.c:28:2: error: #error not SH4 so no rte instruction [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-sh4-sleep.c:28:0: error: #error not SH4 so no sleep instruction [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-sh4-sleep.c:28:2: error: #error not SH4 so no sleep instruction [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-sparc-membar.c:30:0: error: #error not SPARC so no rdpr instruction [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-sparc-membar.c:30:2: error: #error not SPARC so no rdpr instruction [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-sparc-rdpr.c:32:0: error: #error not SPARC so no rdpr instruction [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-sparc-rdpr.c:32:2: error: #error not SPARC so no rdpr instruction [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-sparc-tick.c:34:0: error: #error not SPARC so no tick instruction [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-sparc-tick.c:34:2: error: #error not SPARC so no tick instruction [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-x86-clts.c:30:0: error: #error x86 clts instruction not supported [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-x86-clts.c:30:2: error: #error x86 clts instruction not supported [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-x86-hlt.c:30:0: error: #error x86 hlt instruction not supported [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-x86-hlt.c:30:2: error: #error x86 hlt instruction not supported [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-x86-invd.c:30:0: error: #error x86 invd instruction not supported [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-x86-invd.c:30:2: error: #error x86 invd instruction not supported [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-x86-invlpg.c:32:0: error: #error x86 invlpg instruction not supported [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-x86-invlpg.c:32:2: error: #error x86 invlpg instruction not supported [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-x86-lahf.c:36:0: error: #error x86 lahf instruction not supported [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-x86-lahf.c:36:2: error: #error x86 lahf instruction not supported [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-x86-cldemote.c:20:35: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] stress-ng-0.19.04/test/test-asm-x86-lfence.c:30:0: error: #error not an x86 so no mfence instruction [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-x86-lfence.c:30:2: error: #error not an x86 so no mfence instruction [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-x86-lgdt.c:32:0: error: #error x86 lgdt instruction not supported [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-x86-lgdt.c:32:2: error: #error x86 lgdt instruction not supported [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-x86-lldt.c:33:0: error: #error x86 lldt instruction not supported [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-x86-lldt.c:33:2: error: #error x86 lldt instruction not supported [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-x86-lmsw.c:33:0: error: #error x86 lmsr instruction not supported [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-x86-lmsw.c:33:2: error: #error x86 lmsr instruction not supported [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-x86-mov-cr0.c:33:0: error: #error x86 mov cr0 instruction not supported [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-x86-mfence.c:30:0: error: #error not an x86 so no mfence instruction [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-x86-mov-cr0.c:33:2: error: #error x86 mov cr0 instruction not supported [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-x86-mfence.c:30:2: error: #error not an x86 so no mfence instruction [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-x86-mov-dr0.c:33:0: error: #error x86 mov cr0 instruction not supported [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-x86-mov-dr0.c:33:2: error: #error x86 mov cr0 instruction not supported [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-x86-clflushopt.c:20:37: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] stress-ng-0.19.04/test/test-asm-x86-pause.c:31:0: error: #error not an x86 so no pause instruction [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-x86-pause.c:31:2: error: #error not an x86 so no pause instruction [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-x86-clflush.c:20:34: style: Parameter 'ptr' can be declared as pointer to const [constParameterPointer] stress-ng-0.19.04/test/test-asm-x86-rdmsr.c:35:0: error: #error x86 rdmsr instruction not supported [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-x86-rdmsr.c:35:2: error: #error x86 rdmsr instruction not supported [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-x86-rdpmc.c:31:0: error: #error x86 rdpmc instruction not supported [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-x86-rdpmc.c:31:2: error: #error x86 rdpmc instruction not supported [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-x86-clwb.c:20:31: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] stress-ng-0.19.04/test/test-asm-x86-rdrand.c:41:0: error: #error not an x86 so no rdrand instruction [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-x86-rdrand.c:41:2: error: #error not an x86 so no rdrand instruction [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-x86-rdseed.c:40:0: error: #error not an x86 so no rdseed instruction [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-x86-rdseed.c:40:2: error: #error not an x86 so no rdseed instruction [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-x86-rdtsc.c:38:0: error: #error not an x86 so no rdtsc instruction [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-x86-rdtsc.c:38:2: error: #error not an x86 so no rdtsc instruction [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-x86-rdtscp.c:34:0: error: #error not an x86 so no rdtsc instruction [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-x86-rdtscp.c:34:2: error: #error not an x86 so no rdtsc instruction [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-x86-rep-stosb.c:43:0: error: #error not an x86 so no rep stosb instruction [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-x86-rep-stosb.c:43:2: error: #error not an x86 so no rep stosb instruction [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-x86-rep-stosq.c:43:0: error: #error not an x86 so no rep stosq instruction [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-x86-rep-stosd.c:43:0: error: #error not an x86 so no rep stosd instruction [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-x86-rep-stosq.c:43:2: error: #error not an x86 so no rep stosq instruction [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-x86-rep-stosd.c:43:2: error: #error not an x86 so no rep stosd instruction [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-x86-rep-stosw.c:44:0: error: #error not an x86 so no rep stosw instruction [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-x86-rep-stosw.c:44:2: error: #error not an x86 so no rep stosw instruction [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-x86-serialize.c:28:0: error: #error not an x86 so no tpause instruction [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-x86-serialize.c:28:2: error: #error not an x86 so no tpause instruction [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-x86-sfence.c:30:0: error: #error not an x86 so no sfence instruction [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-x86-sfence.c:30:2: error: #error not an x86 so no sfence instruction [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-x86-tpause.c:32:0: error: #error not an x86 so no tpause instruction [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-x86-wbinvd.c:29:0: error: #error x86 wbinvd instruction not supported [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-x86-tpause.c:32:2: error: #error not an x86 so no tpause instruction [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-x86-wbinvd.c:29:2: error: #error x86 wbinvd instruction not supported [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-x86-wrmsr.c:34:0: error: #error x86 wrmsr instruction not supported [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-x86-wrmsr.c:34:2: error: #error x86 wrmsr instruction not supported [preprocessorErrorDirective] stress-ng-0.19.04/test/test-asm-x86-movdiri.c:21:44: style: Parameter 'ptr' can be declared as pointer to const [constParameterPointer] stress-ng-0.19.04/test/test-asm-x86-prefetcht0.c:20:37: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] stress-ng-0.19.04/test/test-asm-x86-prefetchnta.c:20:38: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] stress-ng-0.19.04/test/test-atomic_load_double.c:23:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __ATOMIC_CONSUME [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/test/test-asm-x86-prefetcht1.c:20:37: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] stress-ng-0.19.04/test/test-asm-x86-prefetcht2.c:20:37: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] stress-ng-0.19.04/test/test-atomic_store_double.c:23:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __ATOMIC_RELEASE [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/test/test-asm-x86-prefetchw.c:20:36: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] stress-ng-0.19.04/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.04/test/test-asm-x86-prefetchwt1.c:20:38: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] stress-ng-0.19.04/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.04/test/test-backtrace.c:32:29: note: Assuming allocation function fails stress-ng-0.19.04/test/test-backtrace.c:32:29: note: Assignment 'strings=backtrace_symbols(buffer,n_ptrs)', assigned value is 0 stress-ng-0.19.04/test/test-backtrace.c:35:18: note: Null pointer dereference stress-ng-0.19.04/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.04/test/test-attr-returns-nonnull.c:34:10: note: You might need to cast the function pointer here stress-ng-0.19.04/test/test-attr-returns-nonnull.c:27:41: note: Parameter 'dst' can be declared as pointer to const stress-ng-0.19.04/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.04/test/test-attr-returns-nonnull.c:34:10: note: You might need to cast the function pointer here stress-ng-0.19.04/test/test-attr-returns-nonnull.c:27:52: note: Parameter 'src' can be declared as pointer to const stress-ng-0.19.04/test/test-cap.c:30:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _LINUX_CAPABILITY_VERSION_3 [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/test/test-bsearch.c:39:8: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] stress-ng-0.19.04/test/test-cdrom_tochdr.c:30:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cdrom_tochdr [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/test/test-cfgetispeed.c:27:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/test/test-cfgetospeed.c:27:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/test/test-clock-adjtime.c:38:0: error: #error no POSIX clock types CLOCK_REALTIME or CLOCK_MONOTONIC [preprocessorErrorDirective] stress-ng-0.19.04/test/test-clock-adjtime.c:38:2: error: #error no POSIX clock types CLOCK_REALTIME or CLOCK_MONOTONIC [preprocessorErrorDirective] stress-ng-0.19.04/test/test-clock-getres.c:34:0: error: #error no POSIX clock types CLOCK_REALTIME or CLOCK_MONOTONIC [preprocessorErrorDirective] stress-ng-0.19.04/test/test-clock-getres.c:34:2: error: #error no POSIX clock types CLOCK_REALTIME or CLOCK_MONOTONIC [preprocessorErrorDirective] stress-ng-0.19.04/test/test-clock-gettime.c:34:0: error: #error no POSIX clock types CLOCK_REALTIME or CLOCK_MONOTONIC [preprocessorErrorDirective] stress-ng-0.19.04/test/test-clock-gettime.c:34:2: error: #error no POSIX clock types CLOCK_REALTIME or CLOCK_MONOTONIC [preprocessorErrorDirective] stress-ng-0.19.04/test/test-clock-nanosleep.c:35:0: error: #error no POSIX clock types CLOCK_REALTIME or CLOCK_MONOTONIC [preprocessorErrorDirective] stress-ng-0.19.04/test/test-clock-nanosleep.c:35:2: error: #error no POSIX clock types CLOCK_REALTIME or CLOCK_MONOTONIC [preprocessorErrorDirective] stress-ng-0.19.04/test/test-clock-settime.c:34:0: error: #error no POSIX clock types CLOCK_REALTIME or CLOCK_MONOTONIC [preprocessorErrorDirective] stress-ng-0.19.04/test/test-clock-settime.c:34:2: error: #error no POSIX clock types CLOCK_REALTIME or CLOCK_MONOTONIC [preprocessorErrorDirective] stress-ng-0.19.04/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.04/test/test-dup3.c:33:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/test/test-execveat.c:34:0: error: #error no execveat [preprocessorErrorDirective] stress-ng-0.19.04/test/test-execveat.c:34:2: error: #error no execveat [preprocessorErrorDirective] stress-ng-0.19.04/test/test-faccessat.c:27:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AT_FDCWD [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/test/test-faccessat2.c:27:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AT_FDCWD [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/test/test-fanotify.c:22:0: error: #error requires linux to build [preprocessorErrorDirective] stress-ng-0.19.04/test/test-fanotify.c:22:2: error: #error requires linux to build [preprocessorErrorDirective] stress-ng-0.19.04/test/test-fdatasync.c:31:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/test/test-builtin-prefetch.c:23:7: style: Variable 'data' can be declared as const array [constVariable] stress-ng-0.19.04/test/test-fexecve.c:34:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/test/test-finit-module.c:32:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/test/test-flock.c:26:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LOCK_EX [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/test/test-fstat.c:31:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/test/test-fstatat.c:29:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AT_FDCWD [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/test/test-builtin-thread-pointer.c:22:8: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] stress-ng-0.19.04/test/test-fsync.c:31:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/test/test-futimens.c:28:0: error: #error futimens missing UTIME_NOW [preprocessorErrorDirective] stress-ng-0.19.04/test/test-futimens.c:28:2: error: #error futimens missing UTIME_NOW [preprocessorErrorDirective] stress-ng-0.19.04/test/test-futimes.c:32:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/test/test-futimesat.c:33:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/test/test-getitimer.c:30:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ITIMER_REAL [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/test/test-getpgrp.c:36:0: error: #error need glib 2.19.0 or higher [preprocessorErrorDirective] stress-ng-0.19.04/test/test-getpgrp.c:36:2: error: #error need glib 2.19.0 or higher [preprocessorErrorDirective] stress-ng-0.19.04/test/test-getpriority.c:26:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIO_USER [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/test/test-getrusage.c:28:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RUSAGE_SELF [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/test/test-getxattrat.c:32:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AT_FDCWD [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/test/test-hsearch.c:32:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENTER [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/test/test-icc-mm_stream_si128.c:37:0: error: #error need ICC to build successfully [preprocessorErrorDirective] stress-ng-0.19.04/test/test-icc-mm_stream_si128.c:37:2: error: #error need ICC to build successfully [preprocessorErrorDirective] stress-ng-0.19.04/test/test-icc-mm_stream_si32.c:35:0: error: #error need ICC to build successfully [preprocessorErrorDirective] stress-ng-0.19.04/test/test-crypt-r.c:28:8: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer] stress-ng-0.19.04/test/test-icc-mm_stream_si32.c:35:2: error: #error need ICC to build successfully [preprocessorErrorDirective] stress-ng-0.19.04/test/test-icc-mm_stream_si64.c:36:0: error: #error need ICC to build successfully [preprocessorErrorDirective] stress-ng-0.19.04/test/test-icc-mm_stream_si64.c:36:2: error: #error need ICC to build successfully [preprocessorErrorDirective] stress-ng-0.19.04/test/test-icmphdr.c:32:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable iphdr [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/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.04/test/test-inotify.c:23:0: error: #error requires linux to build [preprocessorErrorDirective] stress-ng-0.19.04/test/test-inotify.c:23:2: error: #error requires linux to build [preprocessorErrorDirective] stress-ng-0.19.04/test/test-int128_t.c:30:0: error: #error need GCC 4.0 or above [preprocessorErrorDirective] stress-ng-0.19.04/test/test-int128_t.c:30:2: error: #error need GCC 4.0 or above [preprocessorErrorDirective] stress-ng-0.19.04/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.04/test/test-iphdr.c:28:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable iphdr [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/test/test-judy.c:33:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PJERR [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/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.04/test/test-libdl.c:27:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBM_SO [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/test/test-libjpeg.c:38:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/test/test-liblzma.c:26:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LZMA_CONCATENATED [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/test/test-libmd.c:26:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHA256_DIGEST_LENGTH [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/test/test-libmpfr.c:31:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MPFR_RNDD [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/test/test-libsctp.c:33:0: error: #error no SOL_SCTP [preprocessorErrorDirective] stress-ng-0.19.04/test/test-libsctp.c:33:2: error: #error no SOL_SCTP [preprocessorErrorDirective] stress-ng-0.19.04/test/test-libz.c:26:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Z_DEFAULT_COMPRESSION [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/test/test-hsearch.c:30:11: portability: Casting non-zero decimal integer literal to pointer. [intToPointerCast] stress-ng-0.19.04/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.04/test/test-getexecname.c:25:8: style: Variable 'name' can be declared as pointer to const [constVariablePointer] stress-ng-0.19.04/test/test-listxattrat.c:29:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AT_FDCWD [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/test/test-lockf.c:30:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/test/test-lookup-dcookie.c:26:0: error: #error __NR_lookup_dcookie syscall not defined [preprocessorErrorDirective] stress-ng-0.19.04/test/test-lookup-dcookie.c:26:2: error: #error __NR_lookup_dcookie syscall not defined [preprocessorErrorDirective] stress-ng-0.19.04/test/test-getmntent.c:27:17: style: Variable 'mount' can be declared as pointer to const [constVariablePointer] stress-ng-0.19.04/test/test-lseek64.c:30:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/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.04/test/test-getpwent.c:26:17: style: Variable 'pw' can be declared as pointer to const [constVariablePointer] stress-ng-0.19.04/test/test-madvise.c:79:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MADV_NORMAL [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/test/test-mallopt.c:25:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable M_MMAP_THRESHOLD [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/test/test-mathfunc.c:32:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MATHFUNC [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/test/test-membarrier.c:23:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MEMBARRIER_CMD_GLOBAL [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/test/test-mkdirat.c:28:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AT_FDCWD [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/test/test-mknodat.c:33:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AT_FDCWD [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/test/test-mlock2.c:32:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MLOCK_ONFAULT [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/test/test-mlockall.c:26:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MCL_CURRENT [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/test/test-modify-ldt.c:29:0: error: #error modify_ldt syscall not defined [preprocessorErrorDirective] stress-ng-0.19.04/test/test-modify-ldt.c:29:2: error: #error modify_ldt syscall not defined [preprocessorErrorDirective] stress-ng-0.19.04/test/test-mprotect.c:31:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/test/test-mq-posix.c:68:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CREAT [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/test/test-mq-sysv.c:58:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable S_IWUSR [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/test/test-mremap.c:32:4: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MREMAP_FIXED [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/test/test-int_fast16_t.c:24:28: style: Variable 'uif16' is assigned a value that is never used. [unreadVariable] stress-ng-0.19.04/test/test-int_fast16_t.c:25:25: style: Variable 'i16' is assigned a value that is never used. [unreadVariable] stress-ng-0.19.04/test/test-int_fast32_t.c:24:28: style: Variable 'uif32' is assigned a value that is never used. [unreadVariable] stress-ng-0.19.04/test/test-mseal.c:26:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/test/test-int_fast16_t.c:24:22: style: Variable 'uif16' is assigned a value that is never used. [unreadVariable] stress-ng-0.19.04/test/test-int_fast32_t.c:25:25: style: Variable 'i32' is assigned a value that is never used. [unreadVariable] stress-ng-0.19.04/test/test-int_fast64_t.c:24:28: style: Variable 'uif64' is assigned a value that is never used. [unreadVariable] stress-ng-0.19.04/test/test-int_fast16_t.c:25:21: style: Variable 'i16' is assigned a value that is never used. [unreadVariable] stress-ng-0.19.04/test/test-int_fast32_t.c:24:22: style: Variable 'uif32' is assigned a value that is never used. [unreadVariable] stress-ng-0.19.04/test/test-int_fast64_t.c:25:25: style: Variable 'i64' is assigned a value that is never used. [unreadVariable] stress-ng-0.19.04/test/test-int_fast8_t.c:24:26: style: Variable 'uif8' is assigned a value that is never used. [unreadVariable] stress-ng-0.19.04/test/test-msync.c:42:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/test/test-int_fast32_t.c:25:21: style: Variable 'i32' is assigned a value that is never used. [unreadVariable] stress-ng-0.19.04/test/test-int_fast64_t.c:24:22: style: Variable 'uif64' is assigned a value that is never used. [unreadVariable] stress-ng-0.19.04/test/test-int_fast8_t.c:25:23: style: Variable 'i8' is assigned a value that is never used. [unreadVariable] stress-ng-0.19.04/test/test-int_fast64_t.c:25:21: style: Variable 'i64' is assigned a value that is never used. [unreadVariable] stress-ng-0.19.04/test/test-int_fast8_t.c:24:21: style: Variable 'uif8' is assigned a value that is never used. [unreadVariable] stress-ng-0.19.04/test/test-int_fast8_t.c:25:20: style: Variable 'i8' is assigned a value that is never used. [unreadVariable] stress-ng-0.19.04/test/test-mtx-init.c:30:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mtx_plain [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/test/test-openat.c:28:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AT_FDCWD [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/test/test-openat2.c:33:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/test/test-pidfd-getfd.c:23:0: error: failed to evaluate #if condition, undefined function-like macro invocation: __has_include( ... ) [preprocessorErrorDirective] stress-ng-0.19.04/test/test-pidfd-getfd.c:23:2: error: failed to evaluate #if condition, undefined function-like macro invocation: __has_include( ... ) [preprocessorErrorDirective] stress-ng-0.19.04/test/test-pidfd-send-signal.c:26:0: error: #error __NR_pidfd_send_signal not defined [preprocessorErrorDirective] stress-ng-0.19.04/test/test-pidfd-send-signal.c:26:2: error: #error __NR_pidfd_send_signal not defined [preprocessorErrorDirective] stress-ng-0.19.04/test/test-pkey-mprotect.c:29:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_NONE [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/test/test-poll.c:31:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fd [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/test/test-posix-fadvise.c:72:0: error: #error no POSIX_FADV advice macros defined! [preprocessorErrorDirective] stress-ng-0.19.04/test/test-posix-fadvise.c:72:2: error: #error no POSIX_FADV advice macros defined! [preprocessorErrorDirective] stress-ng-0.19.04/test/test-posix-fallocate.c:29:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/test/test-liblzma.c:26:6: style: Variable 'ret' is assigned a value that is never used. [unreadVariable] stress-ng-0.19.04/test/test-posix-madvise.c:53:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POSIX_MADV_NORMAL [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/test/test-ppoll.c:34:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fd [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/test/test-pread.c:31:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/test/test-preadv.c:36:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/test/test-preadv2.c:36:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/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.04/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.04/test/test-msync.c:51:12: note: Assuming allocation function fails stress-ng-0.19.04/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.04/test/test-msync.c:63:15: note: Null pointer dereference stress-ng-0.19.04/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.04/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.04/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.04/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.04/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.04/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.04/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.04/test/test-ptrace.c:34:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTRACE_SYSCALL [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/test/test-pwrite.c:31:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/test/test-pwritev.c:34:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/test/test-pwritev2.c:34:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/test/test-readlinkat.c:29:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AT_FDCWD [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/test/test-readv.c:35:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/test/test-recvmmsg.c:48:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/test/test-recvmsg.c:45:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/test/test-regcomp.c:26:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NEWLINE [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/test/test-regerror.c:31:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NEWLINE [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/test/test-regexec.c:27:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NEWLINE [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/test/test-regfree.c:26:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable REG_NEWLINE [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/test/test-remap-file-pages.c:26:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAP_SHARED [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/test/test-removexattrat.c:30:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AT_FDCWD [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/test/test-renameat.c:31:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AT_FDCWD [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/test/test-renameat2.c:31:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AT_FDCWD [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/test/test-rfork.c:27:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RFPROC [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/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.04/test/test-nanosleep.c:30:13: style: Variable 'rem.tv_sec' is assigned a value that is never used. [unreadVariable] stress-ng-0.19.04/test/test-nanosleep.c:31:14: style: Variable 'rem.tv_nsec' is assigned a value that is never used. [unreadVariable] stress-ng-0.19.04/test/test-pragma-prefetch.c:25:45: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] stress-ng-0.19.04/test/test-pragma-prefetch.c:37:47: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] stress-ng-0.19.04/test/test-sem-sysv.c:58:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPC_CREAT [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/test/test-sendmsg.c:44:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/test/test-sendmmsg.c:47:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/test/test-setitimer.c:31:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ITIMER_REAL [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/test/test-setns.c:33:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/test/test-setpriority.c:26:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIO_USER [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/test/test-setxattrat.c:30:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AT_FDCWD [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/test/test-shm-open.c:30:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/test/test-shm-sysv.c:43:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable IPC_CREAT [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/test/test-sock-diag.c:59:0: error: #error sock_diag not supported [preprocessorErrorDirective] stress-ng-0.19.04/test/test-sock-diag.c:59:2: error: #error sock_diag not supported [preprocessorErrorDirective] stress-ng-0.19.04/test/test-syncfs.c:36:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/test/test-target-clones.c:56:0: error: #error target clones attribute not supported [preprocessorErrorDirective] stress-ng-0.19.04/test/test-target-clones.c:56:2: error: #error target clones attribute not supported [preprocessorErrorDirective] stress-ng-0.19.04/test/test-recvmsg.c:53:17: style: Variable 'timeout.tv_sec' is assigned a value that is never used. [unreadVariable] stress-ng-0.19.04/test/test-recvmsg.c:54:18: style: Variable 'timeout.tv_nsec' is assigned a value that is never used. [unreadVariable] stress-ng-0.19.04/test/test-timer-create.c:40:0: error: #error no POSIX clock types CLOCK_REALTIME or CLOCK_MONOTONIC [preprocessorErrorDirective] stress-ng-0.19.04/test/test-timer-create.c:40:2: error: #error no POSIX clock types CLOCK_REALTIME or CLOCK_MONOTONIC [preprocessorErrorDirective] stress-ng-0.19.04/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.04/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.04/test/test-timerfd-create.c:32:0: error: #error no POSIX clock types CLOCK_REALTIME or CLOCK_MONOTONIC [preprocessorErrorDirective] stress-ng-0.19.04/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.04/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.04/test/test-timerfd-create.c:32:2: error: #error no POSIX clock types CLOCK_REALTIME or CLOCK_MONOTONIC [preprocessorErrorDirective] stress-ng-0.19.04/test/test-unlinkat.c:27:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AT_FDCWD [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/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.04/test/test-setmntent.c:25:8: style: Variable 'fp' can be declared as pointer to const [constVariablePointer] stress-ng-0.19.04/test/test-utimes.c:27:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tv_sec [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/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.04/test/test-shm-sysv.c:33:8: style: Variable 'addr' can be declared as pointer to const [constVariablePointer] stress-ng-0.19.04/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.04/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.04/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.04/test/test-utime.c:29:9: style: Obsolescent function 'utime' called. It is recommended to use 'utimensat' instead. [prohibitedutimeCalled] stress-ng-0.19.04/test/test-utimes.c:33:9: style: Obsolescent function 'utimes' called. It is recommended to use 'utimensat' instead. [prohibitedutimesCalled] stress-ng-0.19.04/test/test-writev.c:35:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] stress-ng-0.19.04/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.04/test/test-vfork.c:27:8: style: Obsolescent function 'vfork' called. It is recommended to use 'fork' instead. [prohibitedvforkCalled] stress-ng-0.19.04/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.04/test/test-sync_val_compare_and_swap.c:23:6: style: Variable 'var' is assigned a value that is never used. [unreadVariable] diff: 2.18.0 stress-ng-0.19.04/test/test-pidfd-getfd.c:23:0: error: failed to evaluate #if condition, division/modulo by zero [preprocessorErrorDirective] head stress-ng-0.19.04/test/test-pidfd-getfd.c:23:0: error: failed to evaluate #if condition, undefined function-like macro invocation: __has_include( ... ) [preprocessorErrorDirective] 2.18.0 stress-ng-0.19.04/test/test-pidfd-getfd.c:23:2: error: failed to evaluate #if condition, division/modulo by zero [preprocessorErrorDirective] head stress-ng-0.19.04/test/test-pidfd-getfd.c:23:2: error: failed to evaluate #if condition, undefined function-like macro invocation: __has_include( ... ) [preprocessorErrorDirective] DONE