2025-10-17 18:15 ftp://ftp.de.debian.org/debian/pool/main/libn/libnbd/libnbd_1.22.3.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=gtk --library=bsd --library=python --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 -j8 platform: Linux-6.16.9+deb14-amd64-x86_64-with-glibc2.41 python: 3.13.9 client-version: 1.3.69 compiler: g++ (Debian 15.2.0-4) 15.2.0 cppcheck: head 2.18.0 head-info: a4faec0a (2025-10-17 18:49:01 +0200) count: 1214 1199 elapsed-time: 30.5 1.6 head-timing-info: old-timing-info: head results: libnbd-1.22.3/common/include/ispowerof2.h:59:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZEOF_LONG [valueFlowBailoutIncompleteVar] libnbd-1.22.3/common/include/test-isaligned.c:50:13: warning: Assert statement calls a function which may have desired side effects: 'assert'. [assertWithSideEffect] libnbd-1.22.3/common/include/test-isaligned.c:51:13: warning: Assert statement calls a function which may have desired side effects: 'assert'. [assertWithSideEffect] libnbd-1.22.3/common/include/test-isaligned.c:52:13: warning: Assert statement calls a function which may have desired side effects: 'assert'. [assertWithSideEffect] libnbd-1.22.3/common/include/test-isaligned.c:53:13: warning: Assert statement calls a function which may have desired side effects: 'assert'. [assertWithSideEffect] libnbd-1.22.3/common/include/test-isaligned.c:54:13: warning: Assert statement calls a function which may have desired side effects: 'assert'. [assertWithSideEffect] libnbd-1.22.3/common/include/test-isaligned.c:56:17: warning: Assert statement calls a function which may have desired side effects: 'assert'. [assertWithSideEffect] libnbd-1.22.3/common/include/test-isaligned.c:57:17: warning: Assert statement calls a function which may have desired side effects: 'assert'. [assertWithSideEffect] libnbd-1.22.3/common/include/test-array-size.c:43:25: style: struct member 'st::s' is never used. [unusedStructMember] libnbd-1.22.3/common/include/test-array-size.c:43:32: style: struct member 'st::i' is never used. [unusedStructMember] libnbd-1.22.3/common/include/human-size.h:60:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] libnbd-1.22.3/common/include/human-size.h:183:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] libnbd-1.22.3/common/include/test-human-size.c:60:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/common/include/test-human-size.c:85:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] libnbd-1.22.3/common/include/iszero.h:57:12: style: Condition 'size!=limit' is always true [knownConditionTrueFalse] libnbd-1.22.3/common/include/iszero.h:52:22: note: limit is assigned 'size<16?size:16' here. libnbd-1.22.3/common/include/iszero.h:55:15: note: Assuming condition is false libnbd-1.22.3/common/include/iszero.h:57:12: note: Condition 'size!=limit' is always true libnbd-1.22.3/common/utils/device-size.c:104:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] libnbd-1.22.3/common/utils/device-size.c:164:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] libnbd-1.22.3/common/utils/device-size.c:212:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] libnbd-1.22.3/common/utils/vector.c:147:0: error: #error "this platform does not have posix_memalign or valloc" [preprocessorErrorDirective] libnbd-1.22.3/common/utils/vector.c:147:2: error: #error "this platform does not have posix_memalign or valloc" [preprocessorErrorDirective] libnbd-1.22.3/common/utils/device-size.c:83:41: style:inconclusive: Function 'device_size' argument 2 names different: declaration 'statbuf' definition 'statbuf_from_caller'. [funcArgNamesDifferent] libnbd-1.22.3/common/utils/device-size.h:25:56: note: Function 'device_size' argument 2 names different: declaration 'statbuf' definition 'statbuf_from_caller'. libnbd-1.22.3/common/utils/device-size.c:83:41: note: Function 'device_size' argument 2 names different: declaration 'statbuf' definition 'statbuf_from_caller'. libnbd-1.22.3/common/include/test-human-size.c:133:23: style: Parameter 'argv' can be declared as const array [constParameter] libnbd-1.22.3/common/utils/version.c:35:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_VERSION [valueFlowBailoutIncompleteVar] libnbd-1.22.3/copy/null-ops.c:60:24: style: Parameter 'rw' can be declared as pointer to const. However it seems that 'null_flush' is a callback function, if 'rw' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libnbd-1.22.3/copy/null-ops.c:158:12: note: You might need to cast the function pointer here libnbd-1.22.3/copy/null-ops.c:60:24: note: Parameter 'rw' can be declared as pointer to const libnbd-1.22.3/copy/null-ops.c:66:31: style: Parameter 'rw' can be declared as pointer to const. However it seems that 'null_is_read_only' is a callback function, if 'rw' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libnbd-1.22.3/copy/null-ops.c:154:19: note: You might need to cast the function pointer here libnbd-1.22.3/copy/null-ops.c:66:31: note: Parameter 'rw' can be declared as pointer to const libnbd-1.22.3/copy/null-ops.c:72:30: style: Parameter 'rw' can be declared as pointer to const. However it seems that 'null_can_extents' is a callback function, if 'rw' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libnbd-1.22.3/copy/null-ops.c:155:18: note: You might need to cast the function pointer here libnbd-1.22.3/copy/null-ops.c:72:30: note: Parameter 'rw' can be declared as pointer to const libnbd-1.22.3/copy/null-ops.c:78:33: style: Parameter 'rw' can be declared as pointer to const. However it seems that 'null_can_multi_conn' is a callback function, if 'rw' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libnbd-1.22.3/copy/null-ops.c:156:21: note: You might need to cast the function pointer here libnbd-1.22.3/copy/null-ops.c:78:33: note: Parameter 'rw' can be declared as pointer to const libnbd-1.22.3/copy/null-ops.c:84:35: style: Parameter 'rw' can be declared as pointer to const. However it seems that 'null_start_multi_conn' is a callback function, if 'rw' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libnbd-1.22.3/copy/null-ops.c:157:23: note: You might need to cast the function pointer here libnbd-1.22.3/copy/null-ops.c:84:35: note: Parameter 'rw' can be declared as pointer to const libnbd-1.22.3/copy/null-ops.c:90:29: style: Parameter 'rw' can be declared as pointer to const. However it seems that 'null_synch_read' is a callback function, if 'rw' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libnbd-1.22.3/copy/null-ops.c:159:17: note: You might need to cast the function pointer here libnbd-1.22.3/copy/null-ops.c:90:29: note: Parameter 'rw' can be declared as pointer to const libnbd-1.22.3/copy/null-ops.c:91:24: style: Parameter 'data' can be declared as pointer to const. However it seems that 'null_synch_read' is a callback function, if 'data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libnbd-1.22.3/copy/null-ops.c:159:17: note: You might need to cast the function pointer here libnbd-1.22.3/copy/null-ops.c:91:24: note: Parameter 'data' can be declared as pointer to const libnbd-1.22.3/copy/null-ops.c:97:30: style: Parameter 'rw' can be declared as pointer to const. However it seems that 'null_synch_write' is a callback function, if 'rw' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libnbd-1.22.3/copy/null-ops.c:160:18: note: You might need to cast the function pointer here libnbd-1.22.3/copy/null-ops.c:97:30: note: Parameter 'rw' can be declared as pointer to const libnbd-1.22.3/copy/null-ops.c:104:29: style: Parameter 'rw' can be declared as pointer to const. However it seems that 'null_synch_zero' is a callback function, if 'rw' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libnbd-1.22.3/copy/null-ops.c:161:17: note: You might need to cast the function pointer here libnbd-1.22.3/copy/null-ops.c:104:29: note: Parameter 'rw' can be declared as pointer to const libnbd-1.22.3/copy/null-ops.c:110:30: style: Parameter 'rw' can be declared as pointer to const. However it seems that 'null_asynch_read' is a callback function, if 'rw' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libnbd-1.22.3/copy/null-ops.c:162:18: note: You might need to cast the function pointer here libnbd-1.22.3/copy/null-ops.c:110:30: note: Parameter 'rw' can be declared as pointer to const libnbd-1.22.3/copy/null-ops.c:111:35: style: Parameter 'command' can be declared as pointer to const. However it seems that 'null_asynch_read' is a callback function, if 'command' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libnbd-1.22.3/copy/null-ops.c:162:18: note: You might need to cast the function pointer here libnbd-1.22.3/copy/null-ops.c:111:35: note: Parameter 'command' can be declared as pointer to const libnbd-1.22.3/copy/null-ops.c:138:28: style: Parameter 'rw' can be declared as pointer to const. However it seems that 'null_in_flight' is a callback function, if 'rw' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libnbd-1.22.3/copy/null-ops.c:165:16: note: You might need to cast the function pointer here libnbd-1.22.3/copy/null-ops.c:138:28: note: Parameter 'rw' can be declared as pointer to const libnbd-1.22.3/copy/null-ops.c:144:30: style: Parameter 'rw' can be declared as pointer to const. However it seems that 'null_get_extents' is a callback function, if 'rw' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libnbd-1.22.3/copy/null-ops.c:169:18: note: You might need to cast the function pointer here libnbd-1.22.3/copy/null-ops.c:144:30: note: Parameter 'rw' can be declared as pointer to const libnbd-1.22.3/copy/null-ops.c:146:32: style: Parameter 'ret' can be declared as pointer to const. However it seems that 'null_get_extents' is a callback function, if 'ret' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libnbd-1.22.3/copy/null-ops.c:169:18: note: You might need to cast the function pointer here libnbd-1.22.3/copy/null-ops.c:146:32: note: Parameter 'ret' can be declared as pointer to const libnbd-1.22.3/copy/file-ops.c:371:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/copy/file-ops.c:398:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/copy/main.c:161:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] libnbd-1.22.3/copy/file-ops.c:519:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOTSUP [valueFlowBailoutIncompleteVar] libnbd-1.22.3/copy/main.c:505:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/copy/file-ops.c:753:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTHREAD_MUTEX_INITIALIZER [valueFlowBailoutIncompleteVar] libnbd-1.22.3/copy/main.c:531:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/copy/main.c:579:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HUMAN_SIZE_LONGEST [valueFlowBailoutIncompleteVar] libnbd-1.22.3/copy/main.c:617:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBNBD_AIO_DIRECTION_READ [valueFlowBailoutIncompleteVar] libnbd-1.22.3/copy/nbd-ops.c:62:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/copy/nbd-ops.c:152:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CREATE_URI [valueFlowBailoutIncompleteVar] libnbd-1.22.3/copy/nbd-ops.c:170:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CREATE_SUBPROCESS [valueFlowBailoutIncompleteVar] libnbd-1.22.3/copy/nbd-ops.c:198:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/copy/nbd-ops.c:217:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/copy/nbd-ops.c:280:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/copy/nbd-ops.c:294:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/copy/nbd-ops.c:310:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/copy/nbd-ops.c:327:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/copy/nbd-ops.c:343:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/copy/nbd-ops.c:362:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/copy/nbd-ops.c:399:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/copy/nbd-ops.c:408:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/copy/nbd-ops.c:418:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/copy/nbd-ops.c:441:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable empty_vector [valueFlowBailoutIncompleteVar] libnbd-1.22.3/copy/nbd-ops.c:513:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable length [valueFlowBailoutIncompleteVar] libnbd-1.22.3/copy/multi-thread-copying.c:114:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] libnbd-1.22.3/copy/multi-thread-copying.c:183:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable offset [valueFlowBailoutIncompleteVar] libnbd-1.22.3/copy/multi-thread-copying.c:233:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable empty_vector [valueFlowBailoutIncompleteVar] libnbd-1.22.3/copy/multi-thread-copying.c:356:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fd [valueFlowBailoutIncompleteVar] libnbd-1.22.3/copy/multi-thread-copying.c:503:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/copy/multi-thread-copying.c:643:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable callback [valueFlowBailoutIncompleteVar] libnbd-1.22.3/copy/multi-thread-copying.c:680:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/copy/pipe-ops.c:58:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/copy/pipe-ops.c:55:19: style: Variable 'rwp' can be declared as pointer to const [constVariablePointer] libnbd-1.22.3/copy/pipe-ops.c:64:24: style: Parameter 'rw' can be declared as pointer to const. However it seems that 'pipe_flush' is a callback function, if 'rw' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libnbd-1.22.3/copy/pipe-ops.c:173:12: note: You might need to cast the function pointer here libnbd-1.22.3/copy/pipe-ops.c:64:24: note: Parameter 'rw' can be declared as pointer to const libnbd-1.22.3/copy/pipe-ops.c:72:31: style: Parameter 'rw' can be declared as pointer to const. However it seems that 'pipe_is_read_only' is a callback function, if 'rw' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libnbd-1.22.3/copy/pipe-ops.c:168:19: note: You might need to cast the function pointer here libnbd-1.22.3/copy/pipe-ops.c:72:31: note: Parameter 'rw' can be declared as pointer to const libnbd-1.22.3/copy/pipe-ops.c:78:30: style: Parameter 'rw' can be declared as pointer to const. However it seems that 'pipe_can_extents' is a callback function, if 'rw' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libnbd-1.22.3/copy/pipe-ops.c:169:18: note: You might need to cast the function pointer here libnbd-1.22.3/copy/pipe-ops.c:78:30: note: Parameter 'rw' can be declared as pointer to const libnbd-1.22.3/copy/pipe-ops.c:84:33: style: Parameter 'rw' can be declared as pointer to const. However it seems that 'pipe_can_multi_conn' is a callback function, if 'rw' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libnbd-1.22.3/copy/pipe-ops.c:170:21: note: You might need to cast the function pointer here libnbd-1.22.3/copy/pipe-ops.c:84:33: note: Parameter 'rw' can be declared as pointer to const libnbd-1.22.3/copy/pipe-ops.c:90:35: style: Parameter 'rw' can be declared as pointer to const. However it seems that 'pipe_start_multi_conn' is a callback function, if 'rw' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libnbd-1.22.3/copy/pipe-ops.c:171:23: note: You might need to cast the function pointer here libnbd-1.22.3/copy/pipe-ops.c:90:35: note: Parameter 'rw' can be declared as pointer to const libnbd-1.22.3/copy/pipe-ops.c:100:19: style: Variable 'rwp' can be declared as pointer to const [constVariablePointer] libnbd-1.22.3/copy/pipe-ops.c:115:19: style: Variable 'rwp' can be declared as pointer to const [constVariablePointer] libnbd-1.22.3/copy/pipe-ops.c:129:29: style: Parameter 'rw' can be declared as pointer to const. However it seems that 'pipe_synch_zero' is a callback function, if 'rw' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libnbd-1.22.3/copy/pipe-ops.c:177:17: note: You might need to cast the function pointer here libnbd-1.22.3/copy/pipe-ops.c:129:29: note: Parameter 'rw' can be declared as pointer to const libnbd-1.22.3/copy/pipe-ops.c:135:30: style: Parameter 'rw' can be declared as pointer to const. However it seems that 'pipe_asynch_read' is a callback function, if 'rw' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libnbd-1.22.3/copy/pipe-ops.c:185:18: note: You might need to cast the function pointer here libnbd-1.22.3/copy/pipe-ops.c:135:30: note: Parameter 'rw' can be declared as pointer to const libnbd-1.22.3/copy/pipe-ops.c:136:35: style: Parameter 'command' can be declared as pointer to const. However it seems that 'pipe_asynch_read' is a callback function, if 'command' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libnbd-1.22.3/copy/pipe-ops.c:185:18: note: You might need to cast the function pointer here libnbd-1.22.3/copy/pipe-ops.c:136:35: note: Parameter 'command' can be declared as pointer to const libnbd-1.22.3/copy/pipe-ops.c:143:31: style: Parameter 'rw' can be declared as pointer to const. However it seems that 'pipe_asynch_write' is a callback function, if 'rw' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libnbd-1.22.3/copy/pipe-ops.c:186:19: note: You might need to cast the function pointer here libnbd-1.22.3/copy/pipe-ops.c:143:31: note: Parameter 'rw' can be declared as pointer to const libnbd-1.22.3/copy/pipe-ops.c:144:36: style: Parameter 'command' can be declared as pointer to const. However it seems that 'pipe_asynch_write' is a callback function, if 'command' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libnbd-1.22.3/copy/pipe-ops.c:186:19: note: You might need to cast the function pointer here libnbd-1.22.3/copy/pipe-ops.c:144:36: note: Parameter 'command' can be declared as pointer to const libnbd-1.22.3/copy/pipe-ops.c:151:30: style: Parameter 'rw' can be declared as pointer to const. However it seems that 'pipe_asynch_zero' is a callback function, if 'rw' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libnbd-1.22.3/copy/pipe-ops.c:188:18: note: You might need to cast the function pointer here libnbd-1.22.3/copy/pipe-ops.c:151:30: note: Parameter 'rw' can be declared as pointer to const libnbd-1.22.3/copy/pipe-ops.c:151:50: style: Parameter 'command' can be declared as pointer to const. However it seems that 'pipe_asynch_zero' is a callback function, if 'command' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libnbd-1.22.3/copy/pipe-ops.c:188:18: note: You might need to cast the function pointer here libnbd-1.22.3/copy/pipe-ops.c:151:50: note: Parameter 'command' can be declared as pointer to const libnbd-1.22.3/copy/pipe-ops.c:158:28: style: Parameter 'rw' can be declared as pointer to const. However it seems that 'pipe_in_flight' is a callback function, if 'rw' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libnbd-1.22.3/copy/pipe-ops.c:189:16: note: You might need to cast the function pointer here libnbd-1.22.3/copy/pipe-ops.c:158:28: note: Parameter 'rw' can be declared as pointer to const libnbd-1.22.3/common/utils/string-vector.h:40:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _vector_contains_pointers [valueFlowBailoutIncompleteVar] libnbd-1.22.3/common/utils/test-vector.c:230:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE_MAX [valueFlowBailoutIncompleteVar] libnbd-1.22.3/copy/main.c:243:42: style: Comparing expression of type 'signed int' against value 4294967295. Condition is always true. [compareValueOutOfTypeRangeError] libnbd-1.22.3/copy/main.c:263:9: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] libnbd-1.22.3/copy/main.c:263:9: warning: %u in format string (no. 3) requires 'unsigned int' but the argument type is 'signed long'. [invalidPrintfArgType_uint] libnbd-1.22.3/copy/nbd-ops.c:501:18: style: Parameter 'error' can be declared as pointer to const. However it seems that 'add_extent' is a callback function, if 'error' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libnbd-1.22.3/copy/nbd-ops.c:456:44: note: You might need to cast the function pointer here libnbd-1.22.3/copy/nbd-ops.c:501:18: note: Parameter 'error' can be declared as pointer to const libnbd-1.22.3/copy/main.c:621:52: style: Parameter 'rw' can be declared as pointer to const [constParameterPointer] libnbd-1.22.3/copy/progress.c:70:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/copy/progress.c:96:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PTHREAD_MUTEX_INITIALIZER [valueFlowBailoutIncompleteVar] libnbd-1.22.3/copy/file-ops.c:275:23: warning: Assert statement calls a function which may have desired side effects: 'S_ISREG'. [assertWithSideEffect] libnbd-1.22.3/copy/file-ops.c:261:27: error: Invalid lseek() argument nr 3. The value is 4 but the valid values are '0:2'. [invalidFunctionArg] libnbd-1.22.3/copy/file-ops.c:766:32: error: Invalid lseek() argument nr 3. The value is 3 but the valid values are '0:2'. [invalidFunctionArg] libnbd-1.22.3/copy/file-ops.c:793:32: error: Invalid lseek() argument nr 3. The value is 4 but the valid values are '0:2'. [invalidFunctionArg] libnbd-1.22.3/copy/synch-copying.c:103:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable empty_vector [valueFlowBailoutIncompleteVar] libnbd-1.22.3/copy/file-ops.c:368:19: style: Variable 'rwf' can be declared as pointer to const [constVariablePointer] libnbd-1.22.3/copy/file-ops.c:414:19: style: Variable 'rwf' can be declared as pointer to const [constVariablePointer] libnbd-1.22.3/copy/file-ops.c:423:31: style: Parameter 'rw' can be declared as pointer to const. However it seems that 'file_is_read_only' is a callback function, if 'rw' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libnbd-1.22.3/copy/file-ops.c:839:19: note: You might need to cast the function pointer here libnbd-1.22.3/copy/file-ops.c:423:31: note: Parameter 'rw' can be declared as pointer to const libnbd-1.22.3/copy/file-ops.c:432:30: style: Parameter 'rw' can be declared as pointer to const. However it seems that 'file_can_extents' is a callback function, if 'rw' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libnbd-1.22.3/copy/file-ops.c:840:18: note: You might need to cast the function pointer here libnbd-1.22.3/copy/file-ops.c:432:30: note: Parameter 'rw' can be declared as pointer to const libnbd-1.22.3/copy/file-ops.c:442:33: style: Parameter 'rw' can be declared as pointer to const. However it seems that 'file_can_multi_conn' is a callback function, if 'rw' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libnbd-1.22.3/copy/file-ops.c:841:21: note: You might need to cast the function pointer here libnbd-1.22.3/copy/file-ops.c:442:33: note: Parameter 'rw' can be declared as pointer to const libnbd-1.22.3/copy/file-ops.c:448:35: style: Parameter 'rw' can be declared as pointer to const. However it seems that 'file_start_multi_conn' is a callback function, if 'rw' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libnbd-1.22.3/copy/file-ops.c:842:23: note: You might need to cast the function pointer here libnbd-1.22.3/copy/file-ops.c:448:35: note: Parameter 'rw' can be declared as pointer to const libnbd-1.22.3/copy/file-ops.c:459:19: style: Variable 'rwf' can be declared as pointer to const [constVariablePointer] libnbd-1.22.3/copy/file-ops.c:493:19: style: Variable 'rwf' can be declared as pointer to const [constVariablePointer] libnbd-1.22.3/copy/file-ops.c:715:36: style: Parameter 'command' can be declared as pointer to const. However it seems that 'file_asynch_write' is a callback function, if 'command' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libnbd-1.22.3/copy/file-ops.c:849:19: note: You might need to cast the function pointer here libnbd-1.22.3/copy/file-ops.c:715:36: note: Parameter 'command' can be declared as pointer to const libnbd-1.22.3/copy/file-ops.c:727:50: style: Parameter 'command' can be declared as pointer to const. However it seems that 'file_asynch_zero' is a callback function, if 'command' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libnbd-1.22.3/copy/file-ops.c:850:18: note: You might need to cast the function pointer here libnbd-1.22.3/copy/file-ops.c:727:50: note: Parameter 'command' can be declared as pointer to const libnbd-1.22.3/copy/file-ops.c:739:28: style: Parameter 'rw' can be declared as pointer to const. However it seems that 'file_in_flight' is a callback function, if 'rw' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libnbd-1.22.3/copy/file-ops.c:851:16: note: You might need to cast the function pointer here libnbd-1.22.3/copy/file-ops.c:739:28: note: Parameter 'rw' can be declared as pointer to const libnbd-1.22.3/copy/file-ops.c:752:19: style: Variable 'rwf' can be declared as pointer to const [constVariablePointer] libnbd-1.22.3/examples/aio-connect-read.c:40:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] libnbd-1.22.3/examples/aio-connect-read.c:71:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/examples/aio-connect-read.c:36:16: style: Local variable 'data' shadows outer variable [shadowVariable] libnbd-1.22.3/examples/aio-connect-read.c:62:20: note: Shadowed declaration libnbd-1.22.3/examples/aio-connect-read.c:36:16: note: Shadow variable libnbd-1.22.3/dump/dump.c:138:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] libnbd-1.22.3/examples/aio-connect-read.c:34:32: style: Parameter 'error' can be declared as pointer to const. However it seems that 'hexdump' is a callback function, if 'error' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libnbd-1.22.3/examples/aio-connect-read.c:115:38: note: You might need to cast the function pointer here libnbd-1.22.3/examples/aio-connect-read.c:34:32: note: Parameter 'error' can be declared as pointer to const libnbd-1.22.3/dump/dump.c:262:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/examples/aio-connect-read.c:36:16: style: Variable 'data' can be declared as pointer to const [constVariablePointer] libnbd-1.22.3/dump/dump.c:271:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] libnbd-1.22.3/dump/dump.c:290:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBNBD_CONTEXT_BASE_ALLOCATION [valueFlowBailoutIncompleteVar] libnbd-1.22.3/dump/dump.c:307:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable empty_vector [valueFlowBailoutIncompleteVar] libnbd-1.22.3/dump/dump.c:369:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/examples/connect-command.c:21:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/examples/connect-benchmark.c:46:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/examples/connect-benchmark.c:98:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/examples/batched-read-write.c:56:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBD_NULL_COMPLETION [valueFlowBailoutIncompleteVar] libnbd-1.22.3/examples/batched-read-write.c:125:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/examples/batched-read-write.c:135:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/examples/connect-benchmark.c:39:23: style: Parameter 'argv' can be declared as const array [constParameter] libnbd-1.22.3/common/utils/test-vector.c:67:17: style: Variable 'p' can be declared as pointer to const [constVariablePointer] libnbd-1.22.3/common/utils/test-vector.c:280:23: style: Parameter 'argv' can be declared as const array [constParameter] libnbd-1.22.3/examples/connect-uri.c:33:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/examples/encryption.c:55:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/examples/encryption.c:73:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/copy/multi-thread-copying.c:327:40: style: Parameter 'worker' can be declared as pointer to const [constParameterPointer] libnbd-1.22.3/copy/multi-thread-copying.c:498:31: style: Parameter 'error' can be declared as pointer to const. However it seems that 'finished_read' is a callback function, if 'error' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libnbd-1.22.3/copy/multi-thread-copying.c:285:46: note: You might need to cast the function pointer here libnbd-1.22.3/copy/multi-thread-copying.c:498:31: note: Parameter 'error' can be declared as pointer to const libnbd-1.22.3/copy/multi-thread-copying.c:675:34: style: Parameter 'error' can be declared as pointer to const. However it seems that 'finished_command' is a callback function, if 'error' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libnbd-1.22.3/copy/multi-thread-copying.c:643:44: note: You might need to cast the function pointer here libnbd-1.22.3/copy/multi-thread-copying.c:675:34: note: Parameter 'error' can be declared as pointer to const libnbd-1.22.3/examples/get-size.c:24:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/examples/fetch-first-sector.c:28:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/examples/copy-libev.c:176:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_READ [valueFlowBailoutIncompleteVar] libnbd-1.22.3/examples/copy-libev.c:192:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBNBD_CONTEXT_BASE_ALLOCATION [valueFlowBailoutIncompleteVar] libnbd-1.22.3/examples/copy-libev.c:228:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/examples/copy-libev.c:241:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/examples/copy-libev.c:253:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/examples/copy-libev.c:286:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/examples/copy-libev.c:327:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/examples/copy-libev.c:441:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/examples/copy-libev.c:459:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/examples/copy-libev.c:479:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/examples/copy-libev.c:498:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/examples/copy-libev.c:517:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/examples/copy-libev.c:556:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_READ [valueFlowBailoutIncompleteVar] libnbd-1.22.3/examples/copy-libev.c:574:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] libnbd-1.22.3/examples/copy-libev.c:617:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EV_DEFAULT [valueFlowBailoutIncompleteVar] libnbd-1.22.3/dump/dump.c:386:29: error: Uninitialized variable: last [uninitvar] libnbd-1.22.3/examples/open-qcow2.c:20:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/examples/reads-and-writes.c:33:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/examples/list-exports.c:81:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/examples/glib-main-loop.c:72:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBNBD_AIO_DIRECTION_READ [valueFlowBailoutIncompleteVar] libnbd-1.22.3/examples/glib-main-loop.c:109:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/examples/glib-main-loop.c:138:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/examples/glib-main-loop.c:165:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/examples/glib-main-loop.c:189:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/examples/glib-main-loop.c:287:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/examples/glib-main-loop.c:333:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/examples/glib-main-loop.c:357:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/examples/glib-main-loop.c:407:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/examples/glib-main-loop.c:435:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable callback [valueFlowBailoutIncompleteVar] libnbd-1.22.3/examples/glib-main-loop.c:459:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/examples/server-flags.c:24:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/examples/server-flags.c:20:9: style: Unused variable: str [unusedVariable] libnbd-1.22.3/examples/userfault-map.c:40:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/examples/userfault-map.c:38:23: style: Parameter 'argv' can be declared as const array [constParameter] libnbd-1.22.3/examples/glib-main-loop.c:327:30: style: Parameter 'source' can be declared as pointer to const. However it seems that 'connected' is a callback function, if 'source' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libnbd-1.22.3/examples/glib-main-loop.c:305:32: note: You might need to cast the function pointer here libnbd-1.22.3/examples/glib-main-loop.c:327:30: note: Parameter 'source' can be declared as pointer to const libnbd-1.22.3/examples/glib-main-loop.c:399:31: style: Parameter 'error' can be declared as pointer to const. However it seems that 'finished_read' is a callback function, if 'error' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libnbd-1.22.3/examples/glib-main-loop.c:387:62: note: You might need to cast the function pointer here libnbd-1.22.3/examples/glib-main-loop.c:399:31: note: Parameter 'error' can be declared as pointer to const libnbd-1.22.3/examples/glib-main-loop.c:451:32: style: Parameter 'error' can be declared as pointer to const. However it seems that 'finished_write' is a callback function, if 'error' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libnbd-1.22.3/examples/glib-main-loop.c:435:63: note: You might need to cast the function pointer here libnbd-1.22.3/examples/glib-main-loop.c:451:32: note: Parameter 'error' can be declared as pointer to const libnbd-1.22.3/examples/strict-structured-reads.c:88:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/examples/strict-structured-reads.c:147:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBNBD_CMD_FLAG_DF [valueFlowBailoutIncompleteVar] libnbd-1.22.3/examples/strict-structured-reads.c:185:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/examples/threaded-reads-and-writes.c:79:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/examples/threaded-reads-and-writes.c:208:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/examples/copy-libev.c:158:32: style: Parameter 'r' can be declared as pointer to const [constParameterPointer] libnbd-1.22.3/examples/copy-libev.c:188:63: style: Parameter 'error' can be declared as pointer to const. However it seems that 'extent_callback' is a callback function, if 'error' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libnbd-1.22.3/examples/copy-libev.c:291:45: note: You might need to cast the function pointer here libnbd-1.22.3/examples/copy-libev.c:188:63: note: Parameter 'error' can be declared as pointer to const libnbd-1.22.3/examples/copy-libev.c:190:21: style: Variable 'r' can be declared as pointer to const [constVariablePointer] libnbd-1.22.3/examples/copy-libev.c:454:39: style: Parameter 'error' can be declared as pointer to const. However it seems that 'read_completed' is a callback function, if 'error' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libnbd-1.22.3/examples/copy-libev.c:446:47: note: You might need to cast the function pointer here libnbd-1.22.3/examples/copy-libev.c:454:39: note: Parameter 'error' can be declared as pointer to const libnbd-1.22.3/examples/copy-libev.c:512:42: style: Parameter 'error' can be declared as pointer to const. However it seems that 'request_completed' is a callback function, if 'error' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libnbd-1.22.3/examples/copy-libev.c:503:47: note: You might need to cast the function pointer here libnbd-1.22.3/examples/copy-libev.c:512:42: note: Parameter 'error' can be declared as pointer to const libnbd-1.22.3/fuzzing/libnbd-fuzz-wrapper.c:79:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_WRONLY [valueFlowBailoutIncompleteVar] libnbd-1.22.3/fuzzing/libnbd-fuzz-wrapper.c:191:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/fuzzing/libnbd-fuzz-wrapper.c:265:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fd [valueFlowBailoutIncompleteVar] libnbd-1.22.3/fuzzing/libnbd-fuzz-wrapper.c:395:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fd [valueFlowBailoutIncompleteVar] libnbd-1.22.3/fuse/operations.c:120:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] libnbd-1.22.3/fuse/operations.c:181:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/fuse/operations.c:225:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/fuse/operations.c:310:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/fuse/operations.c:347:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/fuse/operations.c:366:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/fuse/operations.c:382:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/fuse/operations.c:407:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/fuse/operations.c:434:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/fuse/nbdfuse.c:208:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] libnbd-1.22.3/fuse/operations.c:461:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/fuse/nbdfuse.c:537:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/fuse/operations.c:509:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/common/include/checked-overflow.h:190:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UINTMAX_MAX [valueFlowBailoutIncompleteVar] libnbd-1.22.3/common/include/checked-overflow.h:204:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UINTMAX_MAX [valueFlowBailoutIncompleteVar] libnbd-1.22.3/common/include/test-checked-overflow.c:91:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _overflow5 [valueFlowBailoutIncompleteVar] libnbd-1.22.3/fuzzing/libnbd-libfuzzer-test.c:83:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] libnbd-1.22.3/fuzzing/libnbd-libfuzzer-test.c:112:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/fuzzing/libnbd-libfuzzer-test.c:142:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHUT_WR [valueFlowBailoutIncompleteVar] libnbd-1.22.3/generator/states-connect-socket-activation.c:197:8: error: syntax error [syntaxError] libnbd-1.22.3/fuse/operations.c:479:17: style: Expression is always false because 'else if' condition matches previous condition at line 468. [multiCondition] libnbd-1.22.3/fuse/operations.c:197:22: style: Local variable 'completion' shadows outer variable [shadowVariable] libnbd-1.22.3/fuse/operations.c:159:3: note: Shadowed declaration libnbd-1.22.3/fuse/operations.c:197:22: note: Shadow variable libnbd-1.22.3/fuse/operations.c:364:56: style: Parameter 'fi' can be declared as pointer to const. However it seems that 'nbdfuse_open' is a callback function, if 'fi' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libnbd-1.22.3/fuse/operations.c:537:24: note: You might need to cast the function pointer here libnbd-1.22.3/fuse/operations.c:364:56: note: Parameter 'fi' can be declared as pointer to const libnbd-1.22.3/generator/states-connect.c:75:20: error: syntax error [syntaxError] libnbd-1.22.3/generator/states-magic.c:25:18: error: syntax error [syntaxError] libnbd-1.22.3/generator/states-issue-command.c:35:30: error: syntax error [syntaxError] libnbd-1.22.3/generator/states-newstyle-opt-export-name.c:30:18: error: syntax error [syntaxError] libnbd-1.22.3/fuzzing/libnbd-fuzz-wrapper.c:184:13: style:inconclusive: Function 'client' argument 1 names different: declaration 's' definition 'sock'. [funcArgNamesDifferent] libnbd-1.22.3/fuzzing/libnbd-fuzz-wrapper.c:65:25: note: Function 'client' argument 1 names different: declaration 's' definition 'sock'. libnbd-1.22.3/fuzzing/libnbd-fuzz-wrapper.c:184:13: note: Function 'client' argument 1 names different: declaration 's' definition 'sock'. libnbd-1.22.3/fuzzing/libnbd-fuzz-wrapper.c:257:21: style:inconclusive: Function 'server' argument 2 names different: declaration 's' definition 'sock'. [funcArgNamesDifferent] libnbd-1.22.3/fuzzing/libnbd-fuzz-wrapper.c:66:33: note: Function 'server' argument 2 names different: declaration 's' definition 'sock'. libnbd-1.22.3/fuzzing/libnbd-fuzz-wrapper.c:257:21: note: Function 'server' argument 2 names different: declaration 's' definition 'sock'. libnbd-1.22.3/fuzzing/libnbd-fuzz-wrapper.c:330:21: style:inconclusive: Function 'nbdkit' argument 2 names different: declaration 's' definition 'sock'. [funcArgNamesDifferent] libnbd-1.22.3/fuzzing/libnbd-fuzz-wrapper.c:67:33: note: Function 'nbdkit' argument 2 names different: declaration 's' definition 'sock'. libnbd-1.22.3/fuzzing/libnbd-fuzz-wrapper.c:330:21: note: Function 'nbdkit' argument 2 names different: declaration 's' definition 'sock'. libnbd-1.22.3/fuzzing/libnbd-fuzz-wrapper.c:335:8: style: Local variable 'buf' shadows outer variable [shadowVariable] libnbd-1.22.3/fuzzing/libnbd-fuzz-wrapper.c:180:13: note: Shadowed declaration libnbd-1.22.3/fuzzing/libnbd-fuzz-wrapper.c:335:8: note: Shadow variable libnbd-1.22.3/fuzzing/libnbd-fuzz-wrapper.c:70:23: style: Parameter 'argv' can be declared as const array [constParameter] libnbd-1.22.3/fuzzing/libnbd-fuzz-wrapper.c:148:23: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'chunk_callback' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libnbd-1.22.3/fuzzing/libnbd-fuzz-wrapper.c:224:43: note: You might need to cast the function pointer here libnbd-1.22.3/fuzzing/libnbd-fuzz-wrapper.c:148:23: note: Parameter 'user_data' can be declared as pointer to const libnbd-1.22.3/fuzzing/libnbd-fuzz-wrapper.c:150:39: style: Parameter 'error' can be declared as pointer to const. However it seems that 'chunk_callback' is a callback function, if 'error' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libnbd-1.22.3/fuzzing/libnbd-fuzz-wrapper.c:224:43: note: You might need to cast the function pointer here libnbd-1.22.3/fuzzing/libnbd-fuzz-wrapper.c:150:39: note: Parameter 'error' can be declared as pointer to const libnbd-1.22.3/fuzzing/libnbd-fuzz-wrapper.c:159:24: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'extent_callback' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libnbd-1.22.3/fuzzing/libnbd-fuzz-wrapper.c:232:39: note: You might need to cast the function pointer here libnbd-1.22.3/fuzzing/libnbd-fuzz-wrapper.c:159:24: note: Parameter 'user_data' can be declared as pointer to const libnbd-1.22.3/fuzzing/libnbd-fuzz-wrapper.c:161:45: style: Parameter 'entries' can be declared as pointer to const. However it seems that 'extent_callback' is a callback function, if 'entries' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libnbd-1.22.3/fuzzing/libnbd-fuzz-wrapper.c:232:39: note: You might need to cast the function pointer here libnbd-1.22.3/fuzzing/libnbd-fuzz-wrapper.c:161:45: note: Parameter 'entries' can be declared as pointer to const libnbd-1.22.3/fuzzing/libnbd-fuzz-wrapper.c:162:42: style: Parameter 'error' can be declared as pointer to const. However it seems that 'extent_callback' is a callback function, if 'error' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libnbd-1.22.3/fuzzing/libnbd-fuzz-wrapper.c:232:39: note: You might need to cast the function pointer here libnbd-1.22.3/fuzzing/libnbd-fuzz-wrapper.c:162:42: note: Parameter 'error' can be declared as pointer to const libnbd-1.22.3/fuzzing/libnbd-fuzz-wrapper.c:170:26: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'extent64_callback' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libnbd-1.22.3/fuzzing/libnbd-fuzz-wrapper.c:238:42: note: You might need to cast the function pointer here libnbd-1.22.3/fuzzing/libnbd-fuzz-wrapper.c:170:26: note: Parameter 'user_data' can be declared as pointer to const libnbd-1.22.3/fuzzing/libnbd-fuzz-wrapper.c:172:49: style: Parameter 'entries' can be declared as pointer to const. However it seems that 'extent64_callback' is a callback function, if 'entries' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libnbd-1.22.3/fuzzing/libnbd-fuzz-wrapper.c:238:42: note: You might need to cast the function pointer here libnbd-1.22.3/fuzzing/libnbd-fuzz-wrapper.c:172:49: note: Parameter 'entries' can be declared as pointer to const libnbd-1.22.3/fuzzing/libnbd-fuzz-wrapper.c:173:44: style: Parameter 'error' can be declared as pointer to const. However it seems that 'extent64_callback' is a callback function, if 'error' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libnbd-1.22.3/fuzzing/libnbd-fuzz-wrapper.c:238:42: note: You might need to cast the function pointer here libnbd-1.22.3/fuzzing/libnbd-fuzz-wrapper.c:173:44: note: Parameter 'error' can be declared as pointer to const libnbd-1.22.3/generator/states-newstyle-opt-extended-headers.c:29:22: error: syntax error [syntaxError] libnbd-1.22.3/generator/states-newstyle-opt-list.c:35:18: error: syntax error [syntaxError] libnbd-1.22.3/generator/states-newstyle-opt-go.c:48:18: error: syntax error [syntaxError] libnbd-1.22.3/generator/states-newstyle-opt-meta-context.c:70:22: error: syntax error [syntaxError] libnbd-1.22.3/generator/states-newstyle-opt-structured-reply.c:30:24: error: syntax error [syntaxError] libnbd-1.22.3/generator/states-newstyle-opt-starttls.c:29:22: error: syntax error [syntaxError] libnbd-1.22.3/generator/states-newstyle.c:197:24: error: syntax error [syntaxError] libnbd-1.22.3/generator/states-oldstyle.c:30:18: error: syntax error [syntaxError] libnbd-1.22.3/generator/states-reply-simple.c:40:22: error: syntax error [syntaxError] libnbd-1.22.3/generator/states-reply.c:58:22: error: syntax error [syntaxError] libnbd-1.22.3/generator/states.c:185:20: error: syntax error [syntaxError] libnbd-1.22.3/generator/states-reply-chunk.c:103:20: error: syntax error [syntaxError] libnbd-1.22.3/info/list.c:61:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable callback [valueFlowBailoutIncompleteVar] libnbd-1.22.3/info/list.c:73:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] libnbd-1.22.3/info/list.c:89:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] libnbd-1.22.3/info/can.c:116:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/info/size.c:37:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/info/main.c:184:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] libnbd-1.22.3/info/main.c:439:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/info/map.c:53:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable empty_vector [valueFlowBailoutIncompleteVar] libnbd-1.22.3/info/map.c:159:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable flags [valueFlowBailoutIncompleteVar] libnbd-1.22.3/info/map.c:204:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] libnbd-1.22.3/info/map.c:263:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable flags [valueFlowBailoutIncompleteVar] libnbd-1.22.3/info/map.c:330:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANSI_FG_BOLD_BLACK [valueFlowBailoutIncompleteVar] libnbd-1.22.3/info/show.c:50:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HUMAN_SIZE_LONGEST [valueFlowBailoutIncompleteVar] libnbd-1.22.3/info/show.c:295:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANSI_FG_GREEN [valueFlowBailoutIncompleteVar] libnbd-1.22.3/info/show.c:305:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable HUMAN_SIZE_LONGEST [valueFlowBailoutIncompleteVar] libnbd-1.22.3/info/show.c:358:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/info/uri.c:36:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/common/include/test-checked-overflow.c:91:3: style: Unused variable: _overflow0 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:91:3: style: Unused variable: _tmp1 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:91:3: style: Unused variable: _overflow9 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:91:3: style: Unused variable: _tmp10 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:92:3: style: Unused variable: _overflow18 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:92:3: style: Unused variable: _tmp19 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:92:3: style: Unused variable: _overflow27 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:92:3: style: Unused variable: _tmp28 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:93:3: style: Unused variable: _overflow36 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:93:3: style: Unused variable: _tmp37 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:93:3: style: Unused variable: _overflow45 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:93:3: style: Unused variable: _tmp46 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:94:3: style: Unused variable: _overflow54 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:94:3: style: Unused variable: _tmp55 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:94:3: style: Unused variable: _overflow63 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:94:3: style: Unused variable: _tmp64 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:95:3: style: Unused variable: _overflow72 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:95:3: style: Unused variable: _tmp73 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:95:3: style: Unused variable: _overflow81 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:95:3: style: Unused variable: _tmp82 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:96:3: style: Unused variable: _overflow90 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:96:3: style: Unused variable: _tmp91 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:96:3: style: Unused variable: _overflow99 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:96:3: style: Unused variable: _tmp100 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:99:3: style: Unused variable: _overflow108 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:99:3: style: Unused variable: _tmp109 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:99:3: style: Unused variable: _overflow117 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:99:3: style: Unused variable: _tmp118 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:100:3: style: Unused variable: _overflow126 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:100:3: style: Unused variable: _tmp127 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:100:3: style: Unused variable: _overflow135 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:100:3: style: Unused variable: _tmp136 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:101:3: style: Unused variable: _overflow144 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:101:3: style: Unused variable: _tmp145 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:101:3: style: Unused variable: _overflow153 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:101:3: style: Unused variable: _tmp154 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:102:3: style: Unused variable: _overflow162 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:102:3: style: Unused variable: _tmp163 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:102:3: style: Unused variable: _overflow171 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:102:3: style: Unused variable: _tmp172 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:103:3: style: Unused variable: _overflow180 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:103:3: style: Unused variable: _tmp181 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:103:3: style: Unused variable: _overflow189 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:103:3: style: Unused variable: _tmp190 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:104:3: style: Unused variable: _overflow198 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:104:3: style: Unused variable: _tmp199 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:104:3: style: Unused variable: _overflow207 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:104:3: style: Unused variable: _tmp208 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:109:3: style: Unused variable: _overflow216 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:109:3: style: Unused variable: _tmp217 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:109:3: style: Unused variable: _overflow225 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:109:3: style: Unused variable: _tmp226 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:110:3: style: Unused variable: _overflow234 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:110:3: style: Unused variable: _tmp235 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:110:3: style: Unused variable: _overflow243 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:110:3: style: Unused variable: _tmp244 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:111:3: style: Unused variable: _overflow252 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:111:3: style: Unused variable: _tmp253 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:111:3: style: Unused variable: _overflow261 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:111:3: style: Unused variable: _tmp262 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:112:3: style: Unused variable: _overflow270 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:112:3: style: Unused variable: _tmp271 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:112:3: style: Unused variable: _overflow279 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:112:3: style: Unused variable: _tmp280 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:113:3: style: Unused variable: _overflow288 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:113:3: style: Unused variable: _tmp289 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:113:3: style: Unused variable: _overflow297 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:113:3: style: Unused variable: _tmp298 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:114:3: style: Unused variable: _overflow306 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:114:3: style: Unused variable: _tmp307 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:114:3: style: Unused variable: _overflow315 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:114:3: style: Unused variable: _tmp316 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:117:3: style: Unused variable: _overflow324 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:117:3: style: Unused variable: _tmp325 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:117:3: style: Unused variable: _overflow333 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:117:3: style: Unused variable: _tmp334 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:118:3: style: Unused variable: _overflow342 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:118:3: style: Unused variable: _tmp343 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:118:3: style: Unused variable: _overflow351 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:118:3: style: Unused variable: _tmp352 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:119:3: style: Unused variable: _overflow360 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:119:3: style: Unused variable: _tmp361 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:119:3: style: Unused variable: _overflow369 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:119:3: style: Unused variable: _tmp370 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:120:3: style: Unused variable: _overflow378 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:120:3: style: Unused variable: _tmp379 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:120:3: style: Unused variable: _overflow387 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:120:3: style: Unused variable: _tmp388 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:121:3: style: Unused variable: _overflow396 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:121:3: style: Unused variable: _tmp397 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:121:3: style: Unused variable: _overflow405 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:121:3: style: Unused variable: _tmp406 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:122:3: style: Unused variable: _overflow414 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:122:3: style: Unused variable: _tmp415 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:122:3: style: Unused variable: _overflow423 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:122:3: style: Unused variable: _tmp424 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:125:3: style: Unused variable: _overflow432 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:125:3: style: Unused variable: _tmp433 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:125:3: style: Unused variable: _overflow441 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:125:3: style: Unused variable: _tmp442 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:126:3: style: Unused variable: _overflow450 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:126:3: style: Unused variable: _tmp451 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:126:3: style: Unused variable: _overflow459 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:126:3: style: Unused variable: _tmp460 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:127:3: style: Unused variable: _overflow468 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:127:3: style: Unused variable: _tmp469 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:127:3: style: Unused variable: _overflow477 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:127:3: style: Unused variable: _tmp478 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:128:3: style: Unused variable: _overflow486 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:128:3: style: Unused variable: _tmp487 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:128:3: style: Unused variable: _overflow495 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:128:3: style: Unused variable: _tmp496 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:129:3: style: Unused variable: _overflow504 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:129:3: style: Unused variable: _tmp505 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:129:3: style: Unused variable: _overflow513 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:129:3: style: Unused variable: _tmp514 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:130:3: style: Unused variable: _overflow522 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:130:3: style: Unused variable: _tmp523 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:130:3: style: Unused variable: _overflow531 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:130:3: style: Unused variable: _tmp532 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:133:3: style: Unused variable: _overflow540 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:133:3: style: Unused variable: _tmp541 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:133:3: style: Unused variable: _overflow549 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:133:3: style: Unused variable: _tmp550 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:134:3: style: Unused variable: _overflow558 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:134:3: style: Unused variable: _tmp559 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:134:3: style: Unused variable: _overflow567 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:134:3: style: Unused variable: _tmp568 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:135:3: style: Unused variable: _overflow576 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:135:3: style: Unused variable: _tmp577 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:135:3: style: Unused variable: _overflow585 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:135:3: style: Unused variable: _tmp586 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:136:3: style: Unused variable: _overflow594 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:136:3: style: Unused variable: _tmp595 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:136:3: style: Unused variable: _overflow603 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:136:3: style: Unused variable: _tmp604 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:137:3: style: Unused variable: _overflow612 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:137:3: style: Unused variable: _tmp613 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:137:3: style: Unused variable: _overflow621 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:137:3: style: Unused variable: _tmp622 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:138:3: style: Unused variable: _overflow630 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:138:3: style: Unused variable: _tmp631 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:138:3: style: Unused variable: _overflow639 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:138:3: style: Unused variable: _tmp640 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:155:14: style: Unused variable: _overflow648 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:155:14: style: Unused variable: _tmp649 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:159:14: style: Unused variable: _overflow657 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:159:14: style: Unused variable: _tmp658 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:163:14: style: Unused variable: _overflow666 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:163:14: style: Unused variable: _tmp667 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:167:14: style: Unused variable: _overflow675 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:167:14: style: Unused variable: _tmp676 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:171:14: style: Unused variable: _overflow684 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:171:14: style: Unused variable: _tmp685 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:173:14: style: Unused variable: _overflow693 [unusedVariable] libnbd-1.22.3/common/include/test-checked-overflow.c:173:14: style: Unused variable: _tmp694 [unusedVariable] libnbd-1.22.3/info/map.c:93:27: style: Condition 'prev_entries_size==entries.len' is always true [knownConditionTrueFalse] libnbd-1.22.3/info/map.c:83:23: note: prev_entries_size is assigned 'entries.len' here. libnbd-1.22.3/info/map.c:88:33: note: Assuming condition is false libnbd-1.22.3/info/map.c:93:27: note: Condition 'prev_entries_size==entries.len' is always true libnbd-1.22.3/interop/block-status-64.c:52:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBNBD_CONTEXT_BASE_ALLOCATION [valueFlowBailoutIncompleteVar] libnbd-1.22.3/interop/block-status-64.c:90:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBNBD_CONTEXT_BASE_ALLOCATION [valueFlowBailoutIncompleteVar] libnbd-1.22.3/interop/block-status-64.c:127:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/interop/block-status-payload.c:83:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/interop/dirty-bitmap.c:58:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EPROTO [valueFlowBailoutIncompleteVar] libnbd-1.22.3/interop/dirty-bitmap.c:132:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBNBD_CONTEXT_QEMU_DIRTY_BITMAP [valueFlowBailoutIncompleteVar] libnbd-1.22.3/interop/block-status-64.c:45:17: style: Parameter 'entries' can be declared as pointer to const. However it seems that 'cb32' is a callback function, if 'entries' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libnbd-1.22.3/interop/block-status-64.c:172:61: note: You might need to cast the function pointer here libnbd-1.22.3/interop/block-status-64.c:45:17: note: Parameter 'entries' can be declared as pointer to const libnbd-1.22.3/interop/interop.c:107:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/interop/requires.c:34:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] libnbd-1.22.3/interop/requires.c:45:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] libnbd-1.22.3/interop/requires.c:56:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] libnbd-1.22.3/interop/requires.c:97:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/interop/requires.c:104:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/interop/requires.c:135:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/interop/requires.c:149:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/info/show.c:347:9: style: Local variable 'fp' shadows outer variable [shadowVariable] libnbd-1.22.3/info/nbdinfo.h:29:14: note: Shadowed declaration libnbd-1.22.3/info/show.c:347:9: note: Shadow variable libnbd-1.22.3/interop/opt-extended-headers.c:40:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/interop/opt-extended-headers.c:69:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/interop/opt-extended-headers.c:92:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBNBD_CONTEXT_BASE_ALLOCATION [valueFlowBailoutIncompleteVar] libnbd-1.22.3/interop/opt-extended-headers.c:109:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/interop/list-exports.c:59:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/interop/list-exports.c:120:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/interop/socket-activation.c:54:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/interop/socket-activation.c:34:23: style: Parameter 'argv' can be declared as const array [constParameter] libnbd-1.22.3/interop/dirty-bitmap.c:46:15: style: Parameter 'entries' can be declared as pointer to const. However it seems that 'cb' is a callback function, if 'entries' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libnbd-1.22.3/interop/dirty-bitmap.c:128:55: note: You might need to cast the function pointer here libnbd-1.22.3/interop/dirty-bitmap.c:46:15: note: Parameter 'entries' can be declared as pointer to const libnbd-1.22.3/interop/interop.c:73:23: style: Parameter 'argv' can be declared as const array [constParameter] libnbd-1.22.3/interop/structured-read.c:60:67: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EPROTO [valueFlowBailoutIncompleteVar] libnbd-1.22.3/interop/structured-read.c:115:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/lib/unlocked.h:82:5: error: There is an unknown macro here somewhere. Configuration is required. If LIBNBD_ATTRIBUTE_ALLOC_DEALLOC is a macro then please configure it. [unknownMacro] libnbd-1.22.3/ocaml/nbd-c.h:85:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/buffer.c:41:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/buffer.c:63:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Val_unit [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/buffer.c:43:12: style: Variable 'data' can be declared as pointer to const [constVariablePointer] libnbd-1.22.3/ocaml/handle.c:39:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/handle.c:65:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Val_unit [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/helpers.c:63:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/helpers.c:88:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/helpers.c:102:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable sv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/helpers.c:128:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/helpers.c:144:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/helpers.c:180:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CAMLreturn0 [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/helpers.c:192:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable exn [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/helpers.c:115:5: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: r [nullPointerOutOfMemory] libnbd-1.22.3/ocaml/helpers.c:110:14: note: Assuming allocation function fails libnbd-1.22.3/ocaml/helpers.c:110:14: note: Assignment 'r=malloc(sizeof(const char*)*(len+1))', assigned value is 0 libnbd-1.22.3/ocaml/helpers.c:115:5: note: Null pointer dereference libnbd-1.22.3/ocaml/helpers.c:117:3: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: r [nullPointerOutOfMemory] libnbd-1.22.3/ocaml/helpers.c:110:14: note: Assuming allocation function fails libnbd-1.22.3/ocaml/helpers.c:110:14: note: Assignment 'r=malloc(sizeof(const char*)*(len+1))', assigned value is 0 libnbd-1.22.3/ocaml/helpers.c:117:3: note: Null pointer dereference libnbd-1.22.3/python/methods.h:45:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/handle.c:80:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/handle.c:97:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/handle.c:116:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyBUF_READ [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/handle.c:138:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_True [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/handle.c:172:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_True [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/handle.c:53:51: style: Parameter 'args' can be declared as pointer to const [constParameterPointer] libnbd-1.22.3/tests/aio-connect-port.c:61:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/aio-connect.c:59:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/utils.c:46:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_TypeError [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/utils.c:118:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNIX [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/aio-connect.c:39:23: style: Parameter 'argv' can be declared as const array [constParameter] libnbd-1.22.3/tests/aio-connect-port.c:43:23: style: Parameter 'argv' can be declared as const array [constParameter] libnbd-1.22.3/tests/aio-parallel-load.c:85:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/aio-parallel-load.c:202:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/aio-parallel.c:92:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/aio-parallel.c:216:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/closure-lifetimes.c:138:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/closure-lifetimes.c:52:17: style: Parameter 'opaque' can be declared as pointer to const. However it seems that 'debug_fn' is a callback function, if 'opaque' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libnbd-1.22.3/tests/closure-lifetimes.c:125:53: note: You might need to cast the function pointer here libnbd-1.22.3/tests/closure-lifetimes.c:52:17: note: Parameter 'opaque' can be declared as pointer to const libnbd-1.22.3/tests/closure-lifetimes.c:59:22: style: Parameter 'opaque' can be declared as pointer to const. However it seems that 'debug_fn_free' is a callback function, if 'opaque' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libnbd-1.22.3/tests/closure-lifetimes.c:126:49: note: You might need to cast the function pointer here libnbd-1.22.3/tests/closure-lifetimes.c:59:22: note: Parameter 'opaque' can be declared as pointer to const libnbd-1.22.3/tests/closure-lifetimes.c:65:16: style: Parameter 'opaque' can be declared as pointer to const. However it seems that 'read_cb' is a callback function, if 'opaque' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libnbd-1.22.3/tests/closure-lifetimes.c:127:53: note: You might need to cast the function pointer here libnbd-1.22.3/tests/closure-lifetimes.c:65:16: note: Parameter 'opaque' can be declared as pointer to const libnbd-1.22.3/tests/closure-lifetimes.c:67:49: style: Parameter 'error' can be declared as pointer to const. However it seems that 'read_cb' is a callback function, if 'error' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libnbd-1.22.3/tests/closure-lifetimes.c:127:53: note: You might need to cast the function pointer here libnbd-1.22.3/tests/closure-lifetimes.c:67:49: note: Parameter 'error' can be declared as pointer to const libnbd-1.22.3/tests/closure-lifetimes.c:76:21: style: Parameter 'opaque' can be declared as pointer to const. However it seems that 'read_cb_free' is a callback function, if 'opaque' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libnbd-1.22.3/tests/closure-lifetimes.c:128:49: note: You might need to cast the function pointer here libnbd-1.22.3/tests/closure-lifetimes.c:76:21: note: Parameter 'opaque' can be declared as pointer to const libnbd-1.22.3/tests/closure-lifetimes.c:83:24: style: Parameter 'opaque' can be declared as pointer to const. However it seems that 'block_status_cb' is a callback function, if 'opaque' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libnbd-1.22.3/tests/closure-lifetimes.c:129:55: note: You might need to cast the function pointer here libnbd-1.22.3/tests/closure-lifetimes.c:83:24: note: Parameter 'opaque' can be declared as pointer to const libnbd-1.22.3/tests/closure-lifetimes.c:84:28: style: Parameter 'entries' can be declared as pointer to const. However it seems that 'block_status_cb' is a callback function, if 'entries' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libnbd-1.22.3/tests/closure-lifetimes.c:129:55: note: You might need to cast the function pointer here libnbd-1.22.3/tests/closure-lifetimes.c:84:28: note: Parameter 'entries' can be declared as pointer to const libnbd-1.22.3/tests/closure-lifetimes.c:84:61: style: Parameter 'error' can be declared as pointer to const. However it seems that 'block_status_cb' is a callback function, if 'error' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libnbd-1.22.3/tests/closure-lifetimes.c:129:55: note: You might need to cast the function pointer here libnbd-1.22.3/tests/closure-lifetimes.c:84:61: note: Parameter 'error' can be declared as pointer to const libnbd-1.22.3/tests/closure-lifetimes.c:93:29: style: Parameter 'opaque' can be declared as pointer to const. However it seems that 'block_status_cb_free' is a callback function, if 'opaque' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libnbd-1.22.3/tests/closure-lifetimes.c:130:51: note: You might need to cast the function pointer here libnbd-1.22.3/tests/closure-lifetimes.c:93:29: note: Parameter 'opaque' can be declared as pointer to const libnbd-1.22.3/tests/closure-lifetimes.c:100:22: style: Parameter 'opaque' can be declared as pointer to const. However it seems that 'completion_cb' is a callback function, if 'opaque' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libnbd-1.22.3/tests/closure-lifetimes.c:131:63: note: You might need to cast the function pointer here libnbd-1.22.3/tests/closure-lifetimes.c:100:22: note: Parameter 'opaque' can be declared as pointer to const libnbd-1.22.3/tests/closure-lifetimes.c:100:35: style: Parameter 'error' can be declared as pointer to const. However it seems that 'completion_cb' is a callback function, if 'error' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libnbd-1.22.3/tests/closure-lifetimes.c:131:63: note: You might need to cast the function pointer here libnbd-1.22.3/tests/closure-lifetimes.c:100:35: note: Parameter 'error' can be declared as pointer to const libnbd-1.22.3/tests/closure-lifetimes.c:108:27: style: Parameter 'opaque' can be declared as pointer to const. However it seems that 'completion_cb_free' is a callback function, if 'opaque' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libnbd-1.22.3/tests/closure-lifetimes.c:132:59: note: You might need to cast the function pointer here libnbd-1.22.3/tests/closure-lifetimes.c:108:27: note: Parameter 'opaque' can be declared as pointer to const libnbd-1.22.3/tests/closure-lifetimes.c:120:23: style: Parameter 'argv' can be declared as const array [constParameter] libnbd-1.22.3/tests/compile-c.c:33:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/aio-parallel-load.c:73:23: style: Parameter 'argv' can be declared as const array [constParameter] libnbd-1.22.3/tests/compile-cxx.cpp:39:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable cerr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/compile-header-only.c:24:23: style: Parameter 'argv' can be declared as const array [constParameter] libnbd-1.22.3/tests/compile-iso-c99.c:35:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/aio-parallel.c:201:25: style: Local variable 'status' shadows outer variable [shadowVariable] libnbd-1.22.3/tests/aio-parallel.c:80:29: note: Shadowed declaration libnbd-1.22.3/tests/aio-parallel.c:201:25: note: Shadow variable libnbd-1.22.3/tests/aio-parallel.c:83:23: style: Parameter 'argv' can be declared as const array [constParameter] libnbd-1.22.3/tests/connect-systemd-socket-activation.c:34:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/connect-tcp.c:55:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/connect-tcp.c:36:23: style: Parameter 'argv' can be declared as const array [constParameter] libnbd-1.22.3/tests/connect-tcp6.c:62:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/connect-tls.c:43:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/connect-tls.c:36:23: style: Parameter 'argv' can be declared as const array [constParameter] libnbd-1.22.3/tests/connect-tcp6.c:39:23: style: Parameter 'argv' can be declared as const array [constParameter] libnbd-1.22.3/tests/connect-unix.c:56:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/connect-unix.c:42:7: error: Return value of allocation function 'mkstemp' is not stored. [leakReturnValNotUsed] libnbd-1.22.3/tests/connect-unix.c:34:23: style: Parameter 'argv' can be declared as const array [constParameter] libnbd-1.22.3/tests/debug-environment.c:37:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/debug-environment.c:53:23: style: Parameter 'argv' can be declared as const array [constParameter] libnbd-1.22.3/tests/connect-uri.c:92:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable URI [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/connect-uri.c:262:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/debug.c:38:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/dlopen.c:46:0: error: #error "-DLIBRARY was not defined" [preprocessorErrorDirective] libnbd-1.22.3/tests/dlopen.c:46:2: error: #error "-DLIBRARY was not defined" [preprocessorErrorDirective] libnbd-1.22.3/tests/connect-uri.c:56:23: style: Parameter 'argv' can be declared as const array [constParameter] libnbd-1.22.3/tests/eflags.c:62:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/errors-bad-cookie.c:40:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/errors-bad-cookie.c:60:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/eflags.c:46:23: style: Parameter 'argv' can be declared as const array [constParameter] libnbd-1.22.3/tests/errors-bitmask.c:43:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/errors-client-oversize.c:46:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/errors-client-oversize.c:66:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/errors-client-unadvertised-cmd.c:45:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/errors-client-unadvertised-cmd.c:65:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/errors-client-unaligned.c:46:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/errors-client-unaligned.c:66:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/errors-client-zerosize.c:44:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/errors-client-unknown-flags.c:44:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/errors-client-zerosize.c:64:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/errors-client-unknown-flags.c:64:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/errors-connect-null.c:44:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/errors-connect-null.c:69:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/errors-enum.c:43:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/errors-connect-twice.c:40:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/errors-connect-twice.c:60:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/errors-name-too-long.c:41:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/errors-name-too-long.c:65:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/errors-multiple-disconnects.c:45:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/errors-multiple-disconnects.c:87:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/errors-not-connected.c:41:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/errors-not-connected.c:65:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/errors-not-negotiating-aio.c:41:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/errors-not-negotiating-aio.c:67:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/errors-not-negotiating-aio.c:78:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/errors-not-negotiating-aio.c:90:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/errors-not-negotiating-aio.c:101:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/errors-not-negotiating-aio.c:113:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/errors-not-negotiating-aio.c:65:20: style: Variable 'p' can be declared as pointer to const [constVariablePointer] libnbd-1.22.3/tests/errors-not-negotiating-aio.c:88:20: style: Variable 'p' can be declared as pointer to const [constVariablePointer] libnbd-1.22.3/tests/errors-not-negotiating.c:40:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/errors-not-negotiating.c:60:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/errors-notify-not-blocked.c:40:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/errors-notify-not-blocked.c:60:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/errors-poll-no-fd.c:40:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/errors-poll-no-fd.c:64:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/errors-pread-structured.c:44:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/errors-pread-structured.c:65:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/errors-pread-structured.c:75:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/errors-pread-structured.c:87:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/errors-server-invalid-offset.c:44:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/errors-server-invalid-offset.c:66:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/errors-server-invalid-offset.c:92:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/errors-pread-structured.c:106:78: error: Expression 'nbd,buf,512,-1,(nbd_chunk_callback){.free=check_chunk,},(nbd_completion_callback){.free=check_completion,}' depends on order of evaluation of side effects [unknownEvaluationOrder] libnbd-1.22.3/tests/errors-server-oversize.c:111:22: error: There is an unknown macro here somewhere. Configuration is required. If NBDKIT is a macro then please configure it. [unknownMacro] libnbd-1.22.3/tests/errors-server-unadvertised-cmd.c:45:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/errors-server-unadvertised-cmd.c:67:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/errors-server-unadvertised-cmd.c:93:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/errors-server-unaligned.c:46:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/errors-server-unaligned.c:68:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/errors-server-unaligned.c:94:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/errors-server-unknown-flags.c:44:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/errors-server-unknown-flags.c:66:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/errors-server-unknown-flags.c:92:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/errors-server-zerosize.c:44:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/errors-server-zerosize.c:66:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/errors-server-zerosize.c:92:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/export-name.c:36:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/export-name.c:57:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/get-size.c:43:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/get-subprocess-pid.c:42:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/get-size.c:38:23: style: Parameter 'argv' can be declared as const array [constParameter] libnbd-1.22.3/tests/get-subprocess-pid.c:35:23: style: Parameter 'argv' can be declared as const array [constParameter] libnbd-1.22.3/tests/get-version.c:38:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/meta-base-allocation.c:61:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/meta-base-allocation.c:207:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/meta-base-allocation.c:264:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/newstyle-limited.c:53:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/newstyle-limited.c:86:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/newstyle-limited.c:95:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/newstyle-limited.c:106:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/meta-base-allocation.c:167:6: style: Variable 'id' is reassigned a value before the old one has been used. [redundantAssignment] libnbd-1.22.3/tests/meta-base-allocation.c:157:6: note: id is assigned libnbd-1.22.3/tests/meta-base-allocation.c:167:6: note: id is overwritten libnbd-1.22.3/tests/meta-base-allocation.c:177:6: style: Variable 'id' is reassigned a value before the old one has been used. [redundantAssignment] libnbd-1.22.3/tests/meta-base-allocation.c:167:6: note: id is assigned libnbd-1.22.3/tests/meta-base-allocation.c:177:6: note: id is overwritten libnbd-1.22.3/tests/oldstyle.c:51:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/oldstyle.c:85:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/meta-base-allocation.c:200:27: style: Parameter 'entries' can be declared as pointer to const. However it seems that 'check_extent32' is a callback function, if 'entries' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libnbd-1.22.3/tests/meta-base-allocation.c:49:57: note: You might need to cast the function pointer here libnbd-1.22.3/tests/meta-base-allocation.c:200:27: note: Parameter 'entries' can be declared as pointer to const libnbd-1.22.3/tests/meta-base-allocation.c:200:60: style: Parameter 'error' can be declared as pointer to const. However it seems that 'check_extent32' is a callback function, if 'error' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libnbd-1.22.3/tests/meta-base-allocation.c:49:57: note: You might need to cast the function pointer here libnbd-1.22.3/tests/meta-base-allocation.c:200:60: note: Parameter 'error' can be declared as pointer to const libnbd-1.22.3/tests/meta-base-allocation.c:257:62: style: Parameter 'error' can be declared as pointer to const. However it seems that 'check_extent64' is a callback function, if 'error' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libnbd-1.22.3/tests/meta-base-allocation.c:51:59: note: You might need to cast the function pointer here libnbd-1.22.3/tests/meta-base-allocation.c:257:62: note: Parameter 'error' can be declared as pointer to const libnbd-1.22.3/tests/oldstyle.c:81:23: style: Parameter 'argv' can be declared as const array [constParameter] libnbd-1.22.3/tests/newstyle-limited.c:102:23: style: Parameter 'argv' can be declared as const array [constParameter] libnbd-1.22.3/tests/opt-abort.c:39:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/opt-abort.c:34:23: style: Parameter 'argv' can be declared as const array [constParameter] libnbd-1.22.3/tests/opt-info.c:40:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/opt-list-meta-queries.c:49:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBNBD_CONTEXT_BASE_ALLOCATION [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/opt-list-meta-queries.c:60:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/opt-list-meta.c:46:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/opt-list-meta.c:62:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/opt-list-meta.c:74:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/opt-set-meta-queries.c:49:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBNBD_CONTEXT_BASE_ALLOCATION [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/opt-set-meta-queries.c:60:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/opt-list.c:47:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/opt-list.c:108:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/opt-list.c:118:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/opt-list.c:149:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/opt-list.c:123:11: style: Variable 'mode[5]' is assigned a value that is never used. [unreadVariable] libnbd-1.22.3/tests/opt-set-meta.c:48:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBNBD_CONTEXT_BASE_ALLOCATION [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/opt-set-meta.c:60:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/opt-structured-twice.c:51:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/opt-structured-twice.c:47:23: style: Parameter 'argv' can be declared as const array [constParameter] libnbd-1.22.3/tests/opt-starttls.c:64:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/opt-starttls.c:81:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/opt-starttls.c:142:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/opt-starttls.c:54:13: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'meta' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libnbd-1.22.3/tests/opt-starttls.c:123:3: note: You might need to cast the function pointer here libnbd-1.22.3/tests/opt-starttls.c:54:13: note: Parameter 'user_data' can be declared as pointer to const libnbd-1.22.3/tests/pick-a-port.c:72:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/pread-initialize.c:43:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/pread-initialize.c:63:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/private-data.c:37:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/pwrite-extended.c:42:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/pwrite-extended.c:62:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/read-only-flag.c:33:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/read-only-flag.c:29:23: style: Parameter 'argv' can be declared as const array [constParameter] libnbd-1.22.3/tests/read-write-flag.c:33:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/read-write-flag.c:29:23: style: Parameter 'argv' can be declared as const array [constParameter] libnbd-1.22.3/tests/requires.c:34:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/requires.c:45:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/requires.c:56:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/requires.c:97:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/requires.c:104:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/requires.c:135:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/requires.c:149:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/server-death.c:40:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOTCONN [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/server-death.c:58:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/server-death.c:38:31: style: Parameter 'error' can be declared as pointer to const. However it seems that 'callback' is a callback function, if 'error' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libnbd-1.22.3/tests/server-death.c:86:61: note: You might need to cast the function pointer here libnbd-1.22.3/tests/server-death.c:38:31: note: Parameter 'error' can be declared as pointer to const libnbd-1.22.3/tests/server-death.c:50:23: style: Parameter 'argv' can be declared as const array [constParameter] libnbd-1.22.3/tests/shutdown-flags.c:40:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOTCONN [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/shutdown-flags.c:58:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/shutdown-flags.c:38:31: style: Parameter 'error' can be declared as pointer to const. However it seems that 'callback' is a callback function, if 'error' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libnbd-1.22.3/tests/shutdown-flags.c:97:63: note: You might need to cast the function pointer here libnbd-1.22.3/tests/shutdown-flags.c:38:31: note: Parameter 'error' can be declared as pointer to const libnbd-1.22.3/tests/shutdown-flags.c:52:23: style: Parameter 'argv' can be declared as const array [constParameter] libnbd-1.22.3/tests/shutdown-opt-mode.c:39:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/shutdown-opt-mode.c:36:23: style: Parameter 'argv' can be declared as const array [constParameter] libnbd-1.22.3/tests/socket-activation-name.c:51:13: error: There is an unknown macro here somewhere. Configuration is required. If NBDKIT is a macro then please configure it. [unknownMacro] libnbd-1.22.3/tests/synch-parallel.c:81:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/synch-parallel.c:185:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ublk/nbdublk.c:183:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ublk/nbdublk.c:488:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/tests/synch-parallel.c:70:23: style: Parameter 'argv' can be declared as const array [constParameter] libnbd-1.22.3/ublk/tgt.c:79:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable compl [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ublk/tgt.c:104:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UBLK_IO_F_FUA [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ublk/tgt.c:194:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable aio_ctx [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ublk/tgt.c:245:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ublk/tgt.c:278:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UBLK_PARAM_TYPE_BASIC [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ublk/tgt.c:322:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ublk/tgt.c:435:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ublk/tgt.c:453:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable aio_ctx [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ublk/tgt.c:465:62: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable aio_ctx [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:86:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable subbufv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:125:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errorv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:168:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable contextv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:207:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable metacontextv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:257:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable metacontextv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:306:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable namev [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:337:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable namev [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:382:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBNBD_TLS_DISABLE [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:399:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:428:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBNBD_SIZE_MINIMUM [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:452:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Val_emptylist [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:493:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Val_emptylist [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:527:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:559:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Val_emptylist [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:598:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:635:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Val_emptylist [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:674:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Val_emptylist [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:703:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:729:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:754:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:789:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:814:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:836:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:858:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:880:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:902:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:928:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:954:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:977:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:999:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:1025:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:1051:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:1077:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:1102:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:1128:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:1153:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:1179:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:1205:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:1231:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:1253:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:1278:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:1304:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:1330:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:1355:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:1381:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:1407:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:1433:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:1459:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:1486:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:1512:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:1537:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:1563:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:1589:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:1614:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:1639:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:1665:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:1690:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:1716:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:1738:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:1764:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:1789:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:1815:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:1837:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:103:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_AssertionError [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:1863:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:153:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_AssertionError [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:1888:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:1913:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:199:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_AssertionError [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:1938:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:253:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_AssertionError [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:1963:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:289:70: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable length [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:1988:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:362:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_AssertionError [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:2013:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:402:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_AssertionError [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:2048:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:435:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:2073:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:458:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_False [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:2110:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:485:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_TypeError [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:2147:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:529:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:2184:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:646:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:2221:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:748:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:2247:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:804:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:2272:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:831:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_False [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:2299:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:859:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:2324:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:886:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_False [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:2350:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:968:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:2376:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:1017:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_False [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:2402:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:1035:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyUnicode_FSConverter [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:2428:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:1078:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:2454:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:1101:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_False [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:2487:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:1129:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:2514:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:1184:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:2541:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:1229:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyUnicode_FSConverter [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:2569:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:1274:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:2597:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:1298:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_False [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:2623:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:1327:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_False [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:2649:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:1357:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:2674:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:1382:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_False [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:2699:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:1411:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_False [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:2724:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:1440:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:2749:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:1467:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_False [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:2774:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:1497:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:2799:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:1548:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:2824:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:1571:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_False [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:2849:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:1601:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:2874:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:1651:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:2899:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:1674:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_False [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:2924:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:1701:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:2950:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:1728:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:2975:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:1755:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_False [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:3000:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:1782:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_False [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:3027:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:1809:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_False [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:3061:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:1835:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_TypeError [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:3105:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:1878:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:3138:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:1905:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_TypeError [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:3168:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:1953:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_TypeError [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:3199:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:1997:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_TypeError [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:3232:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:2045:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_TypeError [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:3265:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:2090:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:3298:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:2171:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:3342:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:2202:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:3388:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:2230:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:3443:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:2259:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:3469:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:2287:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:3497:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:2305:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyUnicode_FSConverter [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:3526:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:2353:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:3552:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:2383:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:3578:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:2411:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:3612:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:2442:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:3639:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:2476:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:3666:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:2506:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:3694:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:2560:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_False [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:3721:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:2587:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_False [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:3758:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:2614:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_False [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:3783:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:2641:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_False [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:3821:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:2668:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_False [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:3859:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:2695:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_False [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:3897:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:2722:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_False [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:3944:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:2749:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_False [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:3982:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:2776:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_False [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:4033:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:2803:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_False [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:4084:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:2830:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_False [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:4135:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:2859:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_False [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:4186:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:3015:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_TypeError [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:4238:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:3071:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:4308:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:3103:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:4356:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:3133:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:4386:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:3170:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:4429:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:3207:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:4474:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:3244:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:4519:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:3280:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_TypeError [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:4566:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:3333:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_TypeError [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:4633:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:3391:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_TypeError [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:4703:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:3497:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:4772:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:3525:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:4797:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:3543:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyUnicode_FSConverter [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:4819:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:3592:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:4844:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:3622:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:4869:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:3650:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:4894:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:3682:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:4919:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:3717:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:4944:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:3744:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:4969:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:3793:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:4994:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:3819:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:5019:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:3867:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:5044:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:3915:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:5070:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:3967:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:5095:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:4027:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:5120:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:4079:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:5145:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:4146:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:5170:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:4213:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:5195:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:4280:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:5221:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:4350:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:5246:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:4417:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:5271:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:4493:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:5296:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:4551:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:5321:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:4579:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ocaml/nbd-c.c:5347:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:4633:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:4689:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:4745:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:4805:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:4879:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:4955:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:5070:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:5097:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:5120:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_False [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:5143:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_False [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:5166:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_False [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:5189:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_False [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:5212:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_False [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:5235:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_False [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ublk/tgt.c:245:5: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libnbd-1.22.3/python/methods.c:5258:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_False [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ublk/tgt.c:260:5: warning: %d in format string (no. 3) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libnbd-1.22.3/python/methods.c:5289:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_False [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:5439:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:5488:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_False [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:5511:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_False [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:5534:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_False [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:5589:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_False [valueFlowBailoutIncompleteVar] libnbd-1.22.3/ublk/tgt.c:310:40: style:inconclusive: Function 'start_daemon' argument 1 names different: declaration 'dev' definition 'ctrl_dev'. [funcArgNamesDifferent] libnbd-1.22.3/ublk/nbdublk.h:46:51: note: Function 'start_daemon' argument 1 names different: declaration 'dev' definition 'ctrl_dev'. libnbd-1.22.3/ublk/tgt.c:310:40: note: Function 'start_daemon' argument 1 names different: declaration 'dev' definition 'ctrl_dev'. libnbd-1.22.3/ublk/tgt.c:224:23: style: Local variable 'thread_info' shadows outer variable [shadowVariable] libnbd-1.22.3/ublk/tgt.c:66:21: note: Shadowed declaration libnbd-1.22.3/ublk/tgt.c:224:23: note: Shadow variable libnbd-1.22.3/ublk/tgt.c:75:39: style: Parameter 'error' can be declared as pointer to const. However it seems that 'command_completed' is a callback function, if 'error' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libnbd-1.22.3/ublk/tgt.c:117:17: note: You might need to cast the function pointer here libnbd-1.22.3/ublk/tgt.c:75:39: note: Parameter 'error' can be declared as pointer to const libnbd-1.22.3/ublk/tgt.c:192:23: style: Variable 'ti' can be declared as pointer to const [constVariablePointer] libnbd-1.22.3/ublk/tgt.c:224:23: style: Variable 'thread_info' can be declared as pointer to const [constVariablePointer] libnbd-1.22.3/ocaml/nbd-c.c:76:29: style: Parameter 'user_data' can be declared as pointer to const [constParameterPointer] libnbd-1.22.3/ocaml/nbd-c.c:122:34: style: Parameter 'user_data' can be declared as pointer to const [constParameterPointer] libnbd-1.22.3/ocaml/nbd-c.c:159:29: style: Parameter 'user_data' can be declared as pointer to const [constParameterPointer] libnbd-1.22.3/ocaml/nbd-c.c:196:30: style: Parameter 'user_data' can be declared as pointer to const [constParameterPointer] libnbd-1.22.3/ocaml/nbd-c.c:246:32: style: Parameter 'user_data' can be declared as pointer to const [constParameterPointer] libnbd-1.22.3/ocaml/nbd-c.c:296:28: style: Parameter 'user_data' can be declared as pointer to const [constParameterPointer] libnbd-1.22.3/ocaml/nbd-c.c:334:31: style: Parameter 'user_data' can be declared as pointer to const [constParameterPointer] libnbd-1.22.3/ocaml/nbd-c.c:529:20: error:inconclusive: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] libnbd-1.22.3/ocaml/nbd-c.c:528:12: note: Assignment 'i=31', assigned value is 31 libnbd-1.22.3/ocaml/nbd-c.c:529:20: note: Shift libnbd-1.22.3/ocaml/nbd-c.c:600:20: error:inconclusive: Shifting signed 32-bit value by 31 bits is undefined behaviour [shiftTooManyBitsSigned] libnbd-1.22.3/ocaml/nbd-c.c:599:12: note: Assignment 'i=31', assigned value is 31 libnbd-1.22.3/ocaml/nbd-c.c:600:20: note: Shift libnbd-1.22.3/common/include/test-minmax.c:137:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _x2 [valueFlowBailoutIncompleteVar] libnbd-1.22.3/lib/unlocked.h:62:15: error: There is an unknown macro here somewhere. Configuration is required. If nbd_unlocked_get_handle_name is a macro then please configure it. [unknownMacro] generator/states-connect-socket-activation.c:105:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable empty_vector [valueFlowBailoutIncompleteVar] generator/states-newstyle.c:38:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBD_REP_MAGIC [valueFlowBailoutIncompleteVar] generator/states-newstyle.c:106:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBD_MAX_STRING [valueFlowBailoutIncompleteVar] generator/states-reply-chunk.c:38:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] generator/states-reply-chunk.c:56:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBD_REPLY_TYPE_BLOCK_STATUS [valueFlowBailoutIncompleteVar] generator/states-reply.c:43:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_START [valueFlowBailoutIncompleteVar] generator/states.c:63:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] generator/states.c:111:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] generator/states.c:133:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOTCONN [valueFlowBailoutIncompleteVar] generator/states.c:146:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBD_CMD_DISC [valueFlowBailoutIncompleteVar] lib/states.c:1033:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_START [valueFlowBailoutIncompleteVar] generator/states-connect.c:73:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SOCK_STREAM [valueFlowBailoutIncompleteVar] lib/states.c:1111:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_CONNECT_START [valueFlowBailoutIncompleteVar] generator/states-connect.c:118:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_DEAD [valueFlowBailoutIncompleteVar] lib/states.c:1165:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_CONNECT_CONNECTING [valueFlowBailoutIncompleteVar] generator/states-connect.c:147:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNSPEC [valueFlowBailoutIncompleteVar] lib/states.c:1233:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_CONNECT_TCP_START [valueFlowBailoutIncompleteVar] generator/states-connect.c:177:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_START [valueFlowBailoutIncompleteVar] lib/states.c:1311:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_CONNECT_TCP_CONNECT [valueFlowBailoutIncompleteVar] generator/states-connect.c:219:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_DEAD [valueFlowBailoutIncompleteVar] lib/states.c:1364:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_CONNECT_TCP_CONNECTING [valueFlowBailoutIncompleteVar] generator/states-connect.c:240:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_CONNECT_TCP_CONNECT [valueFlowBailoutIncompleteVar] lib/states.c:1407:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_CONNECT_TCP_NEXT_ADDRESS [valueFlowBailoutIncompleteVar] generator/states-connect.c:256:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_DEAD [valueFlowBailoutIncompleteVar] lib/states.c:1557:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_CONNECT_COMMAND_START [valueFlowBailoutIncompleteVar] generator/states-connect-socket-activation.c:197:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_DEAD [valueFlowBailoutIncompleteVar] lib/states.c:1763:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_CONNECT_SA_START [valueFlowBailoutIncompleteVar] generator/states-magic.c:25:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_MAGIC_RECV_MAGIC [valueFlowBailoutIncompleteVar] lib/states.c:1802:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_MAGIC_START [valueFlowBailoutIncompleteVar] generator/states-magic.c:30:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_DEAD [valueFlowBailoutIncompleteVar] lib/states.c:1842:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_MAGIC_RECV_MAGIC [valueFlowBailoutIncompleteVar] generator/states-magic.c:38:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBD_MAGIC [valueFlowBailoutIncompleteVar] lib/states.c:1902:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_MAGIC_CHECK_MAGIC [valueFlowBailoutIncompleteVar] generator/states-oldstyle.c:30:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_OLDSTYLE_RECV_REMAINING [valueFlowBailoutIncompleteVar] lib/states.c:1946:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_OLDSTYLE_START [valueFlowBailoutIncompleteVar] generator/states-oldstyle.c:35:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_DEAD [valueFlowBailoutIncompleteVar] lib/states.c:1986:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_OLDSTYLE_RECV_REMAINING [valueFlowBailoutIncompleteVar] generator/states-oldstyle.c:52:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBNBD_TLS_REQUIRE [valueFlowBailoutIncompleteVar] lib/states.c:2058:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_OLDSTYLE_CHECK [valueFlowBailoutIncompleteVar] generator/states-newstyle.c:196:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBNBD_HANDSHAKE_FLAG_FIXED_NEWSTYLE [valueFlowBailoutIncompleteVar] lib/states.c:2145:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_NEWSTYLE_START [valueFlowBailoutIncompleteVar] generator/states-newstyle.c:240:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_DEAD [valueFlowBailoutIncompleteVar] lib/states.c:2185:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_NEWSTYLE_RECV_GFLAGS [valueFlowBailoutIncompleteVar] generator/states-newstyle.c:249:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBNBD_HANDSHAKE_FLAG_FIXED_NEWSTYLE [valueFlowBailoutIncompleteVar] lib/states.c:2242:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_NEWSTYLE_CHECK_GFLAGS [valueFlowBailoutIncompleteVar] generator/states-newstyle.c:271:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_DEAD [valueFlowBailoutIncompleteVar] lib/states.c:2291:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_NEWSTYLE_SEND_CFLAGS [valueFlowBailoutIncompleteVar] generator/states-newstyle-opt-starttls.c:23:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBNBD_HANDSHAKE_FLAG_FIXED_NEWSTYLE [valueFlowBailoutIncompleteVar] lib/states.c:2348:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_NEWSTYLE_OPT_STARTTLS_START [valueFlowBailoutIncompleteVar] generator/states-newstyle-opt-starttls.c:46:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_DEAD [valueFlowBailoutIncompleteVar] lib/states.c:2392:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_NEWSTYLE_OPT_STARTTLS_SEND [valueFlowBailoutIncompleteVar] generator/states-newstyle-opt-starttls.c:56:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_DEAD [valueFlowBailoutIncompleteVar] lib/states.c:2437:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_NEWSTYLE_OPT_STARTTLS_RECV_REPLY [valueFlowBailoutIncompleteVar] generator/states-newstyle-opt-starttls.c:68:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_DEAD [valueFlowBailoutIncompleteVar] lib/states.c:2479:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_NEWSTYLE_OPT_STARTTLS_RECV_REPLY_PAYLOAD [valueFlowBailoutIncompleteVar] generator/states-newstyle-opt-starttls.c:76:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOTSUP [valueFlowBailoutIncompleteVar] lib/states.c:2576:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_NEWSTYLE_OPT_STARTTLS_CHECK_REPLY [valueFlowBailoutIncompleteVar] generator/states-newstyle-opt-starttls.c:142:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_DEAD [valueFlowBailoutIncompleteVar] lib/states.c:2628:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_NEWSTYLE_OPT_STARTTLS_TLS_HANDSHAKE_READ [valueFlowBailoutIncompleteVar] generator/states-newstyle-opt-starttls.c:161:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_DEAD [valueFlowBailoutIncompleteVar] lib/states.c:2680:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_NEWSTYLE_OPT_STARTTLS_TLS_HANDSHAKE_WRITE [valueFlowBailoutIncompleteVar] generator/states-newstyle-opt-starttls.c:185:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBD_OPT_STARTTLS [valueFlowBailoutIncompleteVar] lib/states.c:2729:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_NEWSTYLE_OPT_STARTTLS_TLS_HANDSHAKE_DONE [valueFlowBailoutIncompleteVar] generator/states-newstyle-opt-extended-headers.c:23:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBNBD_HANDSHAKE_FLAG_FIXED_NEWSTYLE [valueFlowBailoutIncompleteVar] lib/states.c:2785:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_NEWSTYLE_OPT_EXTENDED_HEADERS_START [valueFlowBailoutIncompleteVar] generator/states-newstyle-opt-extended-headers.c:45:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_DEAD [valueFlowBailoutIncompleteVar] lib/states.c:2830:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_NEWSTYLE_OPT_EXTENDED_HEADERS_SEND [valueFlowBailoutIncompleteVar] generator/states-newstyle-opt-extended-headers.c:55:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_DEAD [valueFlowBailoutIncompleteVar] lib/states.c:2877:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_NEWSTYLE_OPT_EXTENDED_HEADERS_RECV_REPLY [valueFlowBailoutIncompleteVar] generator/states-newstyle-opt-extended-headers.c:67:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_DEAD [valueFlowBailoutIncompleteVar] lib/states.c:2919:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_NEWSTYLE_OPT_EXTENDED_HEADERS_RECV_REPLY_PAYLOAD [valueFlowBailoutIncompleteVar] generator/states-newstyle-opt-extended-headers.c:74:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOTSUP [valueFlowBailoutIncompleteVar] lib/states.c:2992:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_NEWSTYLE_OPT_EXTENDED_HEADERS_CHECK_REPLY [valueFlowBailoutIncompleteVar] generator/states-newstyle-opt-structured-reply.c:23:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBNBD_HANDSHAKE_FLAG_FIXED_NEWSTYLE [valueFlowBailoutIncompleteVar] lib/states.c:3051:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_NEWSTYLE_OPT_STRUCTURED_REPLY_START [valueFlowBailoutIncompleteVar] generator/states-newstyle-opt-structured-reply.c:48:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_DEAD [valueFlowBailoutIncompleteVar] lib/states.c:3096:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_NEWSTYLE_OPT_STRUCTURED_REPLY_SEND [valueFlowBailoutIncompleteVar] generator/states-newstyle-opt-structured-reply.c:58:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_DEAD [valueFlowBailoutIncompleteVar] lib/states.c:3143:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_NEWSTYLE_OPT_STRUCTURED_REPLY_RECV_REPLY [valueFlowBailoutIncompleteVar] generator/states-newstyle-opt-structured-reply.c:70:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_DEAD [valueFlowBailoutIncompleteVar] lib/states.c:3185:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_NEWSTYLE_OPT_STRUCTURED_REPLY_RECV_REPLY_PAYLOAD [valueFlowBailoutIncompleteVar] generator/states-newstyle-opt-structured-reply.c:77:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOTSUP [valueFlowBailoutIncompleteVar] lib/states.c:3257:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_NEWSTYLE_OPT_STRUCTURED_REPLY_CHECK_REPLY [valueFlowBailoutIncompleteVar] generator/states-newstyle-opt-meta-context.c:48:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBNBD_HANDSHAKE_FLAG_FIXED_NEWSTYLE [valueFlowBailoutIncompleteVar] lib/states.c:3364:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_NEWSTYLE_OPT_META_CONTEXT_START [valueFlowBailoutIncompleteVar] generator/states-newstyle-opt-meta-context.c:96:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_DEAD [valueFlowBailoutIncompleteVar] lib/states.c:3409:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_NEWSTYLE_OPT_META_CONTEXT_SEND [valueFlowBailoutIncompleteVar] generator/states-newstyle-opt-meta-context.c:108:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_DEAD [valueFlowBailoutIncompleteVar] lib/states.c:3455:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_NEWSTYLE_OPT_META_CONTEXT_SEND_EXPORTNAMELEN [valueFlowBailoutIncompleteVar] generator/states-newstyle-opt-meta-context.c:119:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_DEAD [valueFlowBailoutIncompleteVar] lib/states.c:3502:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_NEWSTYLE_OPT_META_CONTEXT_SEND_EXPORTNAME [valueFlowBailoutIncompleteVar] generator/states-newstyle-opt-meta-context.c:131:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_DEAD [valueFlowBailoutIncompleteVar] lib/states.c:3546:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_NEWSTYLE_OPT_META_CONTEXT_SEND_NRQUERIES [valueFlowBailoutIncompleteVar] generator/states-newstyle-opt-meta-context.c:141:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_NEWSTYLE_OPT_META_CONTEXT_PREPARE_FOR_REPLY [valueFlowBailoutIncompleteVar] lib/states.c:3596:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_NEWSTYLE_OPT_META_CONTEXT_PREPARE_NEXT_QUERY [valueFlowBailoutIncompleteVar] generator/states-newstyle-opt-meta-context.c:157:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_DEAD [valueFlowBailoutIncompleteVar] lib/states.c:3643:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_NEWSTYLE_OPT_META_CONTEXT_SEND_QUERYLEN [valueFlowBailoutIncompleteVar] generator/states-newstyle-opt-meta-context.c:167:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_DEAD [valueFlowBailoutIncompleteVar] lib/states.c:3687:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_NEWSTYLE_OPT_META_CONTEXT_SEND_QUERY [valueFlowBailoutIncompleteVar] generator/states-newstyle-opt-meta-context.c:177:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_NEWSTYLE_OPT_META_CONTEXT_RECV_REPLY [valueFlowBailoutIncompleteVar] lib/states.c:3728:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_NEWSTYLE_OPT_META_CONTEXT_PREPARE_FOR_REPLY [valueFlowBailoutIncompleteVar] generator/states-newstyle-opt-meta-context.c:183:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBD_OPT_LIST_META_CONTEXT [valueFlowBailoutIncompleteVar] lib/states.c:3782:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_NEWSTYLE_OPT_META_CONTEXT_RECV_REPLY [valueFlowBailoutIncompleteVar] generator/states-newstyle-opt-meta-context.c:201:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_DEAD [valueFlowBailoutIncompleteVar] lib/states.c:3824:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_NEWSTYLE_OPT_META_CONTEXT_RECV_REPLY_PAYLOAD [valueFlowBailoutIncompleteVar] generator/states-newstyle-opt-meta-context.c:214:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBD_OPT_LIST_META_CONTEXT [valueFlowBailoutIncompleteVar] lib/states.c:3945:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_NEWSTYLE_OPT_META_CONTEXT_CHECK_REPLY [valueFlowBailoutIncompleteVar] generator/states-newstyle-opt-go.c:31:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBNBD_HANDSHAKE_FLAG_FIXED_NEWSTYLE [valueFlowBailoutIncompleteVar] lib/states.c:4007:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_NEWSTYLE_OPT_GO_START [valueFlowBailoutIncompleteVar] generator/states-newstyle-opt-go.c:55:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_DEAD [valueFlowBailoutIncompleteVar] lib/states.c:4054:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_NEWSTYLE_OPT_GO_SEND [valueFlowBailoutIncompleteVar] generator/states-newstyle-opt-go.c:67:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_DEAD [valueFlowBailoutIncompleteVar] lib/states.c:4100:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_NEWSTYLE_OPT_GO_SEND_EXPORTNAMELEN [valueFlowBailoutIncompleteVar] generator/states-newstyle-opt-go.c:85:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_DEAD [valueFlowBailoutIncompleteVar] lib/states.c:4151:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_NEWSTYLE_OPT_GO_SEND_EXPORT [valueFlowBailoutIncompleteVar] generator/states-newstyle-opt-go.c:98:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_DEAD [valueFlowBailoutIncompleteVar] lib/states.c:4202:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_NEWSTYLE_OPT_GO_SEND_NRINFOS [valueFlowBailoutIncompleteVar] generator/states-newstyle-opt-go.c:114:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_DEAD [valueFlowBailoutIncompleteVar] lib/states.c:4247:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_NEWSTYLE_OPT_GO_SEND_INFO [valueFlowBailoutIncompleteVar] generator/states-newstyle-opt-go.c:124:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_DEAD [valueFlowBailoutIncompleteVar] lib/states.c:4292:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_NEWSTYLE_OPT_GO_RECV_REPLY [valueFlowBailoutIncompleteVar] generator/states-newstyle-opt-go.c:136:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_DEAD [valueFlowBailoutIncompleteVar] lib/states.c:4333:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_NEWSTYLE_OPT_GO_RECV_REPLY_PAYLOAD [valueFlowBailoutIncompleteVar] generator/states-newstyle-opt-go.c:168:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_DEAD [valueFlowBailoutIncompleteVar] lib/states.c:4498:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_NEWSTYLE_OPT_GO_CHECK_REPLY [valueFlowBailoutIncompleteVar] generator/states-newstyle-opt-export-name.c:23:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBD_NEW_VERSION [valueFlowBailoutIncompleteVar] lib/states.c:4544:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_NEWSTYLE_OPT_EXPORT_NAME_START [valueFlowBailoutIncompleteVar] generator/states-newstyle-opt-export-name.c:35:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_DEAD [valueFlowBailoutIncompleteVar] lib/states.c:4589:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_NEWSTYLE_OPT_EXPORT_NAME_SEND [valueFlowBailoutIncompleteVar] generator/states-newstyle-opt-export-name.c:45:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_DEAD [valueFlowBailoutIncompleteVar] lib/states.c:4636:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_NEWSTYLE_OPT_EXPORT_NAME_SEND_EXPORT [valueFlowBailoutIncompleteVar] generator/states-newstyle-opt-export-name.c:57:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_DEAD [valueFlowBailoutIncompleteVar] lib/states.c:4678:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_NEWSTYLE_OPT_EXPORT_NAME_RECV_REPLY [valueFlowBailoutIncompleteVar] generator/states-newstyle-opt-export-name.c:70:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_DEAD [valueFlowBailoutIncompleteVar] lib/states.c:4730:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_NEWSTYLE_OPT_EXPORT_NAME_CHECK_REPLY [valueFlowBailoutIncompleteVar] generator/states-newstyle-opt-list.c:26:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBNBD_HANDSHAKE_FLAG_FIXED_NEWSTYLE [valueFlowBailoutIncompleteVar] lib/states.c:4776:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_NEWSTYLE_OPT_LIST_START [valueFlowBailoutIncompleteVar] generator/states-newstyle-opt-list.c:40:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_DEAD [valueFlowBailoutIncompleteVar] lib/states.c:4820:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_NEWSTYLE_OPT_LIST_SEND [valueFlowBailoutIncompleteVar] generator/states-newstyle-opt-list.c:50:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_DEAD [valueFlowBailoutIncompleteVar] lib/states.c:4865:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_NEWSTYLE_OPT_LIST_RECV_REPLY [valueFlowBailoutIncompleteVar] generator/states-newstyle-opt-list.c:62:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_DEAD [valueFlowBailoutIncompleteVar] lib/states.c:4905:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_NEWSTYLE_OPT_LIST_RECV_REPLY_PAYLOAD [valueFlowBailoutIncompleteVar] generator/states-newstyle-opt-list.c:89:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBD_MAX_STRING [valueFlowBailoutIncompleteVar] lib/states.c:5012:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_NEWSTYLE_OPT_LIST_CHECK_REPLY [valueFlowBailoutIncompleteVar] generator/states-newstyle.c:286:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBNBD_HANDSHAKE_FLAG_FIXED_NEWSTYLE [valueFlowBailoutIncompleteVar] lib/states.c:5056:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_NEWSTYLE_PREPARE_OPT_ABORT [valueFlowBailoutIncompleteVar] generator/states-newstyle.c:298:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_DEAD [valueFlowBailoutIncompleteVar] lib/states.c:5097:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_NEWSTYLE_SEND_OPT_ABORT [valueFlowBailoutIncompleteVar] generator/states-newstyle.c:311:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_CLOSED [valueFlowBailoutIncompleteVar] lib/states.c:5145:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_NEWSTYLE_SEND_OPTION_SHUTDOWN [valueFlowBailoutIncompleteVar] generator/states-newstyle.c:318:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_READY [valueFlowBailoutIncompleteVar] lib/states.c:5182:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_NEWSTYLE_FINISHED [valueFlowBailoutIncompleteVar] lib/states.c:5215:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_NEGOTIATING [valueFlowBailoutIncompleteVar] generator/states.c:185:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_ISSUE_COMMAND_START [valueFlowBailoutIncompleteVar] lib/states.c:5258:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_READY [valueFlowBailoutIncompleteVar] generator/states-issue-command.c:35:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_ISSUE_COMMAND_SEND_WRITE_SHUTDOWN [valueFlowBailoutIncompleteVar] lib/states.c:5336:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_ISSUE_COMMAND_START [valueFlowBailoutIncompleteVar] generator/states-issue-command.c:69:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_DEAD [valueFlowBailoutIncompleteVar] lib/states.c:5376:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_ISSUE_COMMAND_SEND_REQUEST [valueFlowBailoutIncompleteVar] generator/states-issue-command.c:78:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_REPLY_START [valueFlowBailoutIncompleteVar] lib/states.c:5418:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_ISSUE_COMMAND_PAUSE_SEND_REQUEST [valueFlowBailoutIncompleteVar] generator/states-issue-command.c:87:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBD_CMD_WRITE [valueFlowBailoutIncompleteVar] lib/states.c:5476:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_ISSUE_COMMAND_PREPARE_WRITE_PAYLOAD [valueFlowBailoutIncompleteVar] generator/states-issue-command.c:106:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_DEAD [valueFlowBailoutIncompleteVar] lib/states.c:5518:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_ISSUE_COMMAND_SEND_WRITE_PAYLOAD [valueFlowBailoutIncompleteVar] generator/states-issue-command.c:115:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_REPLY_START [valueFlowBailoutIncompleteVar] lib/states.c:5560:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_ISSUE_COMMAND_PAUSE_WRITE_PAYLOAD [valueFlowBailoutIncompleteVar] generator/states-issue-command.c:120:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_ISSUE_COMMAND_FINISH [valueFlowBailoutIncompleteVar] lib/states.c:5600:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_ISSUE_COMMAND_SEND_WRITE_SHUTDOWN [valueFlowBailoutIncompleteVar] generator/states-issue-command.c:125:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_REPLY_START [valueFlowBailoutIncompleteVar] lib/states.c:5640:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_ISSUE_COMMAND_PAUSE_WRITE_SHUTDOWN [valueFlowBailoutIncompleteVar] generator/states-issue-command.c:140:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_READY [valueFlowBailoutIncompleteVar] lib/states.c:5688:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_ISSUE_COMMAND_FINISH [valueFlowBailoutIncompleteVar] generator/states-reply.c:52:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_START [valueFlowBailoutIncompleteVar] lib/states.c:5798:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_REPLY_START [valueFlowBailoutIncompleteVar] generator/states-reply.c:128:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_DEAD [valueFlowBailoutIncompleteVar] lib/states.c:5857:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_REPLY_RECV_REPLY [valueFlowBailoutIncompleteVar] generator/states-reply.c:167:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_REPLY_SIMPLE_REPLY_START [valueFlowBailoutIncompleteVar] lib/states.c:5973:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_REPLY_CHECK_REPLY_MAGIC [valueFlowBailoutIncompleteVar] generator/states-reply.c:237:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_DEAD [valueFlowBailoutIncompleteVar] lib/states.c:6019:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_REPLY_RECV_STRUCTURED_REMAINING [valueFlowBailoutIncompleteVar] generator/states-reply-simple.c:40:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_REPLY_FINISH_COMMAND [valueFlowBailoutIncompleteVar] lib/states.c:6105:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_REPLY_SIMPLE_REPLY_START [valueFlowBailoutIncompleteVar] generator/states-reply-simple.c:79:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_DEAD [valueFlowBailoutIncompleteVar] lib/states.c:6166:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_REPLY_SIMPLE_REPLY_RECV_READ_PAYLOAD [valueFlowBailoutIncompleteVar] generator/states-reply-chunk.c:101:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MAX_REQUEST_SIZE [valueFlowBailoutIncompleteVar] lib/states.c:6314:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_REPLY_CHUNK_REPLY_START [valueFlowBailoutIncompleteVar] generator/states-reply-chunk.c:198:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_DEAD [valueFlowBailoutIncompleteVar] lib/states.c:6389:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_REPLY_CHUNK_REPLY_RECV_ERROR [valueFlowBailoutIncompleteVar] generator/states-reply-chunk.c:240:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_DEAD [valueFlowBailoutIncompleteVar] lib/states.c:6462:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_REPLY_CHUNK_REPLY_RECV_ERROR_MESSAGE [valueFlowBailoutIncompleteVar] generator/states-reply-chunk.c:281:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_DEAD [valueFlowBailoutIncompleteVar] lib/states.c:6552:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_REPLY_CHUNK_REPLY_RECV_ERROR_TAIL [valueFlowBailoutIncompleteVar] generator/states-reply-chunk.c:337:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_DEAD [valueFlowBailoutIncompleteVar] lib/states.c:6619:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_REPLY_CHUNK_REPLY_RECV_OFFSET_DATA [valueFlowBailoutIncompleteVar] generator/states-reply-chunk.c:370:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_DEAD [valueFlowBailoutIncompleteVar] lib/states.c:6684:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_REPLY_CHUNK_REPLY_RECV_OFFSET_DATA_DATA [valueFlowBailoutIncompleteVar] generator/states-reply-chunk.c:401:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_DEAD [valueFlowBailoutIncompleteVar] lib/states.c:6767:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_REPLY_CHUNK_REPLY_RECV_OFFSET_HOLE [valueFlowBailoutIncompleteVar] generator/states-reply-chunk.c:449:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_DEAD [valueFlowBailoutIncompleteVar] lib/states.c:6868:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_REPLY_CHUNK_REPLY_RECV_BS_HEADER [valueFlowBailoutIncompleteVar] generator/states-reply-chunk.c:523:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_DEAD [valueFlowBailoutIncompleteVar] lib/states.c:7046:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_REPLY_CHUNK_REPLY_RECV_BS_ENTRIES [valueFlowBailoutIncompleteVar] generator/states-reply-chunk.c:661:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_DEAD [valueFlowBailoutIncompleteVar] lib/states.c:7126:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_REPLY_CHUNK_REPLY_RESYNC [valueFlowBailoutIncompleteVar] generator/states-reply-chunk.c:705:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBD_REPLY_FLAG_DONE [valueFlowBailoutIncompleteVar] lib/states.c:7173:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_REPLY_CHUNK_REPLY_FINISH [valueFlowBailoutIncompleteVar] generator/states-reply.c:265:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] lib/states.c:7274:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_REPLY_FINISH_COMMAND [valueFlowBailoutIncompleteVar] lib/states.c:7324:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_DEAD [valueFlowBailoutIncompleteVar] lib/states.c:7368:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable STATE_CLOSED [valueFlowBailoutIncompleteVar] libnbd-1.22.3/python/methods.c:70:22: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'chunk_wrapper' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libnbd-1.22.3/python/methods.c:4400:44: note: You might need to cast the function pointer here libnbd-1.22.3/python/methods.c:70:22: note: Parameter 'user_data' can be declared as pointer to const libnbd-1.22.3/python/methods.c:124:27: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'completion_wrapper' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libnbd-1.22.3/python/methods.c:4942:54: note: You might need to cast the function pointer here libnbd-1.22.3/python/methods.c:124:27: note: Parameter 'user_data' can be declared as pointer to const libnbd-1.22.3/python/methods.c:173:22: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'debug_wrapper' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libnbd-1.22.3/python/methods.c:474:44: note: You might need to cast the function pointer here libnbd-1.22.3/python/methods.c:173:22: note: Parameter 'user_data' can be declared as pointer to const libnbd-1.22.3/python/methods.c:213:23: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'extent_wrapper' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libnbd-1.22.3/python/methods.c:4789:46: note: You might need to cast the function pointer here libnbd-1.22.3/python/methods.c:213:23: note: Parameter 'user_data' can be declared as pointer to const libnbd-1.22.3/python/methods.c:274:25: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'extent64_wrapper' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libnbd-1.22.3/python/methods.c:4938:50: note: You might need to cast the function pointer here libnbd-1.22.3/python/methods.c:274:25: note: Parameter 'user_data' can be declared as pointer to const libnbd-1.22.3/python/methods.c:336:21: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'list_wrapper' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libnbd-1.22.3/python/methods.c:3953:42: note: You might need to cast the function pointer here libnbd-1.22.3/python/methods.c:336:21: note: Parameter 'user_data' can be declared as pointer to const libnbd-1.22.3/python/methods.c:376:24: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'context_wrapper' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libnbd-1.22.3/python/methods.c:4265:48: note: You might need to cast the function pointer here libnbd-1.22.3/python/methods.c:376:24: note: Parameter 'user_data' can be declared as pointer to const generator/states-reply-chunk.c:689:16: style: Condition 'offset==-1' is always false [knownConditionTrueFalse] generator/states-issue-command.c:82:19: style: Variable 'cmd' can be declared as pointer to const [constVariablePointer] generator/states.c:191:22: style: Parameter 'h' can be declared as pointer to const [constParameterPointer] generator/states.c:191:37: style: Parameter 'next_state' can be declared as pointer to const [constParameterPointer] generator/states.c:191:55: style: Parameter 'blocked' can be declared as pointer to const [constParameterPointer] lib/states.c:5200:22: style: Parameter 'h' can be declared as pointer to const [constParameterPointer] lib/states.c:5200:37: style: Parameter 'next_state' can be declared as pointer to const [constParameterPointer] lib/states.c:5200:55: style: Parameter 'blocked' can be declared as pointer to const [constParameterPointer] diff: 2.18.0 libnbd-1.22.3/common/include/test-minmax.c:137:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _x0 [valueFlowBailoutIncompleteVar] head libnbd-1.22.3/common/include/test-minmax.c:137:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _x2 [valueFlowBailoutIncompleteVar] head libnbd-1.22.3/ocaml/nbd-c.c:122:34: style: Parameter 'user_data' can be declared as pointer to const [constParameterPointer] head libnbd-1.22.3/ocaml/nbd-c.c:159:29: style: Parameter 'user_data' can be declared as pointer to const [constParameterPointer] head libnbd-1.22.3/ocaml/nbd-c.c:196:30: style: Parameter 'user_data' can be declared as pointer to const [constParameterPointer] head libnbd-1.22.3/ocaml/nbd-c.c:246:32: style: Parameter 'user_data' can be declared as pointer to const [constParameterPointer] head libnbd-1.22.3/ocaml/nbd-c.c:296:28: style: Parameter 'user_data' can be declared as pointer to const [constParameterPointer] head libnbd-1.22.3/ocaml/nbd-c.c:334:31: style: Parameter 'user_data' can be declared as pointer to const [constParameterPointer] head libnbd-1.22.3/ocaml/nbd-c.c:76:29: style: Parameter 'user_data' can be declared as pointer to const [constParameterPointer] head libnbd-1.22.3/python/methods.c:124:27: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'completion_wrapper' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libnbd-1.22.3/python/methods.c:4942:54: note: You might need to cast the function pointer here libnbd-1.22.3/python/methods.c:124:27: note: Parameter 'user_data' can be declared as pointer to const head libnbd-1.22.3/python/methods.c:173:22: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'debug_wrapper' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libnbd-1.22.3/python/methods.c:474:44: note: You might need to cast the function pointer here libnbd-1.22.3/python/methods.c:173:22: note: Parameter 'user_data' can be declared as pointer to const head libnbd-1.22.3/python/methods.c:213:23: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'extent_wrapper' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libnbd-1.22.3/python/methods.c:4789:46: note: You might need to cast the function pointer here libnbd-1.22.3/python/methods.c:213:23: note: Parameter 'user_data' can be declared as pointer to const head libnbd-1.22.3/python/methods.c:274:25: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'extent64_wrapper' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libnbd-1.22.3/python/methods.c:4938:50: note: You might need to cast the function pointer here libnbd-1.22.3/python/methods.c:274:25: note: Parameter 'user_data' can be declared as pointer to const head libnbd-1.22.3/python/methods.c:336:21: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'list_wrapper' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libnbd-1.22.3/python/methods.c:3953:42: note: You might need to cast the function pointer here libnbd-1.22.3/python/methods.c:336:21: note: Parameter 'user_data' can be declared as pointer to const head libnbd-1.22.3/python/methods.c:376:24: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'context_wrapper' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libnbd-1.22.3/python/methods.c:4265:48: note: You might need to cast the function pointer here libnbd-1.22.3/python/methods.c:376:24: note: Parameter 'user_data' can be declared as pointer to const head libnbd-1.22.3/python/methods.c:70:22: style: Parameter 'user_data' can be declared as pointer to const. However it seems that 'chunk_wrapper' is a callback function, if 'user_data' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libnbd-1.22.3/python/methods.c:4400:44: note: You might need to cast the function pointer here libnbd-1.22.3/python/methods.c:70:22: note: Parameter 'user_data' can be declared as pointer to const head libnbd-1.22.3/ublk/tgt.c:224:23: style: Variable 'thread_info' can be declared as pointer to const [constVariablePointer] DONE