2024-04-18 06:23 ftp://ftp.de.debian.org/debian/pool/main/libs/libstorj/libstorj_1.0.3.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=libcurl --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning -D__GNUC__ --platform=unix64 -j1 platform: Linux-5.15.0-102-generic-x86_64-with-glibc2.35 python: 3.10.12 client-version: 1.3.56 compiler: g++ (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0 cppcheck: head 2.13.0 head-info: 397464e (2024-04-17 17:31:21 +0200) count: 374 247 elapsed-time: 13.8 11.6 head-timing-info: old-timing-info: head results: libstorj-1.0.3/src/bip39.c:200:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHA512_DIGEST_SIZE [valueFlowBailoutIncompleteVar] libstorj-1.0.3/src/cli.c:75:68: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] libstorj-1.0.3/src/cli.c:247:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICANON [valueFlowBailoutIncompleteVar] libstorj-1.0.3/src/cli.c:297:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] libstorj-1.0.3/src/cli.c:335:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] libstorj-1.0.3/src/cli.c:410:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uv_signal_t [valueFlowBailoutIncompleteVar] libstorj-1.0.3/src/cli.c:477:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] libstorj-1.0.3/src/cli.c:840:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] libstorj-1.0.3/src/cli.c:1052:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable required_argument [valueFlowBailoutIncompleteVar] libstorj-1.0.3/src/cli.c:962:13: error: Dereferencing 'req' after it is deallocated / released [deallocuse] libstorj-1.0.3/src/cli.c:964:39: error: Dereferencing 'req' after it is deallocated / released [deallocuse] libstorj-1.0.3/src/cli.c:130:25: warning: Either the condition 'file_path' is redundant or there is possible null pointer dereference: file_path. [nullPointerRedundantCheck] libstorj-1.0.3/src/cli.c:131:23: note: Assuming that condition 'file_path' is not redundant libstorj-1.0.3/src/cli.c:130:25: note: Null pointer dereference libstorj-1.0.3/src/cli.c:175:15: warning: Either the condition 'strength_str!=NULL' is redundant or there is possible null pointer dereference: line. [nullPointerRedundantCheck] libstorj-1.0.3/src/cli.c:206:26: note: Assuming that condition 'strength_str!=NULL' is not redundant libstorj-1.0.3/src/cli.c:204:19: note: Calling function 'get_input', 1st argument 'strength_str' value is 0 libstorj-1.0.3/src/cli.c:175:15: note: Null pointer dereference libstorj-1.0.3/src/cli.c:783:40: warning: Either the condition 'mnemonic' is redundant or there is possible null pointer dereference: mnemonic. [nullPointerRedundantCheck] libstorj-1.0.3/src/cli.c:793:13: note: Assuming that condition 'mnemonic' is not redundant libstorj-1.0.3/src/cli.c:783:40: note: Null pointer dereference libstorj-1.0.3/src/cli.c:223:16: style: Variable 'status' is reassigned a value before the old one has been used. [redundantAssignment] libstorj-1.0.3/src/cli.c:222:16: note: status is assigned libstorj-1.0.3/src/cli.c:223:16: note: status is overwritten libstorj-1.0.3/src/cli.c:73:63: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'json_logger' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libstorj-1.0.3/src/cli.c:1162:19: note: You might need to cast the function pointer here libstorj-1.0.3/src/cli.c:73:63: note: Parameter 'handle' can be declared as pointer to const libstorj-1.0.3/src/cli.c:144:41: style: Parameter 'host' can be declared as pointer to const [constParameterPointer] libstorj-1.0.3/src/cli.c:146:11: style: Variable 'home_dir' can be declared as pointer to const [constVariablePointer] libstorj-1.0.3/src/cli.c:321:32: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'close_signal' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libstorj-1.0.3/src/cli.c:468:34: note: You might need to cast the function pointer here libstorj-1.0.3/src/cli.c:321:32: note: Parameter 'handle' can be declared as pointer to const libstorj-1.0.3/src/cli.c:471:50: style: Parameter 'bucket_id' can be declared as pointer to const [constParameterPointer] libstorj-1.0.3/src/cli.c:472:32: style: Parameter 'file_id' can be declared as pointer to const [constParameterPointer] libstorj-1.0.3/src/cli.c:472:47: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] libstorj-1.0.3/src/cli.c:1051:26: style: Variable 'cmd_options' can be declared as const array [constVariable] libstorj-1.0.3/src/cli.c:1073:11: style: Variable 'storj_bridge' can be declared as pointer to const [constVariablePointer] libstorj-1.0.3/src/cli.c:1113:11: style: Variable 'command' can be declared as pointer to const [constVariablePointer] libstorj-1.0.3/src/cli.c:1252:15: style: Variable 'keypass' can be declared as pointer to const [constVariablePointer] libstorj-1.0.3/src/cli.c:1389:19: style: Variable 'path' can be declared as pointer to const [constVariablePointer] libstorj-1.0.3/src/cli.c:1402:19: style: Variable 'bucket_id' can be declared as pointer to const [constVariablePointer] libstorj-1.0.3/src/cli.c:1412:19: style: Variable 'bucket_name' can be declared as pointer to const [constVariablePointer] libstorj-1.0.3/src/cli.c:1424:19: style: Variable 'bucket_id' can be declared as pointer to const [constVariablePointer] libstorj-1.0.3/src/cli.c:1436:19: style: Variable 'bucket_id' can be declared as pointer to const [constVariablePointer] libstorj-1.0.3/src/cli.c:1437:19: style: Variable 'file_id' can be declared as pointer to const [constVariablePointer] libstorj-1.0.3/src/cli.c:1450:19: style: Variable 'bucket_id' can be declared as pointer to const [constVariablePointer] libstorj-1.0.3/src/cli.c:1451:19: style: Variable 'file_id' can be declared as pointer to const [constVariablePointer] libstorj-1.0.3/src/cli.c:257:23: style: Variable 'RETURN' is assigned a value that is never used. [unreadVariable] libstorj-1.0.3/src/cli.c:553:25: style: Unused variable: available [unusedVariable] libstorj-1.0.3/src/cli.c:557:25: style: Unused variable: address [unusedVariable] libstorj-1.0.3/src/cli.c:558:25: style: Unused variable: port [unusedVariable] libstorj-1.0.3/src/crypto.c:12:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RIPEMD160_DIGEST_SIZE [valueFlowBailoutIncompleteVar] libstorj-1.0.3/src/crypto.c:29:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHA256_DIGEST_SIZE [valueFlowBailoutIncompleteVar] libstorj-1.0.3/src/crypto.c:54:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RIPEMD160_DIGEST_SIZE [valueFlowBailoutIncompleteVar] libstorj-1.0.3/src/crypto.c:79:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RIPEMD160_DIGEST_SIZE [valueFlowBailoutIncompleteVar] libstorj-1.0.3/src/crypto.c:165:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHA512_DIGEST_SIZE [valueFlowBailoutIncompleteVar] libstorj-1.0.3/src/crypto.c:194:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHA256_DIGEST_SIZE [valueFlowBailoutIncompleteVar] libstorj-1.0.3/src/crypto.c:204:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RIPEMD160_DIGEST_SIZE [valueFlowBailoutIncompleteVar] libstorj-1.0.3/src/crypto.c:214:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHA512_DIGEST_SIZE [valueFlowBailoutIncompleteVar] libstorj-1.0.3/src/crypto.c:235:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AES_BLOCK_SIZE [valueFlowBailoutIncompleteVar] libstorj-1.0.3/src/crypto.c:256:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHA256_DIGEST_SIZE [valueFlowBailoutIncompleteVar] libstorj-1.0.3/src/crypto.c:278:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCM_DIGEST_SIZE [valueFlowBailoutIncompleteVar] libstorj-1.0.3/src/crypto.c:346:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHA256_DIGEST_SIZE [valueFlowBailoutIncompleteVar] libstorj-1.0.3/src/crypto.c:406:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHA256_DIGEST_SIZE [valueFlowBailoutIncompleteVar] libstorj-1.0.3/src/crypto.c:473:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCM_DIGEST_SIZE [valueFlowBailoutIncompleteVar] libstorj-1.0.3/src/crypto.c:340:19: style: Checking if unsigned expression 'data_size' is less than zero. [unsignedLessThanZero] libstorj-1.0.3/src/crypto.c:310:13: style: Local variable 'len' shadows outer variable [shadowVariable] libstorj-1.0.3/src/crypto.c:277:9: note: Shadowed declaration libstorj-1.0.3/src/crypto.c:310:13: note: Shadow variable libstorj-1.0.3/src/crypto.c:26:30: style: Parameter 'data' can be declared as pointer to const [constParameterPointer] libstorj-1.0.3/src/crypto.c:79:11: style: Variable 'ripemd160_str' can be declared as pointer to const [constVariablePointer] libstorj-1.0.3/src/crypto.c:443:13: style: Variable 'out_len' is assigned a value that is never used. [unreadVariable] libstorj-1.0.3/src/downloader.c:28:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHA256_DIGEST_SIZE [valueFlowBailoutIncompleteVar] libstorj-1.0.3/src/downloader.c:85:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] libstorj-1.0.3/src/downloader.c:130:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable json_type_object [valueFlowBailoutIncompleteVar] libstorj-1.0.3/src/downloader.c:374:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable json_type_array [valueFlowBailoutIncompleteVar] libstorj-1.0.3/src/downloader.c:435:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable json_type_array [valueFlowBailoutIncompleteVar] libstorj-1.0.3/src/downloader.c:532:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uv_work_t [valueFlowBailoutIncompleteVar] libstorj-1.0.3/src/downloader.c:834:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uv_work_t [valueFlowBailoutIncompleteVar] libstorj-1.0.3/src/downloader.c:978:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uv_work_t [valueFlowBailoutIncompleteVar] libstorj-1.0.3/src/downloader.c:1052:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AES_BLOCK_SIZE [valueFlowBailoutIncompleteVar] libstorj-1.0.3/src/downloader.c:1080:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHA256_DIGEST_SIZE [valueFlowBailoutIncompleteVar] libstorj-1.0.3/src/downloader.c:1267:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable json_type_object [valueFlowBailoutIncompleteVar] libstorj-1.0.3/src/downloader.c:1330:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uv_work_t [valueFlowBailoutIncompleteVar] libstorj-1.0.3/src/downloader.c:1365:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHA256_DIGEST_SIZE [valueFlowBailoutIncompleteVar] libstorj-1.0.3/src/downloader.c:1465:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHA256_DIGEST_SIZE [valueFlowBailoutIncompleteVar] libstorj-1.0.3/src/downloader.c:1489:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AES_BLOCK_SIZE [valueFlowBailoutIncompleteVar] libstorj-1.0.3/src/downloader.c:1696:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uv_work_t [valueFlowBailoutIncompleteVar] libstorj-1.0.3/src/downloader.c:87:5: warning: %i in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libstorj-1.0.3/src/downloader.c:577:5: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint] libstorj-1.0.3/src/downloader.c:759:39: style: Variable 'pointer->report->code' is reassigned a value before the old one has been used. [redundantAssignment] libstorj-1.0.3/src/downloader.c:756:39: note: pointer->report->code is assigned libstorj-1.0.3/src/downloader.c:759:39: note: pointer->report->code is overwritten libstorj-1.0.3/src/downloader.c:760:42: style: Variable 'pointer->report->message' is reassigned a value before the old one has been used. [redundantAssignment] libstorj-1.0.3/src/downloader.c:757:42: note: pointer->report->message is assigned libstorj-1.0.3/src/downloader.c:760:42: note: pointer->report->message is overwritten libstorj-1.0.3/src/downloader.c:53:41: style: Parameter 'work' can be declared as pointer to const. However it seems that 'request_pointers' is a callback function, if 'work' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libstorj-1.0.3/src/downloader.c:616:32: note: You might need to cast the function pointer here libstorj-1.0.3/src/downloader.c:53:41: note: Parameter 'work' can be declared as pointer to const libstorj-1.0.3/src/downloader.c:77:48: style: Parameter 'work' can be declared as pointer to const. However it seems that 'request_replace_pointer' is a callback function, if 'work' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libstorj-1.0.3/src/downloader.c:547:40: note: You might need to cast the function pointer here libstorj-1.0.3/src/downloader.c:77:48: note: Parameter 'work' can be declared as pointer to const libstorj-1.0.3/src/downloader.c:136:11: style: Variable 'token' can be declared as pointer to const [constVariablePointer] libstorj-1.0.3/src/downloader.c:169:11: style: Variable 'address' can be declared as pointer to const [constVariablePointer] libstorj-1.0.3/src/downloader.c:171:11: style: Variable 'farmer_id' can be declared as pointer to const [constVariablePointer] libstorj-1.0.3/src/downloader.c:327:30: style: Variable 'pointer' can be declared as pointer to const [constVariablePointer] libstorj-1.0.3/src/downloader.c:626:38: style: Parameter 'work' can be declared as pointer to const. However it seems that 'request_shard' is a callback function, if 'work' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libstorj-1.0.3/src/downloader.c:871:40: note: You might need to cast the function pointer here libstorj-1.0.3/src/downloader.c:626:38: note: Parameter 'work' can be declared as pointer to const libstorj-1.0.3/src/downloader.c:678:50: style: Parameter 'progress_handle' can be declared as pointer to const. However it seems that 'free_request_shard_work' is a callback function, if 'progress_handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libstorj-1.0.3/src/downloader.c:784:31: note: You might need to cast the function pointer here libstorj-1.0.3/src/downloader.c:678:50: note: Parameter 'progress_handle' can be declared as pointer to const libstorj-1.0.3/src/downloader.c:692:26: style: Variable 'pointer' can be declared as pointer to const [constVariablePointer] libstorj-1.0.3/src/downloader.c:709:26: style: Variable 'pointer' can be declared as pointer to const [constVariablePointer] libstorj-1.0.3/src/downloader.c:787:48: style: Parameter 'async' can be declared as pointer to const. However it seems that 'progress_request_shard' is a callback function, if 'async' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libstorj-1.0.3/src/downloader.c:866:27: note: You might need to cast the function pointer here libstorj-1.0.3/src/downloader.c:787:48: note: Parameter 'async' can be declared as pointer to const libstorj-1.0.3/src/downloader.c:882:45: style: Parameter 'work' can be declared as pointer to const. However it seems that 'send_exchange_report' is a callback function, if 'work' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libstorj-1.0.3/src/downloader.c:1003:40: note: You might need to cast the function pointer here libstorj-1.0.3/src/downloader.c:882:45: note: Parameter 'work' can be declared as pointer to const libstorj-1.0.3/src/downloader.c:1181:37: style: Parameter 'work' can be declared as pointer to const. However it seems that 'request_info' is a callback function, if 'work' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libstorj-1.0.3/src/downloader.c:1352:32: note: You might need to cast the function pointer here libstorj-1.0.3/src/downloader.c:1181:37: note: Parameter 'work' can be declared as pointer to const libstorj-1.0.3/src/downloader.c:1237:15: style: Variable 'erasure' can be declared as pointer to const [constVariablePointer] libstorj-1.0.3/src/downloader.c:1252:15: style: Variable 'index' can be declared as pointer to const [constVariablePointer] libstorj-1.0.3/src/downloader.c:1285:15: style: Variable 'hmac_type_str' can be declared as pointer to const [constVariablePointer] libstorj-1.0.3/src/downloader.c:1304:15: style: Variable 'hmac' can be declared as pointer to const [constVariablePointer] libstorj-1.0.3/src/downloader.c:1414:26: style: Variable 'pointer' can be declared as pointer to const [constVariablePointer] libstorj-1.0.3/src/downloader.c:1428:30: style: Variable 'pointer' can be declared as pointer to const [constVariablePointer] libstorj-1.0.3/src/downloader.c:1476:39: style: Parameter 'work' can be declared as pointer to const. However it seems that 'recover_shards' is a callback function, if 'work' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libstorj-1.0.3/src/downloader.c:1738:36: note: You might need to cast the function pointer here libstorj-1.0.3/src/downloader.c:1476:39: note: Parameter 'work' can be declared as pointer to const libstorj-1.0.3/src/downloader.c:84:33: style: Variable 'excluded_farmer_ids_len' is assigned a value that is never used. [unreadVariable] libstorj-1.0.3/src/http.c:16:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CURL_READFUNC_ABORT [valueFlowBailoutIncompleteVar] libstorj-1.0.3/src/http.c:107:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CURLOPT_URL [valueFlowBailoutIncompleteVar] libstorj-1.0.3/src/http.c:215:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CURL_READFUNC_ABORT [valueFlowBailoutIncompleteVar] libstorj-1.0.3/src/http.c:308:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CURLOPT_USERAGENT [valueFlowBailoutIncompleteVar] libstorj-1.0.3/src/http.c:528:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CURLOPT_URL [valueFlowBailoutIncompleteVar] libstorj-1.0.3/src/http.c:31:24: style: Condition 'read_bytes==-1' is always false [knownConditionTrueFalse] libstorj-1.0.3/src/http.c:249:22: style: Condition 'writelen==-1' is always false [knownConditionTrueFalse] libstorj-1.0.3/src/http.c:379:9: style: Condition 'body' is always true [knownConditionTrueFalse] libstorj-1.0.3/src/http.c:101:9: error: Resource leak: curl [resourceLeak] libstorj-1.0.3/src/http.c:130:9: error: Resource leak: curl [resourceLeak] libstorj-1.0.3/src/http.c:130:9: error: Memory leak: url [memleak] libstorj-1.0.3/src/http.c:144:13: error: Resource leak: curl [resourceLeak] libstorj-1.0.3/src/http.c:144:13: error: Memory leak: url [memleak] libstorj-1.0.3/src/http.c:321:9: error: Resource leak: curl [resourceLeak] libstorj-1.0.3/src/http.c:339:9: error: Resource leak: curl [resourceLeak] libstorj-1.0.3/src/http.c:339:9: error: Memory leak: url [memleak] libstorj-1.0.3/src/http.c:351:9: error: Resource leak: curl [resourceLeak] libstorj-1.0.3/src/http.c:351:9: error: Memory leak: url [memleak] libstorj-1.0.3/src/http.c:365:9: error: Resource leak: curl [resourceLeak] libstorj-1.0.3/src/http.c:365:9: error: Memory leak: url [memleak] libstorj-1.0.3/src/http.c:365:9: error: Memory leak: body [memleak] libstorj-1.0.3/src/http.c:413:9: error: Memory leak: body [memleak] libstorj-1.0.3/src/http.c:425:9: error: Memory leak: body [memleak] libstorj-1.0.3/src/http.c:431:9: error: Memory leak: body [memleak] libstorj-1.0.3/src/http.c:523:9: error: Resource leak: curl [resourceLeak] libstorj-1.0.3/src/http.c:545:9: error: Resource leak: curl [resourceLeak] libstorj-1.0.3/src/http.c:545:9: error: Memory leak: url [memleak] libstorj-1.0.3/src/http.c:560:9: error: Resource leak: curl [resourceLeak] libstorj-1.0.3/src/http.c:560:9: error: Memory leak: url [memleak] libstorj-1.0.3/src/http.c:572:13: error: Resource leak: curl [resourceLeak] libstorj-1.0.3/src/http.c:572:13: error: Memory leak: url [memleak] libstorj-1.0.3/src/http.c:572:13: error: Memory leak: body [memleak] libstorj-1.0.3/src/http.c:576:13: error: Resource leak: curl [resourceLeak] libstorj-1.0.3/src/http.c:576:13: error: Memory leak: url [memleak] libstorj-1.0.3/src/http.c:576:13: error: Memory leak: body [memleak] libstorj-1.0.3/src/http.c:576:13: error: Memory leak: pass_hash [memleak] libstorj-1.0.3/src/http.c:365:9: error: Memory leak: body.tail [memleak] libstorj-1.0.3/src/http.c:191:9: warning: Either the condition 'shard_body' is redundant or there is possible null pointer dereference: shard_body. [nullPointerRedundantCheck] libstorj-1.0.3/src/http.c:182:9: note: Assuming that condition 'shard_body' is not redundant libstorj-1.0.3/src/http.c:191:9: note: Null pointer dereference libstorj-1.0.3/src/http.c:3:41: style: Parameter 'buffer' can be declared as pointer to const. However it seems that 'body_ignore_receive' is a callback function, if 'buffer' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libstorj-1.0.3/src/http.c:164:51: note: You might need to cast the function pointer here libstorj-1.0.3/src/http.c:3:41: note: Parameter 'buffer' can be declared as pointer to const libstorj-1.0.3/src/http.c:4:41: style: Parameter 'userp' can be declared as pointer to const. However it seems that 'body_ignore_receive' is a callback function, if 'userp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libstorj-1.0.3/src/http.c:164:51: note: You might need to cast the function pointer here libstorj-1.0.3/src/http.c:4:41: note: Parameter 'userp' can be declared as pointer to const libstorj-1.0.3/src/http.c:71:37: style: Parameter 'http_options' can be declared as pointer to const [constParameterPointer] libstorj-1.0.3/src/http.c:72:21: style: Parameter 'farmer_id' can be declared as pointer to const [constParameterPointer] libstorj-1.0.3/src/http.c:73:21: style: Parameter 'proto' can be declared as pointer to const [constParameterPointer] libstorj-1.0.3/src/http.c:74:21: style: Parameter 'host' can be declared as pointer to const [constParameterPointer] libstorj-1.0.3/src/http.c:76:21: style: Parameter 'shard_hash' can be declared as pointer to const [constParameterPointer] libstorj-1.0.3/src/http.c:81:21: style: Parameter 'token' can be declared as pointer to const [constParameterPointer] libstorj-1.0.3/src/http.c:208:40: style: Parameter 'buffer' can be declared as pointer to const. However it seems that 'body_shard_receive' is a callback function, if 'buffer' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libstorj-1.0.3/src/http.c:348:51: note: You might need to cast the function pointer here libstorj-1.0.3/src/http.c:208:40: note: Parameter 'buffer' can be declared as pointer to const libstorj-1.0.3/src/http.c:287:39: style: Parameter 'http_options' can be declared as pointer to const [constParameterPointer] libstorj-1.0.3/src/http.c:288:23: style: Parameter 'farmer_id' can be declared as pointer to const [constParameterPointer] libstorj-1.0.3/src/http.c:289:23: style: Parameter 'proto' can be declared as pointer to const [constParameterPointer] libstorj-1.0.3/src/http.c:290:23: style: Parameter 'host' can be declared as pointer to const [constParameterPointer] libstorj-1.0.3/src/http.c:292:23: style: Parameter 'shard_hash' can be declared as pointer to const [constParameterPointer] libstorj-1.0.3/src/http.c:294:23: style: Parameter 'token' can be declared as pointer to const [constParameterPointer] libstorj-1.0.3/src/http.c:481:39: style: Parameter 'buffer' can be declared as pointer to const. However it seems that 'body_json_receive' is a callback function, if 'buffer' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libstorj-1.0.3/src/http.c:557:51: note: You might need to cast the function pointer here libstorj-1.0.3/src/http.c:481:39: note: Parameter 'buffer' can be declared as pointer to const libstorj-1.0.3/src/http.c:500:38: style: Parameter 'http_options' can be declared as pointer to const [constParameterPointer] libstorj-1.0.3/src/http.c:502:22: style: Parameter 'method' can be declared as pointer to const [constParameterPointer] libstorj-1.0.3/src/http.c:503:22: style: Parameter 'path' can be declared as pointer to const [constParameterPointer] libstorj-1.0.3/src/http.c:474:19: portability: 'body->pnt' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined. [arithOperationsOnVoidPointer] libstorj-1.0.3/src/rs.c:415:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libstorj-1.0.3/src/rs.c:714:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] libstorj-1.0.3/src/rs.c:894:11: style: Variable 'i' is reassigned a value before the old one has been used. [redundantAssignment] libstorj-1.0.3/src/rs.c:892:7: note: i is assigned libstorj-1.0.3/src/rs.c:894:11: note: i is overwritten libstorj-1.0.3/src/rs.c:220:11: style: Variable 'Pp' can be declared as pointer to const [constVariablePointer] libstorj-1.0.3/src/rs.c:298:5: style: Variable '__gf_mulc_' can be declared as pointer to const [constVariablePointer] libstorj-1.0.3/src/rs.c:302:9: style: Variable 'lim' can be declared as pointer to const [constVariablePointer] libstorj-1.0.3/src/rs.c:340:5: style: Variable '__gf_mulc_' can be declared as pointer to const [constVariablePointer] libstorj-1.0.3/src/rs.c:344:9: style: Variable 'lim' can be declared as pointer to const [constVariablePointer] libstorj-1.0.3/src/rs.c:586:27: style: Parameter 'matrix' can be declared as pointer to const [constParameterPointer] libstorj-1.0.3/src/rs.c:603:26: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] libstorj-1.0.3/src/rs.c:603:49: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] libstorj-1.0.3/src/rs.c:631:40: style: Parameter 'matrixRows' can be declared as pointer to const [constParameterPointer] libstorj-1.0.3/src/rs.c:633:46: style: Parameter 'inputsMax' can be declared as pointer to const [constParameterPointer] libstorj-1.0.3/src/rs.c:633:68: style: Parameter 'outputsMax' can be declared as pointer to const [constParameterPointer] libstorj-1.0.3/src/rs.c:785:39: style: Parameter 'fec_block_nos' can be declared as pointer to const [constParameterPointer] libstorj-1.0.3/src/rs.c:796:9: style: Variable 'm' can be declared as pointer to const [constVariablePointer] libstorj-1.0.3/src/rs.c:823:9: style: Variable 'nos' is assigned a value that is never used. [unreadVariable] libstorj-1.0.3/src/rs.c:824:13: style: Variable 'nshards' is assigned a value that is never used. [unreadVariable] libstorj-1.0.3/src/storj.c:41:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHA256_DIGEST_SIZE [valueFlowBailoutIncompleteVar] libstorj-1.0.3/src/storj.c:98:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable json_type_array [valueFlowBailoutIncompleteVar] libstorj-1.0.3/src/storj.c:182:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable json_type_array [valueFlowBailoutIncompleteVar] libstorj-1.0.3/src/storj.c:265:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uv_work_t [valueFlowBailoutIncompleteVar] libstorj-1.0.3/src/storj.c:480:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CURL_GLOBAL_ALL [valueFlowBailoutIncompleteVar] libstorj-1.0.3/src/storj.c:1379:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHA256_DIGEST_SIZE [valueFlowBailoutIncompleteVar] libstorj-1.0.3/src/storj.c:626:12: style: Condition 'env->tmp_path' is always false [knownConditionTrueFalse] libstorj-1.0.3/src/storj.c:625:21: note: Assignment 'env->tmp_path=NULL', assigned value is 0 libstorj-1.0.3/src/storj.c:626:12: note: Condition 'env->tmp_path' is always false libstorj-1.0.3/src/storj.c:501:9: error: Memory leak: env [memleak] libstorj-1.0.3/src/storj.c:571:9: error: Memory leak: env [memleak] libstorj-1.0.3/src/storj.c:650:9: error: Memory leak: env [memleak] libstorj-1.0.3/src/storj.c:677:9: error: Memory leak: env [memleak] libstorj-1.0.3/src/storj.c:925:9: error: Resource leak: fp [resourceLeak] libstorj-1.0.3/src/storj.c:650:9: error: Memory leak: env.tmp_path [memleak] libstorj-1.0.3/src/storj.c:787:36: style:inconclusive: Function 'storj_encrypt_auth' argument 1 names different: declaration 'passhrase' definition 'passphrase'. [funcArgNamesDifferent] libstorj-1.0.3/src/storj.h:579:36: note: Function 'storj_encrypt_auth' argument 1 names different: declaration 'passhrase' definition 'passphrase'. libstorj-1.0.3/src/storj.c:787:36: note: Function 'storj_encrypt_auth' argument 1 names different: declaration 'passhrase' definition 'passphrase'. libstorj-1.0.3/src/storj.c:832:42: style:inconclusive: Function 'storj_encrypt_write_auth' argument 2 names different: declaration 'passhrase' definition 'passphrase'. [funcArgNamesDifferent] libstorj-1.0.3/src/storj.h:560:42: note: Function 'storj_encrypt_write_auth' argument 2 names different: declaration 'passhrase' definition 'passphrase'. libstorj-1.0.3/src/storj.c:832:42: note: Function 'storj_encrypt_write_auth' argument 2 names different: declaration 'passhrase' definition 'passphrase'. libstorj-1.0.3/src/storj.c:230:28: style: Local variable 'file' shadows outer variable [shadowVariable] libstorj-1.0.3/src/storj.c:214:25: note: Shadowed declaration libstorj-1.0.3/src/storj.c:230:28: note: Shadow variable libstorj-1.0.3/src/storj.c:8:44: style: Parameter 'work' can be declared as pointer to const. However it seems that 'json_request_worker' is a callback function, if 'work' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libstorj-1.0.3/src/storj.c:1399:56: note: You might need to cast the function pointer here libstorj-1.0.3/src/storj.c:8:44: note: Parameter 'work' can be declared as pointer to const libstorj-1.0.3/src/storj.c:20:53: style: Parameter 'work' can be declared as pointer to const. However it seems that 'create_bucket_request_worker' is a callback function, if 'work' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libstorj-1.0.3/src/storj.c:1119:26: note: You might need to cast the function pointer here libstorj-1.0.3/src/storj.c:20:53: note: Parameter 'work' can be declared as pointer to const libstorj-1.0.3/src/storj.c:85:51: style: Parameter 'work' can be declared as pointer to const. However it seems that 'get_buckets_request_worker' is a callback function, if 'work' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libstorj-1.0.3/src/storj.c:1084:26: note: You might need to cast the function pointer here libstorj-1.0.3/src/storj.c:85:51: note: Parameter 'work' can be declared as pointer to const libstorj-1.0.3/src/storj.c:169:50: style: Parameter 'work' can be declared as pointer to const. However it seems that 'list_files_request_worker' is a callback function, if 'work' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libstorj-1.0.3/src/storj.c:1185:26: note: You might need to cast the function pointer here libstorj-1.0.3/src/storj.c:169:50: note: Parameter 'work' can be declared as pointer to const libstorj-1.0.3/src/storj.c:415:34: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'default_logger' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libstorj-1.0.3/src/storj.c:672:36: note: You might need to cast the function pointer here libstorj-1.0.3/src/storj.c:415:34: note: Parameter 'handle' can be declared as pointer to const libstorj-1.0.3/src/storj.c:475:58: style: Parameter 'options' can be declared as pointer to const [constParameterPointer] libstorj-1.0.3/src/storj.c:476:59: style: Parameter 'encrypt_options' can be declared as pointer to const [constParameterPointer] libstorj-1.0.3/src/storj.c:477:56: style: Parameter 'http_options' can be declared as pointer to const [constParameterPointer] libstorj-1.0.3/src/storj.c:882:11: style: Variable 'pass_enc' can be declared as pointer to const [constVariablePointer] libstorj-1.0.3/src/storj.c:889:11: style: Variable 'mnemonic_enc' can be declared as pointer to const [constVariablePointer] libstorj-1.0.3/src/storj.c:640:16: warning: Conversion of string literal "/tmp" to bool always evaluates to true. [incorrectStringBooleanError] libstorj-1.0.3/src/storj.c:794:21: style: Variable 'pass_length' is assigned a value that is never used. [unreadVariable] libstorj-1.0.3/src/storj.c:802:25: style: Variable 'mnemonic_length' is assigned a value that is never used. [unreadVariable] libstorj-1.0.3/src/uploader.c:17:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] libstorj-1.0.3/src/uploader.c:47:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uv_work_t [valueFlowBailoutIncompleteVar] libstorj-1.0.3/src/uploader.c:173:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable aes256_ctx [valueFlowBailoutIncompleteVar] libstorj-1.0.3/src/uploader.c:338:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UV_ECANCELED [valueFlowBailoutIncompleteVar] libstorj-1.0.3/src/uploader.c:463:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHA256_DIGEST_SIZE [valueFlowBailoutIncompleteVar] libstorj-1.0.3/src/uploader.c:576:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UV_ECANCELED [valueFlowBailoutIncompleteVar] libstorj-1.0.3/src/uploader.c:866:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UV_ECANCELED [valueFlowBailoutIncompleteVar] libstorj-1.0.3/src/uploader.c:1130:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable json_type_string [valueFlowBailoutIncompleteVar] libstorj-1.0.3/src/uploader.c:1251:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UV_ECANCELED [valueFlowBailoutIncompleteVar] libstorj-1.0.3/src/uploader.c:1359:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RIPEMD160_DIGEST_SIZE [valueFlowBailoutIncompleteVar] libstorj-1.0.3/src/uploader.c:1563:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AES_BLOCK_SIZE [valueFlowBailoutIncompleteVar] libstorj-1.0.3/src/uploader.c:1658:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UV_ECANCELED [valueFlowBailoutIncompleteVar] libstorj-1.0.3/src/uploader.c:1728:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable json_type_string [valueFlowBailoutIncompleteVar] libstorj-1.0.3/src/uploader.c:1900:131: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] libstorj-1.0.3/src/uploader.c:1978:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UV_ECANCELED [valueFlowBailoutIncompleteVar] libstorj-1.0.3/src/uploader.c:2069:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uv_work_t [valueFlowBailoutIncompleteVar] libstorj-1.0.3/src/uploader.c:2470:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHA256_DIGEST_SIZE [valueFlowBailoutIncompleteVar] libstorj-1.0.3/src/uploader.c:2576:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHA256_DIGEST_SIZE [valueFlowBailoutIncompleteVar] libstorj-1.0.3/src/uploader.c:1045:25: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] libstorj-1.0.3/src/uploader.c:1048:23: portability: Non reentrant function 'strtok' called. For threadsafe applications it is recommended to use the reentrant replacement function 'strtok_r'. [prohibitedstrtokCalled] libstorj-1.0.3/src/uploader.c:1411:24: style: Condition 'read_bytes==-1' is always false [knownConditionTrueFalse] libstorj-1.0.3/src/uploader.c:1589:24: style: Condition 'read_bytes==-1' is always false [knownConditionTrueFalse] libstorj-1.0.3/src/uploader.c:2413:49: style: Condition 'state->shard_size==0' is always false [knownConditionTrueFalse] libstorj-1.0.3/src/uploader.c:2413:9: note: Assuming that condition '!state->shard_size' is not redundant libstorj-1.0.3/src/uploader.c:2413:49: note: Condition 'state->shard_size==0' is always false libstorj-1.0.3/src/uploader.c:92:9: error: Memory leak: req [memleak] libstorj-1.0.3/src/uploader.c:175:9: error: Memory leak: ctx [memleak] libstorj-1.0.3/src/uploader.c:180:9: error: Memory leak: ctx [memleak] libstorj-1.0.3/src/uploader.c:523:9: error: Memory leak: req [memleak] libstorj-1.0.3/src/uploader.c:808:9: error: Memory leak: req [memleak] libstorj-1.0.3/src/uploader.c:180:9: error: Memory leak: ctx.ctx [memleak] libstorj-1.0.3/src/uploader.c:550:33: warning: Either the condition 'work' is redundant or there is possible null pointer dereference: work. [nullPointerRedundantCheck] libstorj-1.0.3/src/uploader.c:556:9: note: Assuming that condition 'work' is not redundant libstorj-1.0.3/src/uploader.c:550:33: note: Null pointer dereference libstorj-1.0.3/src/uploader.c:2413:28: style: Same expression on both sides of '||' because '!state->shard_size' and 'state->shard_size==0' represent the same value. [knownConditionTrueFalse] libstorj-1.0.3/src/uploader.c:1542:1: style: Label 'clean_variables' is not used. [unusedLabel] libstorj-1.0.3/src/uploader.c:1795:1: style: Label 'clean_variables' is not used. [unusedLabel] libstorj-1.0.3/src/uploader.c:1002:18: style: Local variable 'shard_size' shadows outer function [shadowFunction] libstorj-1.0.3/src/utils.h:53:10: note: Shadowed declaration libstorj-1.0.3/src/uploader.c:1002:18: note: Shadow variable libstorj-1.0.3/src/uploader.c:4:22: style: Variable 'shard' can be declared as pointer to const [constVariablePointer] libstorj-1.0.3/src/uploader.c:5:19: style: Variable 'shard_meta' can be declared as pointer to const [constVariablePointer] libstorj-1.0.3/src/uploader.c:6:23: style: Variable 'p' can be declared as pointer to const [constVariablePointer] libstorj-1.0.3/src/uploader.c:51:39: style: Parameter 'index' can be declared as pointer to const [constParameterPointer] libstorj-1.0.3/src/uploader.c:166:64: style: Parameter 'ctr' can be declared as pointer to const [constParameterPointer] libstorj-1.0.3/src/uploader.c:362:15: style: Variable 'file_id' can be declared as pointer to const [constVariablePointer] libstorj-1.0.3/src/uploader.c:384:44: style: Parameter 'work' can be declared as pointer to const. However it seems that 'create_bucket_entry' is a callback function, if 'work' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libstorj-1.0.3/src/uploader.c:537:32: note: You might need to cast the function pointer here libstorj-1.0.3/src/uploader.c:384:44: note: Parameter 'work' can be declared as pointer to const libstorj-1.0.3/src/uploader.c:547:47: style: Parameter 'progress_handle' can be declared as pointer to const. However it seems that 'free_push_shard_work' is a callback function, if 'progress_handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libstorj-1.0.3/src/uploader.c:652:31: note: You might need to cast the function pointer here libstorj-1.0.3/src/uploader.c:547:47: note: Parameter 'progress_handle' can be declared as pointer to const libstorj-1.0.3/src/uploader.c:655:35: style: Parameter 'work' can be declared as pointer to const. However it seems that 'push_shard' is a callback function, if 'work' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libstorj-1.0.3/src/uploader.c:824:32: note: You might need to cast the function pointer here libstorj-1.0.3/src/uploader.c:655:35: note: Parameter 'work' can be declared as pointer to const libstorj-1.0.3/src/uploader.c:723:44: style: Parameter 'async' can be declared as pointer to const. However it seems that 'progress_put_shard' is a callback function, if 'async' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libstorj-1.0.3/src/uploader.c:818:19: note: You might need to cast the function pointer here libstorj-1.0.3/src/uploader.c:723:44: note: Parameter 'async' can be declared as pointer to const libstorj-1.0.3/src/uploader.c:978:35: style: Parameter 'work' can be declared as pointer to const. However it seems that 'push_frame' is a callback function, if 'work' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libstorj-1.0.3/src/uploader.c:1234:32: note: You might need to cast the function pointer here libstorj-1.0.3/src/uploader.c:978:35: note: Parameter 'work' can be declared as pointer to const libstorj-1.0.3/src/uploader.c:1137:11: style: Variable 'token' can be declared as pointer to const [constVariablePointer] libstorj-1.0.3/src/uploader.c:1146:11: style: Variable 'farmer_user_agent' can be declared as pointer to const [constVariablePointer] libstorj-1.0.3/src/uploader.c:1159:11: style: Variable 'farmer_protocol' can be declared as pointer to const [constVariablePointer] libstorj-1.0.3/src/uploader.c:1171:11: style: Variable 'farmer_address' can be declared as pointer to const [constVariablePointer] libstorj-1.0.3/src/uploader.c:1183:11: style: Variable 'farmer_port' can be declared as pointer to const [constVariablePointer] libstorj-1.0.3/src/uploader.c:1192:11: style: Variable 'farmer_node_id' can be declared as pointer to const [constVariablePointer] libstorj-1.0.3/src/uploader.c:1334:38: style: Parameter 'work' can be declared as pointer to const. However it seems that 'prepare_frame' is a callback function, if 'work' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libstorj-1.0.3/src/uploader.c:1494:32: note: You might need to cast the function pointer here libstorj-1.0.3/src/uploader.c:1334:38: note: Parameter 'work' can be declared as pointer to const libstorj-1.0.3/src/uploader.c:1548:46: style: Parameter 'work' can be declared as pointer to const. However it seems that 'create_encrypted_file' is a callback function, if 'work' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libstorj-1.0.3/src/uploader.c:1641:32: note: You might need to cast the function pointer here libstorj-1.0.3/src/uploader.c:1548:46: note: Parameter 'work' can be declared as pointer to const libstorj-1.0.3/src/uploader.c:1686:41: style: Parameter 'work' can be declared as pointer to const. However it seems that 'request_frame_id' is a callback function, if 'work' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libstorj-1.0.3/src/uploader.c:1759:32: note: You might need to cast the function pointer here libstorj-1.0.3/src/uploader.c:1686:41: note: Parameter 'work' can be declared as pointer to const libstorj-1.0.3/src/uploader.c:1733:11: style: Variable 'frame_id_str' can be declared as pointer to const [constVariablePointer] libstorj-1.0.3/src/uploader.c:1801:45: style: Parameter 'work' can be declared as pointer to const. However it seems that 'create_parity_shards' is a callback function, if 'work' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libstorj-1.0.3/src/uploader.c:1963:32: note: You might need to cast the function pointer here libstorj-1.0.3/src/uploader.c:1801:45: note: Parameter 'work' can be declared as pointer to const libstorj-1.0.3/src/uploader.c:2007:45: style: Parameter 'work' can be declared as pointer to const. However it seems that 'send_exchange_report' is a callback function, if 'work' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libstorj-1.0.3/src/uploader.c:2086:32: note: You might need to cast the function pointer here libstorj-1.0.3/src/uploader.c:2007:45: note: Parameter 'work' can be declared as pointer to const libstorj-1.0.3/src/uploader.c:2177:41: style: Parameter 'work' can be declared as pointer to const. However it seems that 'verify_file_name' is a callback function, if 'work' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libstorj-1.0.3/src/uploader.c:2248:32: note: You might need to cast the function pointer here libstorj-1.0.3/src/uploader.c:2177:41: note: Parameter 'work' can be declared as pointer to const libstorj-1.0.3/src/uploader.c:2258:52: style: Parameter 'state' can be declared as pointer to const [constParameterPointer] libstorj-1.0.3/src/uploader.c:2386:45: style: Parameter 'work' can be declared as pointer to const. However it seems that 'prepare_upload_state' is a callback function, if 'work' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libstorj-1.0.3/src/uploader.c:2717:26: note: You might need to cast the function pointer here libstorj-1.0.3/src/uploader.c:2386:45: note: Parameter 'work' can be declared as pointer to const libstorj-1.0.3/src/uploader.c:2573:58: style: Parameter 'extension' can be declared as pointer to const [constParameterPointer] libstorj-1.0.3/src/utils.c:35:58: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable base16_decode_ctx [valueFlowBailoutIncompleteVar] libstorj-1.0.3/src/utils.c:295:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] libstorj-1.0.3/src/utils.c:329:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] libstorj-1.0.3/src/utils.c:148:19: style: Checking if unsigned expression 'file_size' is less than zero. [unsignedLessThanZero] libstorj-1.0.3/src/utils.c:16:31: style: Parameter 'array' can be declared as pointer to const [constParameterPointer] libstorj-1.0.3/src/utils.c:63:15: style: Variable 'item' can be declared as pointer to const [constVariablePointer] libstorj-1.0.3/src/utils.c:75:15: style: Variable 'item' can be declared as pointer to const [constVariablePointer] libstorj-1.0.3/src/utils.c:284:25: style: Parameter 'map' can be declared as pointer to const [constParameterPointer] libstorj-1.0.3/test/mockbridge.c:20:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MHD_HTTP_UNAUTHORIZED [valueFlowBailoutIncompleteVar] libstorj-1.0.3/test/mockbridge.c:35:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable json_tokener_continue [valueFlowBailoutIncompleteVar] libstorj-1.0.3/test/mockbridge.c:60:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mockbridge_json [valueFlowBailoutIncompleteVar] libstorj-1.0.3/test/mockbridge.c:21:5: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg] libstorj-1.0.3/test/mockbridge.c:14:23: style: Parameter 'user' can be declared as pointer to const [constParameterPointer] libstorj-1.0.3/test/mockbridge.c:14:35: style: Parameter 'pass' can be declared as pointer to const [constParameterPointer] libstorj-1.0.3/test/mockbridge.c:14:65: style: Parameter 'page' can be declared as pointer to const [constParameterPointer] libstorj-1.0.3/test/mockbridge.c:21:10: style: Variable 'page' is assigned a value that is never used. [unreadVariable] libstorj-1.0.3/test/mockbridge.c:30:19: style: Variable 'stringlen' is assigned a value that is never used. [unreadVariable] libstorj-1.0.3/test/mockfarmer.c:19:51: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable aes256_ctx [valueFlowBailoutIncompleteVar] libstorj-1.0.3/test/mockfarmer.c:104:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MHD_YES [valueFlowBailoutIncompleteVar] libstorj-1.0.3/test/mockfarmer.c:343:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MHD_USE_SELECT_INTERNALLY [valueFlowBailoutIncompleteVar] libstorj-1.0.3/test/mockfarmer.c:94:37: style:inconclusive: Function 'mock_farmer_shard_server' argument 8 names different: declaration 'ptr' definition 'con_cls'. [funcArgNamesDifferent] libstorj-1.0.3/test/storjtests.h:36:37: note: Function 'mock_farmer_shard_server' argument 8 names different: declaration 'ptr' definition 'con_cls'. libstorj-1.0.3/test/mockfarmer.c:94:37: note: Function 'mock_farmer_shard_server' argument 8 names different: declaration 'ptr' definition 'con_cls'. libstorj-1.0.3/test/mockfarmer.c:36:11: style: Variable 'bytes' can be declared as pointer to const [constVariablePointer] libstorj-1.0.3/test/mockfarmer.c:96:26: style: Variable 'encoding' is assigned a value that is never used. [unreadVariable] libstorj-1.0.3/test/tests.c:75:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable json_type_array [valueFlowBailoutIncompleteVar] libstorj-1.0.3/test/tests.c:110:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable json_type_string [valueFlowBailoutIncompleteVar] libstorj-1.0.3/test/tests.c:150:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable json_type_string [valueFlowBailoutIncompleteVar] libstorj-1.0.3/test/tests.c:185:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable json_type_string [valueFlowBailoutIncompleteVar] libstorj-1.0.3/test/tests.c:209:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable json_type_array [valueFlowBailoutIncompleteVar] libstorj-1.0.3/test/tests.c:325:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable json_type_string [valueFlowBailoutIncompleteVar] libstorj-1.0.3/test/tests.c:347:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable json_type_string [valueFlowBailoutIncompleteVar] libstorj-1.0.3/test/tests.c:368:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable json_type_string [valueFlowBailoutIncompleteVar] libstorj-1.0.3/test/tests.c:406:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable json_type_string [valueFlowBailoutIncompleteVar] libstorj-1.0.3/test/tests.c:425:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable json_type_array [valueFlowBailoutIncompleteVar] libstorj-1.0.3/test/tests.c:453:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable json_type_string [valueFlowBailoutIncompleteVar] libstorj-1.0.3/test/tests.c:529:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UV_RUN_DEFAULT [valueFlowBailoutIncompleteVar] libstorj-1.0.3/test/tests.c:582:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UV_RUN_ONCE [valueFlowBailoutIncompleteVar] libstorj-1.0.3/test/tests.c:639:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UV_RUN_DEFAULT [valueFlowBailoutIncompleteVar] libstorj-1.0.3/test/tests.c:685:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UV_RUN_ONCE [valueFlowBailoutIncompleteVar] libstorj-1.0.3/test/tests.c:733:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UV_RUN_DEFAULT [valueFlowBailoutIncompleteVar] libstorj-1.0.3/test/tests.c:836:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UV_RUN_DEFAULT [valueFlowBailoutIncompleteVar] libstorj-1.0.3/test/tests.c:1232:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] libstorj-1.0.3/test/tests.c:1303:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AES_BLOCK_SIZE [valueFlowBailoutIncompleteVar] libstorj-1.0.3/test/tests.c:1516:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MHD_USE_THREAD_PER_CONNECTION [valueFlowBailoutIncompleteVar] libstorj-1.0.3/test/tests.c:1459:9: error: Resource leak: fp [resourceLeak] libstorj-1.0.3/test/tests.c:1472:9: error: Resource leak: fp [resourceLeak] libstorj-1.0.3/test/tests.c:1490:9: error: Resource leak: fp2 [resourceLeak] libstorj-1.0.3/test/tests.c:1501:9: error: Resource leak: fp2 [resourceLeak] libstorj-1.0.3/test/tests.c:1443:21: warning: Either the condition '!fp' is redundant or there is possible null pointer dereference: fp. [nullPointerRedundantCheck] libstorj-1.0.3/test/tests.c:1445:9: note: Assuming that condition '!fp' is not redundant libstorj-1.0.3/test/tests.c:1443:21: note: Null pointer dereference libstorj-1.0.3/test/tests.c:1478:22: warning: Either the condition '!fp2' is redundant or there is possible null pointer dereference: fp2. [nullPointerRedundantCheck] libstorj-1.0.3/test/tests.c:1480:9: note: Assuming that condition '!fp2' is not redundant libstorj-1.0.3/test/tests.c:1478:22: note: Null pointer dereference libstorj-1.0.3/test/tests.c:476:9: style: Local variable 'shard_size' shadows outer function [shadowFunction] libstorj-1.0.3/src/utils.h:53:10: note: Shadowed declaration libstorj-1.0.3/test/tests.c:476:9: note: Shadow variable libstorj-1.0.3/test/tests.c:1222:14: style: Local variable 'shard_size' shadows outer function [shadowFunction] libstorj-1.0.3/src/utils.h:53:10: note: Shadowed declaration libstorj-1.0.3/test/tests.c:1222:14: note: Shadow variable libstorj-1.0.3/test/tests.c:40:17: style: Parameter 'msg' can be declared as pointer to const [constParameterPointer] libstorj-1.0.3/test/tests.c:46:17: style: Parameter 'msg' can be declared as pointer to const [constParameterPointer] libstorj-1.0.3/test/tests.c:189:11: style: Variable 't' can be declared as pointer to const [constVariablePointer] libstorj-1.0.3/test/tests.c:227:40: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'check_resolve_file_progress' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libstorj-1.0.3/test/tests.c:675:44: note: You might need to cast the function pointer here libstorj-1.0.3/test/tests.c:227:40: note: Parameter 'handle' can be declared as pointer to const libstorj-1.0.3/test/tests.c:237:53: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'check_resolve_file' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libstorj-1.0.3/test/tests.c:633:44: note: You might need to cast the function pointer here libstorj-1.0.3/test/tests.c:237:53: note: Parameter 'handle' can be declared as pointer to const libstorj-1.0.3/test/tests.c:249:60: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'check_resolve_file_cancel' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libstorj-1.0.3/test/tests.c:676:44: note: You might need to cast the function pointer here libstorj-1.0.3/test/tests.c:249:60: note: Parameter 'handle' can be declared as pointer to const libstorj-1.0.3/test/tests.c:263:38: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'check_store_file_progress' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libstorj-1.0.3/test/tests.c:572:42: note: You might need to cast the function pointer here libstorj-1.0.3/test/tests.c:263:38: note: Parameter 'handle' can be declared as pointer to const libstorj-1.0.3/test/tests.c:271:60: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'check_store_file' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libstorj-1.0.3/test/tests.c:524:42: note: You might need to cast the function pointer here libstorj-1.0.3/test/tests.c:271:60: note: Parameter 'handle' can be declared as pointer to const libstorj-1.0.3/test/tests.c:288:67: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'check_store_file_cancel' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libstorj-1.0.3/test/tests.c:573:42: note: You might need to cast the function pointer here libstorj-1.0.3/test/tests.c:288:67: note: Parameter 'handle' can be declared as pointer to const libstorj-1.0.3/test/tests.c:466:35: style: Parameter 'filepath' can be declared as pointer to const [constParameterPointer] libstorj-1.0.3/test/tests.c:477:11: style: Variable 'bytes' can be declared as pointer to const [constVariablePointer] libstorj-1.0.3/test/tests.c:621:11: style: Variable 'bucket_id' can be declared as pointer to const [constVariablePointer] libstorj-1.0.3/test/tests.c:622:11: style: Variable 'file_id' can be declared as pointer to const [constVariablePointer] libstorj-1.0.3/test/tests.c:664:11: style: Variable 'bucket_id' can be declared as pointer to const [constVariablePointer] libstorj-1.0.3/test/tests.c:665:11: style: Variable 'file_id' can be declared as pointer to const [constVariablePointer] libstorj-1.0.3/test/tests.c:725:11: style: Variable 'bucket_id' can be declared as pointer to const [constVariablePointer] libstorj-1.0.3/test/tests.c:766:11: style: Variable 'bucket_id' can be declared as pointer to const [constVariablePointer] libstorj-1.0.3/test/tests.c:787:11: style: Variable 'file_id' can be declared as pointer to const [constVariablePointer] libstorj-1.0.3/test/tests.c:805:11: style: Variable 'frame_id' can be declared as pointer to const [constVariablePointer] libstorj-1.0.3/test/tests.c:1020:11: style: Variable 'mnemonic' can be declared as pointer to const [constVariablePointer] libstorj-1.0.3/test/tests.c:1022:11: style: Variable 'expected_seed' can be declared as pointer to const [constVariablePointer] libstorj-1.0.3/test/tests.c:1045:11: style: Variable 'mnemonic' can be declared as pointer to const [constVariablePointer] libstorj-1.0.3/test/tests.c:1047:11: style: Variable 'expected_seed' can be declared as pointer to const [constVariablePointer] libstorj-1.0.3/test/tests.c:1071:11: style: Variable 'mnemonic' can be declared as pointer to const [constVariablePointer] libstorj-1.0.3/test/tests.c:1073:11: style: Variable 'expected_seed' can be declared as pointer to const [constVariablePointer] libstorj-1.0.3/test/tests.c:1096:11: style: Variable 'mnemonic' can be declared as pointer to const [constVariablePointer] libstorj-1.0.3/test/tests.c:1097:11: style: Variable 'bucket_id' can be declared as pointer to const [constVariablePointer] libstorj-1.0.3/test/tests.c:1099:11: style: Variable 'expected_bucket_key' can be declared as pointer to const [constVariablePointer] libstorj-1.0.3/test/tests.c:1122:11: style: Variable 'mnemonic' can be declared as pointer to const [constVariablePointer] libstorj-1.0.3/test/tests.c:1123:11: style: Variable 'bucket_id' can be declared as pointer to const [constVariablePointer] libstorj-1.0.3/test/tests.c:1124:11: style: Variable 'file_name' can be declared as pointer to const [constVariablePointer] libstorj-1.0.3/test/tests.c:1125:11: style: Variable 'index' can be declared as pointer to const [constVariablePointer] libstorj-1.0.3/test/tests.c:1127:11: style: Variable 'expected_file_key' can be declared as pointer to const [constVariablePointer] libstorj-1.0.3/test/tests.c:1153:13: style: Variable 'expected' can be declared as const array [constVariable] libstorj-1.0.3/test/tests.c:1187:11: style: Variable 'expected' can be declared as pointer to const [constVariablePointer] libstorj-1.0.3/test/tests.c:1338:11: style: Variable 'expected_mnemonic' can be declared as pointer to const [constVariablePointer] libstorj-1.0.3/test/tests.c:1385:37: style: Parameter 'filename' can be declared as pointer to const [constParameterPointer] libstorj-1.0.3/test/tests.c:1433:11: style: Variable 'file_name' can be declared as pointer to const [constVariablePointer] libstorj-1.0.3/test/tests.c:1124:21: style: Variable 'file_name' is assigned a value that is never used. [unreadVariable] libstorj-1.0.3/test/tests_rs.c:54:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libstorj-1.0.3/test/tests_rs.c:89:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libstorj-1.0.3/test/tests_rs.c:123:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libstorj-1.0.3/test/tests_rs.c:131:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libstorj-1.0.3/test/tests_rs.c:279:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libstorj-1.0.3/test/tests_rs.c:324:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libstorj-1.0.3/test/tests_rs.c:480:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libstorj-1.0.3/test/tests_rs.c:494:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libstorj-1.0.3/test/tests_rs.c:590:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLOCKS_PER_SEC [valueFlowBailoutIncompleteVar] libstorj-1.0.3/test/tests_rs.c:603:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libstorj-1.0.3/test/tests_rs.c:648:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libstorj-1.0.3/test/tests_rs.c:705:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] libstorj-1.0.3/test/tests_rs.c:823:20: style: Condition 'nrFecBlocks>2' is always true [knownConditionTrueFalse] libstorj-1.0.3/test/tests_rs.c:770:16: note: Assignment 'size=1024*1024', assigned value is 1048576 libstorj-1.0.3/test/tests_rs.c:777:35: note: Assignment 'nrBlocks=(size+blockSize-1)/blockSize', assigned value is 3745 libstorj-1.0.3/test/tests_rs.c:778:53: note: Assignment 'nrBlocks=((nrBlocks+dataShards-1)/dataShards)*dataShards', assigned value is 3750 libstorj-1.0.3/test/tests_rs.c:779:18: note: Assignment 'n=nrBlocks/dataShards', assigned value is 125 libstorj-1.0.3/test/tests_rs.c:780:20: note: Assignment 'nrFecBlocks=n*parityShards', assigned value is 2625 libstorj-1.0.3/test/tests_rs.c:823:20: note: Condition 'nrFecBlocks>2' is always true libstorj-1.0.3/test/tests_rs.c:41:20: style: Parameter 'buf' can be declared as pointer to const [constParameterPointer] libstorj-1.0.3/test/tests_rs.c:41:31: style: Parameter 'fmt' can be declared as pointer to const [constParameterPointer] libstorj-1.0.3/test/tests_rs.c:120:9: style: Variable 'out' can be declared as pointer to const [constVariablePointer] libstorj-1.0.3/test/tests_rs.c:166:43: style: Parameter 'rs' can be declared as pointer to const [constParameterPointer] libstorj-1.0.3/test/tests_rs.c:231:14: style: Parameter 'erases' can be declared as pointer to const [constParameterPointer] libstorj-1.0.3/src/rs.c:516:24: style: Parameter 'matrix' can be declared as pointer to const [constParameterPointer] libstorj-1.0.3/src/cli.c:175:15: warning: Null pointer dereference: line [ctunullpointer] libstorj-1.0.3/src/cli.c:206:26: note: Assuming that condition 'strength_str!=NULL' is not redundant libstorj-1.0.3/src/cli.c:204:18: note: Calling function get_input, 1st argument is null libstorj-1.0.3/src/cli.c:175:15: note: Dereferencing argument line that is null diff: head libstorj-1.0.3/src/cli.c:1052:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable required_argument [valueFlowBailoutIncompleteVar] head libstorj-1.0.3/src/cli.c:247:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable ICANON [valueFlowBailoutIncompleteVar] head libstorj-1.0.3/src/cli.c:297:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] head libstorj-1.0.3/src/cli.c:321:32: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'close_signal' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libstorj-1.0.3/src/cli.c:468:34: note: You might need to cast the function pointer here libstorj-1.0.3/src/cli.c:321:32: note: Parameter 'handle' can be declared as pointer to const head libstorj-1.0.3/src/cli.c:335:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stdout [valueFlowBailoutIncompleteVar] head libstorj-1.0.3/src/cli.c:410:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uv_signal_t [valueFlowBailoutIncompleteVar] head libstorj-1.0.3/src/cli.c:477:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] head libstorj-1.0.3/src/cli.c:73:63: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'json_logger' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libstorj-1.0.3/src/cli.c:1162:19: note: You might need to cast the function pointer here libstorj-1.0.3/src/cli.c:73:63: note: Parameter 'handle' can be declared as pointer to const head libstorj-1.0.3/src/cli.c:840:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] head libstorj-1.0.3/src/cli.c:962:13: error: Dereferencing 'req' after it is deallocated / released [deallocuse] head libstorj-1.0.3/src/cli.c:964:39: error: Dereferencing 'req' after it is deallocated / released [deallocuse] head libstorj-1.0.3/src/crypto.c:165:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHA512_DIGEST_SIZE [valueFlowBailoutIncompleteVar] head libstorj-1.0.3/src/crypto.c:194:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHA256_DIGEST_SIZE [valueFlowBailoutIncompleteVar] head libstorj-1.0.3/src/crypto.c:204:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RIPEMD160_DIGEST_SIZE [valueFlowBailoutIncompleteVar] head libstorj-1.0.3/src/crypto.c:214:25: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHA512_DIGEST_SIZE [valueFlowBailoutIncompleteVar] head libstorj-1.0.3/src/crypto.c:235:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AES_BLOCK_SIZE [valueFlowBailoutIncompleteVar] head libstorj-1.0.3/src/crypto.c:256:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHA256_DIGEST_SIZE [valueFlowBailoutIncompleteVar] head libstorj-1.0.3/src/crypto.c:278:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCM_DIGEST_SIZE [valueFlowBailoutIncompleteVar] head libstorj-1.0.3/src/crypto.c:29:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHA256_DIGEST_SIZE [valueFlowBailoutIncompleteVar] head libstorj-1.0.3/src/crypto.c:346:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHA256_DIGEST_SIZE [valueFlowBailoutIncompleteVar] head libstorj-1.0.3/src/crypto.c:406:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHA256_DIGEST_SIZE [valueFlowBailoutIncompleteVar] head libstorj-1.0.3/src/crypto.c:473:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable GCM_DIGEST_SIZE [valueFlowBailoutIncompleteVar] head libstorj-1.0.3/src/crypto.c:54:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RIPEMD160_DIGEST_SIZE [valueFlowBailoutIncompleteVar] head libstorj-1.0.3/src/crypto.c:79:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RIPEMD160_DIGEST_SIZE [valueFlowBailoutIncompleteVar] head libstorj-1.0.3/src/downloader.c:1052:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AES_BLOCK_SIZE [valueFlowBailoutIncompleteVar] head libstorj-1.0.3/src/downloader.c:1080:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHA256_DIGEST_SIZE [valueFlowBailoutIncompleteVar] head libstorj-1.0.3/src/downloader.c:1181:37: style: Parameter 'work' can be declared as pointer to const. However it seems that 'request_info' is a callback function, if 'work' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libstorj-1.0.3/src/downloader.c:1352:32: note: You might need to cast the function pointer here libstorj-1.0.3/src/downloader.c:1181:37: note: Parameter 'work' can be declared as pointer to const head libstorj-1.0.3/src/downloader.c:1267:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable json_type_object [valueFlowBailoutIncompleteVar] head libstorj-1.0.3/src/downloader.c:130:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable json_type_object [valueFlowBailoutIncompleteVar] head libstorj-1.0.3/src/downloader.c:1330:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uv_work_t [valueFlowBailoutIncompleteVar] head libstorj-1.0.3/src/downloader.c:1365:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHA256_DIGEST_SIZE [valueFlowBailoutIncompleteVar] head libstorj-1.0.3/src/downloader.c:1465:35: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHA256_DIGEST_SIZE [valueFlowBailoutIncompleteVar] head libstorj-1.0.3/src/downloader.c:1476:39: style: Parameter 'work' can be declared as pointer to const. However it seems that 'recover_shards' is a callback function, if 'work' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libstorj-1.0.3/src/downloader.c:1738:36: note: You might need to cast the function pointer here libstorj-1.0.3/src/downloader.c:1476:39: note: Parameter 'work' can be declared as pointer to const head libstorj-1.0.3/src/downloader.c:1489:18: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AES_BLOCK_SIZE [valueFlowBailoutIncompleteVar] head libstorj-1.0.3/src/downloader.c:1696:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uv_work_t [valueFlowBailoutIncompleteVar] head libstorj-1.0.3/src/downloader.c:374:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable json_type_array [valueFlowBailoutIncompleteVar] head libstorj-1.0.3/src/downloader.c:435:52: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable json_type_array [valueFlowBailoutIncompleteVar] head libstorj-1.0.3/src/downloader.c:532:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uv_work_t [valueFlowBailoutIncompleteVar] head libstorj-1.0.3/src/downloader.c:53:41: style: Parameter 'work' can be declared as pointer to const. However it seems that 'request_pointers' is a callback function, if 'work' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libstorj-1.0.3/src/downloader.c:616:32: note: You might need to cast the function pointer here libstorj-1.0.3/src/downloader.c:53:41: note: Parameter 'work' can be declared as pointer to const head libstorj-1.0.3/src/downloader.c:626:38: style: Parameter 'work' can be declared as pointer to const. However it seems that 'request_shard' is a callback function, if 'work' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libstorj-1.0.3/src/downloader.c:871:40: note: You might need to cast the function pointer here libstorj-1.0.3/src/downloader.c:626:38: note: Parameter 'work' can be declared as pointer to const head libstorj-1.0.3/src/downloader.c:678:50: style: Parameter 'progress_handle' can be declared as pointer to const. However it seems that 'free_request_shard_work' is a callback function, if 'progress_handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libstorj-1.0.3/src/downloader.c:784:31: note: You might need to cast the function pointer here libstorj-1.0.3/src/downloader.c:678:50: note: Parameter 'progress_handle' can be declared as pointer to const head libstorj-1.0.3/src/downloader.c:77:48: style: Parameter 'work' can be declared as pointer to const. However it seems that 'request_replace_pointer' is a callback function, if 'work' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libstorj-1.0.3/src/downloader.c:547:40: note: You might need to cast the function pointer here libstorj-1.0.3/src/downloader.c:77:48: note: Parameter 'work' can be declared as pointer to const head libstorj-1.0.3/src/downloader.c:834:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uv_work_t [valueFlowBailoutIncompleteVar] head libstorj-1.0.3/src/downloader.c:85:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable BUFSIZ [valueFlowBailoutIncompleteVar] head libstorj-1.0.3/src/downloader.c:882:45: style: Parameter 'work' can be declared as pointer to const. However it seems that 'send_exchange_report' is a callback function, if 'work' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libstorj-1.0.3/src/downloader.c:1003:40: note: You might need to cast the function pointer here libstorj-1.0.3/src/downloader.c:882:45: note: Parameter 'work' can be declared as pointer to const head libstorj-1.0.3/src/downloader.c:978:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uv_work_t [valueFlowBailoutIncompleteVar] head libstorj-1.0.3/src/http.c:107:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CURLOPT_URL [valueFlowBailoutIncompleteVar] head libstorj-1.0.3/src/http.c:215:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CURL_READFUNC_ABORT [valueFlowBailoutIncompleteVar] head libstorj-1.0.3/src/http.c:308:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CURLOPT_USERAGENT [valueFlowBailoutIncompleteVar] head libstorj-1.0.3/src/http.c:3:41: style: Parameter 'buffer' can be declared as pointer to const. However it seems that 'body_ignore_receive' is a callback function, if 'buffer' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libstorj-1.0.3/src/http.c:164:51: note: You might need to cast the function pointer here libstorj-1.0.3/src/http.c:3:41: note: Parameter 'buffer' can be declared as pointer to const head libstorj-1.0.3/src/http.c:4:41: style: Parameter 'userp' can be declared as pointer to const. However it seems that 'body_ignore_receive' is a callback function, if 'userp' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libstorj-1.0.3/src/http.c:164:51: note: You might need to cast the function pointer here libstorj-1.0.3/src/http.c:4:41: note: Parameter 'userp' can be declared as pointer to const head libstorj-1.0.3/src/http.c:528:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CURLOPT_URL [valueFlowBailoutIncompleteVar] head libstorj-1.0.3/src/rs.c:714:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] head libstorj-1.0.3/src/storj.c:1379:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHA256_DIGEST_SIZE [valueFlowBailoutIncompleteVar] head libstorj-1.0.3/src/storj.c:169:50: style: Parameter 'work' can be declared as pointer to const. However it seems that 'list_files_request_worker' is a callback function, if 'work' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libstorj-1.0.3/src/storj.c:1185:26: note: You might need to cast the function pointer here libstorj-1.0.3/src/storj.c:169:50: note: Parameter 'work' can be declared as pointer to const head libstorj-1.0.3/src/storj.c:182:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable json_type_array [valueFlowBailoutIncompleteVar] head libstorj-1.0.3/src/storj.c:20:53: style: Parameter 'work' can be declared as pointer to const. However it seems that 'create_bucket_request_worker' is a callback function, if 'work' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libstorj-1.0.3/src/storj.c:1119:26: note: You might need to cast the function pointer here libstorj-1.0.3/src/storj.c:20:53: note: Parameter 'work' can be declared as pointer to const head libstorj-1.0.3/src/storj.c:265:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uv_work_t [valueFlowBailoutIncompleteVar] head libstorj-1.0.3/src/storj.c:415:34: style: Parameter 'handle' can be declared as pointer to const. However it seems that 'default_logger' is a callback function, if 'handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libstorj-1.0.3/src/storj.c:672:36: note: You might need to cast the function pointer here libstorj-1.0.3/src/storj.c:415:34: note: Parameter 'handle' can be declared as pointer to const head libstorj-1.0.3/src/storj.c:480:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CURL_GLOBAL_ALL [valueFlowBailoutIncompleteVar] head libstorj-1.0.3/src/storj.c:85:51: style: Parameter 'work' can be declared as pointer to const. However it seems that 'get_buckets_request_worker' is a callback function, if 'work' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libstorj-1.0.3/src/storj.c:1084:26: note: You might need to cast the function pointer here libstorj-1.0.3/src/storj.c:85:51: note: Parameter 'work' can be declared as pointer to const head libstorj-1.0.3/src/storj.c:8:44: style: Parameter 'work' can be declared as pointer to const. However it seems that 'json_request_worker' is a callback function, if 'work' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libstorj-1.0.3/src/storj.c:1399:56: note: You might need to cast the function pointer here libstorj-1.0.3/src/storj.c:8:44: note: Parameter 'work' can be declared as pointer to const head libstorj-1.0.3/src/storj.c:98:44: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable json_type_array [valueFlowBailoutIncompleteVar] head libstorj-1.0.3/src/uploader.c:1130:41: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable json_type_string [valueFlowBailoutIncompleteVar] head libstorj-1.0.3/src/uploader.c:1251:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UV_ECANCELED [valueFlowBailoutIncompleteVar] head libstorj-1.0.3/src/uploader.c:1334:38: style: Parameter 'work' can be declared as pointer to const. However it seems that 'prepare_frame' is a callback function, if 'work' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libstorj-1.0.3/src/uploader.c:1494:32: note: You might need to cast the function pointer here libstorj-1.0.3/src/uploader.c:1334:38: note: Parameter 'work' can be declared as pointer to const head libstorj-1.0.3/src/uploader.c:1359:31: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable RIPEMD160_DIGEST_SIZE [valueFlowBailoutIncompleteVar] head libstorj-1.0.3/src/uploader.c:1563:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AES_BLOCK_SIZE [valueFlowBailoutIncompleteVar] head libstorj-1.0.3/src/uploader.c:1658:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UV_ECANCELED [valueFlowBailoutIncompleteVar] head libstorj-1.0.3/src/uploader.c:1686:41: style: Parameter 'work' can be declared as pointer to const. However it seems that 'request_frame_id' is a callback function, if 'work' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libstorj-1.0.3/src/uploader.c:1759:32: note: You might need to cast the function pointer here libstorj-1.0.3/src/uploader.c:1686:41: note: Parameter 'work' can be declared as pointer to const head libstorj-1.0.3/src/uploader.c:1728:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable json_type_string [valueFlowBailoutIncompleteVar] head libstorj-1.0.3/src/uploader.c:173:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable aes256_ctx [valueFlowBailoutIncompleteVar] head libstorj-1.0.3/src/uploader.c:1801:45: style: Parameter 'work' can be declared as pointer to const. However it seems that 'create_parity_shards' is a callback function, if 'work' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libstorj-1.0.3/src/uploader.c:1963:32: note: You might need to cast the function pointer here libstorj-1.0.3/src/uploader.c:1801:45: note: Parameter 'work' can be declared as pointer to const head libstorj-1.0.3/src/uploader.c:1900:131: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] head libstorj-1.0.3/src/uploader.c:1978:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UV_ECANCELED [valueFlowBailoutIncompleteVar] head libstorj-1.0.3/src/uploader.c:2007:45: style: Parameter 'work' can be declared as pointer to const. However it seems that 'send_exchange_report' is a callback function, if 'work' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libstorj-1.0.3/src/uploader.c:2086:32: note: You might need to cast the function pointer here libstorj-1.0.3/src/uploader.c:2007:45: note: Parameter 'work' can be declared as pointer to const head libstorj-1.0.3/src/uploader.c:2069:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uv_work_t [valueFlowBailoutIncompleteVar] head libstorj-1.0.3/src/uploader.c:2177:41: style: Parameter 'work' can be declared as pointer to const. However it seems that 'verify_file_name' is a callback function, if 'work' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libstorj-1.0.3/src/uploader.c:2248:32: note: You might need to cast the function pointer here libstorj-1.0.3/src/uploader.c:2177:41: note: Parameter 'work' can be declared as pointer to const head libstorj-1.0.3/src/uploader.c:2386:45: style: Parameter 'work' can be declared as pointer to const. However it seems that 'prepare_upload_state' is a callback function, if 'work' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libstorj-1.0.3/src/uploader.c:2717:26: note: You might need to cast the function pointer here libstorj-1.0.3/src/uploader.c:2386:45: note: Parameter 'work' can be declared as pointer to const head libstorj-1.0.3/src/uploader.c:2470:32: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHA256_DIGEST_SIZE [valueFlowBailoutIncompleteVar] head libstorj-1.0.3/src/uploader.c:2576:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHA256_DIGEST_SIZE [valueFlowBailoutIncompleteVar] head libstorj-1.0.3/src/uploader.c:338:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UV_ECANCELED [valueFlowBailoutIncompleteVar] head libstorj-1.0.3/src/uploader.c:384:44: style: Parameter 'work' can be declared as pointer to const. However it seems that 'create_bucket_entry' is a callback function, if 'work' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libstorj-1.0.3/src/uploader.c:537:32: note: You might need to cast the function pointer here libstorj-1.0.3/src/uploader.c:384:44: note: Parameter 'work' can be declared as pointer to const head libstorj-1.0.3/src/uploader.c:463:36: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHA256_DIGEST_SIZE [valueFlowBailoutIncompleteVar] head libstorj-1.0.3/src/uploader.c:47:37: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable uv_work_t [valueFlowBailoutIncompleteVar] head libstorj-1.0.3/src/uploader.c:547:47: style: Parameter 'progress_handle' can be declared as pointer to const. However it seems that 'free_push_shard_work' is a callback function, if 'progress_handle' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libstorj-1.0.3/src/uploader.c:652:31: note: You might need to cast the function pointer here libstorj-1.0.3/src/uploader.c:547:47: note: Parameter 'progress_handle' can be declared as pointer to const head libstorj-1.0.3/src/uploader.c:576:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UV_ECANCELED [valueFlowBailoutIncompleteVar] head libstorj-1.0.3/src/uploader.c:655:35: style: Parameter 'work' can be declared as pointer to const. However it seems that 'push_shard' is a callback function, if 'work' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libstorj-1.0.3/src/uploader.c:824:32: note: You might need to cast the function pointer here libstorj-1.0.3/src/uploader.c:655:35: note: Parameter 'work' can be declared as pointer to const head libstorj-1.0.3/src/uploader.c:866:19: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UV_ECANCELED [valueFlowBailoutIncompleteVar] head libstorj-1.0.3/src/uploader.c:978:35: style: Parameter 'work' can be declared as pointer to const. However it seems that 'push_frame' is a callback function, if 'work' is declared with const you might also need to cast function pointer(s). [constParameterCallback] libstorj-1.0.3/src/uploader.c:1234:32: note: You might need to cast the function pointer here libstorj-1.0.3/src/uploader.c:978:35: note: Parameter 'work' can be declared as pointer to const head libstorj-1.0.3/src/utils.c:295:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] head libstorj-1.0.3/src/utils.c:329:40: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PROT_READ [valueFlowBailoutIncompleteVar] head libstorj-1.0.3/test/mockbridge.c:35:54: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable json_tokener_continue [valueFlowBailoutIncompleteVar] head libstorj-1.0.3/test/mockbridge.c:60:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable mockbridge_json [valueFlowBailoutIncompleteVar] head libstorj-1.0.3/test/mockfarmer.c:104:16: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MHD_YES [valueFlowBailoutIncompleteVar] head libstorj-1.0.3/test/mockfarmer.c:343:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MHD_USE_SELECT_INTERNALLY [valueFlowBailoutIncompleteVar] head libstorj-1.0.3/test/tests.c:110:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable json_type_string [valueFlowBailoutIncompleteVar] head libstorj-1.0.3/test/tests.c:1232:45: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable PRIu64 [valueFlowBailoutIncompleteVar] head libstorj-1.0.3/test/tests.c:1303:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AES_BLOCK_SIZE [valueFlowBailoutIncompleteVar] head libstorj-1.0.3/test/tests.c:150:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable json_type_string [valueFlowBailoutIncompleteVar] head libstorj-1.0.3/test/tests.c:1516:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable MHD_USE_THREAD_PER_CONNECTION [valueFlowBailoutIncompleteVar] head libstorj-1.0.3/test/tests.c:185:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable json_type_string [valueFlowBailoutIncompleteVar] head libstorj-1.0.3/test/tests.c:209:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable json_type_array [valueFlowBailoutIncompleteVar] head libstorj-1.0.3/test/tests.c:325:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable json_type_string [valueFlowBailoutIncompleteVar] head libstorj-1.0.3/test/tests.c:347:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable json_type_string [valueFlowBailoutIncompleteVar] head libstorj-1.0.3/test/tests.c:368:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable json_type_string [valueFlowBailoutIncompleteVar] head libstorj-1.0.3/test/tests.c:406:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable json_type_string [valueFlowBailoutIncompleteVar] head libstorj-1.0.3/test/tests.c:425:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable json_type_array [valueFlowBailoutIncompleteVar] head libstorj-1.0.3/test/tests.c:453:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable json_type_string [valueFlowBailoutIncompleteVar] head libstorj-1.0.3/test/tests.c:529:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UV_RUN_DEFAULT [valueFlowBailoutIncompleteVar] head libstorj-1.0.3/test/tests.c:582:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UV_RUN_ONCE [valueFlowBailoutIncompleteVar] head libstorj-1.0.3/test/tests.c:639:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UV_RUN_DEFAULT [valueFlowBailoutIncompleteVar] head libstorj-1.0.3/test/tests.c:685:34: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UV_RUN_ONCE [valueFlowBailoutIncompleteVar] head libstorj-1.0.3/test/tests.c:733:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UV_RUN_DEFAULT [valueFlowBailoutIncompleteVar] head libstorj-1.0.3/test/tests.c:836:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable UV_RUN_DEFAULT [valueFlowBailoutIncompleteVar] head libstorj-1.0.3/test/tests_rs.c:123:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head libstorj-1.0.3/test/tests_rs.c:131:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head libstorj-1.0.3/test/tests_rs.c:279:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head libstorj-1.0.3/test/tests_rs.c:324:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head libstorj-1.0.3/test/tests_rs.c:480:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head libstorj-1.0.3/test/tests_rs.c:494:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head libstorj-1.0.3/test/tests_rs.c:54:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head libstorj-1.0.3/test/tests_rs.c:590:47: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable CLOCKS_PER_SEC [valueFlowBailoutIncompleteVar] head libstorj-1.0.3/test/tests_rs.c:603:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head libstorj-1.0.3/test/tests_rs.c:648:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head libstorj-1.0.3/test/tests_rs.c:705:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] head libstorj-1.0.3/test/tests_rs.c:89:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable __FUNCTION__ [valueFlowBailoutIncompleteVar] DONE