2026-05-03 06:11 ftp://ftp.de.debian.org/debian/pool/main/libr/librabbitmq/librabbitmq_0.15.0.orig.tar.gz cppcheck-options: --library=posix --library=gnu --library=bsd --library=openssl --library=bsd --inconclusive --enable=style,information --inline-suppr --template=daca2 --disable=missingInclude --suppress=unmatchedSuppression --check-library --debug-warnings --suppress=autoNoType --suppress=valueFlowBailout --suppress=bailoutUninitVar --suppress=symbolDatabaseWarning --suppress=normalCheckLevelConditionExpressions -D__GNUC__ --platform=unix64 -j1 platform: Linux-6.8.0-111-generic-x86_64-with-glibc2.39 python: 3.12.3 client-version: 1.3.70 compiler: g++ (Ubuntu 14.2.0-4ubuntu2~24.04.1) 14.2.0 cppcheck: head 2.20.0 head-info: e5c4a73 (2026-05-01 11:10:43 +0200) count: 235 231 elapsed-time: 2.6 2.1 head-timing-info: old-timing-info: head results: rabbitmq-c-0.15.0/coverity/model.c:16:42: style: Parameter 'r' can be declared as pointer to const [constParameterPointer] rabbitmq-c-0.15.0/examples/amqp_bind.c:24:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rabbitmq-c-0.15.0/examples/amqp_confirm_select.c:106:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AMQP_RESPONSE_LIBRARY_EXCEPTION [valueFlowBailoutIncompleteVar] rabbitmq-c-0.15.0/examples/amqp_confirm_select.c:148:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rabbitmq-c-0.15.0/examples/amqp_confirm_select.c:91:16: style: Variable 'now' is assigned a value that is never used. [unreadVariable] rabbitmq-c-0.15.0/examples/amqp_connect_timeout.c:34:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rabbitmq-c-0.15.0/examples/amqp_consumer.c:50:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AMQP_RESPONSE_NORMAL [valueFlowBailoutIncompleteVar] rabbitmq-c-0.15.0/examples/amqp_consumer.c:128:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rabbitmq-c-0.15.0/examples/amqp_exchange_declare.c:23:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rabbitmq-c-0.15.0/examples/amqp_listen.c:27:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rabbitmq-c-0.15.0/examples/amqp_listenq.c:24:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rabbitmq-c-0.15.0/examples/amqp_producer.c:82:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rabbitmq-c-0.15.0/examples/amqp_rpc_sendstring_client.c:27:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rabbitmq-c-0.15.0/examples/amqp_rpc_sendstring_client.c:16:26: style: Parameter 'argv' can be declared as const array [constParameter] rabbitmq-c-0.15.0/examples/amqp_rpc_sendstring_client.c:122:29: style: Variable 'd' can be declared as pointer to const [constVariablePointer] rabbitmq-c-0.15.0/examples/amqp_rpc_sendstring_client.c:123:32: style: Variable 'p' can be declared as pointer to const [constVariablePointer] rabbitmq-c-0.15.0/examples/amqp_sendstring.c:25:9: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rabbitmq-c-0.15.0/examples/amqp_ssl_connect.c:35:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rabbitmq-c-0.15.0/examples/amqp_ssl_connect.c:69:14: style: Condition 'argc>nextarg' is always true [knownConditionTrueFalse] rabbitmq-c-0.15.0/examples/amqp_ssl_connect.c:65:12: note: Assuming that condition 'argc>5' is not redundant rabbitmq-c-0.15.0/examples/amqp_ssl_connect.c:66:19: note: Assignment 'nextarg=5', assigned value is 5 rabbitmq-c-0.15.0/examples/amqp_ssl_connect.c:69:14: note: Condition 'argc>nextarg' is always true rabbitmq-c-0.15.0/examples/amqp_unbind.c:24:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rabbitmq-c-0.15.0/examples/utils.c:19:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rabbitmq-c-0.15.0/examples/utils.c:27:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rabbitmq-c-0.15.0/examples/utils.c:38:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rabbitmq-c-0.15.0/examples/utils.c:48:36: style: Variable 'm' can be declared as pointer to const [constVariablePointer] rabbitmq-c-0.15.0/examples/utils.c:56:33: style: Variable 'm' can be declared as pointer to const [constVariablePointer] rabbitmq-c-0.15.0/examples/utils.c:73:53: style: Parameter 'chs' can be declared as pointer to const [constParameterPointer] rabbitmq-c-0.15.0/examples/utils.c:103:25: style: Parameter 'a' can be declared as pointer to const [constParameterPointer] rabbitmq-c-0.15.0/examples/utils.c:103:33: style: Parameter 'b' can be declared as pointer to const [constParameterPointer] rabbitmq-c-0.15.0/examples/utils.c:115:18: style: Variable 'buf' can be declared as pointer to const [constVariablePointer] rabbitmq-c-0.15.0/fuzz/fuzz_server.c:39:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rabbitmq-c-0.15.0/fuzz/fuzz_server.c:73:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rabbitmq-c-0.15.0/fuzz/fuzz_server.c:94:28: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable SHUT_RDWR [valueFlowBailoutIncompleteVar] rabbitmq-c-0.15.0/fuzz/fuzz_server.c:142:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AMQP_STATUS_OK [valueFlowBailoutIncompleteVar] rabbitmq-c-0.15.0/fuzz/fuzz_server.c:37:3: warning: If memory allocation fails, then there is a possible null pointer dereference: fuzzer [nullPointerOutOfMemory] rabbitmq-c-0.15.0/fuzz/fuzz_server.c:106:36: note: Assuming allocation function fails rabbitmq-c-0.15.0/fuzz/fuzz_server.c:106:20: note: Assignment 'fuzzer=(struct Fuzzer*)malloc(sizeof(struct Fuzzer))', assigned value is 0 rabbitmq-c-0.15.0/fuzz/fuzz_server.c:113:12: note: Calling function 'fuzzinit', 1st argument 'fuzzer' value is 0 rabbitmq-c-0.15.0/fuzz/fuzz_server.c:37:3: note: Null pointer dereference rabbitmq-c-0.15.0/fuzz/fuzz_server.c:38:7: warning: If memory allocation fails, then there is a possible null pointer dereference: fuzzer [nullPointerOutOfMemory] rabbitmq-c-0.15.0/fuzz/fuzz_server.c:106:36: note: Assuming allocation function fails rabbitmq-c-0.15.0/fuzz/fuzz_server.c:106:20: note: Assignment 'fuzzer=(struct Fuzzer*)malloc(sizeof(struct Fuzzer))', assigned value is 0 rabbitmq-c-0.15.0/fuzz/fuzz_server.c:113:12: note: Calling function 'fuzzinit', 1st argument 'fuzzer' value is 0 rabbitmq-c-0.15.0/fuzz/fuzz_server.c:38:7: note: Null pointer dereference rabbitmq-c-0.15.0/fuzz/fuzz_server.c:44:32: warning: If memory allocation fails, then there is a possible null pointer dereference: fuzzer [nullPointerOutOfMemory] rabbitmq-c-0.15.0/fuzz/fuzz_server.c:106:36: note: Assuming allocation function fails rabbitmq-c-0.15.0/fuzz/fuzz_server.c:106:20: note: Assignment 'fuzzer=(struct Fuzzer*)malloc(sizeof(struct Fuzzer))', assigned value is 0 rabbitmq-c-0.15.0/fuzz/fuzz_server.c:113:12: note: Calling function 'fuzzinit', 1st argument 'fuzzer' value is 0 rabbitmq-c-0.15.0/fuzz/fuzz_server.c:38:22: note: Assuming condition is false rabbitmq-c-0.15.0/fuzz/fuzz_server.c:44:32: note: Null pointer dereference rabbitmq-c-0.15.0/fuzz/fuzz_server.c:46:20: warning: If memory allocation fails, then there is a possible null pointer dereference: fuzzer [nullPointerOutOfMemory] rabbitmq-c-0.15.0/fuzz/fuzz_server.c:106:36: note: Assuming allocation function fails rabbitmq-c-0.15.0/fuzz/fuzz_server.c:106:20: note: Assignment 'fuzzer=(struct Fuzzer*)malloc(sizeof(struct Fuzzer))', assigned value is 0 rabbitmq-c-0.15.0/fuzz/fuzz_server.c:113:12: note: Calling function 'fuzzinit', 1st argument 'fuzzer' value is 0 rabbitmq-c-0.15.0/fuzz/fuzz_server.c:38:22: note: Assuming condition is false rabbitmq-c-0.15.0/fuzz/fuzz_server.c:46:20: note: Null pointer dereference rabbitmq-c-0.15.0/fuzz/fuzz_server.c:94:12: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: fuzzer [nullPointerOutOfMemory] rabbitmq-c-0.15.0/fuzz/fuzz_server.c:106:36: note: Assuming allocation function fails rabbitmq-c-0.15.0/fuzz/fuzz_server.c:106:20: note: Assignment 'fuzzer=(struct Fuzzer*)malloc(sizeof(struct Fuzzer))', assigned value is 0 rabbitmq-c-0.15.0/fuzz/fuzz_server.c:121:9: note: Calling function 'clean', 1st argument 'fuzzer' value is 0 rabbitmq-c-0.15.0/fuzz/fuzz_server.c:94:12: note: Null pointer dereference rabbitmq-c-0.15.0/fuzz/fuzz_server.c:95:9: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: fuzzer [nullPointerOutOfMemory] rabbitmq-c-0.15.0/fuzz/fuzz_server.c:106:36: note: Assuming allocation function fails rabbitmq-c-0.15.0/fuzz/fuzz_server.c:106:20: note: Assignment 'fuzzer=(struct Fuzzer*)malloc(sizeof(struct Fuzzer))', assigned value is 0 rabbitmq-c-0.15.0/fuzz/fuzz_server.c:121:9: note: Calling function 'clean', 1st argument 'fuzzer' value is 0 rabbitmq-c-0.15.0/fuzz/fuzz_server.c:95:9: note: Null pointer dereference rabbitmq-c-0.15.0/fuzz/fuzz_server.c:96:8: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: fuzzer [nullPointerOutOfMemory] rabbitmq-c-0.15.0/fuzz/fuzz_server.c:106:36: note: Assuming allocation function fails rabbitmq-c-0.15.0/fuzz/fuzz_server.c:106:20: note: Assignment 'fuzzer=(struct Fuzzer*)malloc(sizeof(struct Fuzzer))', assigned value is 0 rabbitmq-c-0.15.0/fuzz/fuzz_server.c:121:9: note: Calling function 'clean', 1st argument 'fuzzer' value is 0 rabbitmq-c-0.15.0/fuzz/fuzz_server.c:96:8: note: Null pointer dereference rabbitmq-c-0.15.0/fuzz/fuzz_server.c:107:3: warning: If memory allocation fails, then there is a possible null pointer dereference: fuzzer [nullPointerOutOfMemory] rabbitmq-c-0.15.0/fuzz/fuzz_server.c:106:36: note: Assuming allocation function fails rabbitmq-c-0.15.0/fuzz/fuzz_server.c:106:20: note: Assignment 'fuzzer=(struct Fuzzer*)malloc(sizeof(struct Fuzzer))', assigned value is 0 rabbitmq-c-0.15.0/fuzz/fuzz_server.c:107:3: note: Null pointer dereference rabbitmq-c-0.15.0/fuzz/fuzz_server.c:109:3: warning: If memory allocation fails, then there is a possible null pointer dereference: fuzzer [nullPointerOutOfMemory] rabbitmq-c-0.15.0/fuzz/fuzz_server.c:106:36: note: Assuming allocation function fails rabbitmq-c-0.15.0/fuzz/fuzz_server.c:106:20: note: Assignment 'fuzzer=(struct Fuzzer*)malloc(sizeof(struct Fuzzer))', assigned value is 0 rabbitmq-c-0.15.0/fuzz/fuzz_server.c:109:3: note: Null pointer dereference rabbitmq-c-0.15.0/fuzz/fuzz_server.c:110:3: warning: If memory allocation fails, then there is a possible null pointer dereference: fuzzer [nullPointerOutOfMemory] rabbitmq-c-0.15.0/fuzz/fuzz_server.c:106:36: note: Assuming allocation function fails rabbitmq-c-0.15.0/fuzz/fuzz_server.c:106:20: note: Assignment 'fuzzer=(struct Fuzzer*)malloc(sizeof(struct Fuzzer))', assigned value is 0 rabbitmq-c-0.15.0/fuzz/fuzz_server.c:110:3: note: Null pointer dereference rabbitmq-c-0.15.0/fuzz/fuzz_server.c:110:27: warning: If memory allocation fails, then there is a possible null pointer dereference: fuzzer [nullPointerOutOfMemory] rabbitmq-c-0.15.0/fuzz/fuzz_server.c:106:36: note: Assuming allocation function fails rabbitmq-c-0.15.0/fuzz/fuzz_server.c:106:20: note: Assignment 'fuzzer=(struct Fuzzer*)malloc(sizeof(struct Fuzzer))', assigned value is 0 rabbitmq-c-0.15.0/fuzz/fuzz_server.c:110:27: note: Null pointer dereference rabbitmq-c-0.15.0/fuzz/fuzz_server.c:111:10: warning: If memory allocation fails, then there is a possible null pointer dereference: fuzzer [nullPointerOutOfMemory] rabbitmq-c-0.15.0/fuzz/fuzz_server.c:106:36: note: Assuming allocation function fails rabbitmq-c-0.15.0/fuzz/fuzz_server.c:106:20: note: Assignment 'fuzzer=(struct Fuzzer*)malloc(sizeof(struct Fuzzer))', assigned value is 0 rabbitmq-c-0.15.0/fuzz/fuzz_server.c:111:10: note: Null pointer dereference rabbitmq-c-0.15.0/fuzz/fuzz_server.c:119:16: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: fuzzer [nullPointerOutOfMemory] rabbitmq-c-0.15.0/fuzz/fuzz_server.c:106:36: note: Assuming allocation function fails rabbitmq-c-0.15.0/fuzz/fuzz_server.c:106:20: note: Assignment 'fuzzer=(struct Fuzzer*)malloc(sizeof(struct Fuzzer))', assigned value is 0 rabbitmq-c-0.15.0/fuzz/fuzz_server.c:119:16: note: Null pointer dereference rabbitmq-c-0.15.0/fuzz/fuzz_server.c:141:47: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: fuzzer [nullPointerOutOfMemory] rabbitmq-c-0.15.0/fuzz/fuzz_server.c:106:36: note: Assuming allocation function fails rabbitmq-c-0.15.0/fuzz/fuzz_server.c:106:20: note: Assignment 'fuzzer=(struct Fuzzer*)malloc(sizeof(struct Fuzzer))', assigned value is 0 rabbitmq-c-0.15.0/fuzz/fuzz_server.c:117:10: note: Calling function 'client', 1st argument 'fuzzer' value is 0 rabbitmq-c-0.15.0/fuzz/fuzz_server.c:137:7: note: Assuming condition is false rabbitmq-c-0.15.0/fuzz/fuzz_server.c:141:47: note: Null pointer dereference rabbitmq-c-0.15.0/fuzz/fuzz_server.c:67:7: style: Local variable 'client' shadows outer function [shadowFunction] rabbitmq-c-0.15.0/fuzz/fuzz_server.c:32:6: note: Shadowed declaration rabbitmq-c-0.15.0/fuzz/fuzz_server.c:67:7: note: Shadow variable rabbitmq-c-0.15.0/fuzz/fuzz_server.c:65:11: style: Variable 'fuzzer' can be declared as pointer to const [constVariablePointer] rabbitmq-c-0.15.0/fuzz/fuzz_server.c:88:7: style: Variable 'res' is assigned a value that is never used. [unreadVariable] rabbitmq-c-0.15.0/fuzz/fuzz_table.c:27:19: style: Variable 'unused_result' is assigned a value that is never used. [unreadVariable] rabbitmq-c-0.15.0/fuzz/fuzz_url.c:17:10: warning: If memory allocation fails, then there is a possible null pointer dereference: in [nullPointerOutOfMemory] rabbitmq-c-0.15.0/fuzz/fuzz_url.c:16:20: note: Assuming allocation function fails rabbitmq-c-0.15.0/fuzz/fuzz_url.c:16:20: note: Assignment 'in=malloc(size+1)', assigned value is 0 rabbitmq-c-0.15.0/fuzz/fuzz_url.c:17:10: note: Null pointer dereference rabbitmq-c-0.15.0/fuzz/fuzz_url.c:18:3: warning: If memory allocation fails, then there is a possible null pointer dereference: in [nullPointerOutOfMemory] rabbitmq-c-0.15.0/fuzz/fuzz_url.c:16:20: note: Assuming allocation function fails rabbitmq-c-0.15.0/fuzz/fuzz_url.c:16:20: note: Assignment 'in=malloc(size+1)', assigned value is 0 rabbitmq-c-0.15.0/fuzz/fuzz_url.c:18:3: note: Null pointer dereference rabbitmq-c-0.15.0/librabbitmq/amqp_socket.h:14:0: debug: Failed to parse 'typedef AMQP_BEGIN_DECLS enum { AMQP_SF_NONE = 0 , AMQP_SF_MORE = 1 , AMQP_SF_POLLIN = 2 , AMQP_SF_POLLOUT = 4 , AMQP_SF_POLLERR = 8 } amqp_socket_flag_enum ;'. The checking continues anyway. [simplifyTypedef] rabbitmq-c-0.15.0/librabbitmq/amqp_socket.h:164:0: debug: Failed to parse 'typedef AMQP_END_DECLS enum amqp_connection_state_enum_ { CONNECTION_STATE_IDLE = 0 , CONNECTION_STATE_INITIAL , CONNECTION_STATE_HEADER , CONNECTION_STATE_BODY } amqp_connection_state_enum ;'. The checking continues anyway. [simplifyTypedef] rabbitmq-c-0.15.0/librabbitmq/amqp_private.h:329:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AMQP_RESPONSE_LIBRARY_EXCEPTION [valueFlowBailoutIncompleteVar] rabbitmq-c-0.15.0/librabbitmq/amqp_api.c:150:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rabbitmq-c-0.15.0/librabbitmq/amqp_api.c:184:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AMQP_STATUS_TIMER_FAILURE [valueFlowBailoutIncompleteVar] rabbitmq-c-0.15.0/librabbitmq/amqp_api.c:254:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AMQP_CHANNEL_CLOSE_OK_METHOD [valueFlowBailoutIncompleteVar] rabbitmq-c-0.15.0/librabbitmq/amqp_api.c:274:38: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AMQP_CONNECTION_CLOSE_OK_METHOD [valueFlowBailoutIncompleteVar] rabbitmq-c-0.15.0/librabbitmq/amqp_api.c:295:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AMQP_BASIC_ACK_METHOD [valueFlowBailoutIncompleteVar] rabbitmq-c-0.15.0/librabbitmq/amqp_api.c:309:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AMQP_BASIC_GET_METHOD [valueFlowBailoutIncompleteVar] rabbitmq-c-0.15.0/librabbitmq/amqp_api.c:318:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AMQP_BASIC_REJECT_METHOD [valueFlowBailoutIncompleteVar] rabbitmq-c-0.15.0/librabbitmq/amqp_api.c:328:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AMQP_BASIC_NACK_METHOD [valueFlowBailoutIncompleteVar] rabbitmq-c-0.15.0/librabbitmq/amqp_api.c:339:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AMQP_STATUS_INVALID_PARAMETER [valueFlowBailoutIncompleteVar] rabbitmq-c-0.15.0/librabbitmq/amqp_api.c:358:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AMQP_STATUS_INVALID_PARAMETER [valueFlowBailoutIncompleteVar] rabbitmq-c-0.15.0/librabbitmq/amqp_api.c:376:30: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable amqp_publisher_confirm_t [valueFlowBailoutIncompleteVar] rabbitmq-c-0.15.0/librabbitmq/amqp_api.c:226:19: style: Condition 'remaining==0' is always false [knownConditionTrueFalse] rabbitmq-c-0.15.0/librabbitmq/amqp_api.c:223:22: note: Assuming that condition 'body_offset' definition 'mutex'. [funcArgNamesDifferentUnnamed] rabbitmq-c-0.15.0/librabbitmq/win32/threads.c:18:41: style:inconclusive: Function 'pthread_mutex_lock' argument 1 names different: declaration '' definition 'mutex'. [funcArgNamesDifferentUnnamed] rabbitmq-c-0.15.0/librabbitmq/win32/threads.c:26:43: style:inconclusive: Function 'pthread_mutex_unlock' argument 1 names different: declaration '' definition 'mutex'. [funcArgNamesDifferentUnnamed] rabbitmq-c-0.15.0/librabbitmq/win32/threads.c:34:44: style:inconclusive: Function 'pthread_mutex_destroy' argument 1 names different: declaration '' definition 'mutex'. [funcArgNamesDifferentUnnamed] rabbitmq-c-0.15.0/librabbitmq/win32/threads.c:34:44: style: Parameter 'mutex' can be declared as pointer to const [constParameterPointer] rabbitmq-c-0.15.0/tests/test_basic.c:32:50: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AMQP_PROTOCOL_PORT [valueFlowBailoutIncompleteVar] rabbitmq-c-0.15.0/tests/test_basic.c:49:48: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AMQP_REPLY_SUCCESS [valueFlowBailoutIncompleteVar] rabbitmq-c-0.15.0/tests/test_basic.c:63:24: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AMQP_BASIC_DELIVERY_MODE_FLAG [valueFlowBailoutIncompleteVar] rabbitmq-c-0.15.0/tests/test_basic.c:85:26: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable amqp_empty_table [valueFlowBailoutIncompleteVar] rabbitmq-c-0.15.0/tests/test_basic.c:95:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AMQP_STATUS_OK [valueFlowBailoutIncompleteVar] rabbitmq-c-0.15.0/tests/test_basic.c:140:59: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable amqp_empty_bytes [valueFlowBailoutIncompleteVar] rabbitmq-c-0.15.0/tests/test_basic.c:113:10: warning: If memory allocation fails, then there is a possible null pointer dereference: body [nullPointerOutOfMemory] rabbitmq-c-0.15.0/tests/test_basic.c:112:22: note: Assuming allocation function fails rabbitmq-c-0.15.0/tests/test_basic.c:112:22: note: Assignment 'body=malloc(message.body.len)', assigned value is 0 rabbitmq-c-0.15.0/tests/test_basic.c:113:10: note: Null pointer dereference rabbitmq-c-0.15.0/tests/test_basic.c:40:27: style: Variable 'res' can be declared as pointer to const [constVariablePointer] rabbitmq-c-0.15.0/tests/test_basic.c:80:28: style: Variable 'res' can be declared as pointer to const [constVariablePointer] rabbitmq-c-0.15.0/tests/test_basic.c:138:28: style: Variable 'result' can be declared as pointer to const [constVariablePointer] rabbitmq-c-0.15.0/tests/test_merge_capabilities.c:112:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AMQP_STATUS_OK [valueFlowBailoutIncompleteVar] rabbitmq-c-0.15.0/tests/test_merge_capabilities.c:144:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable amqp_table_entry_t [valueFlowBailoutIncompleteVar] rabbitmq-c-0.15.0/tests/test_parse_url.c:22:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rabbitmq-c-0.15.0/tests/test_parse_url.c:29:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rabbitmq-c-0.15.0/tests/test_parse_url.c:43:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rabbitmq-c-0.15.0/tests/test_parse_url.c:63:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rabbitmq-c-0.15.0/tests/test_sasl_mechanism.c:13:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rabbitmq-c-0.15.0/tests/test_sasl_mechanism.c:21:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rabbitmq-c-0.15.0/tests/test_sasl_mechanism.c:30:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AMQP_SASL_METHOD_PLAIN [valueFlowBailoutIncompleteVar] rabbitmq-c-0.15.0/tests/test_tables.c:24:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rabbitmq-c-0.15.0/tests/test_tables.c:120:69: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable len [valueFlowBailoutIncompleteVar] rabbitmq-c-0.15.0/tests/test_tables.c:142:14: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key [valueFlowBailoutIncompleteVar] rabbitmq-c-0.15.0/tests/test_tables.c:224:20: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable key [valueFlowBailoutIncompleteVar] rabbitmq-c-0.15.0/tests/test_tables.c:404:57: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rabbitmq-c-0.15.0/tests/test_tables.c:398:9: style: Variable 'srcdir' can be declared as pointer to const [constVariablePointer] rabbitmq-c-0.15.0/tools/common.c:29:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rabbitmq-c-0.15.0/tools/common.c:43:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rabbitmq-c-0.15.0/tools/common.c:57:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rabbitmq-c-0.15.0/tools/common.c:115:23: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AMQP_RESPONSE_NORMAL [valueFlowBailoutIncompleteVar] rabbitmq-c-0.15.0/tools/common.c:243:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rabbitmq-c-0.15.0/tools/common.c:366:22: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AMQP_SASL_METHOD_PLAIN [valueFlowBailoutIncompleteVar] rabbitmq-c-0.15.0/tools/common.c:376:39: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AMQP_REPLY_SUCCESS [valueFlowBailoutIncompleteVar] rabbitmq-c-0.15.0/tools/common.c:398:11: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rabbitmq-c-0.15.0/tools/common.c:419:17: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rabbitmq-c-0.15.0/tools/common.c:433:27: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AMQP_FRAME_HEADER [valueFlowBailoutIncompleteVar] rabbitmq-c-0.15.0/tools/common.c:461:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rabbitmq-c-0.15.0/tools/common.c:476:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rabbitmq-c-0.15.0/tools/common.c:485:42: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable amqp_empty_bytes [valueFlowBailoutIncompleteVar] rabbitmq-c-0.15.0/tools/common.c:69:32: style: Variable 'm' can be declared as pointer to const [constVariablePointer] rabbitmq-c-0.15.0/tools/common.c:77:29: style: Variable 'm' can be declared as pointer to const [constVariablePointer] rabbitmq-c-0.15.0/tools/consume.c:51:13: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rabbitmq-c-0.15.0/tools/consume.c:129:43: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable amqp_empty_bytes [valueFlowBailoutIncompleteVar] rabbitmq-c-0.15.0/tools/consume.c:175:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POPT_ARG_INCLUDE_TABLE [valueFlowBailoutIncompleteVar] rabbitmq-c-0.15.0/tools/consume.c:19:12: style: Variable 'data' can be declared as pointer to const [constVariablePointer] rabbitmq-c-0.15.0/tools/consume.c:38:69: style: Parameter 'queue' can be declared as pointer to const [constParameterPointer] rabbitmq-c-0.15.0/tools/consume.c:39:55: style: Parameter 'routing_key' can be declared as pointer to const [constParameterPointer] rabbitmq-c-0.15.0/tools/consume.c:44:9: style: Variable 'routing_key_token' can be declared as pointer to const [constVariablePointer] rabbitmq-c-0.15.0/tools/consume.c:138:27: style: Variable 'deliver' can be declared as pointer to const [constVariablePointer] rabbitmq-c-0.15.0/tools/declare_queue.c:17:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POPT_ARG_INCLUDE_TABLE [valueFlowBailoutIncompleteVar] rabbitmq-c-0.15.0/tools/declare_queue.c:39:27: warning: Either the condition 'reply==NULL' is redundant or there is possible null pointer dereference: reply. [nullPointerRedundantCheck] rabbitmq-c-0.15.0/tools/declare_queue.c:35:15: note: Assuming that condition 'reply==NULL' is not redundant rabbitmq-c-0.15.0/tools/declare_queue.c:39:27: note: Null pointer dereference rabbitmq-c-0.15.0/tools/declare_queue.c:39:53: warning: Either the condition 'reply==NULL' is redundant or there is possible null pointer dereference: reply. [nullPointerRedundantCheck] rabbitmq-c-0.15.0/tools/declare_queue.c:35:15: note: Assuming that condition 'reply==NULL' is not redundant rabbitmq-c-0.15.0/tools/declare_queue.c:39:53: note: Null pointer dereference rabbitmq-c-0.15.0/tools/declare_queue.c:33:30: style: Variable 'reply' can be declared as pointer to const [constVariablePointer] rabbitmq-c-0.15.0/tools/delete_queue.c:18:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POPT_ARG_INCLUDE_TABLE [valueFlowBailoutIncompleteVar] rabbitmq-c-0.15.0/tools/delete_queue.c:41:20: warning: Either the condition 'reply==NULL' is redundant or there is possible null pointer dereference: reply. [nullPointerRedundantCheck] rabbitmq-c-0.15.0/tools/delete_queue.c:38:15: note: Assuming that condition 'reply==NULL' is not redundant rabbitmq-c-0.15.0/tools/delete_queue.c:41:20: note: Null pointer dereference rabbitmq-c-0.15.0/tools/delete_queue.c:36:29: style: Variable 'reply' can be declared as pointer to const [constVariablePointer] rabbitmq-c-0.15.0/tools/get.c:12:21: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable AMQP_BASIC_GET_EMPTY_METHOD [valueFlowBailoutIncompleteVar] rabbitmq-c-0.15.0/tools/get.c:26:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POPT_ARG_INCLUDE_TABLE [valueFlowBailoutIncompleteVar] rabbitmq-c-0.15.0/tools/get.c:8:55: style: Parameter 'queue' can be declared as pointer to const [constParameterPointer] rabbitmq-c-0.15.0/tools/publish.c:36:7: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable POPT_ARG_INCLUDE_TABLE [valueFlowBailoutIncompleteVar] rabbitmq-c-0.15.0/tools/publish.c:12:60: style: Parameter 'exchange' can be declared as pointer to const [constParameterPointer] rabbitmq-c-0.15.0/tools/publish.c:13:30: style: Parameter 'routing_key' can be declared as pointer to const [constParameterPointer] rabbitmq-c-0.15.0/tools/unix/process.c:19:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rabbitmq-c-0.15.0/tools/unix/process.c:49:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rabbitmq-c-0.15.0/tools/unix/process.c:45:38: style: Parameter 'pl' can be declared as pointer to const [constParameterPointer] rabbitmq-c-0.15.0/tools/win32/process.c:16:12: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable stderr [valueFlowBailoutIncompleteVar] rabbitmq-c-0.15.0/tools/win32/process.c:121:29: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable TRUE [valueFlowBailoutIncompleteVar] rabbitmq-c-0.15.0/tools/win32/process.c:170:15: debug: valueFlowConditionExpressions bailout: Skipping function due to incomplete variable errno [valueFlowBailoutIncompleteVar] rabbitmq-c-0.15.0/tools/win32/process.c:66:10: warning:inconclusive: If memory allocation fails, then there is a possible null pointer dereference: dest++ [nullPointerOutOfMemory] rabbitmq-c-0.15.0/tools/win32/process.c:51:22: note: Assuming allocation function fails rabbitmq-c-0.15.0/tools/win32/process.c:51:14: note: Assignment 'dest=buf=malloc(len)', assigned value is 0 rabbitmq-c-0.15.0/tools/win32/process.c:66:10: note: Null pointer dereference rabbitmq-c-0.15.0/tools/win32/process.c:66:10: error:inconclusive: If memory allocation fails: pointer addition with NULL pointer. [nullPointerArithmeticOutOfMemory] rabbitmq-c-0.15.0/tools/win32/process.c:51:22: note: Assuming allocation function fails rabbitmq-c-0.15.0/tools/win32/process.c:51:14: note: Assignment 'dest=buf=malloc(len)', assigned value is 0 rabbitmq-c-0.15.0/tools/win32/process.c:66:10: note: Null pointer addition rabbitmq-c-0.15.0/tools/win32/process.c:22:19: error: Uninitialized variable: msg [uninitvar] rabbitmq-c-0.15.0/fuzz/fuzz_server.c:37:3: warning: If memory allocation fails, then there is a possible null pointer dereference: fuzzer [ctunullpointerOutOfMemory] rabbitmq-c-0.15.0/fuzz/fuzz_server.c:106:36: note: Assuming allocation function fails rabbitmq-c-0.15.0/fuzz/fuzz_server.c:106:20: note: Assignment 'fuzzer=(struct Fuzzer*)malloc(sizeof(struct Fuzzer))', assigned value is 0 rabbitmq-c-0.15.0/fuzz/fuzz_server.c:113:11: note: Calling function fuzzinit, 1st argument is null rabbitmq-c-0.15.0/fuzz/fuzz_server.c:37:3: note: Dereferencing argument fuzzer that is null diff: head rabbitmq-c-0.15.0/librabbitmq/win32/threads.c:10:41: style:inconclusive: Function 'pthread_mutex_init' argument 1 names different: declaration '' definition 'mutex'. [funcArgNamesDifferentUnnamed] head rabbitmq-c-0.15.0/librabbitmq/win32/threads.c:18:41: style:inconclusive: Function 'pthread_mutex_lock' argument 1 names different: declaration '' definition 'mutex'. [funcArgNamesDifferentUnnamed] head rabbitmq-c-0.15.0/librabbitmq/win32/threads.c:26:43: style:inconclusive: Function 'pthread_mutex_unlock' argument 1 names different: declaration '' definition 'mutex'. [funcArgNamesDifferentUnnamed] head rabbitmq-c-0.15.0/librabbitmq/win32/threads.c:34:44: style:inconclusive: Function 'pthread_mutex_destroy' argument 1 names different: declaration '' definition 'mutex'. [funcArgNamesDifferentUnnamed] DONE