2025-07-04 22:27 ftp://ftp.de.debian.org/debian/pool/main/n/nbdkit/nbdkit_1.42.4.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=python --library=libcurl --library=lua --library=zlib --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 -j10 platform: Linux-6.8.12-11-pve-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.67 compiler: g++ (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 cppcheck: head 2.17.0 head-info: 9b11b6b (2025-07-04 16:03:30 +0200) count: 1925 1915 elapsed-time: 1.1 1.1 head-timing-info: old-timing-info: head results: nbdkit-1.42.4/common/allocators/allocator.c:134:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable empty_vector [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/common/allocators/malloc.c:276:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/common/bitmap/bitmap.c:56:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE_MAX [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/common/bitmap/test-bitmap.c:68:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/common/bitmap/test-bitmap.c:152:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/common/include/test-array-size.c:43:25: style: struct member 'st::s' is never used. [unusedStructMember] nbdkit-1.42.4/common/include/test-array-size.c:43:32: style: struct member 'st::i' is never used. [unusedStructMember] nbdkit-1.42.4/common/allocators/sparse.c:165:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable l2_dir [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/common/allocators/sparse.c:199:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable offset [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/common/allocators/sparse.c:261:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/common/allocators/sparse.c:555:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_EXTENT_HOLE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/common/include/human-size.h:59:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/common/include/test-human-size.c:56:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/common/include/test-isaligned.c:50:13: warning: Assert statement calls a function which may have desired side effects: 'assert'. [assertWithSideEffect] nbdkit-1.42.4/common/include/test-isaligned.c:51:13: warning: Assert statement calls a function which may have desired side effects: 'assert'. [assertWithSideEffect] nbdkit-1.42.4/common/include/test-isaligned.c:52:13: warning: Assert statement calls a function which may have desired side effects: 'assert'. [assertWithSideEffect] nbdkit-1.42.4/common/include/test-isaligned.c:53:13: warning: Assert statement calls a function which may have desired side effects: 'assert'. [assertWithSideEffect] nbdkit-1.42.4/common/include/test-isaligned.c:54:13: warning: Assert statement calls a function which may have desired side effects: 'assert'. [assertWithSideEffect] nbdkit-1.42.4/common/include/test-isaligned.c:56:17: warning: Assert statement calls a function which may have desired side effects: 'assert'. [assertWithSideEffect] nbdkit-1.42.4/common/include/test-isaligned.c:57:17: warning: Assert statement calls a function which may have desired side effects: 'assert'. [assertWithSideEffect] nbdkit-1.42.4/common/bitmap/test-bitmap.c:112:12: style: Condition 'i!=-1' is always true [knownConditionTrueFalse] nbdkit-1.42.4/common/allocators/malloc.c:176:17: portability: 'buf' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] nbdkit-1.42.4/common/include/test-random.c:174:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/common/include/test-tvdiff.c:82:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/common/include/iszero.h:57:12: style: Condition 'size!=limit' is always true [knownConditionTrueFalse] nbdkit-1.42.4/common/include/iszero.h:52:22: note: limit is assigned 'size<16?size:16' here. nbdkit-1.42.4/common/include/iszero.h:55:15: note: Assuming condition is false nbdkit-1.42.4/common/include/iszero.h:57:12: note: Condition 'size!=limit' is always true nbdkit-1.42.4/common/protocol/test-protostrings.c:63:3: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] nbdkit-1.42.4/common/protocol/test-protostrings.c:64:3: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] nbdkit-1.42.4/common/protocol/test-protostrings.c:65:3: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] nbdkit-1.42.4/common/protocol/test-protostrings.c:68:3: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] nbdkit-1.42.4/common/protocol/test-protostrings.c:72:3: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] nbdkit-1.42.4/common/protocol/test-protostrings.c:73:3: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] nbdkit-1.42.4/common/protocol/test-protostrings.c:74:3: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] nbdkit-1.42.4/common/replacements/fsync.c:73:0: error: #error "no replacement fsync is available on this platform" [preprocessorErrorDirective] nbdkit-1.42.4/common/replacements/fsync.c:73:2: error: #error "no replacement fsync is available on this platform" [preprocessorErrorDirective] nbdkit-1.42.4/common/regions/regions.h:97:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable end [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/common/replacements/get_current_dir_name.c:51:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PATH_MAX [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/common/regions/regions.c:48:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable empty_vector [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/common/replacements/getdelim.c:48:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/common/replacements/getline.c:41:17: style:inconclusive: Function 'getline' argument 1 names different: declaration 'lineptr' definition 'buf'. [funcArgNamesDifferent] nbdkit-1.42.4/common/replacements/getline.h:43:25: note: Function 'getline' argument 1 names different: declaration 'lineptr' definition 'buf'. nbdkit-1.42.4/common/replacements/getline.c:41:17: note: Function 'getline' argument 1 names different: declaration 'lineptr' definition 'buf'. nbdkit-1.42.4/common/replacements/getline.c:41:30: style:inconclusive: Function 'getline' argument 2 names different: declaration 'n' definition 'bufsiz'. [funcArgNamesDifferent] nbdkit-1.42.4/common/replacements/getline.h:43:42: note: Function 'getline' argument 2 names different: declaration 'n' definition 'bufsiz'. nbdkit-1.42.4/common/replacements/getline.c:41:30: note: Function 'getline' argument 2 names different: declaration 'n' definition 'bufsiz'. nbdkit-1.42.4/common/replacements/getline.c:41:44: style:inconclusive: Function 'getline' argument 3 names different: declaration 'stream' definition 'fp'. [funcArgNamesDifferent] nbdkit-1.42.4/common/replacements/getline.h:43:51: note: Function 'getline' argument 3 names different: declaration 'stream' definition 'fp'. nbdkit-1.42.4/common/replacements/getline.c:41:44: note: Function 'getline' argument 3 names different: declaration 'stream' definition 'fp'. nbdkit-1.42.4/common/allocators/sparse.c:173:47: style: Parameter 'a' can be declared as pointer to const. However it seems that 'sparse_array_set_size_hint' is a callback function, if 'a' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/common/allocators/sparse.c:603:20: note: You might need to cast the function pointer here nbdkit-1.42.4/common/allocators/sparse.c:173:47: note: Parameter 'a' can be declared as pointer to const nbdkit-1.42.4/common/allocators/sparse.c:319:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/common/allocators/sparse.c:284:19: portability: 'page' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] nbdkit-1.42.4/common/replacements/getdelim.c:43:18: style:inconclusive: Function 'getdelim' argument 1 names different: declaration 'lineptr' definition 'buf'. [funcArgNamesDifferent] nbdkit-1.42.4/common/replacements/getline.h:44:26: note: Function 'getdelim' argument 1 names different: declaration 'lineptr' definition 'buf'. nbdkit-1.42.4/common/replacements/getdelim.c:43:18: note: Function 'getdelim' argument 1 names different: declaration 'lineptr' definition 'buf'. nbdkit-1.42.4/common/allocators/sparse.c:331:9: portability: 'buf' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] nbdkit-1.42.4/common/replacements/getdelim.c:43:31: style:inconclusive: Function 'getdelim' argument 2 names different: declaration 'n' definition 'bufsiz'. [funcArgNamesDifferent] nbdkit-1.42.4/common/replacements/getline.h:44:43: note: Function 'getdelim' argument 2 names different: declaration 'n' definition 'bufsiz'. nbdkit-1.42.4/common/replacements/getdelim.c:43:31: note: Function 'getdelim' argument 2 names different: declaration 'n' definition 'bufsiz'. nbdkit-1.42.4/common/allocators/sparse.c:365:9: portability: 'buf' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] nbdkit-1.42.4/common/replacements/getdelim.c:43:43: style:inconclusive: Function 'getdelim' argument 3 names different: declaration 'delim' definition 'delimiter'. [funcArgNamesDifferent] nbdkit-1.42.4/common/replacements/getline.h:44:50: note: Function 'getdelim' argument 3 names different: declaration 'delim' definition 'delimiter'. nbdkit-1.42.4/common/replacements/getdelim.c:43:43: note: Function 'getdelim' argument 3 names different: declaration 'delim' definition 'delimiter'. nbdkit-1.42.4/common/replacements/getdelim.c:43:60: style:inconclusive: Function 'getdelim' argument 4 names different: declaration 'stream' definition 'fp'. [funcArgNamesDifferent] nbdkit-1.42.4/common/replacements/getline.h:44:63: note: Function 'getdelim' argument 4 names different: declaration 'stream' definition 'fp'. nbdkit-1.42.4/common/replacements/getdelim.c:43:60: note: Function 'getdelim' argument 4 names different: declaration 'stream' definition 'fp'. nbdkit-1.42.4/common/replacements/getdelim.c:45:15: style: Variable 'eptr' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/common/replacements/open_memstream.c:147:0: error: #error "no replacement open_memstream is available on this platform" [preprocessorErrorDirective] nbdkit-1.42.4/common/replacements/open_memstream.c:147:2: error: #error "no replacement open_memstream is available on this platform" [preprocessorErrorDirective] nbdkit-1.42.4/common/replacements/openlog.c:58:0: error: #error "no replacement openlog is available on this platform" [preprocessorErrorDirective] nbdkit-1.42.4/common/replacements/openlog.c:58:2: error: #error "no replacement openlog is available on this platform" [preprocessorErrorDirective] nbdkit-1.42.4/common/replacements/poll.c:117:0: error: #error "no replacement poll is available on this platform" [preprocessorErrorDirective] nbdkit-1.42.4/common/replacements/poll.c:117:2: error: #error "no replacement poll is available on this platform" [preprocessorErrorDirective] nbdkit-1.42.4/common/replacements/posix_memalign.c:70:0: error: #error "no replacement posix_memalign() is available on this platform" [preprocessorErrorDirective] nbdkit-1.42.4/common/replacements/posix_memalign.c:70:2: error: #error "no replacement posix_memalign() is available on this platform" [preprocessorErrorDirective] nbdkit-1.42.4/common/replacements/pread.c:85:0: error: #error "no replacement pread is available on this platform" [preprocessorErrorDirective] nbdkit-1.42.4/common/replacements/pread.c:85:2: error: #error "no replacement pread is available on this platform" [preprocessorErrorDirective] nbdkit-1.42.4/common/regions/regions.c:46:24: style:inconclusive: Function 'init_regions' argument 1 names different: declaration 'regions' definition 'rs'. [funcArgNamesDifferent] nbdkit-1.42.4/common/regions/regions.h:78:36: note: Function 'init_regions' argument 1 names different: declaration 'regions' definition 'rs'. nbdkit-1.42.4/common/regions/regions.c:46:24: note: Function 'init_regions' argument 1 names different: declaration 'regions' definition 'rs'. nbdkit-1.42.4/common/regions/regions.c:52:31: style:inconclusive: Function 'free_regions' argument 1 names different: declaration 'regions' definition 'rs'. [funcArgNamesDifferent] nbdkit-1.42.4/common/regions/regions.h:80:36: note: Function 'free_regions' argument 1 names different: declaration 'regions' definition 'rs'. nbdkit-1.42.4/common/regions/regions.c:52:31: note: Function 'free_regions' argument 1 names different: declaration 'regions' definition 'rs'. nbdkit-1.42.4/common/replacements/pwrite.c:83:0: error: #error "no replacement pwrite is available on this platform" [preprocessorErrorDirective] nbdkit-1.42.4/common/regions/regions.c:74:29: style:inconclusive: Function 'find_region' argument 1 names different: declaration 'regions' definition 'rs'. [funcArgNamesDifferent] nbdkit-1.42.4/common/regions/regions.h:103:57: note: Function 'find_region' argument 1 names different: declaration 'regions' definition 'rs'. nbdkit-1.42.4/common/regions/regions.c:74:29: note: Function 'find_region' argument 1 names different: declaration 'regions' definition 'rs'. nbdkit-1.42.4/common/regions/regions.c:160:29: style:inconclusive: Function 'append_region_len' argument 1 names different: declaration 'regions' definition 'rs'. [funcArgNamesDifferent] nbdkit-1.42.4/common/regions/regions.h:121:40: note: Function 'append_region_len' argument 1 names different: declaration 'regions' definition 'rs'. nbdkit-1.42.4/common/regions/regions.c:160:29: note: Function 'append_region_len' argument 1 names different: declaration 'regions' definition 'rs'. nbdkit-1.42.4/common/regions/regions.c:176:29: style:inconclusive: Function 'append_region_end' argument 1 names different: declaration 'regions' definition 'rs'. [funcArgNamesDifferent] nbdkit-1.42.4/common/regions/regions.h:130:40: note: Function 'append_region_end' argument 1 names different: declaration 'regions' definition 'rs'. nbdkit-1.42.4/common/regions/regions.c:176:29: note: Function 'append_region_end' argument 1 names different: declaration 'regions' definition 'rs'. nbdkit-1.42.4/common/replacements/pwrite.c:83:2: error: #error "no replacement pwrite is available on this platform" [preprocessorErrorDirective] nbdkit-1.42.4/common/regions/regions.h:85:22: style: Parameter 'rs' can be declared as pointer to const [constParameterPointer] nbdkit-1.42.4/common/replacements/realpath.c:77:0: error: #error "no replacement realpath is available on this platform" [preprocessorErrorDirective] nbdkit-1.42.4/common/replacements/realpath.c:77:2: error: #error "no replacement realpath is available on this platform" [preprocessorErrorDirective] nbdkit-1.42.4/common/replacements/sysconf.c:65:0: error: #error "no replacement sysconf() is available on this platform" [preprocessorErrorDirective] nbdkit-1.42.4/common/replacements/syslog.c:58:0: error: #error "no replacement syslog is available on this platform" [preprocessorErrorDirective] nbdkit-1.42.4/common/replacements/sysconf.c:65:2: error: #error "no replacement sysconf() is available on this platform" [preprocessorErrorDirective] nbdkit-1.42.4/common/replacements/syslog.c:58:2: error: #error "no replacement syslog is available on this platform" [preprocessorErrorDirective] nbdkit-1.42.4/common/replacements/vsyslog.c:70:0: error: #error "no replacement vsyslog is available on this platform" [preprocessorErrorDirective] nbdkit-1.42.4/common/replacements/vsyslog.c:70:2: error: #error "no replacement vsyslog is available on this platform" [preprocessorErrorDirective] nbdkit-1.42.4/common/replacements/test-current-dir-name.c:51:25: warning: If memory allocation fails, then there is a possible null pointer dereference: pwd [nullPointerOutOfMemory] nbdkit-1.42.4/common/replacements/test-current-dir-name.c:50:30: note: Assuming allocation function fails nbdkit-1.42.4/common/replacements/test-current-dir-name.c:50:30: note: Assignment 'pwd=get_current_dir_name()', assigned value is 0 nbdkit-1.42.4/common/replacements/test-current-dir-name.c:51:25: note: Null pointer dereference nbdkit-1.42.4/common/replacements/strndup.c:49:5: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue] nbdkit-1.42.4/common/utils/full-rw.c:59:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/common/include/test-tvdiff.c:75:23: style: Parameter 'argv' can be declared as const array [constParameter] nbdkit-1.42.4/common/utils/device-size.c:106:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/common/utils/device-size.c:166:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/common/utils/device-size.c:214:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/common/utils/test-quotes.c:109:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/common/utils/test-quotes.c:107:23: style: Parameter 'argv' can be declared as const array [constParameter] nbdkit-1.42.4/common/utils/string-vector.h:40:1: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _vector_contains_pointers [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/common/utils/utils.c:131:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFD [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/common/utils/utils.c:167:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable F_GETFL [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/common/utils/device-size.c:85:41: style:inconclusive: Function 'device_size' argument 2 names different: declaration 'statbuf' definition 'statbuf_from_caller'. [funcArgNamesDifferent] nbdkit-1.42.4/common/utils/utils.h:54:56: note: Function 'device_size' argument 2 names different: declaration 'statbuf' definition 'statbuf_from_caller'. nbdkit-1.42.4/common/utils/device-size.c:85:41: note: Function 'device_size' argument 2 names different: declaration 'statbuf' definition 'statbuf_from_caller'. nbdkit-1.42.4/common/utils/vector.c:59:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/common/utils/vector.c:115:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _SC_PAGESIZE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/blocksize-policy/policy.c:229:71: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu32 [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/blocksize-policy/policy.c:263:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/blocksize-policy/policy.c:328:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ESHUTDOWN [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/bzip2/bzip2.c:85:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_HANDLE_NOT_NEEDED [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/bzip2/bzip2.c:94:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BZ_MEM_ERROR [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/bzip2/bzip2.c:132:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/bzip2/bzip2.c:295:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_CACHE_EMULATE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/cache/blk.c:121:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LARGE_TMPDIR [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/cache/blk.c:221:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/cache/blk.c:323:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/cache/blk.c:388:49: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/cache/blk.c:414:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_FLAG_FUA [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/contrib/sparseloadtest.c:124:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/contrib/sparseloadtest.c:286:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/contrib/sparseloadtest.c:314:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/contrib/sparseloadtest.c:343:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/common/include/checked-overflow.h:190:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UINTMAX_MAX [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/common/include/checked-overflow.h:204:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UINTMAX_MAX [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/common/include/test-checked-overflow.c:90:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _overflow5 [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/common/utils/test-vector.c:226:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SIZE_MAX [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/bzip2/bzip2.c:153:14: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] nbdkit-1.42.4/filters/bzip2/bzip2.c:263:31: style: Parameter 'next' can be declared as pointer to const. However it seems that 'bzip2_can_write' is a callback function, if 'next' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/bzip2/bzip2.c:367:25: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/bzip2/bzip2.c:263:31: note: Parameter 'next' can be declared as pointer to const nbdkit-1.42.4/filters/bzip2/bzip2.c:264:23: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'bzip2_can_write' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/bzip2/bzip2.c:367:25: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/bzip2/bzip2.c:264:23: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/filters/bzip2/bzip2.c:271:36: style: Parameter 'next' can be declared as pointer to const. However it seems that 'bzip2_can_multi_conn' is a callback function, if 'next' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/bzip2/bzip2.c:370:25: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/bzip2/bzip2.c:271:36: note: Parameter 'next' can be declared as pointer to const nbdkit-1.42.4/filters/bzip2/bzip2.c:272:28: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'bzip2_can_multi_conn' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/bzip2/bzip2.c:370:25: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/bzip2/bzip2.c:272:28: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/filters/bzip2/bzip2.c:281:33: style: Parameter 'next' can be declared as pointer to const. However it seems that 'bzip2_can_extents' is a callback function, if 'next' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/bzip2/bzip2.c:368:25: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/bzip2/bzip2.c:281:33: note: Parameter 'next' can be declared as pointer to const nbdkit-1.42.4/filters/bzip2/bzip2.c:282:25: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'bzip2_can_extents' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/bzip2/bzip2.c:368:25: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/bzip2/bzip2.c:282:25: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/filters/bzip2/bzip2.c:292:31: style: Parameter 'next' can be declared as pointer to const. However it seems that 'bzip2_can_cache' is a callback function, if 'next' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/bzip2/bzip2.c:369:25: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/bzip2/bzip2.c:292:31: note: Parameter 'next' can be declared as pointer to const nbdkit-1.42.4/filters/bzip2/bzip2.c:293:23: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'bzip2_can_cache' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/bzip2/bzip2.c:369:25: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/bzip2/bzip2.c:293:23: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/filters/bzip2/bzip2.c:116:9: portability: 'buf' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] nbdkit-1.42.4/filters/bzip2/bzip2.c:353:9: portability: 'buf' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] nbdkit-1.42.4/filters/blocksize/blocksize.c:246:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu32 [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/common/include/test-minmax.c:137:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable _x0 [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/blocksize/blocksize.c:306:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_FLAG_FUA [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/blocksize/blocksize.c:362:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_FLAG_FUA [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/blocksize/blocksize.c:403:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_FLAG_FAST_ZERO [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/blocksize/blocksize.c:474:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_EXTENTS_FREE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/cache/blk.c:126:14: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] nbdkit-1.42.4/filters/cache/reclaim.c:57:33: style: Parameter 'bm' can be declared as pointer to const [constParameterPointer] nbdkit-1.42.4/filters/cache/blk.c:378:30: style: Variable 'tail' is assigned a value that is never used. [unreadVariable] nbdkit-1.42.4/filters/cacheextents/cacheextents.c:75:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/cacheextents/cacheextents.c:104:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/cacheextents/cacheextents.c:132:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/checkwrite/checkwrite.c:53:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_HANDLE_NOT_NEEDED [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/checkwrite/checkwrite.c:77:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_FUA_NATIVE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/checkwrite/checkwrite.c:91:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_ZERO_NATIVE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/checkwrite/checkwrite.c:114:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EIO [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/checkwrite/checkwrite.c:126:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/checkwrite/checkwrite.c:171:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_EXTENTS_FREE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/cache/cache.c:254:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIi64 [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/cache/cache.c:305:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_CACHE_NATIVE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/cache/cache.c:336:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_FUA_NATIVE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/cache/cache.c:372:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/cache/cache.c:441:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/cache/cache.c:525:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/cache/cache.c:623:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/cache/cache.c:682:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/cache/cache.c:693:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/cow/blk.c:145:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LARGE_TMPDIR [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/cow/blk.c:257:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/cow/blk.c:347:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/cow/blk.c:393:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/cow/blk.c:414:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/blocksize-policy/policy.c:138:43: style: Condition '(config_maximum%config_maximum)!=0' is always false [knownConditionTrueFalse] nbdkit-1.42.4/filters/blocksize-policy/policy.c:138:25: style: Same expression on both sides of '%'. [duplicateExpression] nbdkit-1.42.4/filters/checkwrite/checkwrite.c:60:36: style: Parameter 'next' can be declared as pointer to const. However it seems that 'checkwrite_can_write' is a callback function, if 'next' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/checkwrite/checkwrite.c:261:24: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/checkwrite/checkwrite.c:60:36: note: Parameter 'next' can be declared as pointer to const nbdkit-1.42.4/filters/checkwrite/checkwrite.c:61:29: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'checkwrite_can_write' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/checkwrite/checkwrite.c:261:24: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/checkwrite/checkwrite.c:61:29: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/filters/checkwrite/checkwrite.c:67:36: style: Parameter 'next' can be declared as pointer to const. However it seems that 'checkwrite_can_flush' is a callback function, if 'next' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/checkwrite/checkwrite.c:262:24: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/checkwrite/checkwrite.c:67:36: note: Parameter 'next' can be declared as pointer to const nbdkit-1.42.4/filters/checkwrite/checkwrite.c:68:29: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'checkwrite_can_flush' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/checkwrite/checkwrite.c:262:24: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/checkwrite/checkwrite.c:68:29: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/filters/checkwrite/checkwrite.c:74:34: style: Parameter 'next' can be declared as pointer to const. However it seems that 'checkwrite_can_fua' is a callback function, if 'next' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/checkwrite/checkwrite.c:263:24: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/checkwrite/checkwrite.c:74:34: note: Parameter 'next' can be declared as pointer to const nbdkit-1.42.4/filters/checkwrite/checkwrite.c:75:27: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'checkwrite_can_fua' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/checkwrite/checkwrite.c:263:24: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/checkwrite/checkwrite.c:75:27: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/filters/checkwrite/checkwrite.c:81:35: style: Parameter 'next' can be declared as pointer to const. However it seems that 'checkwrite_can_trim' is a callback function, if 'next' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/checkwrite/checkwrite.c:264:24: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/checkwrite/checkwrite.c:81:35: note: Parameter 'next' can be declared as pointer to const nbdkit-1.42.4/filters/checkwrite/checkwrite.c:82:28: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'checkwrite_can_trim' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/checkwrite/checkwrite.c:264:24: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/checkwrite/checkwrite.c:82:28: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/filters/checkwrite/checkwrite.c:88:35: style: Parameter 'next' can be declared as pointer to const. However it seems that 'checkwrite_can_zero' is a callback function, if 'next' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/checkwrite/checkwrite.c:265:24: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/checkwrite/checkwrite.c:88:35: note: Parameter 'next' can be declared as pointer to const nbdkit-1.42.4/filters/checkwrite/checkwrite.c:89:28: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'checkwrite_can_zero' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/checkwrite/checkwrite.c:265:24: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/checkwrite/checkwrite.c:89:28: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/filters/checkwrite/checkwrite.c:95:40: style: Parameter 'next' can be declared as pointer to const. However it seems that 'checkwrite_can_fast_zero' is a callback function, if 'next' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/checkwrite/checkwrite.c:266:24: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/checkwrite/checkwrite.c:95:40: note: Parameter 'next' can be declared as pointer to const nbdkit-1.42.4/filters/checkwrite/checkwrite.c:96:33: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'checkwrite_can_fast_zero' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/checkwrite/checkwrite.c:266:24: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/checkwrite/checkwrite.c:96:33: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/filters/checkwrite/checkwrite.c:105:41: style: Parameter 'next' can be declared as pointer to const. However it seems that 'checkwrite_can_multi_conn' is a callback function, if 'next' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/checkwrite/checkwrite.c:267:24: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/checkwrite/checkwrite.c:105:41: note: Parameter 'next' can be declared as pointer to const nbdkit-1.42.4/filters/checkwrite/checkwrite.c:106:34: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'checkwrite_can_multi_conn' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/checkwrite/checkwrite.c:267:24: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/checkwrite/checkwrite.c:106:34: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/filters/checkwrite/checkwrite.c:147:32: style: Parameter 'next' can be declared as pointer to const. However it seems that 'checkwrite_flush' is a callback function, if 'next' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/checkwrite/checkwrite.c:270:24: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/checkwrite/checkwrite.c:147:32: note: Parameter 'next' can be declared as pointer to const nbdkit-1.42.4/filters/checkwrite/checkwrite.c:148:25: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'checkwrite_flush' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/checkwrite/checkwrite.c:270:24: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/checkwrite/checkwrite.c:148:25: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/filters/checkwrite/checkwrite.c:148:54: style: Parameter 'err' can be declared as pointer to const. However it seems that 'checkwrite_flush' is a callback function, if 'err' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/checkwrite/checkwrite.c:270:24: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/checkwrite/checkwrite.c:148:54: note: Parameter 'err' can be declared as pointer to const nbdkit-1.42.4/filters/ddrescue/ddrescue.c:68:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/ddrescue/ddrescue.c:184:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable status [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/cow/blk.c:150:14: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] nbdkit-1.42.4/filters/delay/delay.c:69:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/delay/delay.c:219:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/delay/delay.c:289:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_FLAG_FAST_ZERO [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/cache/cache.c:417:5: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] nbdkit-1.42.4/filters/cow/cow.c:161:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_HANDLE_NOT_NEEDED [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/cow/cow.c:176:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIi64 [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/evil/evil.c:211:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_THREAD_MODEL_SERIALIZE_REQUESTS [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/cow/cow.c:247:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_FUA_NATIVE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/evil/evil.c:250:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/exitlast/exitlast.c:61:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_HANDLE_NOT_NEEDED [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/cow/cow.c:259:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_CACHE_NATIVE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/cow/cow.c:290:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/cow/cow.c:355:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/cow/cow.c:430:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/cow/cow.c:512:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/cow/cow.c:590:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/cow/cow.c:651:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_FLAG_REQ_ONE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/ddrescue/ddrescue.c:162:34: style: Parameter 'next' can be declared as pointer to const. However it seems that 'ddrescue_can_write' is a callback function, if 'next' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/ddrescue/ddrescue.c:206:24: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/ddrescue/ddrescue.c:162:34: note: Parameter 'next' can be declared as pointer to const nbdkit-1.42.4/filters/ddrescue/ddrescue.c:163:27: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'ddrescue_can_write' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/ddrescue/ddrescue.c:206:24: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/ddrescue/ddrescue.c:163:27: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/filters/ddrescue/ddrescue.c:169:34: style: Parameter 'next' can be declared as pointer to const. However it seems that 'ddrescue_can_cache' is a callback function, if 'next' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/ddrescue/ddrescue.c:207:24: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/ddrescue/ddrescue.c:169:34: note: Parameter 'next' can be declared as pointer to const nbdkit-1.42.4/filters/ddrescue/ddrescue.c:170:27: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'ddrescue_can_cache' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/ddrescue/ddrescue.c:207:24: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/ddrescue/ddrescue.c:170:27: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/common/utils/test-vector.c:67:17: style: Variable 'p' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/common/utils/test-vector.c:276:23: style: Parameter 'argv' can be declared as const array [constParameter] nbdkit-1.42.4/filters/ddrescue/ddrescue.c:58:7: style: struct member 'mapfile::ranges_count' is never used. [unusedStructMember] nbdkit-1.42.4/filters/exitwhen/exitwhen.c:224:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/exitwhen/exitwhen.c:264:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/exitwhen/exitwhen.c:282:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fd [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/exitwhen/exitwhen.c:467:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/exitwhen/exitwhen.c:501:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_HANDLE_NOT_NEEDED [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/common/include/test-checked-overflow.c:90:3: style: Unused variable: _overflow0 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:90:3: style: Unused variable: _tmp1 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:90:3: style: Unused variable: _overflow9 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:90:3: style: Unused variable: _tmp10 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:91:3: style: Unused variable: _overflow18 [unusedVariable] nbdkit-1.42.4/filters/exitlast/exitlast.c:65:23: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'exitlast_close' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/exitlast/exitlast.c:77:24: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/exitlast/exitlast.c:65:23: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/common/include/test-checked-overflow.c:91:3: style: Unused variable: _tmp19 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:91:3: style: Unused variable: _overflow27 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:91:3: style: Unused variable: _tmp28 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:92:3: style: Unused variable: _overflow36 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:92:3: style: Unused variable: _tmp37 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:92:3: style: Unused variable: _overflow45 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:92:3: style: Unused variable: _tmp46 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:93:3: style: Unused variable: _overflow54 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:93:3: style: Unused variable: _tmp55 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:93:3: style: Unused variable: _overflow63 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:93:3: style: Unused variable: _tmp64 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:94:3: style: Unused variable: _overflow72 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:94:3: style: Unused variable: _tmp73 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:94:3: style: Unused variable: _overflow81 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:94:3: style: Unused variable: _tmp82 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:95:3: style: Unused variable: _overflow90 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:95:3: style: Unused variable: _tmp91 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:95:3: style: Unused variable: _overflow99 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:95:3: style: Unused variable: _tmp100 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:98:3: style: Unused variable: _overflow108 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:98:3: style: Unused variable: _tmp109 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:98:3: style: Unused variable: _overflow117 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:98:3: style: Unused variable: _tmp118 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:99:3: style: Unused variable: _overflow126 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:99:3: style: Unused variable: _tmp127 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:99:3: style: Unused variable: _overflow135 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:99:3: style: Unused variable: _tmp136 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:100:3: style: Unused variable: _overflow144 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:100:3: style: Unused variable: _tmp145 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:100:3: style: Unused variable: _overflow153 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:100:3: style: Unused variable: _tmp154 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:101:3: style: Unused variable: _overflow162 [unusedVariable] nbdkit-1.42.4/filters/cache/cache.c:303:31: style: Parameter 'next' can be declared as pointer to const. However it seems that 'cache_can_cache' is a callback function, if 'next' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/cache/cache.c:742:24: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/cache/cache.c:303:31: note: Parameter 'next' can be declared as pointer to const nbdkit-1.42.4/filters/exportname/exportname.c:160:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/common/include/test-checked-overflow.c:101:3: style: Unused variable: _tmp163 [unusedVariable] nbdkit-1.42.4/filters/cache/cache.c:303:43: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'cache_can_cache' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/cache/cache.c:742:24: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/cache/cache.c:303:43: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/filters/exportname/exportname.c:218:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_EXPORTS_FREE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/common/include/test-checked-overflow.c:101:3: style: Unused variable: _overflow171 [unusedVariable] nbdkit-1.42.4/filters/cache/cache.c:310:35: style: Parameter 'next' can be declared as pointer to const. However it seems that 'cache_can_fast_zero' is a callback function, if 'next' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/cache/cache.c:743:24: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/cache/cache.c:310:35: note: Parameter 'next' can be declared as pointer to const nbdkit-1.42.4/filters/exportname/exportname.c:291:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/common/include/test-checked-overflow.c:101:3: style: Unused variable: _tmp172 [unusedVariable] nbdkit-1.42.4/filters/cache/cache.c:311:28: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'cache_can_fast_zero' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/cache/cache.c:743:24: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/cache/cache.c:311:28: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/common/include/test-checked-overflow.c:102:3: style: Unused variable: _overflow180 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:102:3: style: Unused variable: _tmp181 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:102:3: style: Unused variable: _overflow189 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:102:3: style: Unused variable: _tmp190 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:103:3: style: Unused variable: _overflow198 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:103:3: style: Unused variable: _tmp199 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:103:3: style: Unused variable: _overflow207 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:103:3: style: Unused variable: _tmp208 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:108:3: style: Unused variable: _overflow216 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:108:3: style: Unused variable: _tmp217 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:108:3: style: Unused variable: _overflow225 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:108:3: style: Unused variable: _tmp226 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:109:3: style: Unused variable: _overflow234 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:109:3: style: Unused variable: _tmp235 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:109:3: style: Unused variable: _overflow243 [unusedVariable] nbdkit-1.42.4/filters/cache/cache.c:401:9: portability: 'buf' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] nbdkit-1.42.4/common/include/test-checked-overflow.c:109:3: style: Unused variable: _tmp244 [unusedVariable] nbdkit-1.42.4/filters/cache/cache.c:415:9: portability: 'buf' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] nbdkit-1.42.4/common/include/test-checked-overflow.c:110:3: style: Unused variable: _overflow252 [unusedVariable] nbdkit-1.42.4/filters/cache/cache.c:482:9: portability: 'buf' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] nbdkit-1.42.4/common/include/test-checked-overflow.c:110:3: style: Unused variable: _tmp253 [unusedVariable] nbdkit-1.42.4/filters/cache/cache.c:495:9: portability: 'buf' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] nbdkit-1.42.4/common/include/test-checked-overflow.c:110:3: style: Unused variable: _overflow261 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:110:3: style: Unused variable: _tmp262 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:111:3: style: Unused variable: _overflow270 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:111:3: style: Unused variable: _tmp271 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:111:3: style: Unused variable: _overflow279 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:111:3: style: Unused variable: _tmp280 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:112:3: style: Unused variable: _overflow288 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:112:3: style: Unused variable: _tmp289 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:112:3: style: Unused variable: _overflow297 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:112:3: style: Unused variable: _tmp298 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:113:3: style: Unused variable: _overflow306 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:113:3: style: Unused variable: _tmp307 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:113:3: style: Unused variable: _overflow315 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:113:3: style: Unused variable: _tmp316 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:116:3: style: Unused variable: _overflow324 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:116:3: style: Unused variable: _tmp325 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:116:3: style: Unused variable: _overflow333 [unusedVariable] nbdkit-1.42.4/filters/cache/cache.c:403:12: style: Variable 'offset' is assigned a value that is never used. [unreadVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:116:3: style: Unused variable: _tmp334 [unusedVariable] nbdkit-1.42.4/filters/cache/cache.c:417:12: style: Variable 'offset' is assigned a value that is never used. [unreadVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:117:3: style: Unused variable: _overflow342 [unusedVariable] nbdkit-1.42.4/filters/cache/cache.c:484:12: style: Variable 'offset' is assigned a value that is never used. [unreadVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:117:3: style: Unused variable: _tmp343 [unusedVariable] nbdkit-1.42.4/filters/cache/cache.c:497:12: style: Variable 'offset' is assigned a value that is never used. [unreadVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:117:3: style: Unused variable: _overflow351 [unusedVariable] nbdkit-1.42.4/filters/cache/cache.c:573:12: style: Variable 'offset' is assigned a value that is never used. [unreadVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:117:3: style: Unused variable: _tmp352 [unusedVariable] nbdkit-1.42.4/filters/cache/cache.c:588:12: style: Variable 'offset' is assigned a value that is never used. [unreadVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:118:3: style: Unused variable: _overflow360 [unusedVariable] nbdkit-1.42.4/filters/cache/cache.c:711:10: style: Variable 'offset' is assigned a value that is never used. [unreadVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:118:3: style: Unused variable: _tmp361 [unusedVariable] nbdkit-1.42.4/filters/cache/cache.c:724:12: style: Variable 'offset' is assigned a value that is never used. [unreadVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:118:3: style: Unused variable: _overflow369 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:118:3: style: Unused variable: _tmp370 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:119:3: style: Unused variable: _overflow378 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:119:3: style: Unused variable: _tmp379 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:119:3: style: Unused variable: _overflow387 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:119:3: style: Unused variable: _tmp388 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:120:3: style: Unused variable: _overflow396 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:120:3: style: Unused variable: _tmp397 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:120:3: style: Unused variable: _overflow405 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:120:3: style: Unused variable: _tmp406 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:121:3: style: Unused variable: _overflow414 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:121:3: style: Unused variable: _tmp415 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:121:3: style: Unused variable: _overflow423 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:121:3: style: Unused variable: _tmp424 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:124:3: style: Unused variable: _overflow432 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:124:3: style: Unused variable: _tmp433 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:124:3: style: Unused variable: _overflow441 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:124:3: style: Unused variable: _tmp442 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:125:3: style: Unused variable: _overflow450 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:125:3: style: Unused variable: _tmp451 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:125:3: style: Unused variable: _overflow459 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:125:3: style: Unused variable: _tmp460 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:126:3: style: Unused variable: _overflow468 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:126:3: style: Unused variable: _tmp469 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:126:3: style: Unused variable: _overflow477 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:126:3: style: Unused variable: _tmp478 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:127:3: style: Unused variable: _overflow486 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:127:3: style: Unused variable: _tmp487 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:127:3: style: Unused variable: _overflow495 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:127:3: style: Unused variable: _tmp496 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:128:3: style: Unused variable: _overflow504 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:128:3: style: Unused variable: _tmp505 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:128:3: style: Unused variable: _overflow513 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:128:3: style: Unused variable: _tmp514 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:129:3: style: Unused variable: _overflow522 [unusedVariable] nbdkit-1.42.4/contrib/sparseloadtest.c:364:5: warning: If memory allocation fails, then there is a possible null pointer dereference: data [nullPointerOutOfMemory] nbdkit-1.42.4/contrib/sparseloadtest.c:363:19: note: Assuming allocation function fails nbdkit-1.42.4/contrib/sparseloadtest.c:363:19: note: Assignment 'data=malloc(sizeof(*data))', assigned value is 0 nbdkit-1.42.4/contrib/sparseloadtest.c:364:5: note: Null pointer dereference nbdkit-1.42.4/common/include/test-checked-overflow.c:129:3: style: Unused variable: _tmp523 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:129:3: style: Unused variable: _overflow531 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:129:3: style: Unused variable: _tmp532 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:132:3: style: Unused variable: _overflow540 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:132:3: style: Unused variable: _tmp541 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:132:3: style: Unused variable: _overflow549 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:132:3: style: Unused variable: _tmp550 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:133:3: style: Unused variable: _overflow558 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:133:3: style: Unused variable: _tmp559 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:133:3: style: Unused variable: _overflow567 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:133:3: style: Unused variable: _tmp568 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:134:3: style: Unused variable: _overflow576 [unusedVariable] nbdkit-1.42.4/filters/evil/evil.c:336:27: style:inconclusive: Function 'corrupt_one_bit' argument 3 names different: declaration 'rand' definition 'randnum'. [funcArgNamesDifferent] nbdkit-1.42.4/filters/evil/evil.c:262:42: note: Function 'corrupt_one_bit' argument 3 names different: declaration 'rand' definition 'randnum'. nbdkit-1.42.4/filters/evil/evil.c:336:27: note: Function 'corrupt_one_bit' argument 3 names different: declaration 'rand' definition 'randnum'. nbdkit-1.42.4/common/include/test-checked-overflow.c:134:3: style: Unused variable: _tmp577 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:134:3: style: Unused variable: _overflow585 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:134:3: style: Unused variable: _tmp586 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:135:3: style: Unused variable: _overflow594 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:135:3: style: Unused variable: _tmp595 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:135:3: style: Unused variable: _overflow603 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:135:3: style: Unused variable: _tmp604 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:136:3: style: Unused variable: _overflow612 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:136:3: style: Unused variable: _tmp613 [unusedVariable] nbdkit-1.42.4/filters/ext2/ext2.c:196:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/extentlist/extentlist.c:129:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/fua/fua.c:113:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_FUA_NONE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/common/include/test-checked-overflow.c:136:3: style: Unused variable: _overflow621 [unusedVariable] nbdkit-1.42.4/filters/exportname/exportname.c:270:3: portability: Returning an integer in a function with pointer return type is not portable. [CastIntegerToAddressAtReturn] nbdkit-1.42.4/filters/ext2/ext2.c:296:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_FUA_NATIVE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/ext2/io.c:75:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_IO_CHANNEL [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/extentlist/extentlist.c:305:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu32 [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/fua/fua.c:146:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_FUA_NONE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/common/include/test-checked-overflow.c:136:3: style: Unused variable: _tmp622 [unusedVariable] nbdkit-1.42.4/filters/ext2/ext2.c:303:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_CACHE_EMULATE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/ext2/io.c:105:63: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/fua/fua.c:169:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_FLAG_FUA [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/gzip/gzip.c:79:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_HANDLE_NOT_NEEDED [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/common/include/test-checked-overflow.c:137:3: style: Unused variable: _overflow630 [unusedVariable] nbdkit-1.42.4/filters/ext2/ext2.c:345:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_ZERO_EMULATE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/ext2/io.c:141:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/fua/fua.c:221:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_FLAG_FUA [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/gzip/gzip.c:89:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/limit/limit.c:110:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_HANDLE_NOT_NEEDED [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/common/include/test-checked-overflow.c:137:3: style: Unused variable: _tmp631 [unusedVariable] nbdkit-1.42.4/filters/ext2/ext2.c:375:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_THREAD_MODEL_SERIALIZE_CONNECTIONS [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/ext2/io.c:181:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_BAD_DEVICE_NAME [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/fua/fua.c:255:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_FLAG_FUA [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/gzip/gzip.c:129:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/common/include/test-checked-overflow.c:137:3: style: Unused variable: _overflow639 [unusedVariable] nbdkit-1.42.4/filters/ext2/ext2.c:427:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/ext2/io.c:238:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_IO_CHANNEL [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/gzip/gzip.c:291:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_CACHE_EMULATE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/common/include/test-checked-overflow.c:137:3: style: Unused variable: _tmp640 [unusedVariable] nbdkit-1.42.4/filters/ext2/ext2.c:460:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/ext2/io.c:257:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_IO_CHANNEL [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/common/include/test-checked-overflow.c:154:14: style: Unused variable: _overflow648 [unusedVariable] nbdkit-1.42.4/filters/ext2/ext2.c:498:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/ext2/io.c:271:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_IO_CHANNEL [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/common/include/test-checked-overflow.c:154:14: style: Unused variable: _tmp649 [unusedVariable] nbdkit-1.42.4/filters/ext2/io.c:291:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_IO_CHANNEL [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/common/include/test-checked-overflow.c:158:14: style: Unused variable: _overflow657 [unusedVariable] nbdkit-1.42.4/filters/ext2/io.c:338:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_IO_CHANNEL [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/common/include/test-checked-overflow.c:158:14: style: Unused variable: _tmp658 [unusedVariable] nbdkit-1.42.4/contrib/sparseloadtest.c:115:23: style: Parameter 'argv' can be declared as const array [constParameter] nbdkit-1.42.4/filters/ext2/io.c:358:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_IO_CHANNEL [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/common/include/test-checked-overflow.c:162:14: style: Unused variable: _overflow666 [unusedVariable] nbdkit-1.42.4/contrib/sparseloadtest.c:309:27: style: Parameter 'error' can be declared as pointer to const. However it seems that 'cb' is a callback function, if 'error' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/contrib/sparseloadtest.c:387:41: note: You might need to cast the function pointer here nbdkit-1.42.4/contrib/sparseloadtest.c:309:27: note: Parameter 'error' can be declared as pointer to const nbdkit-1.42.4/filters/ext2/io.c:376:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_IO_CHANNEL [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/common/include/test-checked-overflow.c:162:14: style: Unused variable: _tmp667 [unusedVariable] nbdkit-1.42.4/filters/ext2/io.c:401:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EXT2_ET_MAGIC_IO_CHANNEL [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/common/include/test-checked-overflow.c:166:14: style: Unused variable: _overflow675 [unusedVariable] nbdkit-1.42.4/filters/evil/evil.c:388:11: portability: 'buf' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] nbdkit-1.42.4/common/include/test-checked-overflow.c:166:14: style: Unused variable: _tmp676 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:170:14: style: Unused variable: _overflow684 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:170:14: style: Unused variable: _tmp685 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:172:14: style: Unused variable: _overflow693 [unusedVariable] nbdkit-1.42.4/common/include/test-checked-overflow.c:172:14: style: Unused variable: _tmp694 [unusedVariable] nbdkit-1.42.4/filters/log/output.c:84:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/ip/ip.c:139:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIi64 [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/log/output.c:113:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/ip/ip.c:185:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SECURITY [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/ip/ip.c:276:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ANY [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/ip/ip.c:581:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_INET [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/ip/ip.c:824:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_HANDLE_NOT_NEEDED [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/gzip/gzip.c:150:14: warning: Obsolete function 'alloca' called. In C99 and later it is recommended to use a variable length array instead. [allocaCalled] nbdkit-1.42.4/filters/exportname/exportname.c:325:18: style: Variable 'h' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/filters/log/log.c:118:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CLOEXEC [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/log/log.c:161:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/cow/cow.c:332:5: style: Assignment of function parameter has no effect outside the function. [uselessAssignmentArg] nbdkit-1.42.4/filters/log/log.c:200:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/log/log.c:249:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/log/log.c:295:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRId64 [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/log/log.c:308:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLANG_UNUSED_VARIABLE_WORKAROUND [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/log/log.c:323:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLANG_UNUSED_VARIABLE_WORKAROUND [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/log/log.c:339:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLANG_UNUSED_VARIABLE_WORKAROUND [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/log/log.c:354:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLANG_UNUSED_VARIABLE_WORKAROUND [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/log/log.c:371:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLANG_UNUSED_VARIABLE_WORKAROUND [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/gzip/gzip.c:259:30: style: Parameter 'next' can be declared as pointer to const. However it seems that 'gzip_can_write' is a callback function, if 'next' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/gzip/gzip.c:363:25: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/gzip/gzip.c:259:30: note: Parameter 'next' can be declared as pointer to const nbdkit-1.42.4/filters/log/log.c:392:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_FLAG_REQ_ONE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/gzip/gzip.c:260:23: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'gzip_can_write' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/gzip/gzip.c:363:25: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/gzip/gzip.c:260:23: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/filters/log/log.c:444:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLANG_UNUSED_VARIABLE_WORKAROUND [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/gzip/gzip.c:267:35: style: Parameter 'next' can be declared as pointer to const. However it seems that 'gzip_can_multi_conn' is a callback function, if 'next' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/gzip/gzip.c:366:25: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/gzip/gzip.c:267:35: note: Parameter 'next' can be declared as pointer to const nbdkit-1.42.4/filters/gzip/gzip.c:268:28: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'gzip_can_multi_conn' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/gzip/gzip.c:366:25: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/gzip/gzip.c:268:28: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/filters/gzip/gzip.c:277:32: style: Parameter 'next' can be declared as pointer to const. However it seems that 'gzip_can_extents' is a callback function, if 'next' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/gzip/gzip.c:364:25: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/gzip/gzip.c:277:32: note: Parameter 'next' can be declared as pointer to const nbdkit-1.42.4/filters/gzip/gzip.c:278:25: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'gzip_can_extents' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/gzip/gzip.c:364:25: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/gzip/gzip.c:278:25: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/filters/gzip/gzip.c:288:30: style: Parameter 'next' can be declared as pointer to const. However it seems that 'gzip_can_cache' is a callback function, if 'next' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/gzip/gzip.c:365:25: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/gzip/gzip.c:288:30: note: Parameter 'next' can be declared as pointer to const nbdkit-1.42.4/filters/gzip/gzip.c:289:23: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'gzip_can_cache' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/gzip/gzip.c:365:25: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/gzip/gzip.c:289:23: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/filters/extentlist/extentlist.c:274:38: style: Parameter 'next' can be declared as pointer to const. However it seems that 'extentlist_can_extents' is a callback function, if 'next' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/extentlist/extentlist.c:328:24: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/extentlist/extentlist.c:274:38: note: Parameter 'next' can be declared as pointer to const nbdkit-1.42.4/filters/gzip/gzip.c:113:9: portability: 'buf' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] nbdkit-1.42.4/filters/extentlist/extentlist.c:275:31: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'extentlist_can_extents' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/extentlist/extentlist.c:328:24: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/extentlist/extentlist.c:275:31: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/filters/gzip/gzip.c:349:9: portability: 'buf' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] nbdkit-1.42.4/filters/ext2/ext2.c:136:50: style: Parameter 'next' can be declared as pointer to const. However it seems that 'ext2_default_export' is a callback function, if 'next' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/ext2/ext2.c:514:25: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/ext2/ext2.c:136:50: note: Parameter 'next' can be declared as pointer to const nbdkit-1.42.4/filters/extentlist/extentlist.c:292:18: style: Variable 'p' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/filters/ext2/ext2.c:136:72: style: Parameter 'nxdata' can be declared as pointer to const. However it seems that 'ext2_default_export' is a callback function, if 'nxdata' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/ext2/ext2.c:514:25: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/ext2/ext2.c:136:72: note: Parameter 'nxdata' can be declared as pointer to const nbdkit-1.42.4/filters/ext2/ext2.c:294:28: style: Parameter 'next' can be declared as pointer to const. However it seems that 'ext2_can_fua' is a callback function, if 'next' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/ext2/ext2.c:518:25: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/ext2/ext2.c:294:28: note: Parameter 'next' can be declared as pointer to const nbdkit-1.42.4/filters/ext2/ext2.c:294:40: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'ext2_can_fua' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/ext2/ext2.c:518:25: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/ext2/ext2.c:294:40: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/filters/ext2/ext2.c:300:30: style: Parameter 'next' can be declared as pointer to const. However it seems that 'ext2_can_cache' is a callback function, if 'next' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/ext2/ext2.c:519:25: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/ext2/ext2.c:300:30: note: Parameter 'next' can be declared as pointer to const nbdkit-1.42.4/filters/ext2/ext2.c:300:42: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'ext2_can_cache' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/ext2/ext2.c:519:25: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/ext2/ext2.c:300:42: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/filters/ext2/ext2.c:307:35: style: Parameter 'next' can be declared as pointer to const. However it seems that 'ext2_can_multi_conn' is a callback function, if 'next' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/ext2/ext2.c:520:25: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/ext2/ext2.c:307:35: note: Parameter 'next' can be declared as pointer to const nbdkit-1.42.4/filters/ext2/ext2.c:307:47: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'ext2_can_multi_conn' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/ext2/ext2.c:520:25: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/ext2/ext2.c:307:47: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/filters/log/output.c:60:25: style: Parameter 'h' can be declared as pointer to const [constParameterPointer] nbdkit-1.42.4/filters/log/output.c:109:27: style: Parameter 'h' can be declared as pointer to const [constParameterPointer] nbdkit-1.42.4/filters/log/output.c:201:75: style: Parameter 'err' can be declared as pointer to const [constParameterPointer] nbdkit-1.42.4/filters/ext2/io.c:162:51: style:inconclusive: Function 'nbdkit_io_decode' argument 2 names different: declaration 'out' definition 'next'. [funcArgNamesDifferent] nbdkit-1.42.4/filters/ext2/io.h:45:62: note: Function 'nbdkit_io_decode' argument 2 names different: declaration 'out' definition 'next'. nbdkit-1.42.4/filters/ext2/io.c:162:51: note: Function 'nbdkit_io_decode' argument 2 names different: declaration 'out' definition 'next'. nbdkit-1.42.4/filters/lzip/lzip.c:143:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/ext2/io.c:235:27: style: Variable 'data' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/filters/lzip/lzip.c:211:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_CACHE_EMULATE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/ext2/ext2.c:438:9: portability: 'buf' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] nbdkit-1.42.4/filters/ext2/io.c:255:27: style: Variable 'data' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/filters/lzip/lzip.c:256:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_THREAD_MODEL_SERIALIZE_REQUESTS [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/ext2/ext2.c:471:9: portability: 'buf' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] nbdkit-1.42.4/filters/luks/luks.c:186:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_ZERO_EMULATE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/lzip/lzipfile.c:93:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/luks/luks.c:202:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_CACHE_EMULATE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/lzip/lzipfile.c:148:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/luks/luks.c:235:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/lzip/lzipfile.c:218:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable data_size [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/luks/luks.c:328:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/lzip/lzipfile.c:253:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LZMA_STREAM_INIT [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/luks/luks-encryption.c:268:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GNUTLS_DIG_MD5 [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/luks/luks-encryption.c:371:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu16 [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/luks/luks-encryption.c:500:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/luks/luks-encryption.c:539:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/luks/luks-encryption.c:584:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/luks/luks-encryption.c:707:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/luks/luks-encryption.c:900:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/luks/luks-encryption.c:934:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/lzip/blkcache.c:142:31: style: Parameter 'c' can be declared as pointer to const [constParameterPointer] nbdkit-1.42.4/filters/cow/cow.c:221:29: style: Parameter 'next' can be declared as pointer to const. However it seems that 'cow_can_write' is a callback function, if 'next' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/cow/cow.c:787:24: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/cow/cow.c:221:29: note: Parameter 'next' can be declared as pointer to const nbdkit-1.42.4/filters/cow/cow.c:221:41: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'cow_can_write' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/cow/cow.c:787:24: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/cow/cow.c:221:41: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/filters/cow/cow.c:227:28: style: Parameter 'next' can be declared as pointer to const. However it seems that 'cow_can_trim' is a callback function, if 'next' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/cow/cow.c:789:24: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/cow/cow.c:227:28: note: Parameter 'next' can be declared as pointer to const nbdkit-1.42.4/filters/cow/cow.c:227:40: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'cow_can_trim' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/cow/cow.c:789:24: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/cow/cow.c:227:40: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/filters/cow/cow.c:233:31: style: Parameter 'next' can be declared as pointer to const. However it seems that 'cow_can_extents' is a callback function, if 'next' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/cow/cow.c:790:24: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/cow/cow.c:233:31: note: Parameter 'next' can be declared as pointer to const nbdkit-1.42.4/filters/cow/cow.c:233:43: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'cow_can_extents' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/cow/cow.c:790:24: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/cow/cow.c:233:43: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/filters/cow/cow.c:239:29: style: Parameter 'next' can be declared as pointer to const. However it seems that 'cow_can_flush' is a callback function, if 'next' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/cow/cow.c:788:24: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/cow/cow.c:239:29: note: Parameter 'next' can be declared as pointer to const nbdkit-1.42.4/filters/cow/cow.c:239:41: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'cow_can_flush' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/cow/cow.c:788:24: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/cow/cow.c:239:41: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/filters/cow/cow.c:245:27: style: Parameter 'next' can be declared as pointer to const. However it seems that 'cow_can_fua' is a callback function, if 'next' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/cow/cow.c:791:24: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/cow/cow.c:245:27: note: Parameter 'next' can be declared as pointer to const nbdkit-1.42.4/filters/cow/cow.c:245:39: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'cow_can_fua' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/cow/cow.c:791:24: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/cow/cow.c:245:39: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/filters/cow/cow.c:263:34: style: Parameter 'next' can be declared as pointer to const. However it seems that 'cow_can_multi_conn' is a callback function, if 'next' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/cow/cow.c:794:24: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/cow/cow.c:263:34: note: Parameter 'next' can be declared as pointer to const nbdkit-1.42.4/filters/cow/cow.c:264:27: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'cow_can_multi_conn' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/cow/cow.c:794:24: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/cow/cow.c:264:27: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/filters/cow/cow.c:272:33: style: Parameter 'next' can be declared as pointer to const. However it seems that 'cow_can_fast_zero' is a callback function, if 'next' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/cow/cow.c:793:24: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/cow/cow.c:272:33: note: Parameter 'next' can be declared as pointer to const nbdkit-1.42.4/filters/cow/cow.c:273:26: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'cow_can_fast_zero' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/cow/cow.c:793:24: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/cow/cow.c:273:26: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/filters/cow/cow.c:578:25: style: Parameter 'next' can be declared as pointer to const. However it seems that 'cow_flush' is a callback function, if 'next' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/cow/cow.c:799:24: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/cow/cow.c:578:25: note: Parameter 'next' can be declared as pointer to const nbdkit-1.42.4/filters/cow/cow.c:578:37: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'cow_flush' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/cow/cow.c:799:24: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/cow/cow.c:578:37: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/filters/cow/cow.c:579:33: style: Parameter 'err' can be declared as pointer to const. However it seems that 'cow_flush' is a callback function, if 'err' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/cow/cow.c:799:24: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/cow/cow.c:579:33: note: Parameter 'err' can be declared as pointer to const nbdkit-1.42.4/filters/nocache/nocache.c:81:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_CACHE_NONE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/cow/cow.c:317:9: portability: 'buf' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] nbdkit-1.42.4/filters/cow/cow.c:330:9: portability: 'buf' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] nbdkit-1.42.4/filters/cow/cow.c:388:9: portability: 'buf' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] nbdkit-1.42.4/filters/cow/cow.c:400:9: portability: 'buf' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] nbdkit-1.42.4/filters/cow/cow.c:319:12: style: Variable 'offset' is assigned a value that is never used. [unreadVariable] nbdkit-1.42.4/filters/cow/cow.c:332:12: style: Variable 'offset' is assigned a value that is never used. [unreadVariable] nbdkit-1.42.4/filters/cow/cow.c:390:12: style: Variable 'offset' is assigned a value that is never used. [unreadVariable] nbdkit-1.42.4/filters/cow/cow.c:402:12: style: Variable 'offset' is assigned a value that is never used. [unreadVariable] nbdkit-1.42.4/filters/cow/cow.c:469:12: style: Variable 'offset' is assigned a value that is never used. [unreadVariable] nbdkit-1.42.4/filters/cow/cow.c:485:12: style: Variable 'offset' is assigned a value that is never used. [unreadVariable] nbdkit-1.42.4/filters/cow/cow.c:545:12: style: Variable 'offset' is assigned a value that is never used. [unreadVariable] nbdkit-1.42.4/filters/cow/cow.c:556:12: style: Variable 'offset' is assigned a value that is never used. [unreadVariable] nbdkit-1.42.4/filters/cow/cow.c:625:10: style: Variable 'offset' is assigned a value that is never used. [unreadVariable] nbdkit-1.42.4/filters/cow/cow.c:637:12: style: Variable 'offset' is assigned a value that is never used. [unreadVariable] nbdkit-1.42.4/filters/noparallel/noparallel.c:53:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_THREAD_MODEL_SERIALIZE_CONNECTIONS [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/lzip/lzip.c:180:30: style: Parameter 'next' can be declared as pointer to const. However it seems that 'lzip_can_write' is a callback function, if 'next' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/lzip/lzip.c:270:25: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/lzip/lzip.c:180:30: note: Parameter 'next' can be declared as pointer to const nbdkit-1.42.4/filters/nozero/nozero.c:136:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_ZERO_NONE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/lzip/lzip.c:181:23: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'lzip_can_write' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/lzip/lzip.c:270:25: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/lzip/lzip.c:181:23: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/filters/nozero/nozero.c:162:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_FLAG_FAST_ZERO [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/lzip/lzip.c:188:35: style: Parameter 'next' can be declared as pointer to const. However it seems that 'lzip_can_multi_conn' is a callback function, if 'next' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/lzip/lzip.c:273:25: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/lzip/lzip.c:188:35: note: Parameter 'next' can be declared as pointer to const nbdkit-1.42.4/filters/lzip/lzip.c:189:28: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'lzip_can_multi_conn' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/lzip/lzip.c:273:25: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/lzip/lzip.c:189:28: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/filters/lzip/lzip.c:196:32: style: Parameter 'next' can be declared as pointer to const. However it seems that 'lzip_can_extents' is a callback function, if 'next' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/lzip/lzip.c:271:25: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/lzip/lzip.c:196:32: note: Parameter 'next' can be declared as pointer to const nbdkit-1.42.4/filters/lzip/lzip.c:197:25: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'lzip_can_extents' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/lzip/lzip.c:271:25: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/lzip/lzip.c:197:25: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/filters/lzip/lzip.c:204:30: style: Parameter 'next' can be declared as pointer to const. However it seems that 'lzip_can_cache' is a callback function, if 'next' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/lzip/lzip.c:272:25: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/lzip/lzip.c:204:30: note: Parameter 'next' can be declared as pointer to const nbdkit-1.42.4/filters/nocache/nocache.c:76:33: style: Parameter 'next' can be declared as pointer to const. However it seems that 'nocache_can_cache' is a callback function, if 'next' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/nocache/nocache.c:106:24: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/nocache/nocache.c:76:33: note: Parameter 'next' can be declared as pointer to const nbdkit-1.42.4/filters/lzip/lzip.c:205:23: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'lzip_can_cache' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/lzip/lzip.c:272:25: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/lzip/lzip.c:205:23: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/filters/nocache/nocache.c:77:26: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'nocache_can_cache' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/nocache/nocache.c:106:24: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/nocache/nocache.c:77:26: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/filters/nocache/nocache.c:91:29: style: Parameter 'next' can be declared as pointer to const. However it seems that 'nocache_cache' is a callback function, if 'next' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/nocache/nocache.c:107:24: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/nocache/nocache.c:91:29: note: Parameter 'next' can be declared as pointer to const nbdkit-1.42.4/filters/nocache/nocache.c:92:22: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'nocache_cache' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/nocache/nocache.c:107:24: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/nocache/nocache.c:92:22: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/filters/nocache/nocache.c:93:21: style: Parameter 'err' can be declared as pointer to const. However it seems that 'nocache_cache' is a callback function, if 'err' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/nocache/nocache.c:107:24: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/nocache/nocache.c:93:21: note: Parameter 'err' can be declared as pointer to const nbdkit-1.42.4/filters/offset/offset.c:84:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIi64 [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/offset/offset.c:147:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_EXTENTS_FREE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/lzip/lzip.c:245:7: portability: 'buf' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] nbdkit-1.42.4/filters/multi-conn/multi-conn.c:219:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/noextents/noextents.c:38:37: style: Parameter 'next' can be declared as pointer to const. However it seems that 'noextents_can_extents' is a callback function, if 'next' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/noextents/noextents.c:47:24: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/noextents/noextents.c:38:37: note: Parameter 'next' can be declared as pointer to const nbdkit-1.42.4/filters/multi-conn/multi-conn.c:305:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_FUA_EMULATE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/noextents/noextents.c:39:30: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'noextents_can_extents' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/noextents/noextents.c:47:24: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/noextents/noextents.c:39:30: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/filters/multi-conn/multi-conn.c:376:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_FLAG_FUA [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/multi-conn/multi-conn.c:401:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_FLAG_FUA [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/multi-conn/multi-conn.c:426:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_FLAG_FUA [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/lzip/lzipfile.c:140:17: style: Condition 'file_size==-1' is always false [knownConditionTrueFalse] nbdkit-1.42.4/filters/partition/partition-mbr.c:147:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIi64 [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/luks/luks.c:172:32: style: Parameter 'next' can be declared as pointer to const. However it seems that 'luks_can_extents' is a callback function, if 'next' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/luks/luks.c:433:25: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/luks/luks.c:172:32: note: Parameter 'next' can be declared as pointer to const nbdkit-1.42.4/filters/luks/luks.c:172:44: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'luks_can_extents' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/luks/luks.c:433:25: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/luks/luks.c:172:44: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/filters/luks/luks.c:178:29: style: Parameter 'next' can be declared as pointer to const. However it seems that 'luks_can_trim' is a callback function, if 'next' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/luks/luks.c:434:25: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/luks/luks.c:178:29: note: Parameter 'next' can be declared as pointer to const nbdkit-1.42.4/filters/luks/luks.c:178:41: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'luks_can_trim' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/luks/luks.c:434:25: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/luks/luks.c:178:41: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/filters/luks/luks.c:184:29: style: Parameter 'next' can be declared as pointer to const. However it seems that 'luks_can_zero' is a callback function, if 'next' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/luks/luks.c:435:25: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/luks/luks.c:184:29: note: Parameter 'next' can be declared as pointer to const nbdkit-1.42.4/filters/luks/luks.c:184:41: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'luks_can_zero' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/luks/luks.c:435:25: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/luks/luks.c:184:41: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/filters/luks/luks.c:190:34: style: Parameter 'next' can be declared as pointer to const. However it seems that 'luks_can_fast_zero' is a callback function, if 'next' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/luks/luks.c:436:25: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/luks/luks.c:190:34: note: Parameter 'next' can be declared as pointer to const nbdkit-1.42.4/filters/lzip/lzipfile.c:246:32: style:inconclusive: Function 'lzipfile_read_block' argument 1 names different: declaration 'xz' definition 'lz'. [funcArgNamesDifferent] nbdkit-1.42.4/filters/lzip/lzipfile.h:63:45: note: Function 'lzipfile_read_block' argument 1 names different: declaration 'xz' definition 'lz'. nbdkit-1.42.4/filters/lzip/lzipfile.c:246:32: note: Function 'lzipfile_read_block' argument 1 names different: declaration 'xz' definition 'lz'. nbdkit-1.42.4/filters/luks/luks.c:190:46: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'luks_can_fast_zero' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/luks/luks.c:436:25: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/luks/luks.c:190:46: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/filters/lzip/lzipfile.c:250:32: style:inconclusive: Function 'lzipfile_read_block' argument 6 names different: declaration 'start' definition 'start_rtn'. [funcArgNamesDifferent] nbdkit-1.42.4/filters/lzip/lzipfile.h:67:45: note: Function 'lzipfile_read_block' argument 6 names different: declaration 'start' definition 'start_rtn'. nbdkit-1.42.4/filters/lzip/lzipfile.c:250:32: note: Function 'lzipfile_read_block' argument 6 names different: declaration 'start' definition 'start_rtn'. nbdkit-1.42.4/filters/luks/luks.c:200:30: style: Parameter 'next' can be declared as pointer to const. However it seems that 'luks_can_cache' is a callback function, if 'next' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/luks/luks.c:437:25: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/luks/luks.c:200:30: note: Parameter 'next' can be declared as pointer to const nbdkit-1.42.4/filters/lzip/lzipfile.c:250:53: style:inconclusive: Function 'lzipfile_read_block' argument 7 names different: declaration 'size' definition 'size_rtn'. [funcArgNamesDifferent] nbdkit-1.42.4/filters/lzip/lzipfile.h:67:62: note: Function 'lzipfile_read_block' argument 7 names different: declaration 'size' definition 'size_rtn'. nbdkit-1.42.4/filters/lzip/lzipfile.c:250:53: note: Function 'lzipfile_read_block' argument 7 names different: declaration 'size' definition 'size_rtn'. nbdkit-1.42.4/filters/luks/luks.c:200:42: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'luks_can_cache' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/luks/luks.c:437:25: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/luks/luks.c:200:42: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/filters/lzip/lzipfile.c:234:49: style: Parameter 'lz' can be declared as pointer to const [constParameterPointer] nbdkit-1.42.4/filters/luks/luks.c:275:9: portability: 'buf' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] nbdkit-1.42.4/filters/luks/luks.c:290:9: portability: 'buf' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] nbdkit-1.42.4/filters/luks/luks.c:372:9: portability: 'buf' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] nbdkit-1.42.4/filters/luks/luks.c:389:9: portability: 'buf' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] nbdkit-1.42.4/filters/pause/pause.c:96:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UNIX_PATH_MAX [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/pause/pause.c:223:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/protect/protect.c:81:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/rate/bucket.c:145:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/pause/pause.c:244:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/protect/protect.c:189:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable region_data [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/protect/protect.c:208:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable start [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/protect/protect.c:270:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable region_data [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/partition/partition.c:168:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIi64 [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/partition/partition.c:297:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_EXTENTS_FREE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/qcow2dec/qcow2dec.c:147:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_CACHE_EMULATE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/qcow2dec/qcow2dec.c:199:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/qcow2dec/qcow2dec.c:445:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/qcow2dec/qcow2dec.c:521:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIx64 [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/qcow2dec/qcow2dec.c:567:56: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/qcow2dec/qcow2dec.c:785:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/qcow2dec/qcow2dec.c:904:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_FLAG_REQ_ONE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/rate/rate.c:214:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/rate/rate.c:278:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/readahead/readahead.c:80:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_THREAD_MODEL_PARALLEL [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/readonly/readonly.c:81:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_HANDLE_NOT_NEEDED [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/readahead/readahead.c:88:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_THREAD_MODEL_PARALLEL [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/readonly/readonly.c:108:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EROFS [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/readahead/readahead.c:130:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable empty_vector [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/readahead/readahead.c:152:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CMD_QUIT [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/readahead/readahead.c:201:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CMD_CACHE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/retry-request/retry-request.c:126:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/retry-request/retry-request.c:143:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/retry-request/retry-request.c:158:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/retry-request/retry-request.c:172:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/retry-request/retry-request.c:186:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/retry-request/retry-request.c:199:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/retry-request/retry-request.c:213:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/retry-request/retry-request.c:225:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_EXTENTS_FREE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/retry-request/retry-request.c:264:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/partition/partition.c:236:34: style: Parameter 'next' can be declared as pointer to const. However it seems that 'partition_get_size' is a callback function, if 'next' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/partition/partition.c:341:25: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/partition/partition.c:236:34: note: Parameter 'next' can be declared as pointer to const nbdkit-1.42.4/filters/partition/partition.c:239:18: style: Variable 'h' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/filters/partition/partition.c:250:18: style: Variable 'h' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/filters/partition/partition.c:262:18: style: Variable 'h' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/filters/partition/partition.c:273:18: style: Variable 'h' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/filters/partition/partition.c:284:18: style: Variable 'h' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/filters/partition/partition.c:295:18: style: Variable 'h' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/filters/partition/partition.c:326:18: style: Variable 'h' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/filters/ip/ip.c:216:11: style: Variable 'addr[n]' is assigned a value that is never used. [unreadVariable] nbdkit-1.42.4/filters/luks/luks-encryption.c:895:31: style: Parameter 'h' can be declared as pointer to const [constParameterPointer] nbdkit-1.42.4/filters/luks/luks-encryption.c:929:31: style: Parameter 'h' can be declared as pointer to const [constParameterPointer] nbdkit-1.42.4/filters/rotational/rotational.c:65:40: style: Parameter 'next' can be declared as pointer to const. However it seems that 'rotational_is_rotational' is a callback function, if 'next' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/rotational/rotational.c:75:24: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/rotational/rotational.c:65:40: note: Parameter 'next' can be declared as pointer to const nbdkit-1.42.4/filters/rotational/rotational.c:65:52: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'rotational_is_rotational' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/rotational/rotational.c:75:24: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/rotational/rotational.c:65:52: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/filters/rate/rate.c:108:14: style: Condition 'rate==-1' is always false [knownConditionTrueFalse] nbdkit-1.42.4/filters/rate/rate.c:122:25: style: Condition 'connection_rate==-1' is always false [knownConditionTrueFalse] nbdkit-1.42.4/filters/readahead/readahead.c:76:42: style: Parameter 'h' can be declared as pointer to const [constParameterPointer] nbdkit-1.42.4/filters/readahead/readahead.c:84:48: style: Parameter 'h' can be declared as pointer to const [constParameterPointer] nbdkit-1.42.4/filters/scan/scan.c:176:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_THREAD_MODEL_PARALLEL [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/scan/scan.c:218:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CMD_QUIT [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/scan/scan.c:250:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CMD_NOTIFY_PREAD [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/protect/protect.c:310:9: portability: 'buf' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] nbdkit-1.42.4/filters/swab/swab.c:117:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EINVAL [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/swab/swab.c:180:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/retry/retry.c:61:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_THREAD_MODEL_SERIALIZE_REQUESTS [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/retry/retry.c:132:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EIO [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/retry/retry.c:166:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/retry/retry.c:253:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ESHUTDOWN [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/retry/retry.c:311:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EROFS [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/retry/retry.c:346:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EROFS [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/retry/retry.c:382:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EIO [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/retry/retry.c:406:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EROFS [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/retry/retry.c:442:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_EXTENTS_FREE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/retry/retry.c:495:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_CACHE_NONE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/spinning/spinning.c:258:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable lock [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/spinning/spinning.c:296:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable start [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/spinning/spinning.c:365:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIi64 [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/tar/tar.c:152:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/tar/tar.c:384:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_EXTENTS_FREE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/time-limit/time-limit.c:133:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EIO [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/swab/swab.c:128:19: style: Variable 's16' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/filters/swab/swab.c:129:19: style: Variable 's32' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/filters/swab/swab.c:130:19: style: Variable 's64' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/filters/stats/stats.cpp:141:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/stats/stats.cpp:208:60: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/stats/stats.cpp:239:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/stats/stats.cpp:279:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/stats/stats.cpp:305:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/stats/stats.cpp:404:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CLOEXEC [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/time-limit/time-limit.c:101:5: error: Memory leak: h [memleak] nbdkit-1.42.4/filters/tls-fallback/tls-fallback.c:68:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_THREAD_MODEL_SERIALIZE_CONNECTIONS [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/tls-fallback/tls-fallback.c:120:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_HANDLE_NOT_NEEDED [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/tls-fallback/tls-fallback.c:209:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_CACHE_NONE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/tls-fallback/tls-fallback.c:94:3: portability: Returning an integer in a function with pointer return type is not portable. [CastIntegerToAddressAtReturn] nbdkit-1.42.4/filters/tls-fallback/tls-fallback.c:56:5: warning:inconclusive: The buffer 'message' may not be null-terminated after the call to strncpy(). [terminateStrncpy] nbdkit-1.42.4/filters/tls-fallback/tls-fallback.c:129:59: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'tls_fallback_export_description' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/tls-fallback/tls-fallback.c:234:25: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/tls-fallback/tls-fallback.c:129:59: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/filters/tls-fallback/tls-fallback.c:138:30: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'tls_fallback_get_size' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/tls-fallback/tls-fallback.c:235:25: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/tls-fallback/tls-fallback.c:138:30: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/filters/tls-fallback/tls-fallback.c:147:32: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'tls_fallback_block_size' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/tls-fallback/tls-fallback.c:236:25: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/tls-fallback/tls-fallback.c:147:32: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/filters/tls-fallback/tls-fallback.c:161:31: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'tls_fallback_can_write' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/tls-fallback/tls-fallback.c:237:25: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/tls-fallback/tls-fallback.c:161:31: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/filters/tls-fallback/tls-fallback.c:170:31: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'tls_fallback_can_flush' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/tls-fallback/tls-fallback.c:238:25: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/tls-fallback/tls-fallback.c:170:31: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/filters/tls-fallback/tls-fallback.c:179:35: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'tls_fallback_is_rotational' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/tls-fallback/tls-fallback.c:239:25: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/tls-fallback/tls-fallback.c:179:35: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/filters/tls-fallback/tls-fallback.c:188:33: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'tls_fallback_can_extents' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/tls-fallback/tls-fallback.c:240:25: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/tls-fallback/tls-fallback.c:188:33: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/filters/tls-fallback/tls-fallback.c:197:36: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'tls_fallback_can_multi_conn' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/tls-fallback/tls-fallback.c:241:25: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/tls-fallback/tls-fallback.c:197:36: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/filters/tls-fallback/tls-fallback.c:206:31: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'tls_fallback_can_cache' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/tls-fallback/tls-fallback.c:242:25: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/tls-fallback/tls-fallback.c:206:31: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/filters/truncate/truncate.c:177:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRId64 [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/tls-fallback/tls-fallback.c:215:27: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'tls_fallback_pread' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/tls-fallback/tls-fallback.c:243:25: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/tls-fallback/tls-fallback.c:215:27: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/filters/truncate/truncate.c:288:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOSPC [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/xz/xz.c:150:46: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/truncate/truncate.c:331:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOTSUP [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/xz/xz.c:220:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_CACHE_EMULATE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/multi-conn/multi-conn.c:254:35: style: Parameter 'next' can be declared as pointer to const. However it seems that 'multi_conn_finalize' is a callback function, if 'next' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/multi-conn/multi-conn.c:515:24: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/multi-conn/multi-conn.c:254:35: note: Parameter 'next' can be declared as pointer to const nbdkit-1.42.4/filters/truncate/truncate.c:347:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_EXTENTS_FREE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/xz/xz.c:265:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_THREAD_MODEL_SERIALIZE_REQUESTS [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/multi-conn/multi-conn.c:300:18: style: Variable 'h' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/filters/multi-conn/multi-conn.c:312:18: style: Variable 'h' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/filters/tar/tar.c:323:18: style: Variable 'h' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/filters/tar/tar.c:342:18: style: Variable 'h' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/filters/tar/tar.c:352:18: style: Variable 'h' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/filters/tar/tar.c:362:18: style: Variable 'h' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/filters/tar/tar.c:372:18: style: Variable 'h' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/filters/tar/tar.c:382:18: style: Variable 'h' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/filters/tar/tar.c:413:18: style: Variable 'h' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/filters/partition/partition-mbr.c:59:29: style: Parameter 'sector' can be declared as pointer to const [constParameterPointer] nbdkit-1.42.4/filters/xz/blkcache.c:142:31: style: Parameter 'c' can be declared as pointer to const [constParameterPointer] nbdkit-1.42.4/filters/spinning/spinning.c:200:38: style: Parameter 'next' can be declared as pointer to const. However it seems that 'spinning_is_rotational' is a callback function, if 'next' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/spinning/spinning.c:449:24: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/spinning/spinning.c:200:38: note: Parameter 'next' can be declared as pointer to const nbdkit-1.42.4/filters/spinning/spinning.c:200:50: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'spinning_is_rotational' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/spinning/spinning.c:449:24: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/spinning/spinning.c:200:50: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/filters/spinning/spinning.c:207:39: style: Parameter 'next' can be declared as pointer to const. However it seems that 'spinning_can_multi_conn' is a callback function, if 'next' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/spinning/spinning.c:450:24: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/spinning/spinning.c:207:39: note: Parameter 'next' can be declared as pointer to const nbdkit-1.42.4/filters/spinning/spinning.c:207:51: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'spinning_can_multi_conn' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/spinning/spinning.c:450:24: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/spinning/spinning.c:207:51: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/filters/xz/xz.c:187:28: style: Parameter 'next' can be declared as pointer to const. However it seems that 'xz_can_write' is a callback function, if 'next' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/xz/xz.c:279:25: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/xz/xz.c:187:28: note: Parameter 'next' can be declared as pointer to const nbdkit-1.42.4/filters/xz/xz.c:188:21: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'xz_can_write' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/xz/xz.c:279:25: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/xz/xz.c:188:21: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/filters/xz/xz.c:195:33: style: Parameter 'next' can be declared as pointer to const. However it seems that 'xz_can_multi_conn' is a callback function, if 'next' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/xz/xz.c:282:25: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/xz/xz.c:195:33: note: Parameter 'next' can be declared as pointer to const nbdkit-1.42.4/filters/xz/xzfile.c:100:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/cdi/cdi.c:81:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/xz/xz.c:196:26: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'xz_can_multi_conn' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/xz/xz.c:282:25: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/xz/xz.c:196:26: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/filters/xz/xzfile.c:143:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LZMA_STREAM_HEADER_SIZE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/cdi/cdi.c:194:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_HANDLE_NOT_NEEDED [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/xz/xz.c:205:30: style: Parameter 'next' can be declared as pointer to const. However it seems that 'xz_can_extents' is a callback function, if 'next' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/xz/xz.c:280:25: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/xz/xz.c:205:30: note: Parameter 'next' can be declared as pointer to const nbdkit-1.42.4/filters/xz/xzfile.c:319:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LZMA_INDEX_ITER_NONEMPTY_BLOCK [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/blkio/blkio.c:102:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable value_needs_free [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/cdi/cdi.c:224:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_CACHE_EMULATE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/xz/xz.c:206:23: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'xz_can_extents' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/xz/xz.c:280:25: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/xz/xz.c:206:23: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/filters/xz/xzfile.c:358:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LZMA_BLOCK_HEADER_SIZE_MAX [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/blkio/blkio.c:378:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_FUA_NATIVE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/xz/xz.c:213:28: style: Parameter 'next' can be declared as pointer to const. However it seems that 'xz_can_cache' is a callback function, if 'next' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/xz/xz.c:281:25: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/xz/xz.c:213:28: note: Parameter 'next' can be declared as pointer to const nbdkit-1.42.4/plugins/blkio/blkio.c:418:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_FLAG_FUA [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/xz/xz.c:214:21: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'xz_can_cache' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/xz/xz.c:281:25: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/xz/xz.c:214:21: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/plugins/blkio/blkio.c:477:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_FLAG_FUA [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/blkio/blkio.c:509:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_FLAG_FUA [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/xz/xz.c:254:7: portability: 'buf' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] nbdkit-1.42.4/plugins/cdi/cdi.c:215:27: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'cdi_can_multi_conn' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/plugins/cdi/cdi.c:261:24: note: You might need to cast the function pointer here nbdkit-1.42.4/plugins/cdi/cdi.c:215:27: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/plugins/cdi/cdi.c:221:22: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'cdi_can_cache' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/plugins/cdi/cdi.c:262:24: note: You might need to cast the function pointer here nbdkit-1.42.4/plugins/cdi/cdi.c:221:22: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/plugins/cc/cc.c:91:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CC [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/cc/cc.c:105:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/cc/cc.c:193:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/cc/cc.c:481:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_FUA_EMULATE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/cc/cc.c:501:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_CACHE_NATIVE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/cc/cc.c:521:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/cc/cc.c:533:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/cdi/cdi.c:241:9: portability: 'buf' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] nbdkit-1.42.4/filters/retry/retry.c:142:27: style: Variable 'old_next' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/plugins/cc/cc.c:545:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/cc/cc.c:558:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/cc/cc.c:571:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/curl/scripts.c:153:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CURLOPT_HTTPHEADER [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/curl/scripts.c:171:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/curl/times.c:103:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIi64 [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/curl/scripts.c:251:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/curl/times.c:126:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIi64 [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/curl/scripts.c:330:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/curl/config.c:300:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CURL_HTTP_VERSION_NONE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/curl/config.c:577:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CURLOPT_PRIVATE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/curl/config.c:726:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/data/data.c:146:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/data/data.c:162:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/data/data.c:226:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIi64 [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/data/data.c:266:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_HANDLE_NOT_NEEDED [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/data/data.c:290:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_FUA_NATIVE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/data/data.c:307:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_CACHE_NATIVE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/data/data.c:332:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_FLAG_FUA [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/data/data.c:342:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_FLAG_FUA [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/data/data.c:352:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_FLAG_FUA [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/curl/curl.c:100:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CURL_GLOBAL_DEFAULT [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/curl/curl.c:209:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CURLINFO_RESPONSE_CODE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/curl/curl.c:304:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CURLOPT_NOBODY [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/curl/curl.c:329:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CURLOPT_HTTPGET [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/curl/curl.c:414:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CURLOPT_WRITEDATA [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/curl/curl.c:506:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CURLOPT_READDATA [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/cc/cc.c:249:3: warning: Return value of function dlerror() is not used. [ignoredReturnValue] nbdkit-1.42.4/filters/truncate/truncate.c:191:33: style: Parameter 'next' can be declared as pointer to const. However it seems that 'truncate_get_size' is a callback function, if 'next' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/truncate/truncate.c:428:24: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/truncate/truncate.c:191:33: note: Parameter 'next' can be declared as pointer to const nbdkit-1.42.4/filters/truncate/truncate.c:194:18: style: Variable 'h' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/filters/truncate/truncate.c:241:18: style: Variable 'h' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/filters/truncate/truncate.c:270:18: style: Variable 'h' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/filters/truncate/truncate.c:303:18: style: Variable 'h' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/filters/truncate/truncate.c:322:18: style: Variable 'h' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/filters/truncate/truncate.c:404:18: style: Variable 'h' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/plugins/curl/worker.c:122:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/curl/worker.c:158:61: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable c [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/curl/worker.c:265:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fd [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/curl/worker.c:341:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CURLMSG_DONE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/curl/worker.c:389:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CURLM_OK [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/truncate/truncate.c:252:9: portability: 'buf' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] nbdkit-1.42.4/filters/truncate/truncate.c:281:9: portability: 'buf' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] nbdkit-1.42.4/filters/stats/stats.cpp:149:5: error: Memory leak: ret [memleak] nbdkit-1.42.4/plugins/blkio/blkio.c:376:20: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'bio_can_fua' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/plugins/blkio/blkio.c:549:25: note: You might need to cast the function pointer here nbdkit-1.42.4/plugins/blkio/blkio.c:376:20: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/filters/stats/stats.cpp:174:14: style: Variable 'el' can be declared as reference to const [constVariableReference] nbdkit-1.42.4/filters/stats/stats.cpp:109:19: style: Variable 'masks' can be declared as const array [constVariable] nbdkit-1.42.4/filters/stats/stats.cpp:233:16: style: Consider using std::accumulate algorithm instead of a raw loop. [useStlAlgorithm] nbdkit-1.42.4/plugins/data/data.c:212:46: style: Condition 'read_base64(data_param,&data_size)==-1' is always true [knownConditionTrueFalse] nbdkit-1.42.4/plugins/data/data.c:212:21: note: Calling function 'read_base64' returns -1 nbdkit-1.42.4/plugins/data/data.c:212:46: note: Condition 'read_base64(data_param,&data_size)==-1' is always true nbdkit-1.42.4/filters/xz/xzfile.c:96:71: style: Condition 'iter_indexes(xz->idx,&xz->nr_blocks,&xz->max_uncompressed_block_size)==-1' is always false [knownConditionTrueFalse] nbdkit-1.42.4/filters/xz/xzfile.c:95:20: note: Calling function 'iter_indexes' returns 0 nbdkit-1.42.4/filters/xz/xzfile.c:96:71: note: Condition 'iter_indexes(xz->idx,&xz->nr_blocks,&xz->max_uncompressed_block_size)==-1' is always false nbdkit-1.42.4/plugins/eval/tmpdir.c:76:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/data/data.c:86:43: style: Parameter 'size_ret' can be declared as pointer to const [constParameterPointer] nbdkit-1.42.4/plugins/data/data.c:271:22: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'data_get_size' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/plugins/data/data.c:382:24: note: You might need to cast the function pointer here nbdkit-1.42.4/plugins/data/data.c:271:22: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/plugins/data/data.c:288:21: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'data_can_fua' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/plugins/data/data.c:385:24: note: You might need to cast the function pointer here nbdkit-1.42.4/plugins/data/data.c:288:21: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/plugins/data/data.c:295:28: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'data_can_multi_conn' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/plugins/data/data.c:384:24: note: You might need to cast the function pointer here nbdkit-1.42.4/plugins/data/data.c:295:28: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/filters/xz/xzfile.c:354:30: style:inconclusive: Function 'xzfile_read_block' argument 6 names different: declaration 'start' definition 'start_rtn'. [funcArgNamesDifferent] nbdkit-1.42.4/filters/xz/xzfile.h:68:43: note: Function 'xzfile_read_block' argument 6 names different: declaration 'start' definition 'start_rtn'. nbdkit-1.42.4/filters/xz/xzfile.c:354:30: note: Function 'xzfile_read_block' argument 6 names different: declaration 'start' definition 'start_rtn'. nbdkit-1.42.4/plugins/data/data.c:302:23: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'data_can_cache' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/plugins/data/data.c:386:24: note: You might need to cast the function pointer here nbdkit-1.42.4/plugins/data/data.c:302:23: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/filters/xz/xzfile.c:354:51: style:inconclusive: Function 'xzfile_read_block' argument 7 names different: declaration 'size' definition 'size_rtn'. [funcArgNamesDifferent] nbdkit-1.42.4/filters/xz/xzfile.h:68:60: note: Function 'xzfile_read_block' argument 7 names different: declaration 'size' definition 'size_rtn'. nbdkit-1.42.4/filters/xz/xzfile.c:354:51: note: Function 'xzfile_read_block' argument 7 names different: declaration 'size' definition 'size_rtn'. nbdkit-1.42.4/plugins/data/data.c:312:27: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'data_can_fast_zero' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/plugins/data/data.c:387:24: note: You might need to cast the function pointer here nbdkit-1.42.4/plugins/data/data.c:312:27: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/plugins/data/data.c:358:19: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'data_flush' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/plugins/data/data.c:392:24: note: You might need to cast the function pointer here nbdkit-1.42.4/plugins/data/data.c:358:19: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/filters/xz/xzfile.c:338:45: style: Parameter 'xz' can be declared as pointer to const [constParameterPointer] nbdkit-1.42.4/plugins/curl/worker.c:369:47: style:inconclusive: Function 'retire_command' argument 2 names different: declaration 'code' definition 'status'. [funcArgNamesDifferent] nbdkit-1.42.4/plugins/curl/worker.c:218:59: note: Function 'retire_command' argument 2 names different: declaration 'code' definition 'status'. nbdkit-1.42.4/plugins/curl/worker.c:369:47: note: Function 'retire_command' argument 2 names different: declaration 'code' definition 'status'. nbdkit-1.42.4/plugins/example2/winexample2.c:39:0: error: #error "build error: winexample2.c should only be used on Windows" [preprocessorErrorDirective] nbdkit-1.42.4/plugins/example2/winexample2.c:39:2: error: #error "build error: winexample2.c should only be used on Windows" [preprocessorErrorDirective] nbdkit-1.42.4/filters/qcow2dec/qcow2dec.c:137:34: style: Parameter 'next' can be declared as pointer to const. However it seems that 'qcow2dec_can_write' is a callback function, if 'next' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/qcow2dec/qcow2dec.c:985:24: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/qcow2dec/qcow2dec.c:137:34: note: Parameter 'next' can be declared as pointer to const nbdkit-1.42.4/filters/qcow2dec/qcow2dec.c:138:27: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'qcow2dec_can_write' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/qcow2dec/qcow2dec.c:985:24: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/qcow2dec/qcow2dec.c:138:27: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/filters/qcow2dec/qcow2dec.c:144:34: style: Parameter 'next' can be declared as pointer to const. However it seems that 'qcow2dec_can_cache' is a callback function, if 'next' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/qcow2dec/qcow2dec.c:986:24: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/qcow2dec/qcow2dec.c:144:34: note: Parameter 'next' can be declared as pointer to const nbdkit-1.42.4/filters/qcow2dec/qcow2dec.c:145:27: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'qcow2dec_can_cache' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/qcow2dec/qcow2dec.c:986:24: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/qcow2dec/qcow2dec.c:145:27: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/plugins/eval/eval.c:168:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable tmpdir [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/qcow2dec/qcow2dec.c:152:39: style: Parameter 'next' can be declared as pointer to const. However it seems that 'qcow2dec_can_multi_conn' is a callback function, if 'next' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/qcow2dec/qcow2dec.c:987:24: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/qcow2dec/qcow2dec.c:152:39: note: Parameter 'next' can be declared as pointer to const nbdkit-1.42.4/plugins/eval/eval.c:326:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/qcow2dec/qcow2dec.c:153:32: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'qcow2dec_can_multi_conn' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/qcow2dec/qcow2dec.c:987:24: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/qcow2dec/qcow2dec.c:153:32: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/plugins/eval/eval.c:390:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/filters/qcow2dec/qcow2dec.c:159:36: style: Parameter 'next' can be declared as pointer to const. However it seems that 'qcow2dec_can_extents' is a callback function, if 'next' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/qcow2dec/qcow2dec.c:988:24: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/qcow2dec/qcow2dec.c:159:36: note: Parameter 'next' can be declared as pointer to const nbdkit-1.42.4/filters/qcow2dec/qcow2dec.c:160:29: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'qcow2dec_can_extents' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/filters/qcow2dec/qcow2dec.c:988:24: note: You might need to cast the function pointer here nbdkit-1.42.4/filters/qcow2dec/qcow2dec.c:160:29: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/filters/qcow2dec/qcow2dec.c:468:9: portability: 'buf' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] nbdkit-1.42.4/filters/qcow2dec/qcow2dec.c:478:9: portability: 'buf' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] nbdkit-1.42.4/filters/qcow2dec/qcow2dec.c:333:17: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] nbdkit-1.42.4/plugins/eval/call.c:66:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/eval/call.c:98:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/example3/example3.c:110:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LARGE_TMPDIR [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/eval/call.c:388:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EIO [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/eval/call.c:528:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE_STRING [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/eval/call.c:542:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE_STRING [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/eval/call.c:558:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE_STRING [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/example2/example2.c:136:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/example1/example1.c:137:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_HANDLE_NOT_NEEDED [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/example2/example2.c:139:5: error: Resource leak: h.fd [resourceLeak] nbdkit-1.42.4/plugins/example1/example1.c:142:26: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'example1_get_size' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/plugins/example1/example1.c:169:24: note: You might need to cast the function pointer here nbdkit-1.42.4/plugins/example1/example1.c:142:26: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/plugins/example2/example2.c:167:27: style: Variable 'h' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/plugins/example2/example2.c:202:27: style: Variable 'h' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/plugins/example2/example2.c:214:9: portability: 'buf' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] nbdkit-1.42.4/plugins/file/winfile.c:36:0: error: #error "build error: file.c should be used on Unix-like platforms" [preprocessorErrorDirective] nbdkit-1.42.4/plugins/file/winfile.c:36:2: error: #error "build error: file.c should be used on Unix-like platforms" [preprocessorErrorDirective] nbdkit-1.42.4/plugins/example3/example3.c:121:5: error: Resource leak: h.fd [resourceLeak] nbdkit-1.42.4/plugins/example3/example3.c:157:26: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'example3_get_size' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/plugins/example3/example3.c:230:24: note: You might need to cast the function pointer here nbdkit-1.42.4/plugins/example3/example3.c:157:26: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/plugins/example3/example3.c:167:27: style: Variable 'h' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/plugins/example3/example3.c:192:27: style: Variable 'h' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/plugins/example3/example3.c:212:27: style: Variable 'h' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/plugins/example3/example3.c:179:9: portability: 'buf' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] nbdkit-1.42.4/plugins/example3/example3.c:200:9: portability: 'buf' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] nbdkit-1.42.4/plugins/curl/curl.c:163:18: style: Variable 'h' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/plugins/curl/curl.c:384:17: style: Parameter 'ptr' can be declared as pointer to const. However it seems that 'error_cb' is a callback function, if 'ptr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/plugins/curl/curl.c:332:51: note: You might need to cast the function pointer here nbdkit-1.42.4/plugins/curl/curl.c:384:17: note: Parameter 'ptr' can be declared as pointer to const nbdkit-1.42.4/plugins/curl/curl.c:384:55: style: Parameter 'opaque' can be declared as pointer to const. However it seems that 'error_cb' is a callback function, if 'opaque' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/plugins/curl/curl.c:332:51: note: You might need to cast the function pointer here nbdkit-1.42.4/plugins/curl/curl.c:384:55: note: Parameter 'opaque' can be declared as pointer to const nbdkit-1.42.4/plugins/curl/curl.c:462:17: style: Parameter 'ptr' can be declared as pointer to const. However it seems that 'write_cb' is a callback function, if 'ptr' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/plugins/curl/curl.c:413:51: note: You might need to cast the function pointer here nbdkit-1.42.4/plugins/curl/curl.c:462:17: note: Parameter 'ptr' can be declared as pointer to const nbdkit-1.42.4/plugins/full/full.c:85:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_HANDLE_NOT_NEEDED [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/floppy/floppy.c:130:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_HANDLE_NOT_NEEDED [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/full/full.c:111:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_CACHE_NATIVE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/floppy/floppy.c:165:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_CACHE_EMULATE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/full/full.c:128:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/floppy/floppy.c:188:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable host_path [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/full/full.c:141:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/full/full.c:151:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_EXTENT_HOLE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/file/file.c:192:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ENOTSUP [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/file/file.c:430:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/file/file.c:529:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/file/file.c:586:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/file/file.c:846:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_FUA_NATIVE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/file/file.c:859:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_FUA_EMULATE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/file/file.c:934:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_FLAG_FUA [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/file/file.c:988:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_FLAG_MAY_TRIM [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/file/file.c:1200:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_FLAG_FUA [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/file/file.c:1232:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_FLAG_REQ_ONE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/full/full.c:92:22: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'full_get_size' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/plugins/full/full.c:167:24: note: You might need to cast the function pointer here nbdkit-1.42.4/plugins/full/full.c:92:22: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/plugins/full/full.c:99:28: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'full_can_multi_conn' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/plugins/full/full.c:168:24: note: You might need to cast the function pointer here nbdkit-1.42.4/plugins/full/full.c:99:28: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/plugins/full/full.c:106:23: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'full_can_cache' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/plugins/full/full.c:169:24: note: You might need to cast the function pointer here nbdkit-1.42.4/plugins/full/full.c:106:23: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/plugins/full/full.c:125:20: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'full_pwrite' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/plugins/full/full.c:171:24: note: You might need to cast the function pointer here nbdkit-1.42.4/plugins/full/full.c:125:20: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/plugins/full/full.c:139:18: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'full_trim' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/plugins/full/full.c:172:24: note: You might need to cast the function pointer here nbdkit-1.42.4/plugins/full/full.c:139:18: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/plugins/floppy/floppy.c:155:30: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'floppy_can_multi_conn' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/plugins/floppy/floppy.c:240:24: note: You might need to cast the function pointer here nbdkit-1.42.4/plugins/floppy/floppy.c:155:30: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/plugins/floppy/floppy.c:162:25: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'floppy_can_cache' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/plugins/floppy/floppy.c:241:24: note: You might need to cast the function pointer here nbdkit-1.42.4/plugins/floppy/floppy.c:162:25: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/plugins/floppy/floppy.c:219:9: portability: 'buf' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] nbdkit-1.42.4/plugins/iso/iso.c:66:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/info/info.c:404:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_CACHE_NATIVE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/iso/iso.c:186:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ISOPROG [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/iso/iso.c:198:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_HANDLE_NOT_NEEDED [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/iso/iso.c:239:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_CACHE_EMULATE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/eval/methods.c:59:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE_STRING [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/eval/methods.c:96:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE_STRING [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/eval/methods.c:163:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/eval/methods.c:188:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/eval/methods.c:216:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/eval/methods.c:252:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/eval/methods.c:313:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE_STRING [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/eval/methods.c:342:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE_STRING [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/eval/methods.c:429:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/eval/methods.c:463:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE_STRING [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/eval/methods.c:494:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE_STRING [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/eval/methods.c:532:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE_STRING [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/eval/methods.c:598:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE_STRING [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/eval/methods.c:642:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_FLAG_FUA [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/eval/methods.c:686:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu32 [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/eval/methods.c:808:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE_STRING [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/eval/methods.c:862:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE_STRING [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/eval/methods.c:941:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/eval/methods.c:957:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu32 [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/eval/methods.c:991:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu32 [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/eval/methods.c:1022:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/eval/methods.c:1095:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE_STRING [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/eval/methods.c:1140:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu32 [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/floppy/directory-lfn.c:87:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable len [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/floppy/directory-lfn.c:204:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable statbuf [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/floppy/directory-lfn.c:471:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable iconv_t [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/floppy/virtual-floppy.c:125:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first_cluster [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/floppy/directory-lfn.c:540:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable len [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/floppy/virtual-floppy.c:241:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable name [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/floppy/directory-lfn.c:558:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable len [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/floppy/virtual-floppy.c:266:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/floppy/virtual-floppy.c:369:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/floppy/virtual-floppy.c:446:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fileidxs [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/floppy/virtual-floppy.c:467:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/floppy/virtual-floppy.c:590:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable first_cluster [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/floppy/virtual-floppy.c:635:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable region_data [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/iso/iso.c:230:27: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'iso_can_multi_conn' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/plugins/iso/iso.c:278:24: note: You might need to cast the function pointer here nbdkit-1.42.4/plugins/iso/iso.c:230:27: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/plugins/iso/iso.c:236:22: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'iso_can_cache' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/plugins/iso/iso.c:279:24: note: You might need to cast the function pointer here nbdkit-1.42.4/plugins/iso/iso.c:236:22: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/plugins/iso/iso.c:256:9: portability: 'buf' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] nbdkit-1.42.4/plugins/guestfs/guestfs-plugin.c:111:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable drv_disk [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/guestfs/guestfs-plugin.c:243:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUESTFS_CREATE_NO_ENVIRONMENT [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/guestfs/guestfs-plugin.c:317:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/guestfs/guestfs-plugin.c:330:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUESTFS_EVENT_APPLIANCE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/guestfs/guestfs-plugin.c:359:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUESTFS_ADD_DOMAIN_READONLY_BITMASK [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/guestfs/guestfs-plugin.c:520:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable guestfs_pread_device [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/guestfs/guestfs-plugin.c:552:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable guestfs_pwrite_device [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/guestfs/guestfs-plugin.c:580:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/libvirt/libvirt-plugin.c:195:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/info/info.c:313:59: style: Condition 'decode_base64(export_name,export_name_len,h)==-1' is always true [knownConditionTrueFalse] nbdkit-1.42.4/plugins/info/info.c:313:25: note: Calling function 'decode_base64' returns -1 nbdkit-1.42.4/plugins/info/info.c:313:59: note: Condition 'decode_base64(export_name,export_name_len,h)==-1' is always true nbdkit-1.42.4/plugins/info/info.c:323:64: style: Condition 'handle_address((struct sockaddr*)&addr,addrlen,h)==-1' is always true [knownConditionTrueFalse] nbdkit-1.42.4/plugins/info/info.c:323:24: note: Calling function 'handle_address' returns -1 nbdkit-1.42.4/plugins/info/info.c:323:64: note: Condition 'handle_address((struct sockaddr*)&addr,addrlen,h)==-1' is always true nbdkit-1.42.4/plugins/data/format.c:75:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable empty_vector [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/data/format.c:220:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable node_ids [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/data/format.c:362:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE_STRING [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/data/format.c:483:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable empty_vector [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/data/format.c:914:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable empty_vector [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/info/info.c:153:61: style: Parameter 'ret' can be declared as pointer to const [constParameterPointer] nbdkit-1.42.4/plugins/data/format.c:979:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE_STRING [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/info/info.c:192:34: style: Parameter 'sa' can be declared as pointer to const [constParameterPointer] nbdkit-1.42.4/plugins/data/format.c:1109:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable empty_vector [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/info/info.c:193:32: style: Parameter 'ret' can be declared as pointer to const [constParameterPointer] nbdkit-1.42.4/plugins/data/format.c:1484:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable empty_vector [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/info/info.c:363:18: style: Variable 'h' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/plugins/data/format.c:1634:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIi64 [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/info/info.c:369:28: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'info_can_multi_conn' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/plugins/info/info.c:469:24: note: You might need to cast the function pointer here nbdkit-1.42.4/plugins/info/info.c:369:28: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/plugins/data/format.c:1824:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/info/info.c:399:23: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'info_can_cache' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/plugins/info/info.c:470:24: note: You might need to cast the function pointer here nbdkit-1.42.4/plugins/info/info.c:399:23: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/plugins/data/format.c:1864:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/data/format.c:1920:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/data/format.c:1962:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/info/info.c:454:24: portability: 'h->data' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] nbdkit-1.42.4/plugins/libvirt/libvirt-plugin.c:172:23: style: Variable 'h' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/plugins/libvirt/libvirt-plugin.c:199:9: portability: 'buf' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] nbdkit-1.42.4/plugins/linuxdisk/filesystem.c:61:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/linuxdisk/filesystem.c:151:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/linuxdisk/filesystem.c:210:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/linuxdisk/linuxdisk.c:151:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_HANDLE_NOT_NEEDED [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/linuxdisk/linuxdisk.c:175:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_CACHE_EMULATE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/linuxdisk/linuxdisk.c:165:33: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'linuxdisk_can_multi_conn' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/plugins/linuxdisk/linuxdisk.c:240:24: note: You might need to cast the function pointer here nbdkit-1.42.4/plugins/linuxdisk/linuxdisk.c:165:33: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/plugins/linuxdisk/linuxdisk.c:172:28: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'linuxdisk_can_cache' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/plugins/linuxdisk/linuxdisk.c:241:24: note: You might need to cast the function pointer here nbdkit-1.42.4/plugins/linuxdisk/linuxdisk.c:172:28: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/plugins/linuxdisk/linuxdisk.c:220:9: portability: 'buf' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] nbdkit-1.42.4/plugins/linuxdisk/virtual-disk.c:126:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable region_data [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/linuxdisk/partition-gpt.c:166:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GPT_MIN_PARTITIONS [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/linuxdisk/partition-gpt.c:184:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gpt_entry [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/linuxdisk/partition-gpt.c:203:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable region_file [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/file/file.c:1219:24: error: Invalid lseek() argument nr 3. The value is 4 but the valid values are '0:2'. [invalidFunctionArg] nbdkit-1.42.4/plugins/file/file.c:1238:33: error: Invalid lseek() argument nr 3. The value is 3 but the valid values are '0:2'. [invalidFunctionArg] nbdkit-1.42.4/plugins/file/file.c:1267:33: error: Invalid lseek() argument nr 3. The value is 4 but the valid values are '0:2'. [invalidFunctionArg] nbdkit-1.42.4/plugins/memory/memory.c:130:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_HANDLE_NOT_NEEDED [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/memory/memory.c:156:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_FUA_NATIVE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/memory/memory.c:173:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_CACHE_NATIVE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/memory/memory.c:198:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_FLAG_FUA [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/memory/memory.c:208:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_FLAG_FUA [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/memory/memory.c:218:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_FLAG_FUA [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/file/file.c:442:11: style: The comparison 'r == -1' is always true. [knownConditionTrueFalse] nbdkit-1.42.4/plugins/file/file.c:432:14: note: 'r' is assigned value '-1' here. nbdkit-1.42.4/plugins/file/file.c:442:11: note: The comparison 'r == -1' is always true. nbdkit-1.42.4/plugins/floppy/virtual-floppy.c:207:52: style: Condition 'create_partition_boot_sector(label,floppy)==-1' is always false [knownConditionTrueFalse] nbdkit-1.42.4/plugins/floppy/virtual-floppy.c:207:36: note: Calling function 'create_partition_boot_sector' returns 0 nbdkit-1.42.4/plugins/floppy/virtual-floppy.c:207:52: note: Condition 'create_partition_boot_sector(label,floppy)==-1' is always false nbdkit-1.42.4/plugins/floppy/virtual-floppy.c:211:30: style: Condition 'create_fsinfo(floppy)==-1' is always false [knownConditionTrueFalse] nbdkit-1.42.4/plugins/floppy/virtual-floppy.c:211:21: note: Calling function 'create_fsinfo' returns 0 nbdkit-1.42.4/plugins/floppy/virtual-floppy.c:211:30: note: Condition 'create_fsinfo(floppy)==-1' is always false nbdkit-1.42.4/plugins/file/file.c:1150:5: style: Label 'out' is not used. [unusedLabel] nbdkit-1.42.4/plugins/file/file.c:794:18: style: Variable 'h' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/plugins/file/file.c:804:18: style: Variable 'h' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/plugins/file/file.c:816:18: style: Variable 'h' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/plugins/file/file.c:823:28: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'file_can_multi_conn' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/plugins/file/file.c:1333:24: note: You might need to cast the function pointer here nbdkit-1.42.4/plugins/file/file.c:823:28: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/plugins/file/file.c:829:22: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'file_can_trim' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/plugins/file/file.c:1334:24: note: You might need to cast the function pointer here nbdkit-1.42.4/plugins/file/file.c:829:22: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/plugins/file/file.c:844:21: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'file_can_fua' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/plugins/file/file.c:1335:24: note: You might need to cast the function pointer here nbdkit-1.42.4/plugins/file/file.c:844:21: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/plugins/file/file.c:850:23: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'file_can_cache' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/plugins/file/file.c:1336:24: note: You might need to cast the function pointer here nbdkit-1.42.4/plugins/file/file.c:850:23: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/plugins/file/file.c:867:18: style: Variable 'h' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/plugins/file/file.c:882:18: style: Variable 'h' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/plugins/file/file.c:917:18: style: Variable 'h' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/plugins/file/file.c:987:18: style: Variable 'h' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/plugins/file/file.c:1212:18: style: Variable 'h' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/plugins/lua/lua.c:57:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_TNUMBER [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/null/null.c:74:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_HANDLE_NOT_NEEDED [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/file/file.c:1231:18: style: Variable 'h' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/plugins/lua/lua.c:226:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/null/null.c:100:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_CACHE_NATIVE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/lua/lua.c:238:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/null/null.c:140:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_FUA_NATIVE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/ocaml/buf.c:72:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Val_unit [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/lua/lua.c:258:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/null/null.c:164:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_EXTENT_HOLE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/ocaml/buf.c:89:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Val_unit [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/lua/lua.c:284:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/lua/lua.c:316:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/lua/lua.c:339:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/lua/lua.c:371:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/lua/lua.c:403:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/lua/lua.c:435:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/lua/lua.c:461:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/lua/lua.c:483:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/lua/lua.c:507:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LUA_REGISTRYINDEX [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/linuxdisk/partition-gpt.c:127:9: style: int result is assigned to long variable. If the variable is long to avoid loss of information, then you have loss of information. [truncLongCastAssignment] nbdkit-1.42.4/plugins/file/file.c:898:9: portability: 'buf' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] nbdkit-1.42.4/plugins/file/file.c:929:9: portability: 'buf' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] nbdkit-1.42.4/plugins/memory/memory.c:137:24: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'memory_get_size' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/plugins/memory/memory.c:249:24: note: You might need to cast the function pointer here nbdkit-1.42.4/plugins/memory/memory.c:137:24: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/plugins/memory/memory.c:154:23: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'memory_can_fua' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/plugins/memory/memory.c:251:24: note: You might need to cast the function pointer here nbdkit-1.42.4/plugins/memory/memory.c:154:23: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/plugins/memory/memory.c:161:30: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'memory_can_multi_conn' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/plugins/memory/memory.c:252:24: note: You might need to cast the function pointer here nbdkit-1.42.4/plugins/memory/memory.c:161:30: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/plugins/memory/memory.c:168:25: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'memory_can_cache' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/plugins/memory/memory.c:253:24: note: You might need to cast the function pointer here nbdkit-1.42.4/plugins/memory/memory.c:168:25: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/plugins/memory/memory.c:178:29: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'memory_can_fast_zero' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/plugins/memory/memory.c:254:24: note: You might need to cast the function pointer here nbdkit-1.42.4/plugins/memory/memory.c:178:29: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/plugins/memory/memory.c:225:21: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'memory_flush' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/plugins/memory/memory.c:259:24: note: You might need to cast the function pointer here nbdkit-1.42.4/plugins/memory/memory.c:225:21: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/plugins/ocaml/bindings.c:59:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Val_unit [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/ocaml/bindings.c:66:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/ocaml/bindings.c:81:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dv [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/ocaml/bindings.c:97:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/ocaml/bindings.c:112:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/ocaml/bindings.c:131:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/ocaml/bindings.c:148:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/ocaml/bindings.c:163:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/ocaml/bindings.c:187:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Val_unit [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/ocaml/bindings.c:194:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/ocaml/bindings.c:212:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/ocaml/bindings.c:230:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Val_unit [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/ocaml/bindings.c:240:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Val_unit [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/ocaml/bindings.c:249:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Val_unit [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/ocaml/bindings.c:256:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/ocaml/bindings.c:300:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/ocaml/bindings.c:310:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/ocaml/bindings.c:321:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/ocaml/bindings.c:332:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/ocaml/bindings.c:343:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/ocaml/bindings.c:355:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/ocaml/bindings.c:367:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/null/null.c:81:22: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'null_get_size' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/plugins/null/null.c:174:24: note: You might need to cast the function pointer here nbdkit-1.42.4/plugins/null/null.c:81:22: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/plugins/null/null.c:88:28: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'null_can_multi_conn' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/plugins/null/null.c:175:24: note: You might need to cast the function pointer here nbdkit-1.42.4/plugins/null/null.c:88:28: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/plugins/null/null.c:95:23: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'null_can_cache' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/plugins/null/null.c:176:24: note: You might need to cast the function pointer here nbdkit-1.42.4/plugins/null/null.c:95:23: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/plugins/null/null.c:105:27: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'null_can_fast_zero' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/plugins/null/null.c:177:24: note: You might need to cast the function pointer here nbdkit-1.42.4/plugins/null/null.c:105:27: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/plugins/null/null.c:121:20: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'null_pwrite' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/plugins/null/null.c:179:24: note: You might need to cast the function pointer here nbdkit-1.42.4/plugins/null/null.c:121:20: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/plugins/null/null.c:130:18: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'null_zero' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/plugins/null/null.c:180:24: note: You might need to cast the function pointer here nbdkit-1.42.4/plugins/null/null.c:130:18: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/plugins/null/null.c:138:21: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'null_can_fua' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/plugins/null/null.c:182:24: note: You might need to cast the function pointer here nbdkit-1.42.4/plugins/null/null.c:138:21: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/plugins/ocaml/buf.c:82:12: style: Variable 'data' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/plugins/null/null.c:145:18: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'null_trim' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/plugins/null/null.c:181:24: note: You might need to cast the function pointer here nbdkit-1.42.4/plugins/null/null.c:145:18: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/plugins/null/null.c:153:19: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'null_flush' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/plugins/null/null.c:183:24: note: You might need to cast the function pointer here nbdkit-1.42.4/plugins/null/null.c:153:19: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/plugins/ones/ones.c:82:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_HANDLE_NOT_NEEDED [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/ones/ones.c:108:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_CACHE_NATIVE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/ones/ones.c:148:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_FUA_NATIVE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/guestfs/guestfs-plugin.c:506:18: style: Variable 'h' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/plugins/guestfs/guestfs-plugin.c:534:9: portability: 'buf' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] nbdkit-1.42.4/plugins/guestfs/guestfs-plugin.c:564:9: portability: 'buf' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] nbdkit-1.42.4/plugins/lua/lua.c:254:8: style: Variable 'h' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/plugins/lua/lua.c:279:8: style: Variable 'h' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/plugins/lua/lua.c:312:8: style: Variable 'h' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/plugins/lua/lua.c:334:8: style: Variable 'h' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/plugins/lua/lua.c:366:8: style: Variable 'h' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/plugins/lua/lua.c:398:8: style: Variable 'h' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/plugins/lua/lua.c:430:8: style: Variable 'h' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/plugins/lua/lua.c:457:8: style: Variable 'h' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/plugins/lua/lua.c:479:8: style: Variable 'h' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/plugins/lua/lua.c:503:8: style: Variable 'h' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/plugins/ones/ones.c:89:22: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'ones_get_size' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/plugins/ones/ones.c:182:24: note: You might need to cast the function pointer here nbdkit-1.42.4/plugins/ones/ones.c:89:22: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/plugins/nbd/nbd.c:211:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBNBD_TLS_REQUIRE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/ones/ones.c:96:28: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'ones_can_multi_conn' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/plugins/ones/ones.c:183:24: note: You might need to cast the function pointer here nbdkit-1.42.4/plugins/ones/ones.c:96:28: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/plugins/nbd/nbd.c:352:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBNBD_TLS_DISABLE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/ondemand/ondemand.c:207:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NAME_MAX [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/ones/ones.c:103:23: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'ones_can_cache' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/plugins/ones/ones.c:184:24: note: You might need to cast the function pointer here nbdkit-1.42.4/plugins/ones/ones.c:103:23: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/plugins/partitioning/partition-gpt.c:82:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GPT_MIN_PARTITIONS [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/nbd/nbd.c:441:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fd [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/ondemand/ondemand.c:244:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/ones/ones.c:113:27: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'ones_can_fast_zero' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/plugins/ones/ones.c:185:24: note: You might need to cast the function pointer here nbdkit-1.42.4/plugins/ones/ones.c:113:27: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/plugins/partitioning/partition-gpt.c:106:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GPT_MIN_PARTITIONS [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/partitioning/partition-mbr.c:70:74: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mbr_id [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/nbd/nbd.c:501:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRId64 [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/ondemand/ondemand.c:310:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_FUA_NATIVE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/ones/ones.c:129:20: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'ones_pwrite' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/plugins/ones/ones.c:187:24: note: You might need to cast the function pointer here nbdkit-1.42.4/plugins/ones/ones.c:129:20: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/plugins/partitioning/partition-gpt.c:129:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable region_file [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/nbd/nbd.c:535:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRId64 [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/ondemand/ondemand.c:318:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/ones/ones.c:138:18: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'ones_zero' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/plugins/ones/ones.c:188:24: note: You might need to cast the function pointer here nbdkit-1.42.4/plugins/ones/ones.c:138:18: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/plugins/partitioning/partition-gpt.c:150:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable gpt_entry [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/nbd/nbd.c:551:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/ondemand/ondemand.c:446:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/ones/ones.c:146:21: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'ones_can_fua' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/plugins/ones/ones.c:190:24: note: You might need to cast the function pointer here nbdkit-1.42.4/plugins/ones/ones.c:146:21: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/plugins/nbd/nbd.c:651:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBNBD_CONTEXT_BASE_ALLOCATION [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/ondemand/ondemand.c:607:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_FLAG_FUA [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/ones/ones.c:153:18: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'ones_trim' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/plugins/ones/ones.c:189:24: note: You might need to cast the function pointer here nbdkit-1.42.4/plugins/ones/ones.c:153:18: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/plugins/nbd/nbd.c:770:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/ondemand/ondemand.c:662:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_FLAG_FUA [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/ones/ones.c:161:19: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'ones_flush' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/plugins/ones/ones.c:191:24: note: You might need to cast the function pointer here nbdkit-1.42.4/plugins/ones/ones.c:161:19: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/plugins/nbd/nbd.c:822:8: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/nbd/nbd.c:1024:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_FUA_NONE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/nbd/nbd.c:1050:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_CACHE_NONE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/nbd/nbd.c:1057:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBNBD_CONTEXT_BASE_ALLOCATION [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/nbd/nbd.c:1088:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_FLAG_FUA [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/nbd/nbd.c:1105:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_FLAG_FUA [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/nbd/nbd.c:1129:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_FLAG_FUA [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/nbd/nbd.c:1156:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LIBNBD_CONTEXT_BASE_ALLOCATION [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/nbd/nbd.c:1178:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_FLAG_REQ_ONE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/eval/call.c:388:11: style: Variable 'err' is assigned a value that is never used. [unreadVariable] nbdkit-1.42.4/plugins/ocaml/plugin.h:78:38: style: Parameter 'unused' can be declared as pointer to const [constParameterPointer] nbdkit-1.42.4/plugins/eval/methods.c:461:21: style: Variable 'h' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/plugins/eval/methods.c:492:21: style: Variable 'h' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/plugins/eval/methods.c:530:21: style: Variable 'h' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/plugins/eval/methods.c:595:21: style: Variable 'h' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/plugins/eval/methods.c:682:21: style: Variable 'h' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/plugins/eval/methods.c:716:21: style: Variable 'h' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/plugins/eval/methods.c:806:21: style: Variable 'h' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/plugins/eval/methods.c:860:21: style: Variable 'h' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/plugins/eval/methods.c:924:21: style: Variable 'h' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/plugins/eval/methods.c:953:21: style: Variable 'h' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/plugins/eval/methods.c:987:21: style: Variable 'h' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/plugins/eval/methods.c:1092:21: style: Variable 'h' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/plugins/eval/methods.c:1136:21: style: Variable 'h' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/plugins/partitioning/virtual-disk.c:92:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GPT_MIN_PARTITIONS [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/partitioning/partitioning.c:108:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fd [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/partitioning/partitioning.c:138:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/partitioning/partitioning.c:247:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable size [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/ocaml/plugin.c:208:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/partitioning/partitioning.c:291:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_HANDLE_NOT_NEEDED [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/ocaml/plugin.c:243:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Val_unit [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/partitioning/partitioning.c:315:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_CACHE_EMULATE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/ocaml/plugin.c:256:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Val_unit [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/partitioning/partitioning.c:336:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fd [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/ocaml/plugin.c:273:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/partitioning/partitioning.c:385:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fd [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/ocaml/plugin.c:292:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable keyv [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/partitioning/partitioning.c:427:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable fd [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/ocaml/plugin.c:307:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/ocaml/plugin.c:321:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/ocaml/plugin.c:335:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/ocaml/plugin.c:352:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/ocaml/plugin.c:376:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/ocaml/plugin.c:390:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/ocaml/plugin.c:406:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/ocaml/plugin.c:434:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/ocaml/plugin.c:456:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/ocaml/plugin.c:483:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/ocaml/plugin.c:505:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/ocaml/plugin.c:522:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/ocaml/plugin.c:540:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/ocaml/plugin.c:581:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/ocaml/plugin.c:596:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/ocaml/plugin.c:611:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/ocaml/plugin.c:626:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/ocaml/plugin.c:641:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/ocaml/plugin.c:656:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/ocaml/plugin.c:671:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/ocaml/plugin.c:686:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/ocaml/plugin.c:701:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/ocaml/plugin.c:716:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/ocaml/plugin.c:731:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable rv [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/ocaml/plugin.c:770:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ba [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/ocaml/plugin.c:795:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ba [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/ocaml/plugin.c:815:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable flagsv [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/ocaml/plugin.c:832:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable countv [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/ocaml/plugin.c:852:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable countv [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/ocaml/plugin.c:873:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable countv [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/ocaml/plugin.c:912:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable countv [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/ocaml/plugin.c:950:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Val_unit [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/ocaml/plugin.c:985:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Val_unit [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/pattern/pattern.c:80:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_HANDLE_NOT_NEEDED [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/pattern/pattern.c:104:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_CACHE_NATIVE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/python/errors.c:47:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/python/errors.c:66:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/ondemand/ondemand.c:503:54: style: Condition 'lock_export(readonly,h->exportname,h->fd)==-1' is always false [knownConditionTrueFalse] nbdkit-1.42.4/plugins/ondemand/ondemand.c:503:21: note: Calling function 'lock_export' returns 0 nbdkit-1.42.4/plugins/ondemand/ondemand.c:503:54: note: Condition 'lock_export(readonly,h->exportname,h->fd)==-1' is always false nbdkit-1.42.4/plugins/ondemand/ondemand.c:292:32: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'ondemand_can_multi_conn' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/plugins/ondemand/ondemand.c:684:24: note: You might need to cast the function pointer here nbdkit-1.42.4/plugins/ondemand/ondemand.c:292:32: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/plugins/ondemand/ondemand.c:298:26: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'ondemand_can_trim' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/plugins/ondemand/ondemand.c:685:24: note: You might need to cast the function pointer here nbdkit-1.42.4/plugins/ondemand/ondemand.c:298:26: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/plugins/ondemand/ondemand.c:308:25: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'ondemand_can_fua' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/plugins/ondemand/ondemand.c:686:24: note: You might need to cast the function pointer here nbdkit-1.42.4/plugins/ondemand/ondemand.c:308:25: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/plugins/ondemand/ondemand.c:543:18: style: Variable 'h' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/plugins/perl/perl.c:69:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable environ [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/ondemand/ondemand.c:554:18: style: Variable 'h' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/plugins/perl/perl.c:95:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/ondemand/ondemand.c:578:18: style: Variable 'h' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/plugins/perl/perl.c:111:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/ondemand/ondemand.c:594:18: style: Variable 'h' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/plugins/perl/perl.c:141:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/perl/perl.c:151:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dXSARGS [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/perl/perl.c:169:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable xs_debug [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/perl/perl.c:201:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dSP [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/perl/perl.c:264:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dSP [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/perl/perl.c:295:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dSP [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/perl/perl.c:322:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dSP [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/perl/perl.c:345:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dSP [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/perl/perl.c:387:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dSP [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/perl/perl.c:416:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dSP [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/perl/perl.c:446:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dSP [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/perl/perl.c:505:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dSP [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/perl/perl.c:544:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dSP [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/pattern/pattern.c:85:25: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'pattern_get_size' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/plugins/pattern/pattern.c:137:24: note: You might need to cast the function pointer here nbdkit-1.42.4/plugins/pattern/pattern.c:85:25: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/plugins/perl/perl.c:574:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dSP [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/pattern/pattern.c:92:31: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'pattern_can_multi_conn' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/plugins/pattern/pattern.c:138:24: note: You might need to cast the function pointer here nbdkit-1.42.4/plugins/pattern/pattern.c:92:31: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/plugins/perl/perl.c:613:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dSP [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/ondemand/ondemand.c:566:9: portability: 'buf' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] nbdkit-1.42.4/plugins/pattern/pattern.c:99:26: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'pattern_can_cache' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/plugins/pattern/pattern.c:139:24: note: You might need to cast the function pointer here nbdkit-1.42.4/plugins/pattern/pattern.c:99:26: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/plugins/perl/perl.c:643:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable dSP [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/ondemand/ondemand.c:602:9: portability: 'buf' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] nbdkit-1.42.4/plugins/python/modfunctions.c:54:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/python/modfunctions.c:65:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_RuntimeError [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/random/random.c:98:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_HANDLE_NOT_NEEDED [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/python/modfunctions.c:86:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/random/random.c:122:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_CACHE_NATIVE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/python/modfunctions.c:94:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/random/random.c:169:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/python/modfunctions.c:106:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/random/random.c:195:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/python/modfunctions.c:119:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/python/modfunctions.c:137:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/python/modfunctions.c:156:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/python/modfunctions.c:169:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_True [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/python/modfunctions.c:177:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_True [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/python/modfunctions.c:193:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_None [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/python/modfunctions.c:207:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/python/modfunctions.c:246:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/python/modfunctions.c:263:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/python/modfunctions.c:280:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/python/modfunctions.c:300:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PyExc_ValueError [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/python/modfunctions.c:380:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_THREAD_MODEL_SERIALIZE_CONNECTIONS [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/random/random.c:175:61: style: Condition 'random_pread(handle,expected,count,offset,flags)==-1' is always false [knownConditionTrueFalse] nbdkit-1.42.4/plugins/random/random.c:175:20: note: Calling function 'random_pread' returns 0 nbdkit-1.42.4/plugins/random/random.c:175:61: note: Condition 'random_pread(handle,expected,count,offset,flags)==-1' is always false nbdkit-1.42.4/plugins/random/random.c:103:24: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'random_get_size' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/plugins/random/random.c:208:24: note: You might need to cast the function pointer here nbdkit-1.42.4/plugins/random/random.c:103:24: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/plugins/random/random.c:110:30: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'random_can_multi_conn' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/plugins/random/random.c:209:24: note: You might need to cast the function pointer here nbdkit-1.42.4/plugins/random/random.c:110:30: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/plugins/random/random.c:117:25: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'random_can_cache' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/plugins/random/random.c:210:24: note: You might need to cast the function pointer here nbdkit-1.42.4/plugins/random/random.c:117:25: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/plugins/random/random.c:192:25: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'random_trim_zero' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/plugins/random/random.c:214:24: note: You might need to cast the function pointer here nbdkit-1.42.4/plugins/random/random.c:192:25: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/plugins/python/modfunctions.c:215:24: style: Parameter 'self' can be declared as pointer to const. However it seems that 'do_peer_pid' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/plugins/python/modfunctions.c:327:17: note: You might need to cast the function pointer here nbdkit-1.42.4/plugins/python/modfunctions.c:215:24: note: Parameter 'self' can be declared as pointer to const nbdkit-1.42.4/plugins/python/modfunctions.c:215:40: style: Parameter 'args' can be declared as pointer to const. However it seems that 'do_peer_pid' is a callback function, if 'args' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/plugins/python/modfunctions.c:327:17: note: You might need to cast the function pointer here nbdkit-1.42.4/plugins/python/modfunctions.c:215:40: note: Parameter 'args' can be declared as pointer to const nbdkit-1.42.4/plugins/python/modfunctions.c:223:24: style: Parameter 'self' can be declared as pointer to const. However it seems that 'do_peer_uid' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/plugins/python/modfunctions.c:329:17: note: You might need to cast the function pointer here nbdkit-1.42.4/plugins/python/modfunctions.c:223:24: note: Parameter 'self' can be declared as pointer to const nbdkit-1.42.4/plugins/python/modfunctions.c:223:40: style: Parameter 'args' can be declared as pointer to const. However it seems that 'do_peer_uid' is a callback function, if 'args' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/plugins/python/modfunctions.c:329:17: note: You might need to cast the function pointer here nbdkit-1.42.4/plugins/python/modfunctions.c:223:40: note: Parameter 'args' can be declared as pointer to const nbdkit-1.42.4/plugins/python/modfunctions.c:231:24: style: Parameter 'self' can be declared as pointer to const. However it seems that 'do_peer_gid' is a callback function, if 'self' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/plugins/python/modfunctions.c:331:17: note: You might need to cast the function pointer here nbdkit-1.42.4/plugins/python/modfunctions.c:231:24: note: Parameter 'self' can be declared as pointer to const nbdkit-1.42.4/plugins/python/modfunctions.c:231:40: style: Parameter 'args' can be declared as pointer to const. However it seems that 'do_peer_gid' is a callback function, if 'args' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/plugins/python/modfunctions.c:331:17: note: You might need to cast the function pointer here nbdkit-1.42.4/plugins/python/modfunctions.c:231:40: note: Parameter 'args' can be declared as pointer to const nbdkit-1.42.4/plugins/sh/call.c:66:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/sh/sh.c:105:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/sh/call.c:98:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/sh/sh.c:176:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/sh/call.c:388:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EIO [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/sh/sh.c:278:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/sh/call.c:528:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE_STRING [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/sh/call.c:542:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE_STRING [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/sh/call.c:558:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE_STRING [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/sh/tmpdir.c:76:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/python/plugin.c:85:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLANG_UNUSED_VARIABLE_WORKAROUND [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/python/plugin.c:133:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLANG_UNUSED_VARIABLE_WORKAROUND [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/python/plugin.c:222:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLANG_UNUSED_VARIABLE_WORKAROUND [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/python/plugin.c:247:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLANG_UNUSED_VARIABLE_WORKAROUND [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/python/plugin.c:269:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLANG_UNUSED_VARIABLE_WORKAROUND [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/python/plugin.c:289:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLANG_UNUSED_VARIABLE_WORKAROUND [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/python/plugin.c:309:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLANG_UNUSED_VARIABLE_WORKAROUND [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/python/plugin.c:327:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLANG_UNUSED_VARIABLE_WORKAROUND [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/python/plugin.c:397:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLANG_UNUSED_VARIABLE_WORKAROUND [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/python/plugin.c:428:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLANG_UNUSED_VARIABLE_WORKAROUND [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/python/plugin.c:454:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLANG_UNUSED_VARIABLE_WORKAROUND [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/python/plugin.c:487:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLANG_UNUSED_VARIABLE_WORKAROUND [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/python/plugin.c:508:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLANG_UNUSED_VARIABLE_WORKAROUND [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/python/plugin.c:537:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLANG_UNUSED_VARIABLE_WORKAROUND [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/python/plugin.c:567:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLANG_UNUSED_VARIABLE_WORKAROUND [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/python/plugin.c:602:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLANG_UNUSED_VARIABLE_WORKAROUND [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/python/plugin.c:665:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLANG_UNUSED_VARIABLE_WORKAROUND [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/python/plugin.c:702:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLANG_UNUSED_VARIABLE_WORKAROUND [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/python/plugin.c:735:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLANG_UNUSED_VARIABLE_WORKAROUND [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/python/plugin.c:768:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLANG_UNUSED_VARIABLE_WORKAROUND [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/python/plugin.c:815:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLANG_UNUSED_VARIABLE_WORKAROUND [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/python/plugin.c:859:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable Py_True [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/python/plugin.c:876:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLANG_UNUSED_VARIABLE_WORKAROUND [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/python/plugin.c:883:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLANG_UNUSED_VARIABLE_WORKAROUND [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/python/plugin.c:890:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLANG_UNUSED_VARIABLE_WORKAROUND [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/python/plugin.c:897:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLANG_UNUSED_VARIABLE_WORKAROUND [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/python/plugin.c:904:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLANG_UNUSED_VARIABLE_WORKAROUND [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/python/plugin.c:911:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLANG_UNUSED_VARIABLE_WORKAROUND [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/python/plugin.c:922:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLANG_UNUSED_VARIABLE_WORKAROUND [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/python/plugin.c:940:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLANG_UNUSED_VARIABLE_WORKAROUND [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/python/plugin.c:969:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLANG_UNUSED_VARIABLE_WORKAROUND [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/partitioning/partitioning.c:305:36: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'partitioning_can_multi_conn' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/plugins/partitioning/partitioning.c:448:24: note: You might need to cast the function pointer here nbdkit-1.42.4/plugins/partitioning/partitioning.c:305:36: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/plugins/python/plugin.c:998:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLANG_UNUSED_VARIABLE_WORKAROUND [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/partitioning/partitioning.c:312:31: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'partitioning_can_cache' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/plugins/partitioning/partitioning.c:449:24: note: You might need to cast the function pointer here nbdkit-1.42.4/plugins/partitioning/partitioning.c:312:31: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/plugins/python/plugin.c:1006:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLANG_UNUSED_VARIABLE_WORKAROUND [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/partitioning/partitioning.c:422:27: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'partitioning_flush' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/plugins/partitioning/partitioning.c:452:24: note: You might need to cast the function pointer here nbdkit-1.42.4/plugins/partitioning/partitioning.c:422:27: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/plugins/sparse-random/sparse-random.c:201:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/sparse-random/sparse-random.c:255:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_HANDLE_NOT_NEEDED [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/sparse-random/sparse-random.c:290:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_CACHE_NATIVE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/sparse-random/sparse-random.c:328:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/sparse-random/sparse-random.c:384:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/sparse-random/sparse-random.c:475:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/sparse-random/sparse-random.c:519:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_EXTENT_HOLE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/partitioning/partitioning.c:359:9: portability: 'buf' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] nbdkit-1.42.4/plugins/partitioning/partitioning.c:413:9: portability: 'buf' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] nbdkit-1.42.4/plugins/split/split.c:135:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_CLOEXEC [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/split/split.c:226:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_FUA_EMULATE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/split/split.c:357:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/split/split.c:412:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_FLAG_REQ_ONE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/ssh/ssh.c:309:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSH_AUTH_ERROR [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/ssh/ssh.c:322:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSH_AUTH_ERROR [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/ssh/ssh.c:334:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSH_AUTH_SUCCESS [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/ssh/ssh.c:405:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDWR [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/ssh/ssh.c:473:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSH_OPTIONS_LOG_VERBOSITY [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/ssh/ssh.c:635:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSH_OK [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/ssh/ssh.c:668:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSH_OK [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/ssh/ssh.c:695:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSH_OK [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/ssh/ssh.c:752:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SSH_AGAIN [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/sh/methods.c:59:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE_STRING [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/sh/methods.c:96:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE_STRING [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/sh/methods.c:163:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/sh/methods.c:188:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/sh/methods.c:216:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/sh/methods.c:252:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/sh/methods.c:313:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE_STRING [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/sh/methods.c:342:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE_STRING [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/sh/methods.c:429:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/sh/methods.c:463:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE_STRING [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/sh/methods.c:494:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE_STRING [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/sh/methods.c:532:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE_STRING [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/sh/methods.c:598:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE_STRING [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/sh/methods.c:642:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_FLAG_FUA [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/sh/methods.c:686:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu32 [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/sh/methods.c:808:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE_STRING [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/sh/methods.c:862:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE_STRING [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/sh/methods.c:941:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/sh/methods.c:957:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu32 [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/sh/methods.c:991:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu32 [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/sh/methods.c:1022:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/sh/methods.c:1095:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE_STRING [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/sh/methods.c:1140:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu32 [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/ocaml/plugin.c:468:3: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: h [nullPointerOutOfMemory] nbdkit-1.42.4/plugins/ocaml/plugin.c:463:14: note: Assuming allocation function fails nbdkit-1.42.4/plugins/ocaml/plugin.c:463:14: note: Assignment 'h=malloc(sizeof(*h))', assigned value is 0 nbdkit-1.42.4/plugins/ocaml/plugin.c:468:3: note: Null pointer dereference nbdkit-1.42.4/plugins/ocaml/plugin.c:478:22: style:inconclusive: Function 'close_wrapper' argument 1 names different: declaration 'h' definition 'hv'. [funcArgNamesDifferent] nbdkit-1.42.4/plugins/ocaml/plugin.c:154:34: note: Function 'close_wrapper' argument 1 names different: declaration 'h' definition 'hv'. nbdkit-1.42.4/plugins/ocaml/plugin.c:478:22: note: Function 'close_wrapper' argument 1 names different: declaration 'h' definition 'hv'. nbdkit-1.42.4/plugins/split/split.c:166:35: error: Invalid lseek() argument nr 3. The value is 3 but the valid values are '0:2'. [invalidFunctionArg] nbdkit-1.42.4/plugins/split/split.c:355:36: error: Invalid lseek() argument nr 3. The value is 3 but the valid values are '0:2'. [invalidFunctionArg] nbdkit-1.42.4/plugins/split/split.c:385:36: error: Invalid lseek() argument nr 3. The value is 4 but the valid values are '0:2'. [invalidFunctionArg] nbdkit-1.42.4/plugins/ocaml/plugin.c:242:3: style: Unused variable: _unused [unusedVariable] nbdkit-1.42.4/plugins/ocaml/plugin.c:253:3: style: Unused variable: _unused [unusedVariable] nbdkit-1.42.4/plugins/ocaml/plugin.c:271:3: style: Unused variable: _unused [unusedVariable] nbdkit-1.42.4/plugins/ocaml/plugin.c:288:3: style: Unused variable: _unused [unusedVariable] nbdkit-1.42.4/plugins/ocaml/plugin.c:305:3: style: Unused variable: _unused [unusedVariable] nbdkit-1.42.4/plugins/ocaml/plugin.c:319:3: style: Unused variable: _unused [unusedVariable] nbdkit-1.42.4/plugins/split/split.c:154:26: style: Condition 'h->files[i].size==-1' is always false [knownConditionTrueFalse] nbdkit-1.42.4/plugins/ocaml/plugin.c:333:3: style: Unused variable: _unused [unusedVariable] nbdkit-1.42.4/plugins/ocaml/plugin.c:350:3: style: Unused variable: _unused [unusedVariable] nbdkit-1.42.4/plugins/ocaml/plugin.c:374:3: style: Unused variable: _unused [unusedVariable] nbdkit-1.42.4/plugins/ocaml/plugin.c:388:3: style: Unused variable: _unused [unusedVariable] nbdkit-1.42.4/plugins/ocaml/plugin.c:402:3: style: Unused variable: _unused [unusedVariable] nbdkit-1.42.4/plugins/ocaml/plugin.c:432:3: style: Unused variable: _unused [unusedVariable] nbdkit-1.42.4/plugins/ocaml/plugin.c:454:3: style: Unused variable: _unused [unusedVariable] nbdkit-1.42.4/plugins/tmpdisk/tmpdisk.c:192:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_FUA_NATIVE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/ocaml/plugin.c:503:3: style: Unused variable: _unused [unusedVariable] nbdkit-1.42.4/plugins/tmpdisk/tmpdisk.c:208:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/ocaml/plugin.c:520:3: style: Unused variable: _unused [unusedVariable] nbdkit-1.42.4/plugins/tmpdisk/tmpdisk.c:272:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/ocaml/plugin.c:538:3: style: Unused variable: _unused [unusedVariable] nbdkit-1.42.4/plugins/ocaml/plugin.c:579:3: style: Unused variable: _unused [unusedVariable] nbdkit-1.42.4/plugins/tcl/tcl.c:54:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/ocaml/plugin.c:594:3: style: Unused variable: _unused [unusedVariable] nbdkit-1.42.4/plugins/tcl/tcl.c:81:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_EVAL_DIRECT [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/ocaml/plugin.c:609:3: style: Unused variable: _unused [unusedVariable] nbdkit-1.42.4/plugins/tcl/tcl.c:112:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_EVAL_DIRECT [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/ocaml/plugin.c:624:3: style: Unused variable: _unused [unusedVariable] nbdkit-1.42.4/plugins/tcl/tcl.c:136:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_OK [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/ocaml/plugin.c:639:3: style: Unused variable: _unused [unusedVariable] nbdkit-1.42.4/plugins/tcl/tcl.c:197:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_EVAL_DIRECT [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/ocaml/plugin.c:654:3: style: Unused variable: _unused [unusedVariable] nbdkit-1.42.4/plugins/tcl/tcl.c:218:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_EVAL_DIRECT [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/ocaml/plugin.c:669:3: style: Unused variable: _unused [unusedVariable] nbdkit-1.42.4/plugins/tcl/tcl.c:241:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_EVAL_DIRECT [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/ocaml/plugin.c:684:3: style: Unused variable: _unused [unusedVariable] nbdkit-1.42.4/plugins/tcl/tcl.c:262:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_EVAL_DIRECT [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/ocaml/plugin.c:699:3: style: Unused variable: _unused [unusedVariable] nbdkit-1.42.4/plugins/tcl/tcl.c:296:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_EVAL_DIRECT [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/ocaml/plugin.c:714:3: style: Unused variable: _unused [unusedVariable] nbdkit-1.42.4/plugins/tcl/tcl.c:327:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_EVAL_DIRECT [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/ocaml/plugin.c:764:3: style: Unused variable: _unused [unusedVariable] nbdkit-1.42.4/plugins/tcl/tcl.c:351:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_EVAL_DIRECT [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/vddk/stats.c:86:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable empty_vector [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/ocaml/plugin.c:786:3: style: Unused variable: _unused [unusedVariable] nbdkit-1.42.4/plugins/tcl/tcl.c:381:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_EVAL_DIRECT [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/ocaml/plugin.c:810:3: style: Unused variable: _unused [unusedVariable] nbdkit-1.42.4/plugins/tcl/tcl.c:411:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_EVAL_DIRECT [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/ocaml/plugin.c:827:3: style: Unused variable: _unused [unusedVariable] nbdkit-1.42.4/plugins/tcl/tcl.c:444:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_EVAL_DIRECT [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/ocaml/plugin.c:847:3: style: Unused variable: _unused [unusedVariable] nbdkit-1.42.4/plugins/tcl/tcl.c:469:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_EVAL_DIRECT [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/ocaml/plugin.c:868:3: style: Unused variable: _unused [unusedVariable] nbdkit-1.42.4/plugins/sparse-random/sparse-random.c:110:19: style: Checking if unsigned expression 'runlength' is less than zero. [unsignedLessThanZero] nbdkit-1.42.4/plugins/tcl/tcl.c:494:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_EVAL_DIRECT [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/ocaml/plugin.c:907:3: style: Unused variable: _unused [unusedVariable] nbdkit-1.42.4/plugins/tcl/tcl.c:522:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TCL_EVAL_DIRECT [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/split/split.c:211:18: style: Variable 'h' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/plugins/split/split.c:217:24: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'split_can_cache' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/plugins/split/split.c:452:24: note: You might need to cast the function pointer here nbdkit-1.42.4/plugins/split/split.c:217:24: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/plugins/split/split.c:243:26: style: Parameter 'h' can be declared as pointer to const [constParameterPointer] nbdkit-1.42.4/plugins/sparse-random/sparse-random.c:260:31: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'sparse_random_get_size' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/plugins/sparse-random/sparse-random.c:567:24: note: You might need to cast the function pointer here nbdkit-1.42.4/plugins/sparse-random/sparse-random.c:260:31: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/plugins/split/split.c:257:18: style: Variable 'file' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/plugins/sparse-random/sparse-random.c:278:37: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'sparse_random_can_multi_conn' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/plugins/sparse-random/sparse-random.c:569:24: note: You might need to cast the function pointer here nbdkit-1.42.4/plugins/sparse-random/sparse-random.c:278:37: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/plugins/split/split.c:290:18: style: Variable 'file' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/plugins/sparse-random/sparse-random.c:285:32: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'sparse_random_can_cache' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/plugins/sparse-random/sparse-random.c:570:24: note: You might need to cast the function pointer here nbdkit-1.42.4/plugins/sparse-random/sparse-random.c:285:32: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/plugins/split/split.c:346:26: style: Parameter 'file' can be declared as pointer to const [constParameterPointer] nbdkit-1.42.4/plugins/sparse-random/sparse-random.c:451:28: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'sparse_random_flush' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/plugins/sparse-random/sparse-random.c:573:24: note: You might need to cast the function pointer here nbdkit-1.42.4/plugins/sparse-random/sparse-random.c:451:28: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/plugins/split/split.c:275:9: portability: 'buf' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] nbdkit-1.42.4/plugins/floppy/directory-lfn.c:89:22: style: Variable 'lfn' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/plugins/sparse-random/sparse-random.c:349:9: portability: 'buf' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] nbdkit-1.42.4/plugins/split/split.c:304:9: portability: 'buf' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] nbdkit-1.42.4/plugins/torrent/torrent.cpp:122:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable delete_files [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/vddk/reexec.c:67:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/floppy/directory-lfn.c:238:35: style: Parameter 'statbuf' can be declared as pointer to const [constParameterPointer] nbdkit-1.42.4/plugins/sparse-random/sparse-random.c:359:9: portability: 'buf' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] nbdkit-1.42.4/plugins/torrent/torrent.cpp:186:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/vddk/reexec.c:191:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/sparse-random/sparse-random.c:408:9: portability: 'buf' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] nbdkit-1.42.4/plugins/torrent/torrent.cpp:261:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LARGE_TMPDIR [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/sparse-random/sparse-random.c:429:9: portability: 'buf' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] nbdkit-1.42.4/plugins/torrent/torrent.cpp:324:53: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIi64 [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/torrent/torrent.cpp:370:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable has_metadata [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/torrent/torrent.cpp:424:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/torrent/torrent.cpp:458:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/torrent/torrent.cpp:547:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable top_priority [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/torrent/torrent.cpp:576:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_VERSION [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/nbd/nbd.c:1088:40: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] nbdkit-1.42.4/plugins/nbd/nbd.c:1129:40: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] nbdkit-1.42.4/plugins/nbd/nbd.c:1178:44: style: Clarify calculation precedence for '&' and '?'. [clarifyCalculation] nbdkit-1.42.4/plugins/nbd/nbd.c:524:34: style: Parameter 'h' can be declared as pointer to const [constParameterPointer] nbdkit-1.42.4/plugins/nbd/nbd.c:842:35: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'nbdplug_export_description' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/plugins/nbd/nbd.c:1216:25: note: You might need to cast the function pointer here nbdkit-1.42.4/plugins/nbd/nbd.c:842:35: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/plugins/nbd/nbd.c:997:30: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'nbdplug_can_fast_zero' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/plugins/nbd/nbd.c:1224:25: note: You might need to cast the function pointer here nbdkit-1.42.4/plugins/nbd/nbd.c:997:30: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/plugins/zero/zero.c:48:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_HANDLE_NOT_NEEDED [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/zero/zero.c:74:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_CACHE_NATIVE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/tmpdisk/tmpdisk.c:171:31: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'tmpdisk_can_multi_conn' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/plugins/tmpdisk/tmpdisk.c:488:24: note: You might need to cast the function pointer here nbdkit-1.42.4/plugins/tmpdisk/tmpdisk.c:171:31: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/plugins/tmpdisk/tmpdisk.c:177:25: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'tmpdisk_can_trim' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/plugins/tmpdisk/tmpdisk.c:489:24: note: You might need to cast the function pointer here nbdkit-1.42.4/plugins/tmpdisk/tmpdisk.c:177:25: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/plugins/tmpdisk/tmpdisk.c:190:24: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'tmpdisk_can_fua' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/plugins/tmpdisk/tmpdisk.c:490:24: note: You might need to cast the function pointer here nbdkit-1.42.4/plugins/tmpdisk/tmpdisk.c:190:24: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/plugins/tmpdisk/tmpdisk.c:198:18: style: Variable 'h' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/plugins/tmpdisk/tmpdisk.c:368:18: style: Variable 'h' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/plugins/tmpdisk/tmpdisk.c:394:18: style: Variable 'h' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/plugins/tmpdisk/tmpdisk.c:416:22: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'tmpdisk_flush' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/plugins/tmpdisk/tmpdisk.c:497:24: note: You might need to cast the function pointer here nbdkit-1.42.4/plugins/tmpdisk/tmpdisk.c:416:22: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/plugins/tmpdisk/tmpdisk.c:444:21: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'tmpdisk_trim' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/plugins/tmpdisk/tmpdisk.c:498:24: note: You might need to cast the function pointer here nbdkit-1.42.4/plugins/tmpdisk/tmpdisk.c:444:21: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/plugins/tmpdisk/tmpdisk.c:380:9: portability: 'buf' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] nbdkit-1.42.4/plugins/tmpdisk/tmpdisk.c:402:9: portability: 'buf' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] nbdkit-1.42.4/plugins/zero/zero.c:55:22: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'zero_get_size' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/plugins/zero/zero.c:90:24: note: You might need to cast the function pointer here nbdkit-1.42.4/plugins/zero/zero.c:55:22: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/plugins/zero/zero.c:62:28: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'zero_can_multi_conn' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/plugins/zero/zero.c:91:24: note: You might need to cast the function pointer here nbdkit-1.42.4/plugins/zero/zero.c:62:28: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/plugins/zero/zero.c:69:23: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'zero_can_cache' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/plugins/zero/zero.c:92:24: note: You might need to cast the function pointer here nbdkit-1.42.4/plugins/zero/zero.c:69:23: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/plugins/zero/zero.c:79:19: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'zero_pread' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/plugins/zero/zero.c:93:24: note: You might need to cast the function pointer here nbdkit-1.42.4/plugins/zero/zero.c:79:19: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/plugins/zero/zero.c:79:33: style: Parameter 'buf' can be declared as pointer to const. However it seems that 'zero_pread' is a callback function, if 'buf' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/plugins/zero/zero.c:93:24: note: You might need to cast the function pointer here nbdkit-1.42.4/plugins/zero/zero.c:79:33: note: Parameter 'buf' can be declared as pointer to const nbdkit-1.42.4/plugins/ssh/ssh.c:679:9: portability: 'buf' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] nbdkit-1.42.4/plugins/ssh/ssh.c:713:9: portability: 'buf' is of type 'const void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] nbdkit-1.42.4/plugins/tcl/tcl.c:283:18: style: Variable 'res_bin' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/server/captive.c:116:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/data/format.c:1615:40: warning: The address of variable 'root' might be accessed at non-zero index. [objectIndex] nbdkit-1.42.4/plugins/data/format.c:1611:16: note: Address of variable taken here. nbdkit-1.42.4/plugins/data/format.c:1615:40: note: The address of variable 'root' might be accessed at non-zero index. nbdkit-1.42.4/server/captive.c:143:15: warning: Assert statement calls a function which may have desired side effects: 'WIFSIGNALED'. [assertWithSideEffect] nbdkit-1.42.4/server/captive.c:171:17: warning: Assert statement calls a function which may have desired side effects: 'WIFSIGNALED'. [assertWithSideEffect] nbdkit-1.42.4/plugins/torrent/torrent.cpp:270:7: error: Memory leak: cache [memleak] nbdkit-1.42.4/server/crypto.c:916:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/sh/call.c:388:11: style: Variable 'err' is assigned a value that is never used. [unreadVariable] nbdkit-1.42.4/server/connections.c:101:55: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/connections.c:135:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHUT_WR [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/connections.c:163:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_THREAD_MODEL_PARALLEL [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/connections.c:374:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHUT_RDWR [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/connections.c:426:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/connections.c:463:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/debug.c:76:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/connections.c:499:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/debug.c:138:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/connections.c:528:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHUT_WR [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/debug.c:156:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/torrent/torrent.cpp:481:7: style: C-style pointer casting [cstyleCast] nbdkit-1.42.4/plugins/torrent/torrent.cpp:494:22: style: C-style pointer casting [cstyleCast] nbdkit-1.42.4/plugins/torrent/torrent.cpp:535:22: style: C-style pointer casting [cstyleCast] nbdkit-1.42.4/plugins/torrent/torrent.cpp:564:11: style: C-style pointer casting [cstyleCast] nbdkit-1.42.4/server/debug-flags.c:94:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/debug-flags.c:145:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/debug-flags.c:164:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/torrent/torrent.cpp:573:19: style: Local variable 'plugin' shadows outer variable [shadowVariable] nbdkit-1.42.4/plugins/torrent/torrent.cpp:592:29: note: Shadowed declaration nbdkit-1.42.4/plugins/torrent/torrent.cpp:573:19: note: Shadow variable nbdkit-1.42.4/plugins/torrent/torrent.cpp:362:32: style: Variable 'p1' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/plugins/torrent/torrent.cpp:368:31: style: Variable 'p2' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/plugins/torrent/torrent.cpp:504:25: style: Parameter 'hv' can be declared as pointer to const. However it seems that 'torrent_get_size' is a callback function, if 'hv' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/plugins/torrent/torrent.cpp:586:32: note: You might need to cast the function pointer here nbdkit-1.42.4/plugins/torrent/torrent.cpp:504:25: note: Parameter 'hv' can be declared as pointer to const nbdkit-1.42.4/plugins/torrent/torrent.cpp:535:18: style: Variable 'h' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/plugins/sh/methods.c:307:36: style:inconclusive: Function 'sh_list_exports' argument 2 names different: declaration 'default_only' definition 'is_tls'. [funcArgNamesDifferent] nbdkit-1.42.4/plugins/sh/methods.h:41:47: note: Function 'sh_list_exports' argument 2 names different: declaration 'default_only' definition 'is_tls'. nbdkit-1.42.4/plugins/sh/methods.c:307:36: note: Function 'sh_list_exports' argument 2 names different: declaration 'default_only' definition 'is_tls'. nbdkit-1.42.4/plugins/sh/methods.c:461:21: style: Variable 'h' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/plugins/sh/methods.c:492:21: style: Variable 'h' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/plugins/sh/methods.c:530:21: style: Variable 'h' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/plugins/sh/methods.c:595:21: style: Variable 'h' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/plugins/sh/methods.c:682:21: style: Variable 'h' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/plugins/sh/methods.c:716:21: style: Variable 'h' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/plugins/sh/methods.c:806:21: style: Variable 'h' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/plugins/sh/methods.c:860:21: style: Variable 'h' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/plugins/sh/methods.c:924:21: style: Variable 'h' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/plugins/sh/methods.c:953:21: style: Variable 'h' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/plugins/sh/methods.c:987:21: style: Variable 'h' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/plugins/sh/methods.c:1092:21: style: Variable 'h' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/plugins/sh/methods.c:1136:21: style: Variable 'h' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/server/exports.c:68:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable empty_vector [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/exports.c:111:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/data/format.c:1884:5: error: Resource leak: fp [resourceLeak] nbdkit-1.42.4/server/backend.c:91:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/backend.c:198:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBD_MAX_STRING [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/backend.c:259:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLANG_UNUSED_VARIABLE_WORKAROUND [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/backend.c:313:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLANG_UNUSED_VARIABLE_WORKAROUND [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/backend.c:341:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLANG_UNUSED_VARIABLE_WORKAROUND [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/backend.c:371:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLANG_UNUSED_VARIABLE_WORKAROUND [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/backend.c:399:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLANG_UNUSED_VARIABLE_WORKAROUND [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/backend.c:422:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLANG_UNUSED_VARIABLE_WORKAROUND [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/backend.c:438:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLANG_UNUSED_VARIABLE_WORKAROUND [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/backend.c:465:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLANG_UNUSED_VARIABLE_WORKAROUND [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/backend.c:480:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLANG_UNUSED_VARIABLE_WORKAROUND [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/backend.c:495:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLANG_UNUSED_VARIABLE_WORKAROUND [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/backend.c:510:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLANG_UNUSED_VARIABLE_WORKAROUND [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/backend.c:531:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLANG_UNUSED_VARIABLE_WORKAROUND [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/backend.c:552:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLANG_UNUSED_VARIABLE_WORKAROUND [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/backend.c:573:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLANG_UNUSED_VARIABLE_WORKAROUND [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/backend.c:588:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLANG_UNUSED_VARIABLE_WORKAROUND [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/backend.c:609:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLANG_UNUSED_VARIABLE_WORKAROUND [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/backend.c:624:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLANG_UNUSED_VARIABLE_WORKAROUND [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/backend.c:641:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLANG_UNUSED_VARIABLE_WORKAROUND [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/backend.c:663:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLANG_UNUSED_VARIABLE_WORKAROUND [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/backend.c:688:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLANG_UNUSED_VARIABLE_WORKAROUND [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/backend.c:709:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLANG_UNUSED_VARIABLE_WORKAROUND [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/backend.c:736:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLANG_UNUSED_VARIABLE_WORKAROUND [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/backend.c:807:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLANG_UNUSED_VARIABLE_WORKAROUND [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/backend.c:839:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLANG_UNUSED_VARIABLE_WORKAROUND [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/fuzzer.c:51:0: error: #error "This file should only be compiled when libFuzzer is enabled" [preprocessorErrorDirective] nbdkit-1.42.4/server/fuzzer.c:51:2: error: #error "This file should only be compiled when libFuzzer is enabled" [preprocessorErrorDirective] nbdkit-1.42.4/plugins/vddk/worker.c:97:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SUBMITTED [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/vddk/worker.c:119:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/vddk/worker.c:171:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/vddk/worker.c:210:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/vddk/worker.c:247:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/vddk/worker.c:367:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_EXTENT_HOLE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/vddk/worker.c:437:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/vddk/worker.c:572:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable FAILED [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/exports.c:155:49: style:inconclusive: Function 'exports_resolve_default' argument 1 names different: declaration 'exports' definition 'exps'. [funcArgNamesDifferent] nbdkit-1.42.4/server/internal.h:626:60: note: Function 'exports_resolve_default' argument 1 names different: declaration 'exports' definition 'exps'. nbdkit-1.42.4/server/exports.c:155:49: note: Function 'exports_resolve_default' argument 1 names different: declaration 'exports' definition 'exps'. nbdkit-1.42.4/server/extents.c:81:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/extents.c:153:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/extents.c:253:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable length [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/extents.c:312:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_FLAG_REQ_ONE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/vddk/vddk.c:417:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/vddk/vddk.c:504:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/vddk/vddk.c:533:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/vddk/vddk.c:599:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VDDK_LIBDIR [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/vddk/vddk.c:716:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable empty_vector [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/vddk/vddk.c:951:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_FUA_NATIVE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/vddk/vddk.c:990:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_FLAG_FUA [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/vddk/vddk.c:1037:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_FLAG_REQ_ONE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/locks.c:74:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_THREAD_MODEL_PARALLEL [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/locks.c:80:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_THREAD_MODEL_SERIALIZE_CONNECTIONS [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/locks.c:88:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_THREAD_MODEL_SERIALIZE_CONNECTIONS [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/locks.c:98:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_THREAD_MODEL_SERIALIZE_ALL_REQUESTS [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/locks.c:118:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_THREAD_MODEL_SERIALIZE_REQUESTS [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/log-stderr.c:56:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/log-syslog.c:53:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/plugins/data/format.c:1785:22: style: Checking if unsigned expression 'e.sl.n' is less than zero. [unsignedLessThanZero] nbdkit-1.42.4/plugins/data/format.c:1785:31: style: Checking if unsigned expression 'm' is less than zero. [unsignedLessThanZero] nbdkit-1.42.4/plugins/data/format.c:432:69: style:inconclusive: Function 'read_data_format' argument 3 names different: declaration 'size' definition 'size_rtn'. [funcArgNamesDifferent] nbdkit-1.42.4/plugins/data/format.h:42:61: note: Function 'read_data_format' argument 3 names different: declaration 'size' definition 'size_rtn'. nbdkit-1.42.4/plugins/data/format.c:432:69: note: Function 'read_data_format' argument 3 names different: declaration 'size' definition 'size_rtn'. nbdkit-1.42.4/plugins/data/format.c:477:18: style:inconclusive: Function 'parser' argument 5 names different: declaration 'root_rtn' definition 'rtn'. [funcArgNamesDifferent] nbdkit-1.42.4/plugins/data/format.c:425:29: note: Function 'parser' argument 5 names different: declaration 'root_rtn' definition 'rtn'. nbdkit-1.42.4/plugins/data/format.c:477:18: note: Function 'parser' argument 5 names different: declaration 'root_rtn' definition 'rtn'. nbdkit-1.42.4/server/connections.c:349:3: style:inconclusive: Statements following 'return' will never be executed. [unreachableCode] nbdkit-1.42.4/server/connections.c:417:30: style:inconclusive: Function 'raw_send_socket' argument 1 names different: declaration 'buf' definition 'vbuf'. [funcArgNamesDifferent] nbdkit-1.42.4/server/connections.c:61:41: note: Function 'raw_send_socket' argument 1 names different: declaration 'buf' definition 'vbuf'. nbdkit-1.42.4/server/connections.c:417:30: note: Function 'raw_send_socket' argument 1 names different: declaration 'buf' definition 'vbuf'. nbdkit-1.42.4/server/connections.c:452:29: style:inconclusive: Function 'raw_send_other' argument 1 names different: declaration 'buf' definition 'vbuf'. [funcArgNamesDifferent] nbdkit-1.42.4/server/connections.c:63:40: note: Function 'raw_send_other' argument 1 names different: declaration 'buf' definition 'vbuf'. nbdkit-1.42.4/server/connections.c:452:29: note: Function 'raw_send_other' argument 1 names different: declaration 'buf' definition 'vbuf'. nbdkit-1.42.4/server/connections.c:479:17: style:inconclusive: Function 'raw_recv' argument 1 names different: declaration 'buf' definition 'vbuf'. [funcArgNamesDifferent] nbdkit-1.42.4/server/connections.c:60:29: note: Function 'raw_recv' argument 1 names different: declaration 'buf' definition 'vbuf'. nbdkit-1.42.4/server/connections.c:479:17: note: Function 'raw_recv' argument 1 names different: declaration 'buf' definition 'vbuf'. nbdkit-1.42.4/server/connections.c:419:3: style: Variable 'conn' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/server/connections.c:454:3: style: Variable 'conn' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/server/connections.c:481:3: style: Variable 'conn' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/server/filters.c:56:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __mptr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/log.c:55:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/filters.c:67:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __mptr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/log.c:68:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/main.c:606:43: error: There is an unknown macro here somewhere. Configuration is required. If SOEXT is a macro then please configure it. [unknownMacro] nbdkit-1.42.4/plugins/data/format.c:115:13: style: struct member 'expr::id' is never used. [unusedStructMember] nbdkit-1.42.4/server/filters.c:95:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __mptr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/filters.c:103:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __mptr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/filters.c:129:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __mptr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/filters.c:165:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __mptr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/filters.c:188:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __mptr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/filters.c:203:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __mptr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/filters.c:218:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __mptr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/filters.c:233:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __mptr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/filters.c:245:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __mptr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/filters.c:268:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __mptr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/filters.c:279:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __mptr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/filters.c:307:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __mptr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/filters.c:327:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __mptr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/filters.c:338:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __mptr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/filters.c:352:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __mptr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/filters.c:365:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __mptr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/filters.c:378:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __mptr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/filters.c:392:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __mptr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/filters.c:407:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __mptr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/filters.c:420:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __mptr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/filters.c:433:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __mptr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/filters.c:446:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __mptr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/filters.c:459:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __mptr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/filters.c:472:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __mptr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/filters.c:485:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __mptr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/filters.c:498:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __mptr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/filters.c:511:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __mptr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/filters.c:524:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __mptr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/filters.c:539:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __mptr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/filters.c:555:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __mptr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/filters.c:570:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __mptr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/filters.c:585:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __mptr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/filters.c:600:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __mptr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/filters.c:616:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __mptr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/filters.c:634:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __mptr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/filters.c:708:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/protocol-handshake-oldstyle.c:67:33: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBD_MAGIC [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/protocol-handshake.c:80:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBD_FLAG_HAS_FLAGS [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/filters.c:103:26: style: Variable 'f' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/server/filters.c:293:19: style: Variable 'old' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/server/protocol-handshake-newstyle.c:70:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBD_MAX_STRING [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/protocol-handshake-newstyle.c:111:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_EXPORTS_FREE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/protocol-handshake-newstyle.c:170:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBD_REP_MAGIC [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/protocol-handshake-newstyle.c:200:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBD_MAX_STRING [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/protocol-handshake-newstyle.c:231:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBD_REP_MAGIC [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/protocol-handshake-newstyle.c:263:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBD_REP_MAGIC [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/protocol-handshake-newstyle.c:319:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/protocol-handshake-newstyle.c:354:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBD_MAX_STRING [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/protocol-handshake-newstyle.c:400:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/protocol-handshake-newstyle.c:984:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBD_FLAG_FIXED_NEWSTYLE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/public.c:114:28: error: There is an unknown macro here somewhere. Configuration is required. If DIR_SEPARATOR_STR is a macro then please configure it. [unknownMacro] nbdkit-1.42.4/server/backend.c:427:21: style: Condition 'c->exportsize==-1' is always false [knownConditionTrueFalse] nbdkit-1.42.4/server/protocol.c:58:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBD_FLAG_READ_ONLY [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/protocol.c:254:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBD_CMD_FLAG_FUA [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/protocol.c:306:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/protocol.c:336:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBD_SUCCESS [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/protocol.c:380:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBD_CMD_READ [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/protocol.c:418:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBD_CMD_READ [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/protocol.c:457:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBD_CMD_FLAG_REQ_ONE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/protocol.c:539:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/protocol.c:596:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBD_STRUCTURED_REPLY_MAGIC [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/protocol.c:632:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_EXTENTS_FREE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/backend.c:387:38: style: Parameter 'c' can be declared as pointer to const [constParameterPointer] nbdkit-1.42.4/server/backend.c:780:31: style: Variable 'buffer' can be declared as const array [constVariable] nbdkit-1.42.4/server/signals.c:52:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SA_RESTART [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/plugins.c:62:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __mptr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/plugins.c:71:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __mptr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/plugins.c:103:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __mptr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/plugins.c:126:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __mptr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/plugins.c:135:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __mptr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/plugins.c:212:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __mptr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/plugins.c:232:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __mptr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/plugins.c:246:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __mptr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/plugins.c:254:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __mptr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/plugins.c:268:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __mptr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/plugins.c:282:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __mptr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/plugins.c:293:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __mptr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/plugins.c:307:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __mptr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/plugins.c:318:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __mptr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/plugins.c:331:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __mptr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/plugins.c:381:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __mptr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/plugins.c:394:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __mptr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/plugins.c:406:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __mptr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/plugins.c:418:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __mptr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/plugins.c:485:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __mptr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/plugins.c:497:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __mptr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/plugins.c:509:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __mptr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/plugins.c:521:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __mptr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/plugins.c:533:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __mptr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/plugins.c:555:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __mptr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/plugins.c:576:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __mptr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/plugins.c:588:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __mptr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/plugins.c:609:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __mptr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/plugins.c:621:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __mptr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/plugins.c:646:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/plugins.c:656:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __mptr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/plugins.c:675:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __mptr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/plugins.c:698:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __mptr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/plugins.c:727:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __mptr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/socket-activation.c:68:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/plugins.c:755:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __mptr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/plugins.c:826:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __mptr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/plugins.c:851:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __mptr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/plugins.c:930:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/sockets.c:92:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/sockets.c:127:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UNIX_PATH_MAX [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/sockets.c:184:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AI_PASSIVE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/sockets.c:417:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_THREAD_MODEL_SERIALIZE_ALL_REQUESTS [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/sockets.c:482:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/sockets.c:588:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/timeout.c:132:35: style: Parameter 'conn' can be declared as pointer to const [constParameterPointer] nbdkit-1.42.4/server/timeout.c:138:36: style: Parameter 'conn' can be declared as pointer to const [constParameterPointer] nbdkit-1.42.4/server/threadlocal.c:86:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/threadlocal.c:105:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/threadlocal.c:166:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/threadlocal.c:174:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/uri.c:156:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/threadlocal.c:139:23: style: Variable 'threadlocal' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/server/threadlocal.c:150:23: style: Variable 'threadlocal' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/tests/cc-shebang.c:19:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_HANDLE_NOT_NEEDED [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/requires.c:56:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/requires.c:64:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/requires.c:73:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/requires.c:82:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/requires.c:91:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/vfprintf.c:58:73: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/cc-shebang.c:23:20: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'my_get_size' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/tests/cc-shebang.c:49:24: note: You might need to cast the function pointer here nbdkit-1.42.4/tests/cc-shebang.c:23:20: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/tests/dummy-vddk.c:85:5: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/test-ansi-c-plugin.c:128:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_HANDLE_NOT_NEEDED [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/dummy-vddk.c:137:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/sockets.c:279:22: style: Parameter 'socks' can be declared as pointer to const [constParameterPointer] nbdkit-1.42.4/tests/dummy-vddk.c:152:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VIX_OK [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/dummy-vddk.c:164:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VIX_OK [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/dummy-vddk.c:170:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VIX_OK [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/dummy-vddk.c:177:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VixDiskLibInfo [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/dummy-vddk.c:193:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VIXDISKLIB_SECTOR_SIZE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/dummy-vddk.c:205:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VIXDISKLIB_SECTOR_SIZE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/dummy-vddk.c:217:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VIXDISKLIB_SECTOR_SIZE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/dummy-vddk.c:229:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VIXDISKLIB_SECTOR_SIZE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/dummy-vddk.c:239:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VIX_OK [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/dummy-vddk.c:245:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VIX_OK [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/dummy-vddk.c:255:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VIX_E_NOT_SUPPORTED [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/test-bzip2.c:72:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUESTFS_ADD_DRIVE_OPTS_READONLY [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/test-connect.c:56:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/test-curl-cookie-script.c:65:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/test-cc-cpp.cpp:121:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_HANDLE_NOT_NEEDED [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/test-curl-cookie-script.c:78:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/test-curl-header-script.c:66:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/test-curl-head-forbidden.c:65:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/test-curl-header-script.c:100:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/plugins.c:95:30: style: Parameter 'b' can be declared as pointer to const. However it seems that 'plugin_name' is a callback function, if 'b' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/server/plugins.c:868:18: note: You might need to cast the function pointer here nbdkit-1.42.4/server/plugins.c:95:30: note: Parameter 'b' can be declared as pointer to const nbdkit-1.42.4/server/plugins.c:103:26: style: Variable 'p' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/server/plugins.c:366:33: style: Parameter 'c' can be declared as pointer to const. However it seems that 'plugin_prepare' is a callback function, if 'c' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/server/plugins.c:882:14: note: You might need to cast the function pointer here nbdkit-1.42.4/server/plugins.c:366:33: note: Parameter 'c' can be declared as pointer to const nbdkit-1.42.4/server/plugins.c:372:34: style: Parameter 'c' can be declared as pointer to const. However it seems that 'plugin_finalize' is a callback function, if 'c' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/server/plugins.c:883:15: note: You might need to cast the function pointer here nbdkit-1.42.4/server/plugins.c:372:34: note: Parameter 'c' can be declared as pointer to const nbdkit-1.42.4/server/plugins.c:641:35: style: Parameter 'p' can be declared as pointer to const [constParameterPointer] nbdkit-1.42.4/tests/test-curl.c:58:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/test-curl.c:78:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/test-delay.c:55:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/test-disconnect-plugin.c:51:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_HANDLE_NOT_NEEDED [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/test-data.c:74:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUESTFS_ADD_DRIVE_OPTS_FORMAT [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/test-cxx-plugin.cpp:123:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_HANDLE_NOT_NEEDED [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/test-cxx-plugin.cpp:146:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PACKAGE_VERSION [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/dummy-vddk.c:178:4: warning: If memory allocation fails, then there is a possible null pointer dereference: *info [nullPointerOutOfMemory] nbdkit-1.42.4/tests/dummy-vddk.c:177:18: note: Assuming allocation function fails nbdkit-1.42.4/tests/dummy-vddk.c:177:18: note: Assignment '*info=calloc(1,sizeof(struct VixDiskLibInfo))', assigned value is 0 nbdkit-1.42.4/tests/dummy-vddk.c:178:4: note: Null pointer dereference nbdkit-1.42.4/tests/test-exitwhen-pipe-closed.c:94:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/test-exit-with-parent.c:116:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/test-ext2.c:64:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUESTFS_ADD_DRIVE_OPTS_READONLY [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/vfprintf.c:52:9: style: Variable 'p' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/server/protocol-handshake-newstyle.c:198:11: style: Condition 'len==-1' is always false [knownConditionTrueFalse] nbdkit-1.42.4/tests/test-curl-cookie-script.c:62:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] nbdkit-1.42.4/tests/test-ansi-c-plugin.c:132:24: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'ansi_c_get_size' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/tests/test-ansi-c-plugin.c:170:3: note: You might need to cast the function pointer here nbdkit-1.42.4/tests/test-ansi-c-plugin.c:132:24: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/tests/test-file-block-nbd.c:59:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LARGE_TMPDIR [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/test-flush-plugin.c:70:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_HANDLE_NOT_NEEDED [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/test-flush-plugin.c:93:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_FLAG_FUA [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/test-gzip-curl.c:59:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/test-gzip.c:69:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUESTFS_ADD_DRIVE_OPTS_READONLY [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/test-curl-header-script.c:64:3: warning: %u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint] nbdkit-1.42.4/tests/dummy-vddk.c:61:18: style: Parameter 'datav' can be declared as pointer to const. However it seems that 'bg_thread' is a callback function, if 'datav' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/tests/dummy-vddk.c:83:40: note: You might need to cast the function pointer here nbdkit-1.42.4/tests/dummy-vddk.c:61:18: note: Parameter 'datav' can be declared as pointer to const nbdkit-1.42.4/tests/dummy-vddk.c:120:56: style: Parameter 'params' can be declared as pointer to const [constParameterPointer] nbdkit-1.42.4/tests/test-bzip2.c:61:60: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] nbdkit-1.42.4/tests/dummy-vddk.c:146:36: style: Parameter 'handle' can be declared as pointer to const [constParameterPointer] nbdkit-1.42.4/tests/dummy-vddk.c:252:26: style: Parameter 'progress_function_unused' can be declared as pointer to const [constParameterPointer] nbdkit-1.42.4/tests/dummy-vddk.c:253:26: style: Parameter 'progress_data_unused' can be declared as pointer to const [constParameterPointer] nbdkit-1.42.4/tests/test-curl-cookie-script.c:84:3: style:inconclusive: Statements following noreturn function 'skip_because()' will never be executed. [unreachableCode] nbdkit-1.42.4/tests/test-file-block.c:60:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LARGE_TMPDIR [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/test-connect.c:47:23: style: Parameter 'argv' can be declared as const array [constParameter] nbdkit-1.42.4/tests/test-curl-head-forbidden.c:72:3: style:inconclusive: Statements following noreturn function 'skip_because()' will never be executed. [unreachableCode] nbdkit-1.42.4/tests/test-golang.c:73:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUESTFS_ADD_DRIVE_OPTS_FORMAT [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/test-curl-header-script.c:106:3: style:inconclusive: Statements following noreturn function 'skip_because()' will never be executed. [unreachableCode] nbdkit-1.42.4/server/protocol-handshake-newstyle.c:351:38: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] nbdkit-1.42.4/tests/test-lang-plugins.c:54:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable LANG [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/protocol-handshake-newstyle.c:374:3: style: Variable 'conn' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/tests/test-curl.c:84:3: style:inconclusive: Statements following noreturn function 'skip_because()' will never be executed. [unreachableCode] nbdkit-1.42.4/tests/test-curl.c:101:35: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] nbdkit-1.42.4/tests/test-layers-filter.c:429:24: error: There is an unknown macro here somewhere. Configuration is required. If layer is a macro then please configure it. [unknownMacro] nbdkit-1.42.4/tests/test-layers-plugin.c:50:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/test-layers-plugin.c:56:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/test-lzip-curl.c:59:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/test-lzip.c:67:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUESTFS_ADD_DRIVE_OPTS_READONLY [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/test-layers-plugin.c:62:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/test-memory.c:65:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUESTFS_ADD_DRIVE_OPTS_FORMAT [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/test-layers-plugin.c:69:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/test-layers-plugin.c:78:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/test-layers-plugin.c:85:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/test-layers-plugin.c:92:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/test-nbd.c:91:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUESTFS_ADD_DRIVE_OPTS_FORMAT [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/test-newstyle.c:48:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/test-disconnect-plugin.c:55:28: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'disconnect_get_size' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/tests/test-disconnect-plugin.c:90:24: note: You might need to cast the function pointer here nbdkit-1.42.4/tests/test-disconnect-plugin.c:55:28: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/tests/test-layers-plugin.c:99:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/test-null.c:51:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/test-ocaml-errorcodes.c:76:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/test-layers-plugin.c:105:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/test-layers.c:110:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/test-layers-plugin.c:113:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/test-layers.c:689:66: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/test-offset.c:78:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable EOF [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/test-layers-plugin.c:120:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/test-layers.c:705:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/test-offset.c:93:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/test-layers-plugin.c:129:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/test-layers.c:724:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/test-offset.c:127:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUESTFS_ADD_DRIVE_OPTS_FORMAT [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/test-layers-plugin.c:136:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/test-layers-plugin.c:142:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/test-oldstyle.c:48:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/test-cc-cpp.cpp:143:19: style: Local variable 'plugin' shadows outer variable [shadowVariable] nbdkit-1.42.4/tests/test-cc-cpp.cpp:153:29: note: Shadowed declaration nbdkit-1.42.4/tests/test-cc-cpp.cpp:143:19: note: Shadow variable nbdkit-1.42.4/tests/test-layers-plugin.c:149:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/test-layers-plugin.c:156:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/test-layers-plugin.c:163:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/test-ocaml.c:74:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUESTFS_ADD_DRIVE_OPTS_FORMAT [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/test-pause.c:77:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/test-data.c:63:35: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] nbdkit-1.42.4/tests/test-layers-plugin.c:170:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/test-protect.c:59:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/test-layers-plugin.c:177:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/test-layers-plugin.c:184:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/test-delay.c:46:23: style: Parameter 'argv' can be declared as const array [constParameter] nbdkit-1.42.4/tests/test-layers-plugin.c:191:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/test-layers-plugin.c:198:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/test-cxx-filter.cpp:50:19: style: Local variable 'filter' shadows outer variable [shadowVariable] nbdkit-1.42.4/tests/test-cxx-filter.cpp:55:29: note: Shadowed declaration nbdkit-1.42.4/tests/test-cxx-filter.cpp:50:19: note: Shadow variable nbdkit-1.42.4/tests/test-exitwhen-pipe-closed.c:43:23: style: Parameter 'argv' can be declared as const array [constParameter] nbdkit-1.42.4/tests/test-layers-plugin.c:205:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/test-layers-plugin.c:212:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/test-cc-cpp.cpp:125:24: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'cc_cpp_get_size' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/tests/test-cc-cpp.cpp:148:23: note: You might need to cast the function pointer here nbdkit-1.42.4/tests/test-cc-cpp.cpp:125:24: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/tests/test-layers-plugin.c:221:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/test-layers-plugin.c:231:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/test-ext2.c:54:52: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] nbdkit-1.42.4/tests/test-layers-plugin.c:238:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/test-layers-plugin.c:246:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/test-layers-plugin.c:254:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/test-public.c:121:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable pairs [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/test-layers-plugin.c:263:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/test-random.c:70:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/test-public.c:207:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/test-layers-plugin.c:271:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __func__ [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/test-retry-request-mirror.c:60:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/test-public.c:293:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/test-shutdown-plugin.c:50:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_HANDLE_NOT_NEEDED [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/test-public.c:346:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/server/test-public.c:505:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/test-disconnect-plugin.c:57:3: style: int result is returned as long value. If the return value is long to avoid loss of information, then you have loss of information. [truncLongCastReturn] nbdkit-1.42.4/tests/test-split.c:50:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/test-gzip.c:58:60: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] nbdkit-1.42.4/tests/test-flush-plugin.c:62:20: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'flush_level' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/tests/test-flush-plugin.c:115:24: note: You might need to cast the function pointer here nbdkit-1.42.4/tests/test-flush-plugin.c:62:20: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/tests/test-flush-plugin.c:74:23: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'flush_get_size' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/tests/test-flush-plugin.c:111:24: note: You might need to cast the function pointer here nbdkit-1.42.4/tests/test-flush-plugin.c:74:23: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/tests/test-gzip-curl.c:67:3: style:inconclusive: Statements following noreturn function 'skip_because()' will never be executed. [unreachableCode] nbdkit-1.42.4/tests/test-socket-activation.c:133:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AF_UNIX [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/test-stdio-plugin.c:61:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/test-flush-plugin.c:90:21: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'flush_pwrite' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/tests/test-flush-plugin.c:113:24: note: You might need to cast the function pointer here nbdkit-1.42.4/tests/test-flush-plugin.c:90:21: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/tests/test-stdio-plugin.c:90:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/test-flush-plugin.c:99:20: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'flush_flush' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/tests/test-flush-plugin.c:116:24: note: You might need to cast the function pointer here nbdkit-1.42.4/tests/test-flush-plugin.c:99:20: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/tests/test-stdio-plugin.c:116:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdin [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/test-stdio-plugin.c:146:10: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable NBDKIT_HANDLE_NOT_NEEDED [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/test-tar-lzip-curl.c:59:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/test-cxx-plugin.cpp:144:19: style: Local variable 'plugin' shadows outer variable [shadowVariable] nbdkit-1.42.4/tests/test-cxx-plugin.cpp:154:29: note: Shadowed declaration nbdkit-1.42.4/tests/test-cxx-plugin.cpp:144:19: note: Shadow variable nbdkit-1.42.4/tests/test-tar-xz-curl.c:59:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/test-gzip-curl.c:79:71: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] nbdkit-1.42.4/tests/test-tar-gzip-curl.c:59:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/test-just-filter-header.c:36:23: style: Parameter 'argv' can be declared as const array [constParameter] nbdkit-1.42.4/tests/test-vddk.c:73:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUESTFS_ADD_DRIVE_OPTS_FORMAT [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/test-tmpdisk.c:73:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUESTFS_ADD_DRIVE_OPTS_FORMAT [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/test-gzip.c:53:9: style: Variable 'data' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/tests/test-xz-curl.c:59:3: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLEANUP_FREE [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/test-cxx-plugin.cpp:127:21: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'cxx_get_size' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/tests/test-cxx-plugin.cpp:149:23: note: You might need to cast the function pointer here nbdkit-1.42.4/tests/test-cxx-plugin.cpp:127:21: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/tests/test-xz.c:67:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GUESTFS_ADD_DRIVE_OPTS_READONLY [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/test-exit-with-parent.c:59:23: style: Parameter 'argv' can be declared as const array [constParameter] nbdkit-1.42.4/tests/test-just-plugin-header.c:36:23: style: Parameter 'argv' can be declared as const array [constParameter] nbdkit-1.42.4/tests/test-golang.c:63:48: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] nbdkit-1.42.4/tests/test-lzip-curl.c:67:3: style:inconclusive: Statements following noreturn function 'skip_because()' will never be executed. [unreachableCode] nbdkit-1.42.4/tests/test-file-block-nbd.c:53:23: style: Parameter 'argv' can be declared as const array [constParameter] nbdkit-1.42.4/tests/test-flush-plugin.c:76:3: style: int result is returned as long value. If the return value is long to avoid loss of information, then you have loss of information. [truncLongCastReturn] nbdkit-1.42.4/tests/test-lzip.c:57:55: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] nbdkit-1.42.4/tests/test-lzip-curl.c:79:71: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] nbdkit-1.42.4/tests/test-lang-plugins.c:57:38: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] nbdkit-1.42.4/tests/test-file-block.c:132:41: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] nbdkit-1.42.4/tests/test-memory.c:55:48: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] nbdkit-1.42.4/wrapper.c:133:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/wrapper.c:216:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable VALGRIND [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/test-null.c:42:23: style: Parameter 'argv' can be declared as const array [constParameter] nbdkit-1.42.4/tests/test-ocaml-errorcodes.c:64:23: style: Parameter 'argv' can be declared as const array [constParameter] nbdkit-1.42.4/tests/test-ocaml.c:63:29: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] nbdkit-1.42.4/tests/test-socket-activation.c:178:3: error: Resource handle 'sock' freed twice. [doubleFree] nbdkit-1.42.4/tests/test-socket-activation.c:152:5: note: Resource handle 'sock' freed twice. nbdkit-1.42.4/tests/test-socket-activation.c:178:3: note: Resource handle 'sock' freed twice. nbdkit-1.42.4/tests/test-nbd.c:56:51: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] nbdkit-1.42.4/tests/test-nbd.c:68:39: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] nbdkit-1.42.4/tests/test-nbd.c:79:61: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] nbdkit-1.42.4/tests/test-retry-request-mirror.c:69:3: style:inconclusive: Statements following noreturn function 'skip_because()' will never be executed. [unreachableCode] nbdkit-1.42.4/tests/test-retry-request-mirror.c:84:49: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] nbdkit-1.42.4/tests/test-protect.c:48:23: style: Parameter 'argv' can be declared as const array [constParameter] nbdkit-1.42.4/tests/test-shutdown-plugin.c:54:26: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'shutdown_get_size' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/tests/test-shutdown-plugin.c:84:24: note: You might need to cast the function pointer here nbdkit-1.42.4/tests/test-shutdown-plugin.c:54:26: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/tests/test-read-password-plugin.c:127:26: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'password_get_size' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/tests/test-read-password-plugin.c:149:24: note: You might need to cast the function pointer here nbdkit-1.42.4/tests/test-read-password-plugin.c:127:26: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/tests/test-read-password-plugin.c:135:23: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'password_pread' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/tests/test-read-password-plugin.c:150:24: note: You might need to cast the function pointer here nbdkit-1.42.4/tests/test-read-password-plugin.c:135:23: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/tests/test-tar-lzip-curl.c:65:3: style:inconclusive: Statements following noreturn function 'skip_because()' will never be executed. [unreachableCode] nbdkit-1.42.4/tests/test-read-password-plugin.c:135:37: style: Parameter 'buf' can be declared as pointer to const. However it seems that 'password_pread' is a callback function, if 'buf' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/tests/test-read-password-plugin.c:150:24: note: You might need to cast the function pointer here nbdkit-1.42.4/tests/test-read-password-plugin.c:135:37: note: Parameter 'buf' can be declared as pointer to const nbdkit-1.42.4/tests/test-tar-xz-curl.c:65:3: style:inconclusive: Statements following noreturn function 'skip_because()' will never be executed. [unreachableCode] nbdkit-1.42.4/tests/test-tar-gzip-curl.c:65:3: style:inconclusive: Statements following noreturn function 'skip_because()' will never be executed. [unreachableCode] nbdkit-1.42.4/tests/test-tar-lzip-curl.c:80:42: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] nbdkit-1.42.4/tests/test-retry-request-mirror.c:57:23: style: Parameter 'argv' can be declared as const array [constParameter] nbdkit-1.42.4/tests/test-tar-xz-curl.c:80:42: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] nbdkit-1.42.4/tests/test-tar-gzip-curl.c:80:42: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] nbdkit-1.42.4/tests/test-vddk.c:62:37: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] nbdkit-1.42.4/tests/test-xz-curl.c:65:3: style:inconclusive: Statements following noreturn function 'skip_because()' will never be executed. [unreachableCode] nbdkit-1.42.4/tests/test-offset.c:116:49: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] nbdkit-1.42.4/tests/test.c:117:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/test-xz-curl.c:79:71: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] nbdkit-1.42.4/tests/test-xz.c:57:53: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] nbdkit-1.42.4/tests/test.c:219:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/test-stdio-plugin.c:150:23: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'stdio_get_size' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/tests/test-stdio-plugin.c:178:24: note: You might need to cast the function pointer here nbdkit-1.42.4/tests/test-stdio-plugin.c:150:23: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/tests/test-tar-xz-curl.c:58:9: style: Variable 'data' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/tests/test-split.c:42:23: style: Parameter 'argv' can be declared as const array [constParameter] nbdkit-1.42.4/tests/test-layers.c:689:74: style: Condition 'fwrite(&log_buf.ptr[last_out],log_buf.len-last_out,1,stderr)==-1' is always false [knownConditionTrueFalse] nbdkit-1.42.4/tests/test-shutdown-plugin.c:56:3: style: int result is returned as long value. If the return value is long to avoid loss of information, then you have loss of information. [truncLongCastReturn] nbdkit-1.42.4/tests/test-vddk.c:48:23: style: Parameter 'argv' can be declared as const array [constParameter] nbdkit-1.42.4/tests/test-tmpdisk.c:59:55: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] nbdkit-1.42.4/tests/test-stdio-plugin.c:154:3: style: int result is returned as long value. If the return value is long to avoid loss of information, then you have loss of information. [truncLongCastReturn] nbdkit-1.42.4/tests/test-layers.c:220:33: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] nbdkit-1.42.4/tests/test-layers.c:232:42: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] nbdkit-1.42.4/tests/test-layers.c:240:48: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] nbdkit-1.42.4/tests/web-server.c:100:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SA_RESTART [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/test-layers.c:252:45: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] nbdkit-1.42.4/tests/web-server.c:118:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable O_RDONLY [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/test-layers.c:264:46: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] nbdkit-1.42.4/tests/web-server.c:186:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/test-layers.c:278:37: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] nbdkit-1.42.4/tests/web-server.c:209:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/test-layers.c:364:41: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] nbdkit-1.42.4/tests/web-server.c:346:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCNu64 [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/test-layers.c:377:40: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] nbdkit-1.42.4/tests/web-server.c:436:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SCNu64 [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/test-layers.c:389:43: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] nbdkit-1.42.4/tests/web-server.c:537:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/test-layers.c:397:35: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] nbdkit-1.42.4/tests/web-server.c:559:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] nbdkit-1.42.4/tests/test-layers.c:405:36: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] nbdkit-1.42.4/tests/test-layers.c:411:35: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] nbdkit-1.42.4/tests/test-layers.c:417:40: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] nbdkit-1.42.4/tests/test-layers.c:423:35: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] nbdkit-1.42.4/tests/test-layers.c:429:34: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] nbdkit-1.42.4/tests/test-layers.c:435:36: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] nbdkit-1.42.4/tests/test-layers.c:441:40: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] nbdkit-1.42.4/tests/test-layers.c:447:41: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] nbdkit-1.42.4/tests/test-layers.c:453:38: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] nbdkit-1.42.4/tests/test-layers.c:459:36: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] nbdkit-1.42.4/tests/test-layers.c:480:32: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] nbdkit-1.42.4/tests/test-layers.c:498:33: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] nbdkit-1.42.4/tests/test-layers.c:516:32: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] nbdkit-1.42.4/tests/test-layers.c:534:31: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] nbdkit-1.42.4/tests/test-layers.c:552:31: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] nbdkit-1.42.4/tests/test-layers.c:570:32: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] nbdkit-1.42.4/tests/test-layers.c:589:34: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] nbdkit-1.42.4/tests/test-layers.c:606:44: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] nbdkit-1.42.4/tests/test-layers.c:615:32: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] nbdkit-1.42.4/tests/test-layers.c:627:34: portability: Passing NULL after the last typed argument to a variadic function leads to undefined behaviour. [varFuncNullUB] nbdkit-1.42.4/tests/test-layers.c:83:26: style: Parameter 'opaque' can be declared as pointer to const. However it seems that 'extent' is a callback function, if 'opaque' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/tests/test-layers.c:574:61: note: You might need to cast the function pointer here nbdkit-1.42.4/tests/test-layers.c:83:26: note: Parameter 'opaque' can be declared as pointer to const nbdkit-1.42.4/tests/test-layers.c:84:30: style: Parameter 'entries' can be declared as pointer to const. However it seems that 'extent' is a callback function, if 'entries' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/tests/test-layers.c:574:61: note: You might need to cast the function pointer here nbdkit-1.42.4/tests/test-layers.c:84:30: note: Parameter 'entries' can be declared as pointer to const nbdkit-1.42.4/tests/test-layers.c:84:63: style: Parameter 'error' can be declared as pointer to const. However it seems that 'extent' is a callback function, if 'error' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/tests/test-layers.c:574:61: note: You might need to cast the function pointer here nbdkit-1.42.4/tests/test-layers.c:84:63: note: Parameter 'error' can be declared as pointer to const nbdkit-1.42.4/tests/test-layers.c:733:9: style: Variable 'prev' can be declared as pointer to const [constVariablePointer] nbdkit-1.42.4/server/test-public.c:611:3: error: Resource leak: fd [resourceLeak] nbdkit-1.42.4/tests/web-server.c:225:13: style: Condition 'r==-1' is always false [knownConditionTrueFalse] nbdkit-1.42.4/tests/web-server.c:106:18: style:inconclusive: Function 'web_server' argument 3 names different: declaration 'head_fails_with_403' definition '_head_fails_with_403'. [funcArgNamesDifferent] nbdkit-1.42.4/tests/web-server.h:70:37: note: Function 'web_server' argument 3 names different: declaration 'head_fails_with_403' definition '_head_fails_with_403'. nbdkit-1.42.4/tests/web-server.c:106:18: note: Function 'web_server' argument 3 names different: declaration 'head_fails_with_403' definition '_head_fails_with_403'. nbdkit-1.42.4/tests/web-server.c:395:8: style: Variable 'close_' can be declared as const array [constVariable] nbdkit-1.42.4/tests/web-server.c:430:12: style: Variable 'offset' is assigned a value that is never used. [unreadVariable] nbdkit-1.42.4/plugins/vddk/vddk.c:949:21: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'vddk_can_fua' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/plugins/vddk/vddk.c:1067:24: note: You might need to cast the function pointer here nbdkit-1.42.4/plugins/vddk/vddk.c:949:21: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/plugins/vddk/vddk.c:955:23: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'vddk_can_flush' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/plugins/vddk/vddk.c:1068:24: note: You might need to cast the function pointer here nbdkit-1.42.4/plugins/vddk/vddk.c:955:23: note: Parameter 'handle' can be declared as pointer to const nbdkit-1.42.4/server/test-public.c:100:36: style:inconclusive: Function 'connection_set_status' argument 1 names different: declaration 'value' definition 'v'. [funcArgNamesDifferent] nbdkit-1.42.4/server/internal.h:329:48: note: Function 'connection_set_status' argument 1 names different: declaration 'value' definition 'v'. nbdkit-1.42.4/server/test-public.c:100:36: note: Function 'connection_set_status' argument 1 names different: declaration 'value' definition 'v'. nbdkit-1.42.4/server/test-public.c:106:41: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] nbdkit-1.42.4/server/test-public.c:615:23: style: Parameter 'argv' can be declared as const array [constParameter] nbdkit-1.42.4/server/test-public.c:148:9: style: struct member 'pair::result' is never used. [unusedStructMember] diff: head nbdkit-1.42.4/common/replacements/fsync.c:73:2: error: #error "no replacement fsync is available on this platform" [preprocessorErrorDirective] head nbdkit-1.42.4/common/replacements/open_memstream.c:147:2: error: #error "no replacement open_memstream is available on this platform" [preprocessorErrorDirective] head nbdkit-1.42.4/common/replacements/openlog.c:58:2: error: #error "no replacement openlog is available on this platform" [preprocessorErrorDirective] head nbdkit-1.42.4/common/replacements/poll.c:117:2: error: #error "no replacement poll is available on this platform" [preprocessorErrorDirective] head nbdkit-1.42.4/common/replacements/posix_memalign.c:70:2: error: #error "no replacement posix_memalign() is available on this platform" [preprocessorErrorDirective] head nbdkit-1.42.4/common/replacements/pread.c:85:2: error: #error "no replacement pread is available on this platform" [preprocessorErrorDirective] head nbdkit-1.42.4/common/replacements/pwrite.c:83:2: error: #error "no replacement pwrite is available on this platform" [preprocessorErrorDirective] head nbdkit-1.42.4/common/replacements/realpath.c:77:2: error: #error "no replacement realpath is available on this platform" [preprocessorErrorDirective] head nbdkit-1.42.4/common/replacements/sysconf.c:65:2: error: #error "no replacement sysconf() is available on this platform" [preprocessorErrorDirective] head nbdkit-1.42.4/common/replacements/syslog.c:58:2: error: #error "no replacement syslog is available on this platform" [preprocessorErrorDirective] head nbdkit-1.42.4/common/replacements/vsyslog.c:70:2: error: #error "no replacement vsyslog is available on this platform" [preprocessorErrorDirective] 2.17.0 nbdkit-1.42.4/filters/stats/stats.cpp:232:16: style: Variable 'el2' can be declared as reference to const [constVariableReference] head nbdkit-1.42.4/plugins/example2/winexample2.c:39:2: error: #error "build error: winexample2.c should only be used on Windows" [preprocessorErrorDirective] 2.17.0 nbdkit-1.42.4/plugins/file/file.c:431:19: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] head nbdkit-1.42.4/plugins/file/winfile.c:36:2: error: #error "build error: file.c should be used on Unix-like platforms" [preprocessorErrorDirective] 2.17.0 nbdkit-1.42.4/plugins/floppy/virtual-floppy.c:303:26: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] 2.17.0 nbdkit-1.42.4/plugins/ondemand/ondemand.c:244:26: portability: Non reentrant function 'readdir' called. For threadsafe applications it is recommended to use the reentrant replacement function 'readdir_r'. [prohibitedreaddirCalled] head nbdkit-1.42.4/plugins/torrent/torrent.cpp:481:7: style: C-style pointer casting [cstyleCast] 2.17.0 nbdkit-1.42.4/plugins/torrent/torrent.cpp:481:8: style: C-style pointer casting [cstyleCast] head nbdkit-1.42.4/plugins/torrent/torrent.cpp:494:22: style: C-style pointer casting [cstyleCast] 2.17.0 nbdkit-1.42.4/plugins/torrent/torrent.cpp:494:23: style: C-style pointer casting [cstyleCast] head nbdkit-1.42.4/plugins/torrent/torrent.cpp:535:22: style: C-style pointer casting [cstyleCast] 2.17.0 nbdkit-1.42.4/plugins/torrent/torrent.cpp:535:23: style: C-style pointer casting [cstyleCast] head nbdkit-1.42.4/server/fuzzer.c:51:2: error: #error "This file should only be compiled when libFuzzer is enabled" [preprocessorErrorDirective] 2.17.0 nbdkit-1.42.4/tests/test-layers.c:83:26: style: Parameter 'opaque' can be declared as pointer to const [constParameterPointer] head nbdkit-1.42.4/tests/test-layers.c:83:26: style: Parameter 'opaque' can be declared as pointer to const. However it seems that 'extent' is a callback function, if 'opaque' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/tests/test-layers.c:574:61: note: You might need to cast the function pointer here nbdkit-1.42.4/tests/test-layers.c:83:26: note: Parameter 'opaque' can be declared as pointer to const 2.17.0 nbdkit-1.42.4/tests/test-layers.c:84:30: style: Parameter 'entries' can be declared as pointer to const [constParameterPointer] head nbdkit-1.42.4/tests/test-layers.c:84:30: style: Parameter 'entries' can be declared as pointer to const. However it seems that 'extent' is a callback function, if 'entries' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/tests/test-layers.c:574:61: note: You might need to cast the function pointer here nbdkit-1.42.4/tests/test-layers.c:84:30: note: Parameter 'entries' can be declared as pointer to const 2.17.0 nbdkit-1.42.4/tests/test-layers.c:84:63: style: Parameter 'error' can be declared as pointer to const [constParameterPointer] head nbdkit-1.42.4/tests/test-layers.c:84:63: style: Parameter 'error' can be declared as pointer to const. However it seems that 'extent' is a callback function, if 'error' is declared with const you might also need to cast function pointer(s). [constParameterCallback] nbdkit-1.42.4/tests/test-layers.c:574:61: note: You might need to cast the function pointer here nbdkit-1.42.4/tests/test-layers.c:84:63: note: Parameter 'error' can be declared as pointer to const DONE